Flow scheduling method, device, equipment, medium and product
By optimizing the trigger time and frame preemption strategy of the HOLD signal and RELEASE signal in the TSN network, the problems of low bandwidth utilization and increased frame delay are solved, and efficient utilization of bandwidth resources and optimization of traffic transmission performance in the substation communication network are realized.
Patent Information
- Application Number
- CN202510482356.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-07-18
AI Technical Summary
In the existing TSN technology, the bandwidth utilization rate is low and the frame delay can be increased, resulting in waste of resources and low transmission efficiency.
By determining the triggering time of the HOLD signal and RELEASE signal based on the gated list and protection band parameters of the target communication network, the high-speed traffic is transmitted first, and when the HOLD signal is triggered, it is determined whether the preemptive traffic is completed in the protection band. If it is not completed, the transmission will be stopped before the protection band is over, and the frame preemption strategy is dynamically adjusted to optimize bandwidth utilization.
The bandwidth utilization rate is improved, the delay of preemptable frames is reduced, and the traffic transmission performance of the substation communication network is optimized, especially the utilization rate of bandwidth resources is significantly improved without affecting the transmission efficiency of high-speed traffic.
Smart Images

Figure CN120342970A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of communication network resource scheduling, and particularly to a traffic scheduling method, device, equipment, medium and product. Background Art
[0002] With the intelligent development of substations, the communication network traffic has increased sharply, especially for services associated with primary equipment, which have extremely high requirements for real-time performance. Traditional networks are difficult to meet the demands, and Time-Sensitive Networking (TSN) technology has been widely applied to substation communication networks due to its high reliability and low latency characteristics.
[0003] In the existing TSN technology, although the HOLD&RELEASE mechanism can ensure the immediate transmission of periodic traffic, there are the following problems:
[0004] 1. Low bandwidth utilization: The bandwidth of the guard band may be idle, resulting in waste of bandwidth resources.
[0005] 2. Increased latency of preemptible frames: In the HOLD state, the transmission of preemptible frames is interrupted, increasing the latency.
[0006] Therefore, an improved traffic scheduling mechanism is needed to improve bandwidth utilization and optimize traffic transmission performance. Summary of the Invention
[0007] The purpose of this application is to provide a traffic scheduling method, device, equipment, medium and product, which can improve bandwidth utilization.
[0008] To achieve the above purpose, this application provides the following solutions:
[0009] In the first aspect, this application provides a traffic scheduling method, which includes:
[0010] Determine the trigger times of each HOLD signal and RELEASE signal according to the gating list and guard band parameters for traffic transmission in the target communication network; the guard band parameters include the guard band length, the start time of each guard band length is the trigger time of the HOLD signal, and the end time of each guard band length is the gating open time; the traffic in the target communication network is divided into high-speed traffic and preemptible traffic; the high-speed traffic is preferentially transmitted within the gating period of the gating list;
[0011] When each HOLD signal is triggered, determine whether the remaining length of the currently to-be-transmitted preemptible traffic can be completed within the current guard band;
[0012] If so, complete the transmission of the remaining length within the current guard band;
[0013] Otherwise, transmit the remaining length in the current guard band and stop transmitting when setting the byte length before the end of the guard band.
[0014] Optionally, the traffic is divided into the high-speed traffic and the preemptible traffic according to the traffic type, and the traffic type includes GOOSE messages, SV messages, and MMS messages.
[0015] Optionally, the traffic of each traffic type corresponds to different priorities, and the traffic is transmitted in the order from high to low priority within the gating period of the gating list.
[0016] Optionally, the target communication network is a substation communication network.
[0017] Optionally, the set byte length is 12 bytes.
[0018] Optionally, determining whether the remaining length of the preemptible traffic to be transmitted currently is transmitted within the current guard band specifically includes:
[0019] Determining whether the preemptible traffic to be transmitted currently is transmitted within the current guard band according to the length of the preemptible traffic to be transmitted currently, the length of the guard band, and the port rate of the current transmission port.
[0020] In a second aspect, the present application provides a traffic scheduling device, and the traffic scheduling device applies the traffic scheduling method described in any one of the above. The traffic scheduling device includes:
[0021] A trigger configuration module for HOLD signal and RELEASE signal, configured to determine the trigger moments of each HOLD signal and RELEASE signal according to the gating list and guard band parameters for traffic transmission in the target communication network; the guard band parameters include the length of the guard band, the start moment of each guard band length is the trigger moment of the HOLD signal, and the end moment of each guard band length is the gating opening moment; the traffic in the target communication network is divided into high-speed traffic and preemptible traffic; the high-speed traffic is preferentially transmitted within the gating period of the gating list;
[0022] A judgment module, configured to judge whether the preemptible traffic to be transmitted currently is transmitted within the current guard band when each HOLD signal is triggered;
[0023] A transmission module, configured to, if the output of the judgment module is yes, transmit the preemptible traffic to be transmitted currently within the current guard band; if the output of the judgment module is no, transmit the preemptible traffic to be transmitted currently in the current guard band and stop transmitting when setting the byte length before the end of the guard band.
[0024] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the steps of the traffic scheduling method described in any one of the above.
[0025] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the traffic scheduling method described in any one of the above are implemented.
[0026] In a fifth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the traffic scheduling method described in any one of the above are implemented.
[0027] According to the specific embodiments provided by the present application, the following technical effects are disclosed in the present application:
[0028] The present application provides a traffic scheduling method, device, equipment, medium and product. Based on the gating list (GCL) and guard band parameters of traffic transmission in the target communication network, the start time of each guard band length is set as the trigger time of the HOLD signal, and the end time of each guard band length is set as the gating opening time; during the triggering of the HOLD signal, the remaining length of the currently to-be-transmitted preemptible traffic is continuously transmitted. If the transmission cannot be completed, the transmission is stopped when setting the byte length before the end of the guard band, which not only makes full use of the guard band but also does not affect the transmission efficiency of high-speed traffic, realizes the dynamic utilization of the guard band bandwidth resources, improves the bandwidth utilization rate, and optimizes the traffic transmission performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0030] Figure 1 It is a schematic flowchart of a traffic scheduling method provided by an embodiment of the present application.
[0031] Figure 2 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0032] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0033] To make the above objects, features, and advantages of the present application more obvious and understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0034] In an exemplary embodiment, the present application provides a traffic scheduling method, as Figure 1 shown, the traffic scheduling method includes:
[0035] Step 101: Determine the trigger times of each HOLD signal and RELEASE signal according to the gating list and guard band parameters for traffic transmission in the target communication network; the guard band parameters include the guard band length, the start time of each guard band length is the trigger time of the HOLD signal, and the end time of each guard band length is the gating opening time; the traffic in the target communication network is divided into high-speed traffic and preemptible traffic; the high-speed traffic is preferentially transmitted within the gating period of the gating list.
[0036] Step 102: When each HOLD signal is triggered, determine whether the remaining length of the currently to-be-transmitted preemptible traffic can be completely transmitted within the current guard band.
[0037] If the determination in step 102 is yes, then execute step 103.
[0038] Step 103: Completely transmit the remaining length within the current guard band.
[0039] If the determination in step 102 is no, then execute step 104.
[0040] Step 104: Transmit the remaining length within the current guard band and stop transmission when setting the byte length before the end of the guard band.
[0041] In another exemplary embodiment, before step 101, a traffic scheduling method further includes: traffic classification and priority assignment: determine the traffic types and the priorities of each traffic type to provide a basis for subsequent scheduling.
[0042] Gating list and guard band configuration: Configure the gating list and guard band parameters according to traffic requirements.
[0043] This application dynamically adjusts the frame preemption strategy according to the judgment result of whether the preemptible frame can be transmitted within the guard band; updates the frame transmission conditions during the HOLD period according to the frame preemption strategy, and based on the frame transmission conditions during the new HOLD period, executes the optimized traffic scheduling under the control of the HOLD and RELEASE signals, improving the bandwidth utilization rate and traffic transmission performance of the target communication network. The preemptible traffic is a set of frames of the same type (preemptible frames).
[0044] The target communication network is a substation communication network.
[0045] The traffic types include GOOSE (Generic Object Oriented Substation Event) messages, SV (Sampled Values) messages, and MMS (Manufacturing Message Specification) messages. The traffic is divided into the high-speed traffic (E frames) and the preemptible traffic (P frames) according to the traffic type.
[0046] This application divides the traffic into high-speed traffic and preemptible traffic according to the globally universal (IEC) 61850 standard in the field of power system automation. For example, the SV message is divided into high-speed traffic, and the GOOSE message and MMS message are divided into preemptible traffic.
[0047] Each traffic type of traffic corresponds to a different priority, that is, the mapping relationship between the traffic type and the priority is determined, and the traffic is transmitted in the order from high to low priority within the gating period of the gating list.
[0048] This application assigns priorities to each traffic type to ensure that high-real-time traffic (such as GOOSE) has a higher priority and ensure that high-real-time traffic, that is, high-speed traffic, can be transmitted first. For example:
[0049] GOOSE message: The highest priority (such as priority 7), with strict latency requirements (1A class < 3ms, 1B class < 20ms).
[0050] SV message: The second highest priority (such as priority 6), with latency requirements < 3ms.
[0051] MMS message: The lower priority (such as priority 4), with latency requirements < 100ms.
[0052] This application configures the gating list according to the traffic type and its priority, and determines the gating period and bandwidth allocation for each traffic type. For example, the gating period of the SV traffic is 250 μs.
[0053] The guard band parameters include not only the guard band length, but also the trigger conditions of the HOLD / RELEASE signals. The default guard band length is the time for transmitting 123 bytes, corresponding to the port rate (such as 1Gbps, 100Mbps).
[0054] During the process of traffic transmission, the HOLD signal and the RELEASE signal are alternately triggered. After the HOLD signal is triggered, the guard band starts and ends when the gate is opened.
[0055] The function of the Hold / RELEASE mechanism is to reduce the original guard band length, which is the maximum byte length of the data frame, to the minimum length (123B) required for the implementation of the frame preemption mechanism.
[0056] The start of the guard band is mainly defined by Hold, and the end of the guard band is where the SV gate is opened. It is stipulated that the function of the RELEASE signal is to allow the transmission of preemptible frames. The modification in this application mainly targets the transmission within the guard band after the Hold signal starts, without modifying the function of the original RELEASE signal.
[0057] In step 101, during the gating cycle, calculate the trigger moment of the HOLD signal, that is, at the guard band length time before the high-speed traffic (E-frame) gate is opened. For example, for a 1Gbps port rate, the time for transmitting 123 bytes is approximately 1.23 μs. Set the trigger moment of the RELEASE signal, that is, when the high-speed traffic gate is closed.
[0058] The set byte length is 12 bytes.
[0059] Global clock synchronization in this application: Use the IEEE 1588 Precision Time Protocol (PTP) or the internal clock synchronization mechanism of the switch to ensure that the clocks of all devices are consistent.
[0060] This application introduces synchronous error handling for the trigger moments of the HOLD signal and the RELEASE signal. The synchronous error handling introduces a time tolerance mechanism, allowing synchronous errors within a certain range (such as ±100 nanoseconds). If it is detected that the synchronous error exceeds the tolerance range, correct the error by dynamically adjusting the signal trigger moment or resynchronizing the clock.
[0061] Among them, step 102 specifically includes: judging whether the currently to-be-transmitted preemptible traffic can be transmitted within the current guard band according to the length of the currently to-be-transmitted preemptible traffic, the guard band length, and the port rate of the current transmission port.
[0062] In another exemplary embodiment, step 102 specifically includes:
[0063] Step 201: Determine the transmission condition of the preemptable frame: When the HOLD signal is triggered, call the remaining frame length judgment function to calculate whether the preemptable frame can be transmitted within the guard band. If the preemptable frame can be transmitted within the guard band, the preemptable frame is marked as "can be completed"; otherwise, the preemptable frame is marked as "cannot be completed".
[0064] For example: If the length of the preemptable frame is 200 bytes and the length of the guard band is 1.23 μs (the time to transmit 123 bytes), then calculate whether it can be transmitted within the guard band.
[0065] The input parameters of the remaining frame length judgment function are the length of the preemptable frame and the length of the guard band. When the HOLD signal is triggered, calculate the remaining length of the preemptable frame, that is, the total length of the frame minus the transmitted length. The output of the remaining frame length judgment function is the judgment result of the transmission condition of the preemptable frame (can be completed / cannot be completed).
[0066] Determine whether it can be transmitted within the guard band, specifically including: compare the remaining length with the length of the guard band. If the remaining length is less than or equal to the length of the guard band, the preemptable frame can be transmitted within the guard band; otherwise, the preemptable frame cannot be transmitted within the guard band.
[0067] In the case where the preemptable frame cannot be transmitted within the guard band, further determine the frame. If the frame can transmit the preemptable part (the other part except the 60B frame header and 64B frame tail) within the guard band time, then use the guard band to transmit the preemptable part, which increases the bandwidth utilization within the guard band. If the frame cannot transmit the preemptable part within the guard band time, then transmit this part during the guard band until the 12-byte minimum interframe gap (IFG) before the end of the guard band.
[0068] Step 202: Dynamically adjust the frame preemption strategy, specifically including: If the preemptable frame is "can be completed", allow it to continue transmission and do not perform the preemption operation. If the preemptable frame is "cannot be completed", find the latest preemptable moment and fragment and preempt the frame to ensure the immediate transmission of high-speed traffic (E frame).
[0069] For example: If the length of the preemptable frame is 500 bytes and only 123 bytes can be transmitted within the guard band, then preemption is performed at the end of the guard band, and the remaining part is transmitted in the next cycle.
[0070] Determination of the preemption opportunity: There are three cases.
[0071] First: If the remaining length of the preemptable frame (P frame) is less than the length of the guard band (123 bytes), then allow the frame to be transmitted within the guard band and do not perform the preemption operation.
[0072] Second: The preemptible frame cannot complete its transmission within the guard band. If the preemptible part of the preemptible frame can be transmitted within the guard band, the preemption timing is at the point where the preemptible part of the P-frame is transmitted (i.e., at the point where 60B remains in the P-frame, because Ethernet stipulates that the minimum frame is 60. If preemption does not occur at this moment, frame fragmentation less than 60B will occur subsequently, which does not meet the requirements of Ethernet).
[0073] Third: The preemptible frame cannot complete its transmission within the guard band, and at the same time, the frame cannot transmit the preemptible part within the guard band time (which means the frame is very long). The preemption timing is at the 12-byte Interframe Gap (IFG) before the end of the guard band to avoid collision with the high-speed frame (E-frame). (The 12-byte minimum interframe gap is also a stipulation of Ethernet).
[0074] Frame fragmentation processing: When preemption occurs, the preemptible frame is divided into two parts: the transmitted part and the remaining part.
[0075] The transmitted part completes its transmission, and the remaining part is put into the queue to wait for transmission in the next cycle.
[0076] Update the frame status in the queue, record the length and priority of the remaining part, and ensure priority transmission in the next cycle.
[0077] Frame recombination after preemption: In the next cycle, when the remaining part in the queue is scheduled for transmission, ensure correct frame recombination to avoid data loss or out-of-order.
[0078] Step 203: Update the frame transmission conditions during HOLD, specifically including: During HOLD, update the transmission conditions of the Prioritized Media Access Control (pMAC) packet according to the frame preemption policy. If the preemptible frame "can be completed", stop transmission after the transmission ends. If the preemptible frame "cannot be completed", stop transmission after the frame preemption operation.
[0079] The original frame preemption policy was to find the earliest preemption moment of the frame, and after improvement, it is to find the latest preemption moment. Therefore, it involves updating the transmission conditions of the pMAC packet.
[0080] Step 204: Execute the HOLD&RELEASE mechanism: When the HOLD signal is triggered, the MAC layer stops or continues the transmission of the preemptible frame according to the updated transmission conditions. When the RELEASE signal is triggered, resume the transmission of the preemptible frame.
[0081] Specific implementation: Implement the improved HOLD&RELEASE mechanism through software without hardware modification. For example, verify the effectiveness of the mechanism in the OMNET++ simulation environment.
[0082] This application also includes a monitoring and optimization step to obtain optimized network performance based on the traffic scheduling results.
[0083] Monitor network performance metrics (such as bandwidth utilization, latency, packet loss rate, etc.). For example, collect the end-to-end latency data of frames through simulation software and calculate statistical metrics such as average latency and standard deviation.
[0084] According to the monitoring results, dynamically adjust the gating list and guard band parameters to further optimize the traffic scheduling performance. For example, adjust the gating period or guard band length of SV traffic.
[0085] A traffic scheduling method of this application involves technical contents including: traffic classification and priority assignment, gating list and guard band configuration, signal time presetting, frame transmission condition judgment, frame preemption strategy adjustment, update of frame transmission conditions during HOLD, execution of improvement mechanism, monitoring and optimization.
[0086] This application dynamically utilizes the protected bandwidth resources to avoid bandwidth idling. Without affecting the high-speed frame transmission, it significantly reduces the latency of preemptable frames and improves the bandwidth utilization rate. When the bandwidth of preemptable traffic is tight, the improvement mechanism can better utilize the guard band resources.
[0087] Without affecting the high-speed frame transmission, this application reduces the latency of preemptable frames and optimizes the transmission performance of the substation communication network for different types of traffic. The improvement mechanism can significantly reduce the average latency and standard deviation of GOOSE traffic, and at the same time has an optimization effect on the latency of MMS traffic.
[0088] This application implements the improvement mechanism based on the existing TSN standard without the need to modify the hardware, and has good compatibility and feasibility.
[0089] The simulation results show that the improved mechanism has significant advantages in terms of bandwidth utilization and traffic transmission performance, and does not require hardware modification, with good compatibility and feasibility. This method is applicable to the traffic scheduling of substation communication networks, especially in scenarios with high real-time and high bandwidth utilization requirements (such as the bus fault data traffic scheduling under the "network sampling and network tripping" architecture of intelligent substations).
[0090] Based on the same inventive concept, the embodiments of this application also provide a traffic scheduling device for implementing the above-mentioned traffic scheduling method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the following traffic scheduling devices can refer to the limitations on the traffic scheduling method in the above text, and will not be repeated here.
[0091] In another exemplary embodiment, a traffic scheduling device is provided. The traffic scheduling device applies the traffic scheduling method described in any one of the above, and the traffic scheduling device includes:
[0092] A trigger configuration module for HOLD signal and RELEASE signal, configured to determine the trigger moments of each HOLD signal and RELEASE signal according to the gating list and guard band parameters of traffic transmission in the target communication network; the guard band parameters include the guard band length, the start moment of each guard band length is the trigger moment of the HOLD signal, and the end moment of each guard band length is the gating opening moment; the traffic in the target communication network is divided into high-speed traffic and preemptable traffic; the high-speed traffic is preferentially transmitted within the gating period of the gating list.
[0093] A judgment module, configured to judge whether the currently to-be-transmitted preemptable traffic is completed within the current guard band when each HOLD signal is triggered.
[0094] A transmission module, configured to, if the output of the judgment module is yes, complete the transmission of the currently to-be-transmitted preemptable traffic within the current guard band; if the output of the judgment module is no, transmit the currently to-be-transmitted preemptable traffic within the current guard band and stop the transmission when setting the byte length before the end of the guard band.
[0095] This application aims to solve the problems of low bandwidth utilization and increased delay of preemptable frames in the existing TSN network. The method of this application dynamically utilizes bandwidth resources by resetting the frame transmission conditions within the guard band, and at the same time optimizes the frame preemption constraint conditions, significantly improving the bandwidth utilization and traffic transmission performance of the substation communication network.
[0096] In an exemplary embodiment, a computer device is provided. The computer device can be a server or a terminal, and its internal structure diagram can be as Figure 2 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store traffic scheduling data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a traffic scheduling method.
[0097] Those skilled in the art can understand that Figure 2 The structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0098] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0099] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0100] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0101] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memories (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0102] The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, data processing logics of programmable logics, etc., without limitation.
[0103] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.
[0104] Specific examples are used in this article to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A traffic scheduling method, characterized in that, The described traffic scheduling method includes: Determining the triggering moments of each HOLD signal and RELEASE signal according to the gating list and guard band parameters for traffic transmission in the target communication network; the guard band parameters include the guard band length, the starting moment of each guard band length is the triggering moment of the HOLD signal, and the ending moment of each guard band length is the gating opening moment; the traffic in the target communication network is divided into high-speed traffic and preemptible traffic; the high-speed traffic is preferentially transmitted within the gating period of the gating list; When each HOLD signal is triggered, determining whether the remaining length of the currently to-be-transmitted preemptible traffic can be completed within the current guard band; If so, completing the transmission of the remaining length within the current guard band; If not, transmitting the remaining length within the current guard band and stopping the transmission when a set byte length is reached before the end of the guard band.
2. The traffic scheduling method according to claim 1, wherein The traffic is divided into the high-speed traffic and the preemptible traffic according to the traffic type, and the traffic types include GOOSE messages, SV messages, and MMS messages.
3. The traffic scheduling method according to claim 2, wherein Each traffic type of traffic corresponds to a different priority, and the traffic is transmitted in descending order of priority within the gating period of the gating list.
4. The traffic scheduling method according to claim 1, wherein The target communication network is a substation communication network.
5. The traffic scheduling method according to claim 1, wherein The set byte length is 12 bytes.
6. The traffic scheduling method according to claim 1, characterized in that Determining whether the remaining length of the currently to-be-transmitted preemptible traffic can be completed within the current guard band specifically includes: Determining whether the currently to-be-transmitted preemptible traffic can be completed within the current guard band according to the length of the currently to-be-transmitted preemptible traffic, the guard band length, and the port rate of the current transmission port.
7. A traffic scheduling device, characterized in that, The traffic scheduling device applies the traffic scheduling method described in any one of claims 1-6, and the traffic scheduling device includes: A triggering configuration module for HOLD signals and RELEASE signals, which is used to determine the triggering moments of each HOLD signal and RELEASE signal according to the gating list and guard band parameters for traffic transmission in the target communication network; the guard band parameters include the guard band length, the starting moment of each guard band length is the triggering moment of the HOLD signal, and the ending moment of each guard band length is the gating opening moment; the traffic in the target communication network is divided into high-speed traffic and preemptible traffic; the high-speed traffic is preferentially transmitted within the gating period of the gating list; A judgment module, which is used to determine whether the currently to-be-transmitted preemptible traffic can be completed within the current guard band when each HOLD signal is triggered; A transmission module, which is used to, if the output of the judgment module is yes, complete the transmission of the currently to-be-transmitted preemptible traffic within the current guard band; if the output of the judgment module is no, transmit the currently to-be-transmitted preemptible traffic within the current guard band and stop the transmission when a set byte length is reached before the end of the guard band.
8. A computer device, comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the traffic scheduling method described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the traffic scheduling method described in any one of claims 1-6.
10. A computer program product comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the traffic scheduling method described in any one of claims 1-6.
Citation Information
Cited By
Dynamic splitting method for data frames in guard band of time sensitive network
CN121691202A