Computer-implemented method for adapting at least one predefined frame delay
By monitoring the current frame delay of the network switch to adapt to the predefined frame delay, the problem of overly conservative frame delay analysis in the existing technology is solved, more accurate and efficient resource reservation is achieved, and the data service capacity is improved.
Patent Information
- Application Number
- CN201980097846.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-06-25
AI Technical Summary
When the existing technology provides real-time Ethernet, the worst-case analysis of frame delay results in too conservative resource reservation, resulting in unnecessary bandwidth reservation and resource waste, affecting data service capacity.
By monitoring the network switch to receive input data, derive the current frame delay and adapt the predefined frame delay according to it, adjust resource reservation, such as bandwidth reservation, and improve the accuracy and efficiency of the frame delay.
It improves the accuracy and efficiency of resource reservation, reduces unnecessary bandwidth reservation, increases data service capacity, and ensures efficient transmission of frames in the computer network.
Smart Images

Figure CN114041280B
Abstract
Description
1. Technical Field
[0002] The invention relates to a computer-implemented method for adapting at least one predefined frame delay, wherein the corresponding at least one frame is transmitted via at least one network switch of at least one computing unit in a frame-based computer network. Furthermore, the invention relates to a corresponding computer program product and a monitoring unit. 2. Background technology
[0004] Computer networks are known from the prior art, according to which computing devices or units as nodes exchange data with each other using data links as connections. A local area network (LAN) is a computer network limited to a small geographical area. LAN technologies include Ethernet, Arcnet and Token Ring. Ethernet is the most popular LAN technology in use today. The Institute of Electrical and Electronics Engineers (IEEE) defines the Ethernet standard as IEEE Standard 802.3. In Ethernet, a data stream is divided into shorter segments, which are called frames for data transmission. Therefore, Ethernet is a frame-based or frame-based transmission technology for data transmission.
[0005] Efforts are being made to provide real-time capabilities for standard Ethernet. One attempt is time-sensitive networking (TSN). TSN extends the Ethernet bridging standard according to IEEE 802.1Q. In contrast to standard Ethernet according to IEEE 802.3 and Ethernet bridging according to IEEE 802.1Q, time plays an important role in TSN for achieving real-time communication.
[0006] TSN provides several new features of real-time Ethernet, including time synchronization and deterministic network communication. Figure 2 As depicted in simplified form in FIG. 1 , in such a computer network 1, typically, computing units 10 do not all share a channel through a shared cable or repeater hub; instead, each computing unit 10 communicates with a switch 12, which in turn forwards incoming data traffic to a target computing unit 10 or destination station. Each computing unit 10 communicates only with its own switch 10, without competing for cables with other units. The computing units 10 switch frames 20. With respect to TSN, the switch may be referred to as a TSN switch.
[0007] Typically, the planning of data traffic in TSN is based on a worst-case analysis of the data transmission time of a transmission frame. This analysis is used to determine whether sufficient bandwidth is available for the expected frame transmission.
[0008] Therefore, worst-case analysis usually uses an upper boundary of random frame delays such as bridging delays and / or a priori unknown interference delays caused by different frame usage of the same communication link (i.e., the same output port in a switch). However, most upper boundaries and interference delays are very conservative, resulting in unnecessary reservations or resources, including bandwidth reservations.
[0009] Therefore, the object of the present invention is to provide a computer-implemented method for adapting at least one predefined frame delay, wherein the corresponding at least one frame is transmitted in an efficient and reliable manner via at least one network switch of at least one computing unit in a frame-based computer network to improve the reservation of resources and thereby improve the data traffic capacity. 3. Summary of the invention
[0011] According to one aspect of the invention, the problem is solved by a computer implemented method for adapting at least one predefined frame delay, wherein the corresponding at least one frame is transmitted via at least one network switch of at least one computing unit in a frame-based computer network, the method comprising the following steps:
[0012] a. receiving input data from at least one network switch of the at least one computing unit; wherein
[0013] b. The input data comprises at least one information associated with the at least one frame and / or the at least one network switch;
[0014] c. deriving at least one current frame delay of at least one frame from the at least one information;
[0015] d. adapting the at least one predefined frame delay depending on the at least one current frame delay; and
[0016] e. Providing at least one adapted frame delay.
[0017] Hence, the method relates to a computer-implemented method for adapting at least one predefined frame delay.The delay may be defined as the delay of a frame being transmitted via a network switch of a computing unit in a frame-based computer network.
[0018] In other words, the frame delay is the time required to transmit a frame from one computing unit to another computing unit within a computer network. For example, the frame delay may be the sum of the transmission time and other delays (e.g., bridging delays and interference delays). In addition to or instead of the predefined frame delay, at least one a priori estimate of the maximum queue-occupancy at an output port of the switch may be adapted.
[0019] Thus, the frame is a digital data transmission unit. In a packet switching system, a frame is a simple container for a single network packet. Preferably, the frame-based computer network is an Ethernet network as explained in more detail above, such as TSN. Alternatively, any other frame-based computer network may be used.
[0020] First, input data is received from one or more network switches of a computing unit of a frame-based computer network. Preferably, multiple input data sets from different network switches of the frame-based computer network are collected and received. The input data includes information about the frame and / or the corresponding network switch.
[0021] In other words, the network switch is extended with monitoring or collection capabilities. The network switch is capable of monitoring data traffic or data transmission. In particular, the traffic of the frame is monitored by the switch, since the frame is transmitted by the switch. The network switch receives and forwards the frame. Thus, for example, the time in the form of a timestamp of the frame entering and / or leaving the switch can be monitored and collected as time information. Additionally or alternatively, the entry or transmission time of the frame can be monitored and collected. Additionally or alternatively, the occupancy of the queue or the occupancy of the queue at the output port, for example, can be checked, stored and / or forwarded. This information can be collected and stored in any kind of storage unit (e.g., a database or a cloud). The input data can be transmitted from the storage unit to the receiving unit.
[0022] Said information is necessary for deriving the current frame delay in the next step. An adapted frame delay is determined by adjusting or correcting said predefined frame delay using the current frame delay. According to this, a predefined basic resource reservation or an associated resource reservation, such as bandwidth, is adjusted respectively.
[0023] The adjustment may be based on one current frame delay as a single value for the frame. Alternatively, the above steps may be repeated to collect multiple current frame delays, such as multiple current frame delays for one frame over time, for use in determining a normalized average or other statistical value as the current frame delay. In this way, the reliability of the current frame delay may be increased because more data is taken into account.
[0024] In this way, a conservative or worst case predefined frame delay or specified frame delay can be improved and thereby also resource reservation can be improved.In contrast to the prior art, the method according to the invention is based on real data traffic.
[0025] The method according to the invention enables an improved determination of resource reservations, such as bandwidth, compared to prior art estimates performed in the network planning phase.
[0026] Furthermore, the method according to the invention ensures improved efficiency and accuracy, since the method steps are performed by a central monitoring unit.Compared to the prior art, the resulting adapted frame delay is more reliable, since the method does not rely solely on estimates.
[0027] In one aspect, the input data is raw or processed. Thus, the input data may be raw data or processed input data, thereby ensuring increased flexibility regarding input formats.
[0028] On the other hand, the information is time information of the at least one frame and / or information about the queue occupancy of a storage unit of the at least one switch, wherein the storage unit stores the at least one frame. Therefore, any kind of information associated with the frame, the network switch, and / or other data transmitted by the switch can be used to derive the current frame delay and check for possible frame loss. The time information may include a timestamp, see above. Therefore, the method can be applied in a flexible manner according to specific application scenarios, underlying technical systems and user requirements.
[0029] In another aspect, the time information comprises at least two time stamps, and the at least one current frame delay is derived as a time difference between the at least two time stamps associated with the at least one frame.Thus, a time change or time difference may be determined based on the time stamps.
[0030] In another aspect, the at least one current frame delay is a change in queue occupancy.Therefore, a change in queue occupancy may be determined.
[0031] In another aspect, the adaptation is an increase or a decrease of the predefined frame delay.
[0032] In another aspect, the predefined frame delay is a predefined conservative frame delay, the conservative frame delay reflecting a worst case scenario of at least one frame delay.
[0033] On the other hand, if the current frame delay of the frame is lower than the predefined frame delay, the adaptation is a reduction of the predefined frame delay.Thus, the estimate of the predefined frame delay or resource reservation may be corrected in a reliable and efficient manner.
[0034] In another aspect, the method further comprises at least one step selected from the group consisting of:
[0035] - Output the adapted frame delay to the user for further evaluation;
[0036] - Display the adapted frame delay to the user for further evaluation; and
[0037] - transmitting the adapted frame delay to a computing unit for further evaluation, and
[0038] - Applying the adapted frame delay on the at least one computing unit, the frame-based computer network, or other unit of the frame-based computer network.
[0039] Therefore, the adapted frame delay can be further disposed or processed as output data, data of intermediate method steps and / or any other relevant information. One or more actions can be performed. The action can be equivalently referred to as a measure or a further method step. The action can be triggered depending on user knowledge, an evaluation performed by the user, or any other criteria. The action can be performed in sequence or simultaneously. The action includes, for example, storage and processing steps. The advantage is that appropriate actions can be performed in a timely manner. For example, the determined adapted frame delay can be applied on a computer unit of the network to set or implement corresponding resource reservations.
[0040] For example, in an exemplary use case, the method according to the invention can be used to check whether additional frames can be sent in the same cycle. In the case of previously very conservative values, this may seem impossible, but the method leads to a reduced estimate and therefore leads to additional frames.
[0041] A further aspect of the invention is a computer program product directly loadable into the internal memory of a computer, comprising software code portions for performing the steps according to any of the preceding claims when said computer program product is run on a computer.
[0042] A further aspect of the invention is a monitoring unit.
[0043] The unit may be implemented as any device or any apparatus for computing, in particular for executing software, apps or algorithms. For example, the monitoring unit may include a central processing unit (CPU), and a memory operably connected to the CPU. The monitoring unit may also include a CPU array, a graphics processing unit (GPU) array, at least one application specific integrated circuit (ASIC), at least one field programmable gate array, or any combination of the foregoing. The unit may include at least one module, which in turn may include software and / or hardware. Some or even all of the modules of the unit may be implemented by a cloud computing platform.
[0044] Preferably, the monitoring unit is a network controller. 4. Description of the drawings
[0046] In the following detailed description, currently preferred embodiments of the present invention are further described with reference to the following drawings:
[0047] Figure 1 A flow chart of a method according to the invention is illustrated.
[0048] Figure 2 An exemplary frame-based computer network according to the prior art is illustrated. 5. Specific implementation methods
[0050] Figure 1 The flowchart of the method according to the invention is shown, the method having method steps S1 to S4. These method steps are performed by a monitoring unit (not shown). According to an embodiment of the invention, the monitoring unit is a network controller.
[0051] The network controller receives input data having information associated with the frame 20 and / or the network switch 12 of the computing unit 10, S1.
[0052] If time information is available, this information may be time-based. Additionally or alternatively, this information may be based on a correlation between the traffic of frames 20 at the input port and changes in the occupancy of the appropriate queues for frames at the output port. This information is essential for the further method steps S2 to S4 and thereby for determining whether the predefined frame delay is correctly specified, or more precisely in other words, for determining whether a worst-case frame interference actually occurs. Depending on said information, the predefined frame delay and thereby the estimate of the resource reservation are corrected in step d.
[0053] In this way, estimates of resource reservations may be improved, thereby allowing increased or additional data traffic. In other words, traffic capacity is significantly improved within a frame-based computer network.
[0054] Reference Symbols
[0055] 1 Network
[0056] 10 Computing unit or computing device
[0057] 12 Network Switch
[0058] 20 frames
[0059] S1 to S4 Method steps S1 to S4
Claims
1. A computer-implemented method for adapting at least one predefined frame delay, wherein the corresponding at least one frame (20) is transmitted via at least one network switch (12) of at least one computing unit (10) in a frame-based computer network (1), the method comprising the following steps: a. receiving input data from the at least one network switch (12) of the at least one computing unit (10); in b. the input data comprises at least one information associated with time information of the at least one frame (20) and / or information about a queue occupancy of a storage unit of the at least one network switch (12), wherein the storage unit stores the at least one frame (20); c. deriving at least one current frame delay of the at least one frame (20) from the at least one information; d. determining at least one adapted frame delay by adjusting or correcting the at least one predefined frame delay using the at least one current frame delay; and e. Providing at least one adapted frame delay. The method according to claim 1 , wherein the input data is raw or processed. 3 . The method of claim 1 , wherein the time information comprises at least two time stamps, and the at least one current frame delay is derived as a time difference between the at least two time stamps associated with the at least one frame. The method of claim 1 , wherein the at least one current frame delay is a change in queue occupancy. The method according to claim 1 , wherein the adaptation is an increase or a decrease of the predefined frame delay.
6. The method of claim 1, wherein the predefined frame delay is a predefined conservative frame delay, the conservative frame delay reflecting a worst case scenario of at least one frame delay.
7. The method according to claim 5 or 6, wherein if the current frame delay of the frame is lower than the predefined frame delay, the adaptation is a reduction of the predefined frame delay.
8. The method according to claim 1 or 2, wherein the method further comprises at least one step selected from the group consisting of: - Output the adapted frame delay to the user for further evaluation; - Display the adapted frame delay to the user for further evaluation; and - transmitting the adapted frame delay to a computing unit for further evaluation, and - Applying the adapted frame delay on the at least one computing unit, the frame-based computer network, or other unit of the frame-based computer network.
9. A computer-readable medium having a computer program stored thereon, the computer program comprising program code for executing the method according to any one of claims 1 to 8 when the computer program is executed on a computer.
10. A monitoring device comprising a processor, a memory, and a computer program stored on the memory, wherein the processor is configured to execute the computer program to implement the method according to any one of claims 1 to 8.
11. The monitoring device of claim 10, wherein the monitoring device is a network controller of a frame-based computer network.
12. A computer program product comprising a program code for executing the method according to any one of claims 1 to 8 when the computer program product is executed on a computer.
