Multichannel data transmission system of signal

文档序号:955617 发布日期:2020-10-30 浏览:5次 中文

阅读说明:本技术 一种信号的多通道数据传输系统 (Multichannel data transmission system of signal ) 是由 李泽民 罗仁昌 莫小妮 张开怀 张皓翔 于 2020-07-21 设计创作,主要内容包括:本发明公开了一种信号的多通道数据传输系统,涉及数字通信技术领域,其包括一入端口、一端口转发模块以及若干出端口;所述入端口包括一终端模块、若干FIFO队列、一入端口通道调度模块以及一通道重映射模块;所述出端口包括若干FIFO队列、一出端口通道调度模块以及一主机模块。该系统在多端口的基础上采用了多通道的数据处理方法,提高了系统的数据处理能力;能将数据报文的优先级体现在物理存储通道上,不同的FIFO队列有着不同的调度优先级;采用通道调度方法,保证了数据报文按照优先级发送;结合通道重映射技术,可针对不同的出端口连接设备要求,动态的修改数据报文优先级;可支持多个出端口,具有可拓展性,易适应多种信号的数据处理,兼容性好。(The invention discloses a multi-channel data transmission system of signals, which relates to the technical field of digital communication and comprises an input port, a port forwarding module and a plurality of output ports; the input port comprises a terminal module, a plurality of FIFO queues, an input port channel scheduling module and a channel remapping module; the output port comprises a plurality of FIFO queues, an output port channel scheduling module and a host module. The system adopts a multi-channel data processing method on the basis of multiple ports, so that the data processing capacity of the system is improved; the priority of the data message can be embodied on the physical storage channel, and different FIFO queues have different scheduling priorities; a channel scheduling method is adopted, so that the data message is ensured to be sent according to the priority; by combining the channel remapping technology, the priority of the data message can be dynamically modified according to different requirements of the output port connecting equipment; the multi-port data processing device can support a plurality of output ports, has expansibility, is easy to adapt to data processing of various signals, and has good compatibility.)

1. A multi-channel data transmission system of signals is characterized by comprising an input port, a port forwarding module and a plurality of output ports; the input port comprises a terminal module, a plurality of FIFO queues, an input port channel scheduling module and a channel remapping module; the output port comprises a plurality of FIFO queues, an output port channel scheduling module and a host module;

the terminal module is used for receiving the signal and analyzing a data message with a priority corresponding to the input port from the signal;

the FIFO queues of the input ports are used for storing the data messages from the terminal module, and the priority of the input ports of the data messages which can be stored in the FIFO queues of the input ports is different;

the input port channel scheduling module is used for reading a data message from an FIFO queue of the input port according to the priority of the input port;

The channel remapping module is used for defining the priority of the output port of the data message read from the FIFO queue of the input port according to the priority requirement of the device in communication connection with the host module on the data message;

the port forwarding module is used for forwarding the data message read from the FIFO queue of the input port to each output port;

the FIFO queues of the output ports are used for storing the data messages from the port forwarding module, and the output port priorities of the data messages which can be stored in the FIFO queues of the output ports are different;

the output port channel scheduling module is used for reading a data message from the FIFO queue of the output port according to the output port priority;

and the host module is used for sending the data message read from the FIFO queue of the output port to the equipment in communication connection.

2. The system according to claim 1, wherein the data packet includes a packet type and a port number, the ingress port priority of the data packet is the ingress port priority of the packet type, and the egress port priority of the data packet is the egress port priority of the packet type.

3. A multi-channel data transmission system according to claim 2, wherein the number of FIFO queues at the ingress port and the number of FIFO queues at each egress port are 8, each FIFO queue corresponding to a priority of a packet type.

4. A multi-channel data transmission system according to claim 3, characterized in that for each data packet a field of 3bit packet type is included.

5. A multi-channel data transmission system according to claim 4, characterized in that the system is implemented by a programmable logic device, which uses 32-bit internal registers at both the input and output ports, every 4 bits corresponding to a field of a packet type for mapping data packets of the corresponding packet type to the FIFO queue.

6. The multi-channel data transmission system according to claim 3, wherein the 8 FIFO queues for the ingress port or an egress port are sequentially numbered FIFO 0-FIFO 7, wherein FIFO0 is independent of other queues and the priority of the corresponding packet type is highest, and other FIFO queues get scheduling opportunity only when FIFO0 is empty.

7. The multi-channel data transmission system according to claim 6, wherein when the FIFO0 is empty, the other 7 FIFO queues allocate bandwidth in a ratio of 1:2:3:4:5:6: 7.

8. A multi-channel data transmission system according to claim 3, characterized in that it comprises, for each data packet, a field with a 3-bit port number.

9. A multi-channel data transmission system according to claim 8, wherein the port forwarding module routes the data packet to the corresponding egress port according to the port number field in the data packet.

Technical Field

The invention relates to the technical field of digital communication, in particular to a multi-channel data transmission system of signals.

Background

In high-speed data transmission system equipment, because the number of links of a host is limited, one path of master signals is generally used for data forwarding to multiple paths of slave signals, and different types of data messages have different sending priorities, the problem of multi-path and multi-port transmission of signals is involved. At present, a plurality of technologies are based on one channel to process data transmission, so that the data priority cannot be effectively distinguished, and the real-time performance of equipment is poor; meanwhile, the priority of each type of data message is fixed in the whole transmission process of some devices. However, for devices connected to different egress ports, different devices may have different priority requirements for the same data type, and thus, the existing data transmission technology has certain limitations.

Disclosure of Invention

The present invention aims to provide a multi-channel data transmission system of signals which alleviates the above problems.

In order to alleviate the above problems, the technical scheme adopted by the invention is as follows:

a multi-channel data transmission system of signals comprises an input port, a port forwarding module and a plurality of output ports; the input port comprises a terminal module, a plurality of FIFO queues, an input port channel scheduling module and a channel remapping module; the output port comprises a plurality of FIFO queues, an output port channel scheduling module and a host module;

The terminal module is used for receiving the signal and analyzing a data message with a priority corresponding to the input port from the signal;

the FIFO queues of the input ports are used for storing the data messages from the terminal module, and the priority of the input ports of the data messages which can be stored in the FIFO queues of the input ports is different;

the input port channel scheduling module is used for reading a data message from an FIFO queue of the input port according to the priority of the input port;

the channel remapping module is used for defining the priority of the output port of the data message read from the FIFO queue of the input port according to the priority requirement of the device in communication connection with the host module on the data message;

the port forwarding module is used for forwarding the data message read from the FIFO queue of the input port to each output port;

the FIFO queues of the output ports are used for storing the data messages from the port forwarding module, and the output port priorities of the data messages which can be stored in the FIFO queues of the output ports are different;

the output port channel scheduling module is used for reading a data message from the FIFO queue of the output port according to the output port priority;

And the host module is used for sending the data message read from the FIFO queue of the output port to the equipment in communication connection.

The technical effect of the scheme is as follows: a multi-channel data processing method is adopted on the basis of multiple ports, so that the data processing capacity of the system is improved; the priority of the data message can be embodied on the physical storage channel, and different FIFO queues have different scheduling priorities; a channel scheduling method is adopted, so that the data message is ensured to be sent according to the priority; by combining the channel remapping technology, the priority of the data message can be dynamically modified according to different requirements of the output port connecting equipment; the data message of the input port is forwarded through the port, and the data message is sent to different output ports, so that a plurality of output ports can be supported, and the expansibility is realized; the terminal module and the host module are independent, so that modification is facilitated, data processing of various signals is adapted, and high compatibility is achieved.

Further, the data packet includes a packet type and a port number, an ingress port priority of the data packet is an ingress port priority of the packet type, and an egress port priority of the data packet is an egress port priority of the packet type.

The technical effect of the scheme is as follows: the message type is equivalent to the type mark of the transmission data, so that the priority of the data message is defined according to the type; the port number is combined with the port forwarding module, so that the data message is conveniently forwarded to the corresponding port.

Further, the number of the FIFO queues at the ingress port and the number of the FIFO queues at each egress port are 8, and each FIFO queue corresponds to the priority of one packet type.

Further, each data packet contains a field of 3-bit packet type.

The technical effect of the scheme is as follows: the 3-bit message type field is used for being matched with 8 queues, each type of data message can be in one-to-one correspondence with a fifo priority, and the data message can have 8 types of priorities at most.

Furthermore, the system is realized by a programmable logic device, the programmable logic device uses 32-bit internal registers at an input port and an output port, and every 4 bits correspond to a field of a message type and are used for mapping the data message of the corresponding message type to the FIFO queue.

The technical effect of the scheme is as follows: the type field of the data message is not changed, and the two ports can correctly identify the priority of the data message of different types.

Further, for an ingress port or a egress port, 8 FIFO queues are numbered FIFO0 to FIFO7 in sequence, where FIFO0 is independent of other queues, and the priority of the corresponding packet type is the highest, and other FIFO queues will get scheduling opportunities only when FIFO0 is empty.

Further, when FIFO0 is empty, the other 7 FIFO queues allocate bandwidth in a ratio of 1:2:3:4:5:6: 7.

Further, each data packet contains a field with a 3-bit port number.

The technical effect of the scheme is as follows: the 3-bit message type field can support 8 output ports at most.

Further, the port forwarding module routes the data packet to the corresponding egress port according to the port number field in the data packet.

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.

FIG. 1 schematically illustrates the overall system architecture of the present invention;

fig. 2 schematically shows the overall process flow of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.

Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1 and fig. 2, a multi-channel data transmission system of signals according to an embodiment of the present invention includes an input port, a port forwarding module, and a plurality of output ports; the input port comprises a terminal module, 8 FIFO queues, an input port channel scheduling module and a channel remapping module; the output port comprises 8 FIFO queues, an output port channel scheduling module and a host module. All the modules of the system are implemented using programmable logic devices.

In this embodiment, the output ports are two, and 8 FIFO queues in each port are numbered FIFO0 to FIFO7 in sequence.

In this embodiment, the terminal module is configured to receive a signal and parse a data packet from the signal, where the data packet includes a packet type and a port number field.

In this embodiment, the FIFO queue of the ingress port is used to store the data packet from the terminal module.

The input port is designed with a mapping register, the input port mapping register defines the input port priority of the message type and is used for representing the input port priority of the whole data message, and each FIFO queue of the input port corresponds to the input port priority of one message type. And storing the data message into an FIFO queue corresponding to the input port according to the input port priority of the analyzed message type.

The FIFO queue of the input port adopts a message mapping technology, each data message contains a 3-bit message type field which is used for mapping to different physical FIFO queues, and 8 message types can be supported to the maximum extent. The programmable logic uses a 32bit internal register, every 4 bits corresponds to a message type field, and the 4bit value is used to define the mapped FIFO queue. For example: bit [3:0], corresponds to the FIFO queue, and if bit [3:0] ═ 0001b, it means that the packet with the data type field 001b needs to be buffered in the FIFO queue.

In this embodiment, the ingress port channel scheduling module is configured to read a data packet from an FIFO queue of the ingress port according to the ingress port priority.

In this embodiment, the programmable logic uses another 32-bit internal register for message mapping, the register is customized by the channel remapping module, and defines the priority of the output port for the data message read from the FIFO queue of the input port according to the priority requirement of the device connected to the host module for communication on the data message, so that the programmable logic is applicable to various different port connection devices.

In this embodiment, the port forwarding module is configured to forward the data packet read from the FIFO queue of the ingress port to each egress port.

And each data message contains a field with a 3-bit port number, and the port can support 8 ports at most when forwarding, so that data exchange of 1 to 8 ports is realized. And the port forwarding module routes the data message to the corresponding output port according to the port number field. E.g., a port number field of 000b, means that the datagram is forwarded to port 1, and so on.

In this embodiment, the FIFO queue of the egress port is used to store the data packet from the port forwarding module.

The output port priorities of the data messages which can be stored in the FIFO queues of the output ports are different. At the output port, the data message from the port forwarding module is stored in the FIFO queue corresponding to the output port according to the message type priority (namely the output port priority of the message type) defined in the output port mapping register.

In this embodiment, the egress port channel scheduling module is configured to read a data packet from an FIFO queue of the egress port according to the egress port priority.

In this embodiment, the host module is configured to send the data packet read from the FIFO queue of the egress port to the device to which the host module is communicatively connected.

In this embodiment, the terminal module and the host module are respectively a receiving module and a sending module corresponding to signals, and different terminal modules and different host modules can be used for receiving and simulating signals corresponding to different types of signals, so that the terminal module and the host module have strong compatibility.

In this embodiment, the ingress port and the egress port both use a channel scheduling technique, which is scheduled based on the number of FIFO queues. The number of the scheduling queues is 8, and the scheduling queues correspond to 8 different priorities. The FIFO0 is independent of the other queues, and has the highest priority, and the other queues will get scheduling opportunities only when the FIFO0 is empty. When the FIFO0 is empty, the other 7 queues allocate bandwidth in a ratio of 1:2:3:4:5:6:7, respectively.

The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电子控制单元的通信方法、装置、设备及计算机存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!