DMA (Direct Memory Access) method for supporting high-determinacy network message receiving by TSN (Transport Sensor Network) end system

A high-deterministic, network message technology, applied in the direction of time division multiplexing system, transmission system, digital transmission system, etc. Determination and other issues, to achieve the effect of improving delay determinism, improving end-to-end determinism, and reducing jitter

Active Publication Date: 2021-09-17
NAT UNIV OF DEFENSE TECH
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] However, the working process of the above-mentioned standard DMA engine is "event-triggered", that is, when the number of messages written by the DMA engine to the memory reaches a preset threshold, or when the two events of the receive interrupt timer expire, the DMA The engine will write back the descriptor, that is, submit the message to the driver, and send an interrupt to notify the CPU to process the next message. However, the arrival and occurrence time of these two events cannot be determined. The size of the file may affect the determinism of the message, that is, the standard DMA engine on the network card of the end system does not have the capability of deterministic message transmission

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • DMA (Direct Memory Access) method for supporting high-determinacy network message receiving by TSN (Transport Sensor Network) end system
  • DMA (Direct Memory Access) method for supporting high-determinacy network message receiving by TSN (Transport Sensor Network) end system
  • DMA (Direct Memory Access) method for supporting high-determinacy network message receiving by TSN (Transport Sensor Network) end system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The present invention will be further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

[0050] Such as figure 1 As shown, the steps of the DMA method used in this embodiment for the TSN end system to support highly deterministic network packet reception include:

[0051] S1. Configuration is used to control the submission control table of the submission time of the DMA submission descriptor, and the address information table used to store the descriptor address and the message buffer address, and each entry in the submission control table corresponds to a time-sensitive message respectively text, the commit pointer points to the current entry that needs to be submitted recently;

[0052] S2. Judging whether a time-sensitive message is received, if so, jump to step S3; otherwise, jump to step S4;

[0053] S3. According to the flow id of the flow t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a DMA (Direct Memory Access) method for supporting high-determinacy network message receiving by a TSN (Transmit Sensor Network) end system. The method comprises the following steps of: S1, configuring a submission control table and an address information table; S2, judging whether a time sensitive message is received or not, and if so, skipping to S3; otherwise, skipping to S4; S3, taking out a corresponding message buffer area address, writing the message into a buffer area of a main memory through DMA (Direct Memory Access), traversing a submission control table, finding a first target table item conforming to a current stream id (Identity), and updating a ready state; S4, calculating a difference value between the global time and the starting time of the scheduling period, judging whether the difference value is equal to a submission offset moment or not, and skipping to S5 if the difference value is equal to the submission offset moment and is in a ready state; and S5, taking out the corresponding descriptor address, notifying the DMA to submit the corresponding descriptor, and updating the ready state of the corresponding table item. According to the invention, the jitter of message receiving can be reduced, and the delay certainty of message receiving is improved, so that the end-to-end certainty of the message is improved.

Description

technical field [0001] The present invention relates to the technical field of DMA (DirectMemory Access, direct memory access) in Time Sensitive Networking (Time Sensitive Networking, TSN), in particular to a DMA method used for a TSN end system to support highly deterministic network message reception. Background technique [0002] In industrial control, automatic driving, smart grid and other application scenarios, there is a type of periodic real-time traffic with strict requirements on delay and jitter, which is time-sensitive traffic, and packets belonging to time-sensitive traffic are time-sensitive packets . In some applications, time-sensitive flow also imposes strict requirements on end-to-end determinism. For example, time-sensitive flow in automatic driving system requires end-to-end delay between 100 microseconds and 250 microseconds, and end-to-end jitter between 100 and 250 microseconds. Tens of microseconds or less, where end-to-end determinism means that the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04J3/06H04L12/741H04L45/74
CPCH04J3/0685H04L45/74
Inventor 孙志刚姜旭艳李韬吕高峰孙寅涵李存禄付文文
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products