Scheduling system applied to real-time network traffic
By designing a real-time network traffic scheduling system and adopting a hybrid scheduling module and media reservation method, the high reliability and deterministic problems of real-time Ethernet in extreme aerospace environments were solved. This achieved fixed latency and bounded jitter for critical data frames, improving bandwidth utilization and transmission efficiency.
Patent Information
- Application Number
- CN202410998656.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-24
AI Technical Summary
Existing technologies cannot meet the high reliability, determinism, and real-time communication requirements of real-time Ethernet end systems in extreme aerospace environments, especially in hybrid scheduling where the requirements for fixed latency and bounded jitter of critical data frames have not been effectively addressed.
A real-time network traffic scheduling system was designed, including a TT scheduling module, an RC scheduling module, a BE scheduling module, and a time synchronization module. The system uses a hybrid scheduling module to reserve media and schedules traffic according to service priority: TT > PCF > RC > BE. By combining shared buffers and configurable media reservation time, the system ensures the real-time performance and reliability of critical traffic.
It achieves fixed latency and bounded jitter for critical data frames, improves bandwidth utilization, reduces transmission latency, and ensures high reliability and determinism of real-time networks. It is suitable for Ethernet in aerospace electronic systems and other priority service scheduling.
Smart Images

Figure CN118972335A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of computer network real-time communication, and in particular to a scheduling system applied to real-time network traffic. Background Art
[0002] As the next generation of launch vehicles, satellites, spacecrafts, large aircraft, and automobiles develop towards a highly information-based and intelligent direction, the traditional bus bandwidth is low and lacks flexible networking support; the traditional network is based on event-triggered communication mode, lacks real-time communication mechanism, and the data arrival time is uncertain; it can no longer meet the needs of its mission intelligence development and multi-source network data fusion transmission. In order to meet the needs of real-time communication, it is inevitable to support real-time Ethernet that supports both time triggering and event triggering. Therefore, it has become a trend to develop a real-time Ethernet terminal system with real-time performance, high reliability, and flexible configuration of scheduling tables.
[0003] The real-time network traffic scheduler is an important component of the real-time Ethernet end system and is at the forefront of the real-time Ethernet end system. The traditional real-time network traffic scheduling method adopts preemptive scheduling method and non-preemptive scheduling method. Among them, the preemptive scheduling method can ensure the fixed delay and jitter of TT traffic, but it makes the jitter of ET traffic larger and reduces the bandwidth utilization. The non-preemptive scheduling method avoids the frame fragmentation problem and the excessive jitter problem of ET traffic caused by preemptive scheduling, but brings variable transmission jitter to TT traffic. In the extreme working environment of aerospace, the performance of the overall real-time network end system will be seriously deteriorated. In order to ensure the determinism and real-time communication capability of the real-time Ethernet end system network transmission, how to improve the real-time network traffic scheduling is the key to data transmission bandwidth, low latency and reliability. It is urgent to design a real-time network traffic scheduling system with determinism and high reliability. Summary of the invention
[0004] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art and provide a scheduling system applied to real-time network traffic, which meets the requirements of fixed delay, bounded jitter and high bandwidth of key data frames in network transmission in real-time network hybrid scheduling, and realizes high reliability, determinism and real-time communication of real-time networks.
[0005] The technical solution of the present invention is to provide a scheduling system for real-time network traffic, including: a TT scheduling module, which is used to cache TT traffic and generate TT traffic request scheduling information and initiate TT traffic scheduling requests, transmit TT traffic under the scheduling of the hybrid scheduling module, and feed back a TT traffic transmission end mark to the hybrid scheduling module;
[0006] The RC scheduling module is used to cache RC traffic, generate RC traffic request scheduling information, initiate RC traffic scheduling requests, transmit RC traffic under the scheduling of the hybrid scheduling module, and feed back the RC traffic transmission end flag to the hybrid scheduling module;
[0007] The BE scheduling module is used to cache BE traffic, generate BE traffic request scheduling information, initiate RC traffic scheduling requests, transmit BE traffic under the scheduling of the hybrid scheduling module, and feedback the BE traffic transmission end flag to the hybrid scheduling module;
[0008] The time synchronization module is used to initiate a scheduling request for a PCF protocol control frame, transmit the PCF protocol control frame under the scheduling of the hybrid scheduling module, and feed back a PCF protocol control frame sending end flag to the hybrid scheduling module;
[0009] The hybrid scheduling module follows the hybrid scheduling service priority: TT traffic > PCF protocol control frame > RC traffic > BE traffic. Based on the requested scheduling information, it uses medium reservation to respond to each scheduling request and implements service traffic scheduling.
[0010] Among them, TT traffic and RC traffic are stored in a shared cache, and BE traffic is stored in a separate cache.
[0011] Furthermore, the TT scheduling module, the RC scheduling module, and the BE scheduling module respectively adopt the form of the TT traffic sending time scheduling configuration table, the RC traffic BAG table, and the BE traffic configurable BAG value, combined with the queue status information in the corresponding cache, to generate request scheduling information.
[0012] Furthermore, the TT scheduling module and the RC scheduling module share a shared cache for caching 2 n traffic queues, one part of which is used to cache the TT traffic queue, and the other part of which is used to cache the RC traffic queue; it is also used to output the TT data frames in the TT traffic queue or the RC data frames in the RC traffic queue after the hybrid scheduling module responds to the scheduling request, and update the queue status information of all traffic queues in the shared cache in real time according to the input and output status of the data frames in each traffic queue, and after the output is completed, feedback the TT traffic transmission end flag or the RC traffic transmission end flag to the hybrid scheduling module;
[0013] The TT scheduling module includes a TT traffic sending time scheduling configuration table and n sub-scheduling modules;
[0014] TT traffic sending time scheduling configuration table is used to configure the scheduling information of each TT traffic queue;
[0015] The TT traffic queue is scheduled and transmitted according to the TT traffic sending time scheduling configuration table. One scheduling cycle is split and configured into multiple integration cycles. Each integration cycle is divided into n different time slices. The scheduling of all TT traffic queues is completed by cycling multiple integration cycles. In each integration cycle, the n sub-scheduling modules read the TT traffic sending time scheduling configuration table together at the beginning of the integration cycle to obtain the queue numbers of the n TT traffic queues and the different trigger time intervals corresponding to each queue number, triggering the TT traffic scheduling request to enable. The TT traffic request scheduling information, i.e., the queue number of the TT traffic queue and the different trigger time intervals corresponding to each queue number and the queue status information updated by the shared cache, is sent to the hybrid scheduling module for TT traffic scheduling.
[0016] Furthermore, the RC scheduling module includes an RC flow BAG table, multiple two-level arbitration polling devices, 2 n Traffic shaping modules;
[0017] RC traffic BAG table, used to configure and plan traffic shaping information for each RC traffic queue;
[0018] The two-level arbitration poller polls the queue status information in the shared cache to obtain the queue number of the RC traffic queue to be scheduled and the frame length information of the RC data frame in the corresponding RC traffic queue;
[0019] The traffic shaping module reads the RC traffic BAG table for the RC traffic queue to be scheduled, obtains the traffic shaping time interval between each RC data frame in the corresponding RC traffic queue, performs traffic shaping on the RC traffic queue to be scheduled, and triggers the RC scheduling request to be enabled; sends the RC traffic request scheduling information, that is, the queue number of the RC traffic queue to be scheduled and the frame length information of the RC data frame in the corresponding RC traffic queue and the traffic shaping time interval between each RC data frame, to the hybrid scheduling module for RC traffic scheduling.
[0020] Further, the BE scheduling module includes a poller, a traffic shaping module, and a separate FIFO buffer module;
[0021] A separate FIFO buffer module is used to buffer one SoC external BE traffic queue and one SoC internal BE traffic queue;
[0022] The poller polls the queue status information in the FIFO buffer to obtain the queue type of the BE traffic queue to be scheduled and the frame length information of the BE data frame in the corresponding BE traffic queue;
[0023] The traffic shaping module is a traffic shaping module with configurable BAG value. It uses the configured traffic shaping BAG value time interval to perform traffic shaping on the BE traffic queue to be scheduled, triggering the BE scheduling request to enable; and sends the BE traffic request scheduling information, that is, the queue type of the BE traffic queue to be scheduled and the frame length information of the BE data frame in the corresponding BE traffic queue and the traffic shaping BAG value time interval between each BE data frame, to the hybrid scheduling module for BE traffic scheduling.
[0024] Furthermore, the TT scheduling module and the RC scheduling module perform redundant channel transmission with serial numbers for the output TT traffic queue and RC traffic queue; the time synchronization module uses multiple redundant channels to output the output PCF protocol control frames; the BE scheduling module selects multiple different channel network ports for output of the output BE traffic queue according to the channel number.
[0025] Furthermore, the hybrid scheduling module adopts a request-response method to respond to the corresponding scheduling request to achieve the scheduling of different flows, specifically:
[0026] Determine whether there is a TT traffic scheduling request at present; if there is a TT traffic scheduling request, respond to the TT traffic scheduling request; if there is no TT traffic scheduling request, then:
[0027] Determine whether there is a PCF protocol control frame scheduling request at present; if there is a PCF protocol control frame scheduling request, determine whether the current output PCF protocol control frame blocks the next TT data frame, if blocked, do not respond to the PCF frame scheduling request, if not blocked, respond to the PCF frame request scheduling; if there is no PCF protocol control frame scheduling request, then:
[0028] Determine whether there is an RC traffic scheduling request at present; if there is an RC traffic scheduling request, determine whether the current output RC traffic blocks the next TT data frame or the next PCF protocol control frame. If blocked, do not respond to the RC traffic scheduling request. If neither is blocked, respond to the RC traffic scheduling request. If there is no RC traffic scheduling request, then:
[0029] Determine whether there is a BE traffic scheduling request at present; if there is a BE traffic scheduling request, whether the current output BE traffic blocks the next TT data frame or the next PCF protocol control frame or the next RC data frame. If blocked, do not respond to the BE traffic scheduling request. If neither is blocked, respond to the BE traffic scheduling request. If there is no BE traffic scheduling request, the hybrid scheduling module enters the idle state.
[0030] Furthermore, the hybrid scheduling module adopts a medium reservation method to determine the blocking of TT data frames when responding to PCF protocol control frame scheduling requests or RC traffic scheduling requests or BE traffic scheduling requests based on the medium reservation time; the medium reservation time is divided into PCF frame scheduling blocking time, RC traffic scheduling blocking time, and BE traffic scheduling blocking time.
[0031] Furthermore, factors determining the medium reservation time include traffic type, data frame length of the corresponding traffic, Ethernet MAC rate, and MAC layer buffer usage;
[0032] PCF frame scheduling blocking time: obtained based on the different triggering time intervals corresponding to each TT traffic queue number, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable PCF frame fixed blocking time, and the PCF frame reserved interval time;
[0033] The reserved time for TT traffic table lookup is the time from the start of each integration cycle to the completion of reading the TT traffic sending time scheduling configuration table;
[0034] The fixed blocking time of the PCF frame is configured according to the Ethernet MAC rate. Under the 100M network speed, the fixed blocking time of the PCF frame is greater than 1 / 2 of the frame length of the PCF protocol control frame. Under the 100M network speed, the fixed blocking time of the PCF frame is 10 times the configured value of the fixed blocking time of the PCF frame under the 100M network speed.
[0035] The PCF frame reservation interval is determined according to the Ethernet MAC rate and the MAC layer cache usage at the time of responding to the PCF protocol control frame scheduling request. If the MAC layer cache usage is empty, the PCF frame reservation interval is 0. If the MAC layer cache usage is not empty, at a gigabit network speed, the PCF frame reservation interval is 1 / 4 of the frame length of the PCF protocol control frame. At a 100 megabit network speed, the PCF frame reservation interval is 10 times the PCF frame reservation interval at a gigabit network speed.
[0036] RC traffic scheduling blocking time: obtained based on the different triggering time intervals corresponding to each TT traffic queue number, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable RC traffic fixed blocking time, and the RC traffic reserved interval time;
[0037] The fixed blocking time of RC traffic is configured according to the Ethernet MAC rate. The value at 100M network speed is 10 times the configured value at 1G network speed.
[0038] The RC traffic reservation interval is determined based on the data frame length, Ethernet MAC rate, and MAC layer buffer usage in the RC traffic queue to be scheduled.
[0039] Under Gigabit network speed, if the current MAC layer cache usage is less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of the frame length of the RC data frame in the current RC traffic queue to be scheduled plus the current MAC layer cache usage value and 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled; if the current MAC layer cache usage is not less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of the frame length of the RC data frame in the current RC traffic queue to be scheduled plus the current MAC layer cache usage value;
[0040] At 100M network speed, if 10 times the current MAC layer cache usage is less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of 10 times the frame length of the RC data frame in the current RC traffic queue to be scheduled plus 10 times the current MAC layer cache usage and 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled; if 10 times the current MAC layer cache usage is not less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of 10 times the frame length of the RC data frame in the current RC traffic queue to be scheduled plus 10 times the current MAC layer cache usage;
[0041] BE traffic scheduling blocking time: obtained based on the different triggering time intervals corresponding to each TT traffic queue number, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable BE traffic fixed blocking time, and the BE traffic reserved interval time;
[0042] The fixed blocking time of BE traffic is configured in the same way as the fixed blocking time of RC traffic;
[0043] The BE traffic reservation interval is determined based on the data frame length, Ethernet MAC rate, and MAC layer buffer usage in the current BE traffic queue to be scheduled. The calculation method is the same as that of the RC traffic reservation interval, and the BE data frame length in the BE traffic queue to be scheduled is used in the calculation.
[0044] The advantages of the present invention compared with the prior art are:
[0045] (1) The present invention designs a TT scheduling module, an RC scheduling module, and a BE scheduling module. Compared with conventional scheduling, each traffic service has higher certainty and controllability, while also retaining the advantage of flexibility of each traffic service. A hybrid scheduling module is designed, which uses a configurable medium reservation scheduling method and determines the scheduling priority according to the nature of each service flow: TT>PCF>RC>BE to schedule and transmit the corresponding flow. The medium reservation scheduling method and high-priority flow can be sent first, so that when the PCF frame, RC flow, and BE flow scheduling are switched to the TT flow time slice scheduling, the configurable medium reservation time judgment is used to resolve the conflict that may be caused by the MAC layer sending data frames, reduce the transmission delay of the TT flow, ensure the real-time nature of the key flow, and effectively improve the flow control and scheduling efficiency of the real-time network, maximize the bandwidth utilization, and meet the key network requirements such as high bandwidth, low latency, and predictability.
[0046] (2) The present invention uses the corresponding TT traffic sending time scheduling table, RC traffic BAG table and BE traffic configurable BAG value to achieve the ability to change table items and parameters such as time planning according to specific needs in actual application scenarios, making each traffic service controllable.
[0047] (3) The present invention designs a configuration method and configuration value for medium reservation in a hybrid scheduling module. The medium reservation time is determined according to the Ethernet MAC rate, traffic type, corresponding data frame length, and MAC layer cache usage. The design of a configurable PCF frame fixed shielding time and PCF frame reservation interval time solves the problem of uncertain delayed output in the MAC layer buffer after PCF frame response scheduling, ensuring that the PCF protocol control frame transmission delay is fixed and the jitter is bounded.
[0048] (4) At the beginning of each integration cycle of the TT scheduling module of the present invention, n sub-scheduling modules jointly read the TT traffic sending time scheduling table, thereby improving the table lookup efficiency of the TT traffic and reducing the table lookup delay. The offset time of each integration cycle is used as the TT traffic table lookup reserved time, and the table lookup reserved time is used as a part of the scheduling and sending medium reserved time of the PCF frame, RC traffic and BE traffic, thereby ensuring that the TT traffic is scheduled for transmission near the starting time point, further reducing the delay of the TT traffic, and ensuring the real-time performance of the TT traffic scheduling.
[0049] (5) The RC scheduling module of the present invention performs traffic shaping in a two-level arbitration polling manner and a fast BAG table lookup, thereby reducing the jitter of the scheduling transmission of the RC traffic. The queue number is extracted in a two-level arbitration polling manner, thereby reducing the consumption of chip resources while also improving timing optimization. The scheduling transmission of external BE traffic and SoC internal BE traffic in a polling manner and a configurable traffic shaping BAG value ensures the normal transmission of non-critical business BE traffic.
[0050] (6) The shared cache of the present invention provides a maximum of 2 shared caches for TT traffic and RC traffic. n The traffic data frame cache of each queue is realized, and TT traffic and RC traffic share the cache in the form of different queue numbers. At the same time, it realizes the scheduling transmission that supports the degradation of TT traffic to RC traffic, ensures that the TT traffic transmission information is not lost, improves the reliability of key traffic transmission, and reduces the chip's consumption of storage resources by sharing the cache and data flow path multiplexing between TT and RC services.
[0051] (7) In engineering implementation, data transmission adopts configurable dual-redundancy or triple-redundancy channel transmission and software radiation-resistant triple-mode redundancy reinforcement design to improve the reliability of the actual engineering application of the dispatching system.
[0052] (8) The real-time network traffic scheduling system designed by the present invention can not only meet the above-mentioned aerospace electronic systems, but also be applicable to any other Ethernet networks that use priority service scheduling transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of a scheduling system for real-time network traffic provided by the present invention;
[0054] Figure 2 A schematic diagram of hybrid scheduling of TT traffic services provided by the present invention;
[0055] Figure 3 A schematic diagram of the flow of a hybrid scheduling system for various business flows provided in an embodiment of the present invention;
[0056] Figure 4 A schematic diagram of the overall simulation results of the hybrid scheduling system for various business flows provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to better understand the technical solution of the present invention, the embodiments of the present invention are specifically described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described are used to explain the present invention, but not to limit the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0058] Figure 1A schematic diagram of a scheduling system for real-time network traffic provided by the present invention, referring to Figure 1 ,The scheduling system includes the TT scheduling module, the RC scheduling module, and the BE scheduling module, which are respectively used to cache the TT traffic, the RC traffic, and the BE traffic, and generate their respective request scheduling information and initiate the scheduling request, and transmit the corresponding traffic under the scheduling of the hybrid scheduling module, and feed back the end flag of their respective traffic transmission to the hybrid scheduling module;
[0059] The time synchronization module is used to initiate a scheduling request for a PCF protocol control frame, transmit the PCF protocol control frame under the scheduling of the hybrid scheduling module, and feed back a PCF protocol control frame sending end flag to the hybrid scheduling module;
[0060] The hybrid scheduling module follows the hybrid scheduling service priority: TT traffic > PCF protocol control frame > RC traffic > BE traffic. Based on the requested scheduling information, it responds to each scheduling request by means of medium reservation to implement the scheduling of service traffic.
[0061] Among them, TT traffic and RC traffic use a shared cache method, and BE traffic uses a separate cache method. Specifically, the TT scheduling module and the RC scheduling module share a shared cache for a maximum of 2 n The shared cache is used to manage the cache of each traffic queue, so it is planned in advance which queue numbers belong to TT traffic or RC traffic. By default, 1 / 4 of the queue numbers are planned to be TT traffic, and the remaining queue numbers are RC traffic. The shared cache is also used to output the TT data frames in the TT traffic queue or the RC data frames in the RC traffic queue after the hybrid scheduling module responds to the scheduling request, and update the queue status information of all traffic queues in the shared cache in real time according to the input and output of the data frames in each traffic queue (whether there are corresponding data frames in each traffic queue). After the output is completed, the TT traffic transmission end flag or the RC traffic transmission end flag is fed back to the hybrid scheduling module. In addition, the use of the shared cache method of TT traffic and RC traffic can support the degradation of TT traffic to RC traffic scheduling transmission, ensure that the TT traffic transmission information is not lost, and improve the reliability of key traffic transmission.
[0062] In a possible implementation, the TT scheduling module includes a TT traffic sending time scheduling configuration table, n sub-scheduling modules and a shared cache TT traffic queue, where n is preferably a multiple of 4.
[0063] The TT traffic sending time scheduling configuration table is used to configure and plan the scheduling information of each TT traffic queue; in specific implementation, software configurability can be adopted to plan the TT traffic sending time scheduling configuration table in advance.
[0064] The shared cache TT traffic queue is scheduled for transmission according to the TT traffic sending time scheduling configuration table; a scheduling cycle can be split and configured into multiple integration cycles, and rescheduling is performed after the scheduling of the corresponding TT traffic is completed in each integration cycle. Each integration cycle is divided into n different time slices, and these different time slices are used as the sending scheduling moments of n different TT traffic. These time slices do not transmit PCF protocol control frames, RC traffic, and BE traffic, and the remaining time periods are used to transmit PCF protocol control frames, RC traffic, and BE traffic according to priority scheduling.
[0065] n sub-scheduling modules, see Figure 2 As shown, in each integration cycle, n sub-scheduling modules read the TT traffic sending time scheduling configuration table together at the beginning of the integration cycle, obtain the queue numbers of n TT traffic queues and the different trigger time intervals corresponding to each queue number, and trigger the TT traffic scheduling request to enable; the TT traffic request scheduling information, that is, the queue numbers of each TT traffic queue and the different trigger time intervals corresponding to each queue number and the queue status information updated by the shared cache, is sent to the hybrid scheduling module for TT traffic scheduling.
[0066] After receiving the response from the hybrid scheduling module to the TT traffic scheduling request, the shared cache outputs the TT traffic of the corresponding queue number, and after the output is completed, the TT traffic transmission end mark is fed back to the hybrid scheduling module; preferably, the output TT traffic is serially numbered and transmitted through three redundant channels.
[0067] Preferably, the shared cache provides a total of 512KB of cache space with 8192 cache units (each cache unit is 64B in size), which can complete the individual configuration of the cache unit size of each traffic queue private space, and provide a cache of a maximum of 256 queues (n=8) for TT traffic and RC traffic, of which 64 are configured as TT traffic queues and 192 are RC traffic queues according to the nature of the business traffic; the TT scheduling module includes a TT traffic sending time scheduling configuration table, 8 sub-scheduling modules and 64 shared cache TT traffic queues; the TT traffic sending time scheduling configuration table is a sending time scheduling configuration table for the 64 TT traffic queues planned in advance, so it is necessary to loop at least 8 integration cycles to read the sending time scheduling configuration table, and finally obtain the queue numbers of the 64 TT traffic queues and the different trigger time intervals corresponding to each queue number.
[0068] In one possible implementation, when a PCF protocol control frame needs to be transmitted, the time synchronization module initiates a PCF protocol control frame scheduling request; after receiving a response from the hybrid scheduling module to the scheduling request for the PCF protocol control frame, the time synchronization module outputs the PCF protocol control frame, and after the output is completed, feeds back a PCF protocol control frame transmission end flag to the hybrid scheduling module; preferably, the output PCF protocol control frame is transmitted through three redundant channels.
[0069] In a possible implementation, the RC scheduling module includes an RC flow BAG table, a plurality of two-level arbitration polling devices, 2 n Traffic shaping modules and shared cache RC traffic queues.
[0070] RC traffic BAG table, used to configure and plan traffic shaping information for each RC traffic queue;
[0071] The two-level arbitration poller polls the queue status information in the shared cache to obtain the queue number of the RC traffic queue to be scheduled and the frame length information of the RC data frame in the corresponding RC traffic queue;
[0072] The traffic shaping module reads the RC traffic BAG table for the RC traffic queue to be scheduled, obtains the traffic shaping time interval between each RC data frame in the corresponding RC traffic queue, performs traffic shaping on the RC traffic queue to be scheduled, and triggers the RC scheduling request to be enabled; sends the RC traffic request scheduling information, that is, the queue number of the RC traffic queue to be scheduled and the frame length information of the RC data frame in the corresponding RC traffic queue and the traffic shaping time interval between each RC data frame, to the hybrid scheduling module for RC traffic scheduling.
[0073] After receiving the response to the RC traffic scheduling request from the hybrid scheduling module, the shared cache outputs the RC traffic of the corresponding queue number, and after the output is completed, the RC traffic transmission end mark is fed back to the hybrid scheduling module; preferably, the output RC traffic is serially numbered and transmitted through three redundant channels.
[0074] Preferably, the RC scheduling module includes 16 two-level arbitration pollers, an RC traffic BAG table, 256 traffic shaping modules and 192 shared cache RC traffic queues. In the RC traffic BAG table, the traffic shaping time interval (with an accuracy of 10us) for configuring 192 RC traffic queues through the AHB bus is planned in advance; 192 of the traffic shaping modules are used to obtain the corresponding traffic shaping time interval, and the RC traffic queues to be scheduled are traffic shaped to ensure that the RC data frames of each RC traffic queue number follow the required bandwidth interval.
[0075] In a possible implementation, the BE scheduling module includes a poller, a traffic shaping module, and a separate FIFO buffer module.
[0076] A separate FIFO cache module is used to cache one SoC external BE traffic queue (BEEXIT) and one SoC internal BE traffic queue (BEINN); the scheduling system is a component in the SoC, the SoC internal BE traffic queue is data from other components in the SoC, and the SoC external BE traffic queue is data from outside the SoC.
[0077] The poller polls the queue status information in the FIFO buffer to obtain the queue type of the BE traffic queue to be scheduled and the frame length information of the BE data frame in the corresponding BE traffic queue;
[0078] The traffic shaping module is a traffic shaping module with configurable BAG value. It uses the configured traffic shaping BAG value time interval to perform traffic shaping on the BE traffic queue to be scheduled and trigger the BE scheduling request to enable; it sends the BE traffic request scheduling information, that is, the queue type of the BE traffic queue to be scheduled (that is, whether it is SoC external BE traffic or SoC internal BE traffic) and the frame length information of the BE data frame in the corresponding BE traffic queue and the traffic shaping BAG value time interval between each BE data frame, to the hybrid scheduling module for BE traffic scheduling.
[0079] After receiving the response from the hybrid scheduling module to the BE traffic scheduling request, the separate FIFO buffer module outputs the BE traffic of the corresponding queue type, and after the output is completed, it feeds back the BE traffic transmission end mark to the hybrid scheduling module; preferably, the output BE traffic supports the selection of 3 different channel network ports for output.
[0080] Preferably, the BE scheduling module includes a poller, a traffic shaping module and two FIFO buffers. The two FIFO buffers are used to store the SoC external BE traffic queue and the SoC internal BE traffic queue respectively; in the traffic shaping module, the traffic shaping BAG value time interval of the BE traffic is configured through the AHB bus (with an accuracy of 10us level).
[0081] The hybrid scheduling module uses medium reservation to schedule traffic. The medium reservation time is determined according to the Ethernet MAC rate, traffic type, data frame length, and MAC layer buffer usage. The corresponding traffic is scheduled and transmitted according to the priority of business traffic scheduling: TT traffic>PCF protocol control frame>RC traffic>BE traffic.
[0082] Furthermore, the hybrid scheduling module adopts a request-response approach. First, each scheduling module generates a request scheduling information and initiates a scheduling request. The hybrid scheduling module determines the hybrid scheduling priority based on the request scheduling information and responds to the traffic that meets the scheduling priority requirements. The following is an explanation of the hybrid scheduling workflow for each service traffic in the hybrid scheduling module. Figure 3 As shown, the details are as follows:
[0083] a. The hybrid scheduling module starts in an idle state and determines whether TT traffic needs to be sent. If there is TT traffic to be sent, the TT traffic scheduling request is responded to. After the hybrid scheduling module responds to the TT traffic scheduling request, if there is a TT traffic queue in the corresponding queue number in the shared cache, the shared cache outputs the TT traffic queue of the corresponding queue number, and feeds back the TT traffic transmission end mark to the hybrid scheduling module, and then enters the protection interval time of the TT traffic. After the protection interval time is completed, the scheduling of this TT traffic is terminated, and the hybrid scheduling module enters the idle state again, and the TT traffic scheduling is completed; if there is no TT traffic queue in the corresponding queue number in the shared cache, then after waiting for a fixed time, the protection interval time of the TT traffic is entered. After the protection interval time is completed, the scheduling of this TT traffic is terminated, and the hybrid scheduling module enters the idle state again, and the TT traffic scheduling is completed; wherein, the waiting fixed time and the protection interval time are both fixed values.
[0084] If the shared buffer times out when sending the TT frame, the hybrid scheduling module directly returns to the idle state and ends the scheduling of the current TT traffic.
[0085] b. When there is no TT traffic to be sent, determine whether the PCF protocol control frame needs to be sent based on the request scheduling information. When there is a PCF protocol control frame to be sent, determine whether the current sending of the PCF protocol control frame blocks the scheduling of the next frame of TT traffic based on the medium reserved time. If so, the hybrid scheduling module returns to the idle state, waits for the scheduling of the next frame of TT traffic, and then responds to send the PCF protocol control frame. If the current sending of the PCF protocol control frame does not block the scheduling time of the next frame of TT traffic, the time synchronization module sends the PCF protocol control frame and feeds back the PCF protocol control frame end flag to the hybrid scheduling module. The sending of the PCF protocol control frame ends, and the hybrid scheduling module returns to the idle state, and the current PCF protocol control frame scheduling is completed.
[0086] If the time synchronization module times out when sending the PCF protocol control frame, the hybrid scheduling module directly returns to the idle state and ends the scheduling of the current PCF protocol control frame.
[0087] c. When no PCF protocol control frame needs to be sent, it is determined whether RC traffic needs to be sent. When RC traffic needs to be sent, it is determined whether the currently sent RC data frame blocks the scheduling of the next frame of TT traffic according to the request scheduling information and the medium reservation time. If so, the hybrid scheduling module returns to the idle state and waits for the scheduling of the next frame of TT traffic before responding to the sending of the RC data frame; otherwise, it is determined whether the currently sent RC data frame blocks the scheduling of the next frame of PCF protocol control frame. If so, the hybrid scheduling module returns to the idle state and waits for the scheduling of the next frame of PCF frame before responding to the sending of the RC data frame; if the currently sent RC data frame does not block the sending of the next frame of TT traffic and the PCF protocol control frame, it is requested to send the RC data frame, wait for the shared cache to send the RC data frame, and feedback the end mark of sending the RC data frame to the hybrid scheduling module. If the hybrid scheduling module does not receive the feedback of the end mark of sending the RC data frame, it waits for the shared cache to feedback the end mark of sending the RC data frame. If the hybrid scheduling module receives the feedback of the end mark of sending the RC data frame, the sending of the current RC data frame is completed, the hybrid scheduling module returns to the idle state, and the current RC traffic scheduling is completed.
[0088] If the waiting time for the shared cache to send the RC data frame times out, the hybrid scheduling module directly returns to the idle state and ends the scheduling of the current RC traffic.
[0089] d. When there is no RC traffic to be sent, it is determined whether BE traffic needs to be sent. If so, it is determined whether the currently sent BE data frame blocks the scheduling of the next frame of TT traffic based on the request scheduling information and the medium reserved time. If so, the hybrid scheduling module returns to the idle state, waits for the scheduling of the next frame of TT traffic, and then responds to send the BE data frame; otherwise, it is determined whether the currently sent BE data frame blocks the scheduling of the next frame of PCF protocol control frame. If so, the hybrid scheduling module returns to the idle state, waits for the scheduling of the next frame of PCF protocol control frame, and then responds to send the BE data frame; otherwise, it is determined whether the currently sent BE data frame blocks the scheduling of the next frame of RC data frame. If so, the hybrid scheduling module returns to the idle state, waits for the scheduling of the next frame of RC data frame, and then responds to send the BE data frame. If the currently sent BE data frame does not block the scheduling and sending of the next frame of TT traffic, PCF protocol control frame and RC data frame, that is, the BE data frame is sent during the idle time, waiting for the separate buffer to send the current BE data frame, and the end flag of sending the BE data frame is fed back to the hybrid scheduling module. The sending of the BE data frame is completed, the hybrid scheduling module returns to the idle state, and the current BE traffic scheduling is completed. Waiting to start responding to the next scheduling of different traffic.
[0090] If the waiting time for sending the BE data frame to the separate buffer times out, the hybrid scheduling module directly returns to the idle state and ends the scheduling of the current BE traffic.
[0091] Furthermore, considering that the processing clocks of the hybrid scheduling module and the subsequent MAC layer are different, the medium reserved time is divided into PCF frame scheduling blocking time, RC traffic scheduling blocking time, and BE traffic scheduling blocking time:
[0092] (1) PCF frame scheduling blocking time: obtained based on the different trigger time intervals corresponding to the n TT traffic queue numbers, the time when the TT scheduling request is enabled, the TT traffic table lookup reserved time, the configurable PCF frame fixed blocking time, and the PCF frame reserved interval time; if a PCF protocol control frame scheduling request is received within the PCF frame scheduling blocking time, the request waits for a response.
[0093] The reserved time for TT traffic table lookup is the time from the start of each integration cycle to the completion of reading the TT traffic sending time scheduling configuration table; since TT traffic scheduling has the highest priority, there is no blocking authority for other business traffic, but for RC, BE traffic and PCF protocol control frames, time must be reserved for TT traffic to read the TT traffic sending time scheduling configuration table at the start of each integration cycle time period.
[0094] The fixed blocking time of PCF frames is configured according to the Ethernet MAC rate. Under the 100M network speed, the fixed blocking time of PCF frames is greater than 1 / 2 of the frame length of the PCF protocol control frame (in bytes). Under the 100M network speed, the fixed blocking time of PCF frames is 10 times the configured value of the fixed blocking time of PCF frames under the 100M network speed.
[0095] The PCF frame reservation interval is determined according to the Ethernet MAC rate and the MAC layer cache usage at the time of responding to the PCF protocol control frame scheduling request. In order to ensure that the PCF protocol control frame output still has a fixed delay jitter requirement, it is necessary to determine whether the MAC layer cache usage is empty at this time. If the MAC layer cache usage is empty, the PCF frame reservation interval is 0. If the MAC layer cache usage is not empty, at a gigabit network speed, the PCF frame reservation interval is 1 / 4 of the frame length of the PCF protocol control frame (in bytes). At a 100 megabit network speed, the PCF frame reservation interval is 10 times the PCF frame reservation interval at a gigabit network speed.
[0096] (2) RC traffic scheduling blocking time: obtained based on the different trigger time intervals corresponding to the n TT traffic queue numbers, the time when the TT scheduling request is enabled, the TT traffic table lookup reserved time, the configurable RC traffic fixed blocking time, and the RC traffic reserved interval time; if an RC traffic scheduling request is received within the RC traffic scheduling blocking time, the request waits for a response.
[0097] The fixed blocking time of RC traffic is configured according to the Ethernet MAC rate. The value at 100M network speed is 10 times the configured value at 1G network speed.
[0098] The RC traffic reservation interval is determined based on the data frame length, Ethernet MAC rate, and MAC layer buffer usage in the RC traffic queue to be scheduled.
[0099] Under Gigabit network speed, if the current MAC layer cache usage is less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled (in bytes), the RC traffic reservation interval is the sum of the frame length of the RC data frame in the current RC traffic queue to be scheduled plus the current MAC layer cache usage value and 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled; if the current MAC layer cache usage is not less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of the frame length of the RC data frame in the current RC traffic queue to be scheduled plus the current MAC layer cache usage value;
[0100] At a 100M network speed, if 10 times the current MAC layer cache usage is less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled (in bytes), the RC traffic reservation interval is the sum of 10 times the frame length of the RC data frame in the current RC traffic queue to be scheduled plus 10 times the current MAC layer cache usage and 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled; if 10 times the current MAC layer cache usage is not less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of 10 times the frame length of the RC data frame in the current RC traffic queue to be scheduled plus 10 times the current MAC layer cache usage.
[0101] (3) BE traffic scheduling blocking time: obtained based on the different trigger time intervals corresponding to the n TT traffic queue numbers, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable BE traffic fixed blocking time, and the BE traffic reserved interval time; if a BE traffic scheduling request is received within the BE traffic scheduling blocking time, the request waits for a response.
[0102] The fixed blocking time of BE traffic is configured in the same way as the fixed blocking time of RC traffic;
[0103] The BE traffic reservation interval is determined based on the data frame length, Ethernet MAC rate, and MAC layer buffer usage in the current BE traffic queue to be scheduled. The calculation method is the same as that of the RC traffic reservation interval, and the BE data frame length in the BE traffic queue to be scheduled is used in the calculation.
[0104] Figure 4The schematic diagram of the overall simulation results of the hybrid scheduling system for each business traffic provided in an embodiment of the present invention shows that the hybrid scheduling schedules and transmits the corresponding traffic according to the traffic scheduling priority: TT>PCF>RC>BE, wherein the integration period is configured to be 150us, and TT traffic scheduling of 8 different queue numbers is implemented in each integration period. The time interval between the TT traffic scheduling of 8 different queue numbers starting from time 0 of the integration period is 15us, including 2 frames of PCF protocol control frames, 8 frames of traffic with the same RC queue number configured with a BAG value of 10us, BE external traffic and SoC internal BE inner traffic, 2 frames each. The different dotted lines in the figure represent the request scheduling enable of different traffic under the hybrid scheduling situation. The TT traffic is strictly scheduled and outputted according to the planning time of the sending time schedule table, thereby ensuring the strict determinism and reliability of the TT traffic under the hybrid scheduling situation.
[0105] It is to be understood that the present invention is described by way of embodiments, and it is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed herein, and embodiments that can fall within the scope of the claims of this application all fall within the scope protected by the present invention.
[0106] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
Claims
1. A scheduling system for real-time network traffic, characterized in that: include: The TT scheduling module is used to cache TT traffic, generate TT traffic request scheduling information, initiate TT traffic scheduling requests, transmit TT traffic under the scheduling of the hybrid scheduling module, and feed back a TT traffic transmission end flag to the hybrid scheduling module; The RC scheduling module is used to cache RC traffic, generate RC traffic request scheduling information, initiate RC traffic scheduling requests, transmit RC traffic under the scheduling of the hybrid scheduling module, and feed back the RC traffic transmission end flag to the hybrid scheduling module; The BE scheduling module is used to cache BE traffic, generate BE traffic request scheduling information, initiate RC traffic scheduling requests, transmit BE traffic under the scheduling of the hybrid scheduling module, and feedback the BE traffic transmission end flag to the hybrid scheduling module; The time synchronization module is used to initiate a scheduling request for a PCF protocol control frame, transmit the PCF protocol control frame under the scheduling of the hybrid scheduling module, and feed back a PCF protocol control frame sending end flag to the hybrid scheduling module; The hybrid scheduling module follows the hybrid scheduling service priority: TT traffic > PCF protocol control frame > RC traffic > BE traffic. According to the corresponding request scheduling information, it uses medium reservation to respond to each scheduling request and implements service traffic scheduling. Among them, TT traffic and RC traffic are stored in a shared cache, and BE traffic is stored in a separate cache.
2. The scheduling system for real-time network traffic according to claim 1, characterized in that: The TT scheduling module, RC scheduling module, and BE scheduling module respectively use the TT traffic sending time scheduling configuration table, RC traffic BAG table, and BE traffic configurable BAG value in the form of queue status information in the corresponding cache to generate request scheduling information.
3. The scheduling system for real-time network traffic according to claim 2, characterized in that: The TT scheduling module and the RC scheduling module share a shared cache for caching 2 n traffic queues, one part of which is used to cache the TT traffic queue, and the other part of which is used to cache the RC traffic queue; it is also used to output the TT data frames in the TT traffic queue or the RC data frames in the RC traffic queue after the hybrid scheduling module responds to the scheduling request, and update the queue status information of all traffic queues in the shared cache in real time according to the input and output status of the data frames in each traffic queue, and after the output is completed, feedback the TT traffic transmission end flag or the RC traffic transmission end flag to the hybrid scheduling module; The TT scheduling module includes a TT traffic sending time scheduling configuration table and n sub-scheduling modules; TT traffic sending time scheduling configuration table is used to configure the scheduling information of each TT traffic queue; The TT traffic queue is scheduled and transmitted according to the TT traffic sending time scheduling configuration table. One scheduling cycle is split and configured into multiple integration cycles. Each integration cycle is divided into n different time slices. The scheduling of all TT traffic queues is completed by cycling multiple integration cycles. In each integration cycle, the n sub-scheduling modules read the TT traffic sending time scheduling configuration table together at the beginning of the integration cycle to obtain the queue numbers of the n TT traffic queues and the different trigger time intervals corresponding to each queue number, triggering the TT traffic scheduling request to enable. The TT traffic request scheduling information, i.e., the queue number of the TT traffic queue and the different trigger time intervals corresponding to each queue number and the queue status information updated by the shared cache, is sent to the hybrid scheduling module for TT traffic scheduling.
4. The scheduling system for real-time network traffic according to claim 3, characterized in that: The RC scheduling module includes an RC flow BAG table, multiple two-level arbitration polling devices, 2 n Traffic shaping modules; RC traffic BAG table, used to configure and plan traffic shaping information for each RC traffic queue; The two-level arbitration poller polls the queue status information in the shared cache to obtain the queue number of the RC traffic queue to be scheduled and the frame length information of the RC data frame in the corresponding RC traffic queue; The traffic shaping module reads the RC traffic BAG table for the RC traffic queue to be scheduled, obtains the traffic shaping time interval between each RC data frame in the corresponding RC traffic queue, performs traffic shaping on the RC traffic queue to be scheduled, and triggers the RC scheduling request enable; The RC traffic request scheduling information, namely the queue number of the RC traffic queue to be scheduled and the frame length information of the RC data frame in the corresponding RC traffic queue and the traffic shaping time interval period between each RC data frame, is sent to the hybrid scheduling module for RC traffic scheduling.
5. The scheduling system for real-time network traffic according to any one of claims 1 to 4, characterized in that: The BE scheduling module includes a poller, a traffic shaping module, and a separate FIFO buffer module; A separate FIFO buffer module is used to buffer one SoC external BE traffic queue and one SoC internal BE traffic queue; The poller polls the queue status information in the FIFO buffer to obtain the queue type of the BE traffic queue to be scheduled and the frame length information of the BE data frame in the corresponding BE traffic queue; The traffic shaping module is a traffic shaping module with configurable BAG value. It uses the configured traffic shaping BAG value time interval to perform traffic shaping on the BE traffic queue to be scheduled and trigger the BE scheduling request enable; The BE traffic request scheduling information, namely the queue type of the BE traffic queue to be scheduled and the frame length information of the BE data frame in the corresponding BE traffic queue and the traffic shaping BAG value time interval between each BE data frame, is sent to the hybrid scheduling module for BE traffic scheduling.
6. The scheduling system for real-time network traffic according to claim 5, characterized in that: The TT scheduling module and the RC scheduling module add serial numbers to the output TT traffic queue and RC traffic queue for redundant channel transmission; the time synchronization module uses multiple redundant channels to output the output PCF protocol control frame; The BE scheduling module selects multiple different channel network ports for output of the output BE traffic queue according to the channel number.
7. The scheduling system for real-time network traffic according to claim 5, characterized in that: The hybrid scheduling module adopts a request-response method to respond to the corresponding scheduling request and realize the scheduling of different traffic, specifically: Determine whether there is a TT traffic scheduling request at present; if there is a TT traffic scheduling request, respond to the TT traffic scheduling request; if there is no TT traffic scheduling request, then: Determine whether there is a PCF protocol control frame scheduling request at present; if there is a PCF protocol control frame scheduling request, determine whether the current output PCF protocol control frame blocks the next TT data frame, if blocked, do not respond to the PCF frame scheduling request, if not blocked, respond to the PCF frame request scheduling; if there is no PCF protocol control frame scheduling request, then: Determine whether there is an RC traffic scheduling request currently; If there is an RC traffic scheduling request, determine whether the current output RC traffic blocks the next TT data frame or the next PCF protocol control frame. If blocked, do not respond to the RC traffic scheduling request. If neither is blocked, respond to the RC traffic scheduling request. If there is no RC traffic scheduling request, then: Determine whether there is a BE traffic scheduling request currently; If there is a BE traffic scheduling request, then whether the current output BE traffic blocks the next TT data frame or the next PCF protocol control frame or the next RC data frame. If blocked, then do not respond to the BE traffic scheduling request. If neither is blocked, then respond to the BE traffic scheduling request. If there is no BE traffic scheduling request, the hybrid scheduling module enters an idle state.
8. The scheduling system for real-time network traffic according to claim 6, characterized in that: The hybrid scheduling module determines the blocking of TT data frames when responding to PCF protocol control frame scheduling requests, RC traffic scheduling requests, or BE traffic scheduling requests based on the medium reservation time; the medium reservation time is divided into PCF frame scheduling blocking time, RC traffic scheduling blocking time, and BE traffic scheduling blocking time.
9. The scheduling system for real-time network traffic according to claim 8, characterized in that: The factors determining the medium reservation time include the traffic type, the data frame length of the corresponding traffic, the Ethernet MAC rate and the MAC layer buffer usage; PCF frame scheduling blocking time: obtained based on the different triggering time intervals corresponding to each TT traffic queue number, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable PCF frame fixed blocking time, and the PCF frame reserved interval time; The reserved time for TT traffic table lookup is the time from the start of each integration cycle to the completion of reading the TT traffic sending time scheduling configuration table; The fixed blocking time of the PCF frame is configured according to the Ethernet MAC rate. Under the 100M network speed, the fixed blocking time of the PCF frame is greater than 1 / 2 of the frame length of the PCF protocol control frame. Under the 100M network speed, the fixed blocking time of the PCF frame is 10 times the configured value of the fixed blocking time of the PCF frame under the 100M network speed. The PCF frame reservation interval is determined according to the Ethernet MAC rate and the MAC layer cache usage at the time of responding to the PCF protocol control frame scheduling request. If the MAC layer cache usage is empty, the PCF frame reservation interval is 0. If the MAC layer cache usage is not empty, at a gigabit network speed, the PCF frame reservation interval is 1 / 4 of the frame length of the PCF protocol control frame. At a 100 megabit network speed, the PCF frame reservation interval is 10 times the PCF frame reservation interval at a gigabit network speed. RC traffic scheduling blocking time: obtained based on the different triggering time intervals corresponding to each TT traffic queue number, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable RC traffic fixed blocking time, and the RC traffic reserved interval time; The fixed blocking time of RC traffic is configured according to the Ethernet MAC rate. The value at 100M network speed is 10 times the configured value at 1G network speed. The RC traffic reservation interval is determined based on the data frame length, Ethernet MAC rate, and MAC layer buffer usage in the RC traffic queue to be scheduled. Under Gigabit network speed, if the current MAC layer cache usage is less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of the frame length of the RC data frame in the current RC traffic queue to be scheduled plus the current MAC layer cache usage value and 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled; if the current MAC layer cache usage is not less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of the frame length of the RC data frame in the current RC traffic queue to be scheduled plus the current MAC layer cache usage value; At 100M network speed, if 10 times the current MAC layer cache usage is less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of 10 times the frame length of the RC data frame in the current RC traffic queue to be scheduled plus 10 times the current MAC layer cache usage and 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled; if 10 times the current MAC layer cache usage is not less than 1 / 4 of the frame length of the RC data frame in the current RC traffic queue to be scheduled, the RC traffic reservation interval is the sum of 10 times the frame length of the RC data frame in the current RC traffic queue to be scheduled plus 10 times the current MAC layer cache usage; BE traffic scheduling blocking time: obtained based on the different triggering time intervals corresponding to each TT traffic queue number, the time when the TT scheduling request is triggered, the TT traffic table lookup reserved time, the configurable BE traffic fixed blocking time, and the BE traffic reserved interval time; The fixed blocking time of BE traffic is configured in the same way as the fixed blocking time of RC traffic; The BE traffic reservation interval is determined based on the data frame length, Ethernet MAC rate, and MAC layer buffer usage in the BE traffic queue to be scheduled. The calculation method is the same as that of the RC traffic reservation interval, and the BE data frame length in the BE traffic queue to be scheduled is used in the calculation.
Citation Information
Patent Citations
Data frame scheduling method based on virtual links
CN104717149A
Hybrid scheduling method for sending of multiple service messages in time-triggered Ethernet
CN109450817A
Scheduling table generation method based on time-triggered Ethernet
CN115412191A
Simulation model system for TTFC message scheduling
CN115733759A
TTE network scheduling planning configuration simulation method and system
CN117811937A
