CN112565105A - Method, device and equipment for reducing time-sensitive frame forwarding time delay - Google Patents

Method, device and equipment for reducing time-sensitive frame forwarding time delay Download PDF

Info

Publication number
CN112565105A
CN112565105A CN202011444510.XA CN202011444510A CN112565105A CN 112565105 A CN112565105 A CN 112565105A CN 202011444510 A CN202011444510 A CN 202011444510A CN 112565105 A CN112565105 A CN 112565105A
Authority
CN
China
Prior art keywords
frame
target data
bytes
fragment
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011444510.XA
Other languages
Chinese (zh)
Inventor
李占斌
陈静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kungao New Core Microelectronics Jiangsu Co ltd
Original Assignee
Kungao New Core Microelectronics Jiangsu Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kungao New Core Microelectronics Jiangsu Co ltd filed Critical Kungao New Core Microelectronics Jiangsu Co ltd
Priority to CN202011444510.XA priority Critical patent/CN112565105A/en
Publication of CN112565105A publication Critical patent/CN112565105A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of time-sensitive networks, in particular to a method, a device and equipment for reducing time-sensitive frame forwarding delay. The method comprises the steps of obtaining frame fragment configuration parameters, time sensitive frames and target data frames which are being sent; setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the frame fragment configuration parameters; judging whether the number of bytes sent by the target data frame and the number of remaining bytes respectively meet the minimum number of bytes of the frame slice and the minimum number of bytes of the tail frame; when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragment and the remaining number of bytes meets the minimum number of bytes of the tail frame, performing frame fragment processing on the target data frame; after the target data frame is processed in a slicing mode, sending a time sensitive frame; and after the time sensitive frame is sent, sending the residual data of the target data frame. The invention can set the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the requirement so as to effectively reduce the sending time delay of the time-sensitive frame.

Description

Method, device and equipment for reducing time-sensitive frame forwarding time delay
Technical Field
The invention relates to the technical field of time-sensitive networks, in particular to a method, a device and equipment for reducing time-sensitive frame forwarding delay.
Background
With the continuous integration of information technology and operation technology, the demand for a unified network architecture becomes urgent. The development of intelligent manufacturing, industrial internet of things and big data all make the integration more urgent. The different requirements of information technology and operation technology for communication have also led to a great obstacle for merging these two fields for a long time: data in the internet and information fields requires more bandwidth, and real-time and certainty are critical to the industry. These data cannot usually be transmitted in the same network. Therefore, finding a unified solution has become a necessary requirement for industry convergence.
Time-Sensitive Networking (TSN) is a new industrial communication technology that is being actively promoted by the international industry at present. Time sensitive networks allow periodic and aperiodic data to be transmitted in the same network, making standard ethernet have the advantage of deterministic transmission and have become a key technology of widespread focus through vendor independent standardization processes.
Time sensitive networks are a series of standards developed by the TSN working group that define the mechanism for time sensitive frame transmission over ethernet. IEEE802.3br introduces a technical scheme of MAC frame preemption, when a port has time sensitive frames to be transmitted, the common frame in transmission can be fragmented and cut off, the time sensitive frame is preferentially transmitted, and after the time sensitive frame is transmitted, the rest part of the common frame is transmitted, but extra data flow is introduced in the fragmentation process. In order to minimize the introduction of extra data traffic, the existing frame preemption standards require that each frame slice cannot be less than 64 bytes long and that no extra data traffic is added except for data for mCRC (Cyclic Redundancy Check). This results in that in the worst case, the time-sensitive frame needs to wait for the end of the transmission of the normal frame of a fixed byte before starting transmission, which causes extra uncertain delay for the transmission of the time-sensitive frame. The existing standard also stipulates that frame fragmentation except for the end frame can only select four shortest length configurations of 64, 128, 192 and 256, and this configuration limitation brings inconvenience for users not to use the most suitable configuration for practical application.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method, a device and equipment for reducing the time delay of time-sensitive frame forwarding, and when the method, the device and the equipment are applied, the appropriate frame fragmentation minimum byte number and the tail frame minimum byte number can be set according to the actual requirements so as to effectively reduce the sending time delay of the time-sensitive frame.
In a first aspect, the present invention provides a method for reducing a time-sensitive frame forwarding delay, including:
acquiring frame fragment configuration parameters, time sensitive frames and target data frames being sent;
setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the frame fragment configuration parameters;
judging the number of bytes sent and the number of remaining bytes of the target data frame, judging whether the number of bytes sent meets the minimum number of bytes of the frame slice, and judging whether the number of remaining bytes meets the minimum number of bytes of the tail frame;
when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragment and the remaining number of bytes meets the minimum number of bytes of the tail frame, carrying out frame fragment processing on the target data frame, wherein the fragment mode conforms to the standard except for the frame fragment length regulation in the IEEE802.3br standard;
after the target data frame is processed in a slicing mode, sending a time sensitive frame;
and after the time sensitive frame is sent, sending the residual data of the target data frame.
Based on the technical content, the minimum byte number of the frame fragment and the minimum byte number of the tail frame can be set according to the frame fragment configuration parameters, the sent byte number of the target data frame is compared by using the minimum byte number of the frame fragment, the minimum byte number of the tail frame is compared by using the residual byte number, if the sent byte number and the residual byte number of the target data frame respectively meet the minimum byte number of the set frame fragment and the minimum byte number of the tail frame, the target data frame can be fragmented, and at the moment, the target data frame is fragmented in a fragmentation mode according with the IEEE802.3br standard and is inserted into the time-sensitive frame for sending. The minimum length of the Ethernet frame is 64 bytes, when the message to be sent is smaller than the length, padding data is required to be added, the limitation is that the size of the minimum data transmission with conflict can be detected in half-duplex transmission, in actual use, full-duplex transmission is used in many scenes, and a link with a long transmission distance cannot be used, in this case, the transmission of the time-sensitive frame has a long time delay due to the fact that fragmentation is carried out by continuously adopting the minimum length of the Ethernet frame, and the minimum number of bytes of the frame fragmentation adapting to the transmission mode and the transmission distance can be set according to actual requirements by adopting the technical scheme, so that the utilization rate of network bandwidth is improved, and the transmission time delay of the time-sensitive frame is effectively reduced.
In one possible design, the minimum number of bytes of the frame slice is less than 64 bytes and the minimum number of bytes of the end frame is less than 64 bytes.
In one possible design, the minimum number of bytes of the frame slice is the same as the minimum number of bytes of the last frame.
In a second aspect, the present invention provides a method for reducing a forwarding delay of a time-sensitive frame, including:
receiving a frame fragment sent first by a target data frame, and caching the frame fragment sent first by the target data frame;
receiving a frame fragment sent after a time sensitive frame and a target data frame;
and the time sensitive frame is arranged at the front end of the receiving queue, and the frame fragment which is sent first and the frame fragment which is sent later of the target data frame are combined into a complete target data frame and then are arranged at the back of the time sensitive frame in the receiving queue.
Based on the technical content, the frame fragments which are sent first by the target data frame and are received successively, the frame fragments which are sent later by the time sensitive frame and the target data frame can be arranged and combined, the time sensitive frame is arranged at the front end of the receiving queue, the frame fragments which are sent first by the target data frame and the frame fragments which are sent later are combined into a complete target data frame, and the complete target data frame is arranged behind the time sensitive frame in the receiving queue for transmission, so that the forwarding time delay of the time sensitive frame is further reduced.
In one possible design, the method further includes:
acquiring frame fragment configuration parameters;
setting the minimum byte number of the frame fragment according to the frame fragment configuration parameters;
judging whether the byte number of a frame fragment sent by a target data frame first meets the minimum byte number of a set frame fragment;
and when the byte number of the frame fragment sent first by the target data frame meets the minimum byte number of the set frame fragment, caching the frame fragment sent first by the target data frame.
In one possible design, the method further includes: when the byte number of the frame fragment sent first by the target data frame is smaller than the minimum byte number of the set frame fragment, discarding the frame fragment and continuously receiving the time-sensitive frame.
In a third aspect, the present invention provides a device for reducing a time-sensitive frame forwarding delay, including a sending end, where the sending end includes:
the acquisition subunit is used for acquiring the frame fragment configuration parameters, the time sensitive frame and the target data frame being sent;
the setting subunit is used for setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the frame fragment configuration parameters;
the judging subunit is used for judging the number of bytes sent by the target data frame and the number of remaining bytes, and judging whether the number of bytes sent and the number of remaining bytes respectively meet the minimum number of bytes of the frame slice and the minimum number of bytes of the tail frame;
the fragmentation subunit is used for carrying out frame fragmentation processing on the target data frame when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragmentation and the remaining number of bytes meets the minimum number of bytes of the tail frame, and the fragmentation mode conforms to the standard of the IEEE802.3br standard except for the frame fragmentation length regulation;
and the sending subunit is used for sending the time sensitive frame after the target data frame is subjected to fragmentation processing, and sending the residual data of the target data frame after the time sensitive frame is sent.
In one possible design, the apparatus further includes a receiving end, and the receiving end includes:
the receiving subunit is used for receiving the frame fragment sent by the target data frame first, caching the frame fragment sent by the target data frame first, and receiving the time-sensitive frame and the frame fragment sent by the target data frame later;
and the arrangement subunit is used for arranging the time-sensitive frame into the front end of the receiving queue, combining the frame fragment which is sent first and the frame fragment which is sent later of the target data frame into a complete target data frame, and then arranging the complete target data frame into the back of the time-sensitive frame in the receiving queue.
In a fourth aspect, the present invention provides an apparatus for reducing a forwarding delay of a time-sensitive frame, including:
a memory to store instructions;
a processor configured to read the instructions stored in the memory and execute the method according to any one of the first and second aspects.
In a fifth aspect, the present invention provides a computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any of the first and second aspects described above.
In a sixth aspect, the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first and second aspects described above.
The invention has the beneficial effects that:
the invention can set the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the configuration parameters of the frame fragment, respectively compare the transmitted byte number and the residual byte number of the target data frame by utilizing the minimum byte number of the frame fragment and the minimum byte number of the tail frame, if the transmitted byte number and the residual byte number of the target data frame respectively meet the minimum byte number of the set frame fragment and the minimum byte number of the tail frame, the invention indicates that the fragmentation processing of the target data frame can be carried out, at the moment, the fragmentation processing is carried out on the target data frame according to the fragmentation mode of IEEE802.3br standard, and the time sensitive frame is inserted for transmission. And setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame adapting to the transmission mode and the transmission distance according to actual requirements so as to improve the utilization rate of network bandwidth and effectively reduce the sending time delay of the time sensitive frame.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a processing method of a transmitting end according to the present invention;
FIG. 2 is a flow chart of a processing method of the receiving end according to the present invention;
FIG. 3 is a schematic view of the apparatus of the present invention;
FIG. 4 is a schematic diagram of the apparatus of the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. Specific structural and functional details disclosed herein are merely illustrative of example embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It should be understood that the terms first, second, etc. are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance. Although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time, and the term "/and" is used herein to describe another association object relationship, which means that two relationships may exist, for example, A/and B, may mean: a alone, and both a and B alone, and further, the character "/" in this document generally means that the former and latter associated objects are in an "or" relationship.
It is to be understood that in the description of the present invention, the terms "upper", "vertical", "inside", "outside", and the like, refer to an orientation or positional relationship that is conventionally used for placing the product of the present invention, or that is conventionally understood by those skilled in the art, and are used merely for convenience in describing and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and therefore should not be considered as limiting the present invention.
It will be understood that when an element is referred to as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly adjacent" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
In the following description, specific details are provided to facilitate a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
Example 1:
the minimum length of an ethernet frame is 64 bytes, and when the message to be sent is smaller than this length, padding data is added, the limitation is based on the minimum data transmission size that can detect collisions in half-duplex transmission, whereas in actual use, many scenarios use full-duplex transmission and also do not use links with long transmission distances. In this case, this embodiment provides a method for reducing the time-sensitive frame forwarding delay, where the method is completed by the matching processing of the sending end and the receiving end, and as shown in fig. 1, the processing method of the sending end includes the following steps:
s101, acquiring frame fragment configuration parameters, time sensitive frames and target data frames being sent.
The method comprises the steps of data acquisition, wherein acquired frame fragment configuration parameters are used for subsequent frame fragment decision making, the frame fragment configuration parameters can be configured according to transmission requirements (such as transmission mode and transmission distance), acquired time-sensitive frames are preemption frames of a target data frame being transmitted, and the acquired target data frame is a complete data frame and comprises a part which is not transmitted and a part which is transmitted.
S102, setting the minimum byte number of the frame slice and the minimum byte number of the tail frame according to the frame slice configuration parameters, wherein the minimum byte number of the frame slice and the minimum byte number of the tail frame are both smaller than 64 bytes.
S103, judging the number of bytes sent by the target data frame and the number of remaining bytes, judging whether the number of bytes sent meets the minimum number of bytes of frame fragments, and judging whether the number of remaining bytes meets the minimum number of bytes of the tail frame.
The step is a comparison step, namely comparing the sent byte number of the target data frame with the set minimum byte number of the frame slice to judge whether the sent byte number meets the minimum byte number requirement of the frame slice, and comparing the residual byte number of the target data frame with the set minimum byte number of the tail frame to judge whether the residual byte number meets the minimum byte number requirement of the tail frame.
S104, when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragment and the remaining number of bytes meets the minimum number of bytes of the tail frame, carrying out frame fragment processing on the target data frame, wherein the fragment mode conforms to the standard of the IEEE802.3br standard except for the frame fragment length regulation.
When the number of bytes sent by the target data frame meets the minimum byte number requirement of the frame fragment and the remaining number of bytes of the target data frame is not less than the minimum byte number of the tail frame, the frame fragment processing can be carried out on the target data frame, the frame fragment mode conforms to the IEEE802.3br standard, but the minimum frame length of the frame fragment does not need to conform to the IEEE802.3br standard. When the number of bytes sent by the target data frame does not meet the minimum number of bytes of the frame slice, the rest part of the target data frame is continuously sent until the number of bytes sent meets the minimum number of bytes of the frame slice, and then the frame slice processing is carried out on the target data frame, wherein the slice mode conforms to the standard except the frame slice length regulation in the IEEE802.3br standard. And judging and comparing the residual byte number of the target data frame, namely judging whether the residual byte number can be sliced or not, if the residual byte number is smaller than the minimum byte number of the tail frame, filling data if the minimum frame slicing length is met, so that redundant useless bytes are sent, and transmission resources are wasted.
And S105, after the target data frame is subjected to fragmentation processing, sending a time sensitive frame.
After the target data frame is subjected to fragmentation processing, the time sensitive frame can be inserted to perform preemption transmission, so that the transmission delay of the time sensitive frame is reduced.
And S106, after the time sensitive frame is sent, sending the residual data of the target data frame.
In the process of sending the time-sensitive frame and the target data frame by the corresponding sending end, the corresponding receiving end can process through the steps shown in fig. 2:
s201, receiving a frame fragment sent by a target data frame first, and caching the frame fragment sent by the target data frame first.
In specific implementation, corresponding frame fragment configuration parameters can be obtained first; then setting the minimum byte number of the frame fragment according to the frame fragment configuration parameters, and judging whether the byte number of the frame fragment sent by the target data frame first meets the minimum byte number of the set frame fragment; and finally, caching the frame fragment sent first by the target data frame when the byte number of the frame fragment sent first by the target data frame meets the minimum byte number of the set frame fragment.
S202, frame fragments are sent after the time sensitive frames and the target data frames are received.
And S203, arranging the time-sensitive frame into the front end of a receiving queue, combining the frame fragments which are transmitted firstly and the frame fragments which are transmitted later of the target data frame into a complete target data frame, and then arranging the complete target data frame into the rear of the time-sensitive frame in the receiving queue.
When the method is applied, the time sensitive frame is arranged at the front end of a receiving queue, the frame fragment sent firstly and the frame fragment sent later of the target data frame are combined into a complete target data frame, and then the complete target data frame is arranged at the back of the time sensitive frame in the receiving queue for transmission, so that the forwarding delay of the time sensitive frame is further reduced. When the byte number of the frame fragment sent first by the target data frame is smaller than the minimum byte number of the set frame fragment, discarding the frame fragment, and continuously receiving the time-sensitive frame and arranging the time-sensitive frame into the front end of the receiving queue for forwarding.
Example 2:
the embodiment provides a device for reducing the forwarding delay of a time-sensitive frame, as shown in fig. 3, including:
a transmitting end, the transmitting end comprising:
the acquisition subunit is used for acquiring the frame fragment configuration parameters, the time sensitive frame and the target data frame being sent;
the setting subunit is used for setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the frame fragment configuration parameters;
the judging subunit is used for judging the number of bytes sent by the target data frame and the number of remaining bytes, and judging whether the number of bytes sent and the number of remaining bytes respectively meet the minimum number of bytes of the frame slice and the minimum number of bytes of the tail frame;
the fragmentation subunit is used for carrying out frame fragmentation processing on the target data frame when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragmentation and the remaining number of bytes meets the minimum number of bytes of the tail frame, and the fragmentation mode conforms to the standard of the IEEE802.3br standard except for the frame fragmentation length regulation;
and the sending subunit is used for sending the time sensitive frame after the target data frame is subjected to fragmentation processing, and sending the residual data of the target data frame after the time sensitive frame is sent.
In one possible design, the apparatus further includes a receiving end, and the receiving end includes:
the receiving subunit is used for receiving the frame fragment sent by the target data frame first, caching the frame fragment sent by the target data frame first, and receiving the time-sensitive frame and the frame fragment sent by the target data frame later;
and the arrangement subunit is used for arranging the time-sensitive frame into the front end of the receiving queue, combining the frame fragment which is sent first and the frame fragment which is sent later of the target data frame into a complete target data frame, and then arranging the complete target data frame into the back of the time-sensitive frame in the receiving queue.
Example 3:
the embodiment provides an apparatus for reducing a time-sensitive frame forwarding delay, as shown in fig. 4, including:
a memory to store instructions;
and the processor is used for reading the instruction stored in the memory and executing the method for reducing the time-sensitive frame forwarding delay in the embodiment 1 according to the instruction.
The Memory may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Flash Memory (Flash Memory), a First In First Out (FIFO), a First In Last Out (FILO), and/or the like; the processor may include, but is not limited to, a single chip, an ARM processor, and the like.
Example 4:
the present embodiment provides a computer-readable storage medium having stored thereon instructions, which when executed on a computer, cause the computer to execute the method for reducing the forwarding delay of a time-sensitive frame described in embodiment 1. The computer-readable storage medium refers to a carrier for storing data, and may include, but is not limited to, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
Example 5:
the present embodiment provides a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for reducing the time-sensitive frame forwarding delay described in embodiment 1. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the embodiments of the method may be implemented by hardware related to program instructions, the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the embodiments of the method, and the storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus and devices of the embodiments. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The present invention is not limited to the above-described alternative embodiments, and various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (10)

1. A method for reducing time-sensitive frame forwarding delay, comprising:
acquiring frame fragment configuration parameters, time sensitive frames and target data frames being sent;
setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the frame fragment configuration parameters;
judging the number of bytes sent and the number of remaining bytes of the target data frame, judging whether the number of bytes sent meets the minimum number of bytes of the frame slice, and judging whether the number of remaining bytes meets the minimum number of bytes of the tail frame;
when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragment and the remaining number of bytes meets the minimum number of bytes of the tail frame, carrying out frame fragment processing on the target data frame, wherein the fragment mode conforms to the standard except for the frame fragment length regulation in the IEEE802.3br standard;
after the target data frame is processed in a slicing mode, sending a time sensitive frame;
and after the time sensitive frame is sent, sending the residual data of the target data frame.
2. The method of claim 1, wherein the minimum number of bytes of the frame slice is less than 64 bytes, and the minimum number of bytes of the end frame is less than 64 bytes.
3. The method of claim 1, wherein the minimum number of bytes of the frame slice is the same as the minimum number of bytes of the end frame.
4. A method for reducing time-sensitive frame forwarding delay, comprising:
receiving a frame fragment sent first by a target data frame, and caching the frame fragment sent first by the target data frame;
receiving a frame fragment sent after a time sensitive frame and a target data frame;
and the time sensitive frame is arranged at the front end of the receiving queue, and the frame fragment which is sent first and the frame fragment which is sent later of the target data frame are combined into a complete target data frame and then are arranged at the back of the time sensitive frame in the receiving queue.
5. The method of claim 4, wherein the method further comprises:
acquiring frame fragment configuration parameters;
setting the minimum byte number of the frame fragment according to the frame fragment configuration parameters;
judging whether the byte number of a frame fragment sent by a target data frame first meets the minimum byte number of a set frame fragment;
and when the byte number of the frame fragment sent first by the target data frame meets the minimum byte number of the set frame fragment, caching the frame fragment sent first by the target data frame.
6. The method of claim 5, wherein the method further comprises: when the byte number of the frame fragment sent first by the target data frame is smaller than the minimum byte number of the set frame fragment, discarding the frame fragment and continuously receiving the time-sensitive frame.
7. The device for reducing the time-sensitive frame forwarding delay is characterized by comprising a sending end, wherein the sending end comprises:
the acquisition subunit is used for acquiring the frame fragment configuration parameters, the time sensitive frame and the target data frame being sent;
the setting subunit is used for setting the minimum byte number of the frame fragment and the minimum byte number of the tail frame according to the frame fragment configuration parameters;
the judging subunit is used for judging the number of bytes sent by the target data frame and the number of remaining bytes, and judging whether the number of bytes sent and the number of remaining bytes respectively meet the minimum number of bytes of the frame slice and the minimum number of bytes of the tail frame;
the fragmentation subunit is used for carrying out frame fragmentation processing on the target data frame when the number of bytes sent by the target data frame meets the minimum number of bytes of the frame fragmentation and the remaining number of bytes meets the minimum number of bytes of the tail frame, and the fragmentation mode conforms to the standard of the IEEE802.3br standard except for the frame fragmentation length regulation;
and the sending subunit is used for sending the time sensitive frame after the target data frame is subjected to fragmentation processing, and sending the residual data of the target data frame after the time sensitive frame is sent.
8. The apparatus of claim 7, wherein the apparatus further comprises a receiving end, and the receiving end comprises:
the receiving subunit is used for receiving the frame fragment sent by the target data frame first, caching the frame fragment sent by the target data frame first, and receiving the time-sensitive frame and the frame fragment sent by the target data frame later;
and the arrangement subunit is used for arranging the time-sensitive frame into the front end of the receiving queue, combining the frame fragment which is sent first and the frame fragment which is sent later of the target data frame into a complete target data frame, and then arranging the complete target data frame into the back of the time-sensitive frame in the receiving queue.
9. An apparatus for reducing time-sensitive frame forwarding latency, comprising:
a memory to store instructions;
a processor for reading the instructions stored in the memory and executing the method of any one of claims 1-6 in accordance with the instructions.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-6.
CN202011444510.XA 2020-12-08 2020-12-08 Method, device and equipment for reducing time-sensitive frame forwarding time delay Pending CN112565105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011444510.XA CN112565105A (en) 2020-12-08 2020-12-08 Method, device and equipment for reducing time-sensitive frame forwarding time delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011444510.XA CN112565105A (en) 2020-12-08 2020-12-08 Method, device and equipment for reducing time-sensitive frame forwarding time delay

Publications (1)

Publication Number Publication Date
CN112565105A true CN112565105A (en) 2021-03-26

Family

ID=75060924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011444510.XA Pending CN112565105A (en) 2020-12-08 2020-12-08 Method, device and equipment for reducing time-sensitive frame forwarding time delay

Country Status (1)

Country Link
CN (1) CN112565105A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640639A (en) * 2022-01-24 2022-06-17 北京邮电大学 Frame transmission method and electronic equipment
WO2022268105A1 (en) * 2021-06-25 2022-12-29 华为技术有限公司 Communication method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103515A1 (en) * 1999-10-26 2003-06-05 Brown James M. Method and apparatus for efficient data transmission control in a wireless voice-over-data communication system
CN111147184A (en) * 2019-12-23 2020-05-12 西安云维智联科技有限公司 Ethernet transmitting and receiving equipment and transmission device supporting multi-service preemption and continuous transmission

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103515A1 (en) * 1999-10-26 2003-06-05 Brown James M. Method and apparatus for efficient data transmission control in a wireless voice-over-data communication system
CN111147184A (en) * 2019-12-23 2020-05-12 西安云维智联科技有限公司 Ethernet transmitting and receiving equipment and transmission device supporting multi-service preemption and continuous transmission

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022268105A1 (en) * 2021-06-25 2022-12-29 华为技术有限公司 Communication method and related device
CN114640639A (en) * 2022-01-24 2022-06-17 北京邮电大学 Frame transmission method and electronic equipment
CN114640639B (en) * 2022-01-24 2023-08-18 北京邮电大学 Frame transmission method and electronic equipment

Similar Documents

Publication Publication Date Title
CN112332951B (en) Ethernet frame preemption method, device, equipment and storage medium
EP2724505B1 (en) Header compression with a code book
CN112565105A (en) Method, device and equipment for reducing time-sensitive frame forwarding time delay
WO2017112301A1 (en) Technologies for inline network traffic performance tracing
CN108521343A (en) A kind of processing method and processing device of OAM message
CN114301576B (en) Method and communication device for generating and transmitting acknowledgement frames in an IEEE802.15.4 network
WO2018086564A1 (en) Method, device and system for bearing frame number of multichannel passive optical network, and storage medium
CN114584560A (en) Fragmented frame recombination method and device
EP3065323B1 (en) Transmission method and device based on management data input/output multi-source agreements
CN109728879B (en) Synchronous error correction method for serial burst access application layer SLIP protocol message
CN115695576B (en) Data frame conversion method and device compatible with TSN frame preemption protocol
CN112887054B (en) Data stream packaging method, data stream unpacking method and data stream unpacking system based on length escape
CN110858794B (en) Multi-frequency band transmission method and device
US20230163875A1 (en) Method and apparatus for packet wash in networks
CN114363232A (en) Method and device for sending slice frame
CN111770055A (en) Multi-protocol communication frame rapid distinguishing method applied to electric energy meter
US9559857B2 (en) Preprocessing unit for network data
CN114422624A (en) Data receiving method
CN114157730A (en) Message duplicate removal method and device
CN109728874B (en) Bit block processing method and node
CN111585741A (en) Data access method, system, terminal and storage medium
WO2007139606A1 (en) Prioritizing data in a wireless transmission
CN116893987B (en) Hardware acceleration method, hardware accelerator and hardware acceleration system
CN116668376B (en) Ethernet controller
CN111865884A (en) Message processing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210326