CN108521416B - ECN integrated circuit board - Google Patents

ECN integrated circuit board Download PDF

Info

Publication number
CN108521416B
CN108521416B CN201810296170.7A CN201810296170A CN108521416B CN 108521416 B CN108521416 B CN 108521416B CN 201810296170 A CN201810296170 A CN 201810296170A CN 108521416 B CN108521416 B CN 108521416B
Authority
CN
China
Prior art keywords
trdp
data
frame
mac
ecn
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.)
Active
Application number
CN201810296170.7A
Other languages
Chinese (zh)
Other versions
CN108521416A (en
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.)
Shanghai Rentong Electronic Technology Co ltd
Original Assignee
Shanghai Rentong Electronic Technology 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 Shanghai Rentong Electronic Technology Co ltd filed Critical Shanghai Rentong Electronic Technology Co ltd
Priority to CN201810296170.7A priority Critical patent/CN108521416B/en
Publication of CN108521416A publication Critical patent/CN108521416A/en
Application granted granted Critical
Publication of CN108521416B publication Critical patent/CN108521416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40293Bus for use in transportation systems the transportation system being a train

Abstract

The invention discloses an ECN board card, which comprises a network interface module communicated with external equipment, a data processing module communicated with the network interface module through an MAC interface and a storage module communicated with the data processing module; the data processing module is used for calling a TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data and sending the first data to an upper computer; or, the second data received from the upper computer is packaged into a second TRDP frame, and the second TRDP frame is combined into a second MAC packet and sent through the MAC interface. Therefore, the invention realizes the simulation test of the application function of the ECN bus by the interaction of the ECN board card with the external equipment and the upper computer.

Description

ECN integrated circuit board
Technical Field
The invention relates to the technical field of simulation tests, in particular to an ECN board card.
Background
ECN (Ethernet connectivity Network, real-time Ethernet bus for Train) is the latest Train bus form, and performance indexes such as bandwidth, flexibility and expansion capability are much higher than those of the existing TCN (Train Communication Network) Train bus. As a new bus form, the simulation tester for the application functions of ECN bus equipment networking and Train Control and Management Systems (TCMS) in China has urgent needs, however, the tools are in blank states at home and abroad at present, and the popularization and promotion process of the ECN bus in the rail field is seriously hindered.
Disclosure of Invention
In order to solve the above technical problems, an embodiment of the present invention provides an ECN board to solve the problems in the prior art, and the technical scheme is as follows:
an ECN board comprising:
the system comprises a network interface module communicated with external equipment, a data processing module communicated with the network interface module through an MAC interface, and a storage module communicated with the data processing module;
the network interface module is configured to convert an ethernet waveform received from the external device into a first RMII network level signal, and send the first RMII network level signal to the data processing module through the MAC interface; or, receiving a second RMII network level signal through the MAC interface, where the second RMII network level signal corresponds to a second MAC packet sent by the data processing module, and converting the second RMII network level signal into an ethernet waveform to send to the external device;
the data processing module is used for receiving a first MAC data packet corresponding to the first RMII network level signal, calling a TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data which can be identified by an upper computer, and sending the first data to the upper computer; or, receiving second data from the upper computer, packaging the second data into a second TRDP frame, combining the second TRDP frame into the second MAC packet, and sending the second MAC packet through the MAC interface;
and the storage module is used for storing the TRDP protocol stack.
Preferably, the data processing module includes:
the Flash starting unit, a core processing unit communicated with the Flash starting unit and a cache unit communicated with the core processing unit;
the Flash starting unit is used for driving the core processing unit to start;
the buffer unit is configured to buffer the first TRDP frame or the second TRDP frame under the control of the core processing unit;
the core processing unit is used for receiving a first MAC data packet corresponding to the first RMII network level signal, calling the TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data capable of being identified by an upper computer, and sending the first data to the upper computer; or receiving second data from the upper computer, packaging the second data into the second TRDP frame, combining the second TRDP frame into the second MAC packet, and sending the second MAC packet through the MAC interface.
Preferably, the core processing unit includes:
the CPCI bus is connected with the upper computer;
the programmable control logic is used for receiving the first MAC data packet, removing a control information part of the first MAC data packet to obtain a data part, and sending the data part to the processor; receiving the first TRDP frame sent by the processor, analyzing the first TRDP frame into first data, and sending the first data to the upper computer through the CPCI interface; or, receiving the second data, and sending the second data to the processor; receiving a second TRDP frame sent by the processor, combining the second TRDP frame into a second MAC data packet, and sending the second MAC data packet through the MAC interface;
the processor is also communicated with the cache unit through a DMA interface and is used for calling the TRDP protocol stack, analyzing the data part into the first TRDP frame, caching the first TRDP frame into the cache unit, reading the first TRDP frame from the cache unit and sending the first TRDP frame to the programmable control logic; or, calling the TRDP protocol stack, combining the second data into the second TRDP frame, buffering the second TRDP frame to the buffer unit, reading the second TRDP frame from the buffer unit, and sending the second TRDP frame to the programmable control logic.
Preferably, the core processing unit includes:
a process data processing subunit and a message data processing subunit;
when the first MAC data packet and the second data are in a process data format, the process data processing subunit calls the TRDP protocol stack, analyzes the first MAC data packet into the first TRDP frame, analyzes the first TRDP frame into the first data, and sends the first data to the upper computer; or, the second data is packed into the second TRDP frame, the second TRDP frame is combined into the second MAC packet, and the second MAC packet is sent through the MAC interface;
when the first MAC packet and the second data are in a message data format, the message data processing subunit calls the TRDP protocol stack, parses the first MAC packet into the first TRDP frame, parses the first TRDP frame into the first data, and sends the first data to the upper computer; or, the second data is packed into the second TRDP frame, the second TRDP frame is combined into the second MAC packet, and the second MAC packet is sent through the MAC interface.
Preferably, the method further comprises the following steps:
and the power supply module is used for acquiring the back plate voltage from a back plate power supply of the upper computer so as to supply power to the ECN board card.
Preferably, the power supply module includes:
the power supply conversion unit is used for respectively converting the backboard voltage into power supply voltages required by the data processing module and the storage module;
and the power-on time sequence unit is used for storing a power-on time sequence and respectively supplying power to the data processing module and the storage module according to the power-on time sequence and the power supply voltage.
Preferably, the method further comprises the following steps:
and the debugging interface is used for debugging the communication between the ECN board card and the upper computer.
Preferably, the method further comprises the following steps:
and the communication state indicator lamp is used for indicating the communication between the external equipment and the ECN board card and the debugging state indicator lamp of the debugging interface.
Preferably, the core processing unit further includes:
and the consistency processing subunit is used for acquiring the first TRDP frame and the second TRDP frame, extracting information related to the consistency of the TRDP protocol in the first TRDP frame and the second TRDP frame, and sending the information to the upper computer so as to enable the upper computer to carry out the consistency analysis of the TRDP protocol according to the information.
Preferably, the method further comprises the following steps:
and the Ethernet interface is used for realizing the connection between the external equipment and the ECN board card.
The ECN board card provided by the invention comprises a network interface module communicated with external equipment, a data processing module communicated with the network interface module through an MAC interface and a storage module communicated with the data processing module; the data processing module is used for calling a TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data and sending the first data to an upper computer; or, the second data received from the upper computer is packaged into a second TRDP frame, and the second TRDP frame is combined into a second MAC packet and sent through the MAC interface. Therefore, the simulation test of the application function of the ECN bus is realized in a mode that the ECN board card interacts with the external equipment and the upper computer.
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, and 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 these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an ECN board provided in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data processing module according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of embedded software according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of an ECN board according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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, fig. 1 is a schematic structural diagram of an ECN board according to an embodiment of the present invention, where the ECN board includes:
a network interface module 102 communicating with the external device 101, a data processing module 103 communicating with the network interface module 102 through a MAC interface, and a storage module 104 communicating with the data processing module 103.
In practical applications, the ECN board in this embodiment may have a size of 3U-2HP, and may be used in a standard cPCI chassis. The panel of the ECN card comprises an Ethernet interface in the form of M12 or RJ45, and the Ethernet interface is used for realizing the connection between external equipment and the ECN card.
After the external device is connected to the ECN board through the ethernet interface, the external device communicates with the data processing module 103 through the network interface module 102. In practical applications, the network interface module 102 may include a network transformer element (Magnetic) and a phy (physical layer) element, support 100Mbit/s and 1000Mbit/s rate transmission, and convert the ethernet waveform transmitted by the external device 101 through the ethernet interface into an rmii (reduced Media Independent interface) network level signal.
The ECN board of this embodiment includes two cases when performing simulation test on data, one is to receive TRDP data from the external device 101, and the other is to transmit TRDP data to the external device 101, so the following description is separately provided for the two cases:
in implementing reception of TRDP data from the external device 101:
a network interface module 102, configured to convert an ethernet waveform received from the external device 101 into a first RMII network level signal, and send the first RMII network level signal to the data processing module 103 through the MAC interface;
the data processing module 103 is configured to receive a first MAC data packet corresponding to the first RMII network level signal, call a TRDP protocol stack, parse the first MAC data packet into a first TRDP frame, parse the first TRDP frame into first data that can be recognized by the upper computer 105, and send the first data to the upper computer 105.
In implementing transmission of TRDP data to the external device 101:
the network interface module 102 is configured to receive a second RMII network level signal through the MAC interface, where the second RMII network level signal corresponds to a second MAC packet sent by the data processing module 103, and convert the second RMII network level signal into an ethernet waveform and send the ethernet waveform to the external device 101.
The data processing module 103 is configured to receive the second data from the upper computer 105, package the second data into a second TRDP frame, combine the second TRDP frame into a second MAC packet, and send the second MAC packet through the MAC interface.
And the storage module 104 is configured to store a TRDP protocol stack.
The storage module 104 may further have a protocol stack configuration subunit configured to parse the second data transmitted from the upper computer 105, and configure operation parameters of the TRDP protocol stack, where the operation parameters include system function services, and polling period, QoS, TTL, source and destination IP addresses of each packet, and multicast/broadcast behaviors.
The ECN board card provided by the embodiment of the invention comprises a network interface module communicated with external equipment, a data processing module communicated with the network interface module through an MAC interface and a storage module communicated with the data processing module; the network interface module is used for realizing the interconversion of Ethernet waveform and RMII network level signals, the data processing module calls a TRDP protocol stack, analyzes the first MAC data packet into a first TRDP frame, analyzes the first TRDP frame into first data and sends the first data to the upper computer; or, the second data received from the upper computer is packaged into a second TRDP frame, and the second TRDP frame is combined into a second MAC packet and sent through the MAC interface. Therefore, the simulation test of the application function of the ECN bus is realized in the embodiment by the interaction of the ECN board card with the external device and the upper computer.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a data processing module provided on the basis of the corresponding embodiment of fig. 1, where the data processing module includes:
a Flash starting unit 201, a core processing unit 202 communicating with the Flash starting unit 201, and a cache unit 203 communicating with the core processing unit 202;
a Flash starting unit 201, configured to drive the core processing unit 202 to start;
a buffering unit 203, configured to buffer the first TRDP frame or the second TRDP frame under the control of the core processing unit 202;
in this embodiment, the cache unit 203 may be implemented by a DDR chip, and the processor 2022 in the core processing unit 202 accesses the external DDR chip through its own internally integrated DDR controller, and caches the first TRDP frame and the second TRDP frame in the DDR chip.
The core processing unit 202 is configured to receive the first MAC data packet, call a TRDP protocol stack, parse the first MAC data packet into a first TRDP frame, parse the first TRDP frame into first data, and send the first data to the upper computer 105; or, receiving the second data from the upper computer 105, packing the second data into a second TRDP frame, combining the second TRDP frame into a second MAC packet, and transmitting the second MAC packet through the MAC interface.
In practical application, according to the formats of the first MAC packet and the second data received by the core processing unit 202, the core processing unit 202 may be divided into two types, which are a process data processing subunit and a message processing subunit;
when the first MAC packet and the second data are in the process data format, the process data processing subunit calls a TRDP protocol stack, parses the first MAC packet into a first TRDP frame, parses the first TRDP frame into first data, and sends the first data to the upper computer 105; or, packing the second data into a second TRDP frame, combining the second TRDP frame into a second MAC data packet, and sending the second MAC data packet through the MAC interface;
when the first MAC packet and the second data are in the message data format, the message data processing subunit calls a TRDP protocol stack, parses the first MAC packet into a first TRDP frame, parses the first TRDP frame into first data, and sends the first data to the upper computer 105; or, the second data is packaged into a second TRDP frame, the second TRDP frame is combined into a second MAC packet, and the second MAC packet is sent through the MAC interface.
The process data processing subunit comprises two modes of message transceiving functions: PUSH mode and PULL mode; the message data processing subunit comprises three modes of message transceiving functions: a request without reply, a request with reply but no acknowledgement, a request with reply and with acknowledgement.
The core processing unit 202 may include a programmable control logic 2021 connected to a CPCI bus through a CPCI interface, and a processor 2022 communicating with the programmable control logic 2021 through an internal high-speed bus, the CPCI bus being connected to the upper computer 105, the processor 2022 being further connected to the cache unit 203 through a DMA interface;
the processor 2022 is a high-performance, low-power consumption processing core; the programmable control logic 2021 may be used as an extension of the processor 2022, such as an extension of a serial port or a network port, and may also be used as a master device to control the operation of the processor 2022.
Programmable control logic 2021 extends the ethernet interface and may provide a four-way MAC interface to network interface module 102. The CPCI bus interface function is realized in the programmable control logic 2021, and a CPCI bus interface chip is replaced.
The processor 2022 communicates with the programmable control logic 2021 through an internal high-speed bus, and the internal bus provides independent data sending and receiving channels, i.e., data reading and writing channels perform data interaction in parallel, thereby improving data throughput.
The programmable control logic 2021 and the processor 2022 are explained below with respect to two cases of "receiving TRDP data from the external apparatus 101" and "transmitting TRDP data to the external apparatus 101", respectively:
in implementing reception of TRDP data from the external device 101:
the programmable control logic 2021 is configured to receive the first MAC packet, remove a control information portion of the first MAC packet to obtain a data portion, and send the data portion to the processor 2022; receiving the first TRDP frame sent by the processor 2022, analyzing the first TRDP frame into first data, and sending the first data to the upper computer 105 through the CPCI interface;
the processor 2022 is configured to call a TRDP protocol stack, parse the data portion into a first TRDP frame, buffer the first TRDP frame into the buffer unit 203, read the first TRDP frame from the buffer unit 203, and send the first TRDP frame to the programmable control logic 2021;
in implementing transmission of TRDP data to the external device 101:
programmable control logic 2021 receives the second data and sends the second data to processor 2022; the reception processor 2022 sends the second TRDP frame, combines the second TRDP frame into a second MAC packet, and sends the second MAC packet through the MAC interface;
the processor 2022 is configured to call the TRDP protocol stack, combine the second data into a second TRDP frame, buffer the second TRDP frame into the buffer unit 203, read the second TRDP frame from the buffer unit 203, and send the second TRDP frame to the programmable control logic 2021.
In order to analyze the consistency of the TRDP protocol, the core processing unit further includes:
the consistency processing subunit 2023, which is in communication with the processor 2022, is configured to acquire the first TRDP frame and the second TRDP frame from the processor 2022, extract information related to consistency of the TRDP protocol in the first TRDP frame and the second TRDP frame, and send the information to the upper computer, so that the upper computer performs consistency analysis of the TRDP protocol according to the information.
The information related to the consistency of the TRDP protocol may specifically include: analyzing the TRDP process data and the frame header of the message data, analyzing the frame header and the check code (FCS) of the data section, and inputting a time stamp at the beginning of the Ethernet frame data section.
The technical scheme provided by the embodiment of the invention comprises the consistency processing subunit, so that the ECN card can comprehensively analyze the information related to consistency in the TRDP frame and perform TRDP protocol consistency analysis on the TRDP frame when exchanging the TRDP frame message with the external equipment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of embedded software of the ECN board provided on the basis of the embodiment corresponding to fig. 2, where the embedded software runs inside the core processing unit 202 and is responsible for driving a hardware circuit of the ECN board to implement processing and transmission of a protocol stack and data;
the embedded software includes:
a MAC interface 301, a CPCI interface 302, an operating system OS303, an abstract/virtual OS304 and a TRDP protocol stack configuration end 305;
MAC interface 301 implements the MAC interface function of programmable control logic 2021;
the CPCI interface 302 implements the CPCI interface function of the programmable control logic 2021;
the operating system OS303 is stored in the storage module 104 and is responsible for the work scheduling of the ECN board card;
the operating system OS303 is stored in the memory module 104, and when the operating system OS303 needs to be executed, the core processing unit calls the operating system OS303 from the memory module 104 and executes the operating system OS 303. The abstract/virtual OS304 further encapsulates system function services to be used by the TRDP protocol stack for operation, including memory configuration, Socket management, system time management, thread configuration, queue management, and mutex lock function, on the basis of the OS. The abstract/virtual OS separates the operating system function used by the TRDP protocol stack from the actual operating system type, and can conveniently transplant the protocol stack to various operating systems, such as Linux, VxWorks, Windows and the like;
the TRDP protocol stack configuration end 305 is a core part in embedded software, and includes a process data processing subunit 3052, a message data processing subunit 3053, and a consistency processing subunit 3054, and in practical applications, the TRDP protocol stack configuration end 305 may further include a protocol stack configuration subunit 3051 and a driver and API interface 3055 in communication with an upper computer.
It should be noted that the protocol stack configuration subunit 3051 is stored in the storage module 104, and when the TRDP protocol stack in the protocol stack configuration subunit 3051 needs to be run, the core processing unit calls the TRDP protocol stack from the storage module 104. The protocol stack configuration subunit 3051 is configured to analyze the second data transmitted from the upper computer 105, and configure operation parameters of the TRDP protocol stack, where the operation parameters include system function services, and polling period, QoS, TTL, source and destination IP addresses of each packet, and multicast/broadcast;
the process data processing subunit 3052, the message data processing subunit 3053, and the consistency processing subunit 3054 are described above, and are not described herein again;
the driver and API interface 3055 for communicating with the upper computer includes necessary driver information for communicating with the upper computer 105, and a process data transceiving and message data transceiving API for software of the upper computer 105 to call, where the API is used to control the operation of the TRDP protocol stack and operate the specific message transceiving behavior and mode of the TRDP protocol stack.
According to the technical scheme provided by the embodiment of the invention, the embedded software comprises an operating system and an abstract/virtual OS (operating system), and the abstract/virtual OS separates the functions of the operating system required by the TRDP protocol stack from the types of the actual operating system, so that the protocol stack can be conveniently transplanted to various operating systems. In addition, the consistency processing subunit realizes consistency check of the TRDP message interacted between the ECN board card and the external equipment.
Referring to fig. 4, fig. 4 is another schematic structural diagram of an ECN board according to an embodiment of the present invention, where the ECN board includes:
a network interface module 402 communicating with the external device 401, a data processing module 403 communicating with the network interface module 402 through a MAC interface, a storage module 404 communicating with the data processing module 403;
a network interface module 402, configured to convert an ethernet waveform received from the external device 401 into a first RMII network level signal, and send the first RMII network level signal to the data processing module 403 through the MAC interface; or, receive a second RMII network level signal through the MAC interface, where the second RMII network level signal corresponds to a second MAC packet sent by the data processing module 403, and send the second RMII network level signal to the external device 401;
the data processing module 403 is configured to receive a first MAC data packet corresponding to the first RMII network level signal, invoke a TRDP protocol stack, parse the first MAC data packet into a first TRDP frame, parse the first TRDP frame into first data that can be identified by the upper computer 406, and send the first data to the upper computer 406; or, receiving the second data from the upper computer 406, packaging the second data into a second TRDP frame, combining the second TRDP frame into a second MAC packet, and sending the second MAC packet through the MAC interface;
the storage module 404 is configured to store a TRDP protocol stack.
The power module 405 is configured to obtain a backplane voltage from a backplane power supply of the upper computer 406 to supply power to the ECN board;
preferably, the power module 405 includes:
the power conversion unit 4051 is used for converting the backplane voltage into power supply voltages required by the data processing module and the storage module respectively;
and a power-on sequence unit 4052, configured to store a power-on sequence, and respectively supply power to the data processing module and the storage module according to the power-on sequence and the power supply voltage.
The debugging interface 407 is used for debugging the communication between the ECN board card and the upper computer 406;
a communication status indicator light 408 for indicating the communication between the external equipment and the ECN board card and a debugging indicator light 409 for debugging the debugging status of the debugging interface.
The technical scheme provided by the embodiment of the invention comprises a network interface module communicated with external equipment, a data processing module communicated with the network interface module through an MAC interface and a storage module communicated with the data processing module; the data processing module is used for calling a TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data and sending the first data to an upper computer; or, the second data received from the upper computer is packaged into a second TRDP frame, and the second TRDP frame is combined into a second MAC packet and sent through the MAC interface. Therefore, the simulation test of the application function of the ECN bus is realized in the embodiment by the interaction of the ECN board card with the external device and the upper computer.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For device or system embodiments, as they correspond substantially to method embodiments, reference may be made to the method embodiments for some of their descriptions. The above-described embodiments of the apparatus or system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways without departing from the spirit and scope of the present invention. The present embodiment is an exemplary embodiment only, and should not be taken as limiting, and the specific contents given should not limit the object of the present invention. For example, the division of the unit or the sub-unit is only one logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or a plurality of sub-units are combined together. In addition, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
Additionally, the systems, apparatus, and methods described, as well as the illustrations of various embodiments, may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the invention. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.

Claims (10)

1. An ECN board card, comprising:
the system comprises a network interface module communicated with external equipment, a data processing module communicated with the network interface module through an MAC interface, and a storage module communicated with the data processing module;
the network interface module is configured to convert an ethernet waveform received from the external device into a first RMII network level signal, and send the first RMII network level signal to the data processing module through the MAC interface; or, receiving a second RMII network level signal through the MAC interface, where the second RMII network level signal corresponds to a second MAC packet sent by the data processing module, and converting the second RMII network level signal into an ethernet waveform to send to the external device;
the data processing module is used for receiving a first MAC data packet corresponding to the first RMII network level signal, calling a TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data which can be identified by an upper computer, and sending the first data to the upper computer; or, receiving second data from the upper computer, packaging the second data into a second TRDP frame, combining the second TRDP frame into the second MAC packet, and sending the second MAC packet through the MAC interface;
and the storage module is used for storing the TRDP protocol stack.
2. The ECN board of claim 1, wherein the data processing module comprises:
the Flash starting unit, a core processing unit communicated with the Flash starting unit and a cache unit communicated with the core processing unit;
the Flash starting unit is used for driving the core processing unit to start;
the buffer unit is configured to buffer the first TRDP frame or the second TRDP frame under the control of the core processing unit;
the core processing unit is used for receiving a first MAC data packet corresponding to the first RMII network level signal, calling the TRDP protocol stack, analyzing the first MAC data packet into a first TRDP frame, analyzing the first TRDP frame into first data capable of being identified by an upper computer, and sending the first data to the upper computer; or receiving second data from the upper computer, packaging the second data into the second TRDP frame, combining the second TRDP frame into the second MAC packet, and sending the second MAC packet through the MAC interface.
3. The ECN board of claim 2, wherein the core processing unit comprises:
the CPCI bus is connected with the upper computer;
the programmable control logic is used for receiving the first MAC data packet, removing a control information part of the first MAC data packet to obtain a data part, and sending the data part to the processor; receiving the first TRDP frame sent by the processor, analyzing the first TRDP frame into first data, and sending the first data to the upper computer through the CPCI interface; or, receiving the second data, and sending the second data to the processor; receiving a second TRDP frame sent by the processor, combining the second TRDP frame into a second MAC data packet, and sending the second MAC data packet through the MAC interface;
the processor is also communicated with the cache unit through a DMA interface and is used for calling the TRDP protocol stack, analyzing the data part into the first TRDP frame, caching the first TRDP frame into the cache unit, reading the first TRDP frame from the cache unit and sending the first TRDP frame to the programmable control logic; or, calling the TRDP protocol stack, combining the second data into the second TRDP frame, buffering the second TRDP frame to the buffer unit, reading the second TRDP frame from the buffer unit, and sending the second TRDP frame to the programmable control logic.
4. The ECN board of claim 2, wherein the core processing unit comprises:
a process data processing subunit and a message data processing subunit;
when the first MAC data packet and the second data are in a process data format, the process data processing subunit calls the TRDP protocol stack, analyzes the first MAC data packet into the first TRDP frame, analyzes the first TRDP frame into the first data, and sends the first data to the upper computer; or, the second data is packed into the second TRDP frame, the second TRDP frame is combined into the second MAC packet, and the second MAC packet is sent through the MAC interface;
when the first MAC packet and the second data are in a message data format, the message data processing subunit calls the TRDP protocol stack, parses the first MAC packet into the first TRDP frame, parses the first TRDP frame into the first data, and sends the first data to the upper computer; or, the second data is packed into the second TRDP frame, the second TRDP frame is combined into the second MAC packet, and the second MAC packet is sent through the MAC interface.
5. The ECN board of claim 1, further comprising:
and the power supply module is used for acquiring the back plate voltage from a back plate power supply of the upper computer so as to supply power to the ECN board card.
6. The ECN board of claim 5, wherein the power module comprises:
the power supply conversion unit is used for respectively converting the backboard voltage into power supply voltages required by the data processing module and the storage module;
and the power-on time sequence unit is used for storing a power-on time sequence and respectively supplying power to the data processing module and the storage module according to the power-on time sequence and the power supply voltage.
7. The ECN board of claim 1, further comprising:
and the debugging interface is used for debugging the communication between the ECN board card and the upper computer.
8. The ECN board of claim 7, further comprising:
and the communication state indicator lamp is used for indicating the communication between the external equipment and the ECN board card and the debugging state indicator lamp of the debugging interface.
9. The ECN board according to any one of claims 2-4, wherein the core processing unit further comprises:
and the consistency processing subunit is used for acquiring the first TRDP frame and the second TRDP frame, extracting information related to the consistency of the TRDP protocol in the first TRDP frame and the second TRDP frame, and sending the information to the upper computer so as to enable the upper computer to carry out the consistency analysis of the TRDP protocol according to the information.
10. The ECN board of claim 1, further comprising:
and the Ethernet interface is used for realizing the connection between the external equipment and the ECN board card.
CN201810296170.7A 2018-03-30 2018-03-30 ECN integrated circuit board Active CN108521416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810296170.7A CN108521416B (en) 2018-03-30 2018-03-30 ECN integrated circuit board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810296170.7A CN108521416B (en) 2018-03-30 2018-03-30 ECN integrated circuit board

Publications (2)

Publication Number Publication Date
CN108521416A CN108521416A (en) 2018-09-11
CN108521416B true CN108521416B (en) 2021-02-02

Family

ID=63431355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810296170.7A Active CN108521416B (en) 2018-03-30 2018-03-30 ECN integrated circuit board

Country Status (1)

Country Link
CN (1) CN108521416B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111103838B (en) * 2020-01-02 2020-11-10 中车青岛四方车辆研究所有限公司 Main unit sub-system of active radial control system
CN112152896A (en) * 2020-08-21 2020-12-29 西安研鹏协创科技有限公司 ECN integrated circuit board

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006013629A1 (en) * 2004-08-05 2006-02-09 Hitachi Ulsi Systems Co., Ltd. Radio communication terminal apparatus
US9792649B1 (en) * 2010-11-24 2017-10-17 Nyse Arca Llc Methods and apparatus for performing risk checking
EP2723031B1 (en) * 2012-10-16 2019-07-24 Robert Bosch Gmbh Distributed measurement arrangement for an embedded automotive acquisition device with tcp acceleration
US9419908B2 (en) * 2013-11-27 2016-08-16 Cisco Technology, Inc. Network congestion management using flow rebalancing
CN204597989U (en) * 2014-12-30 2015-08-26 珠海欧比特控制工程股份有限公司 Based on the AFDX terminal test equipment of CPCI interface
CN105391599A (en) * 2015-11-17 2016-03-09 广西大学 Train communication network conformance test method and device
CN106789747B (en) * 2015-11-19 2023-05-26 中车大连电力牵引研发中心有限公司 Switch with multi-gateway function and communication system
EP3285217A1 (en) * 2016-08-18 2018-02-21 Alcatel Lucent A method for predicting the engagement level of a user of a user device, a related engagement prediction device and user device
US10104001B2 (en) * 2016-08-30 2018-10-16 Citrix Systems, Inc. Systems and methods to early detect link status of multiple paths through an explicit congestion notification based proxy
CN107171827A (en) * 2017-04-19 2017-09-15 广州众志诚信息科技有限公司 A kind of railway real-time ethernet TRDP gateways based on Linux platform
CN107122304B (en) * 2017-05-03 2021-03-23 成都定为电子技术有限公司 JTAG remote debugging method
CN107689914A (en) * 2017-08-28 2018-02-13 深圳通业科技股份有限公司 A kind of communication means for the Multifunctional gateway for supporting TRDP agreements
CN107544340A (en) * 2017-09-21 2018-01-05 中车青岛四方机车车辆股份有限公司 The data acquisition controller of train

Also Published As

Publication number Publication date
CN108521416A (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN106951388B (en) PCIe-based DMA data transmission method and system
CN111656336B (en) PCIE sending and receiving method, device, equipment and system
CN109218154B (en) FPGA-based conversion system from gigabit Ethernet to SLIP
CN108521416B (en) ECN integrated circuit board
CN113609045B (en) Intelligent network card BMC communication structure and method
CN105117319A (en) Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA
EP2618544A1 (en) Ethernet communication system and method based on mmc/sd interface
CN102104427B (en) FPGA-based nuclear magnetic resonance data communication implementation device and method
CN109862034B (en) Data transmission processing system, gateway and data transmission processing method
CN113051204A (en) Serial backplane bus communication method and system
CN108132898A (en) Multiplex communication control method and communication box
CN103885910B (en) The method that many equipment carry out IIC communications under holotype
CN115550104B (en) AXI bus expansion method, device, electronic equipment and storage medium
CN116450563A (en) Message receiving device and processor communication system
US8996737B1 (en) Method for emulating communication standards of transceiver modules for native host devices
CN202282789U (en) SOE (SERCOS OVER EtherCAT) communication conversion card for servo driver
CN112702313B (en) High-speed UDP data transmission system and method
CN108984324A (en) FPGA hardware level of abstraction
CN210518377U (en) EtherCAT, ProfiNET bus compatible system
CN110096002A (en) A kind of automatization test system and test method based on CANFD bus
CN104346310A (en) Data exchange circuit and method of high-performance I2C slave equipment
CN107317773B (en) On-chip network communication interface and communication method
CN105718401A (en) Multiplexing method and system for converting multi-path SMII signal to one-path MII signal
CN205304824U (en) Driver real -time synchronization communication device
CN112291357B (en) Virtual multi-channel intelligent data communication processing system and computing platform thereof

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
GR01 Patent grant
GR01 Patent grant