The specific embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the structural representation of an embodiment of main control equipment of the present invention, and as shown in Figure 1, this main control equipment can comprise: MVB integrated circuit board 11, central processing unit integrated circuit board 12 and ethernet integrated circuit board 13;
Wherein, MVB integrated circuit board 11 be used for to receive the MVB data that TCN equipment sends, and an above-mentioned MVB data communication device is crossed external device (Peripheral Component between MVB integrated circuit board 11 and the central processing unit integrated circuit board 12; Hereinafter to be referred as: PC) bus sends to central processing unit integrated circuit board 12, and sends to TCN equipment after the Ethernet data that central processing unit integrated circuit board 12 sends is converted to the 2nd MVB data;
Central processing unit integrated circuit board 12, be connected with MVB integrated circuit board 11, the PC bus that is used for an above-mentioned MVB data communication device is crossed between central processing unit integrated circuit board 12 and the ethernet integrated circuit board 13 sends to ethernet integrated circuit board 13, and the Ethernet data that ethernet integrated circuit board 13 is sent sends to MVB integrated circuit board 11 by the PC bus between MVB integrated circuit board 11 and the central processing unit integrated circuit board 12;
Ethernet integrated circuit board 13, be connected with central processing unit integrated circuit board 12, for sending to ethernet device after the differential level signal that above-mentioned MVB data is converted to isolation, and receive the Ethernet data that ethernet device sends, above-mentioned Ethernet data is sent to central processing unit integrated circuit board 12 by the PC bus between central processing unit integrated circuit board 12 and the ethernet integrated circuit board 13.
In the present embodiment, the PC bus can be the PC104 bus, but the embodiment of the invention is not limited in this, and the embodiment of the invention is not construed as limiting this.
In the above-mentioned main control equipment, MVB integrated circuit board 11 receives after the MVB data of TCN equipment transmission, and the differential level signal that central processing unit integrated circuit board 12 can be converted to above-mentioned MVB data isolation sends to ethernet device afterwards; Ethernet integrated circuit board 13 receives after the Ethernet data of ethernet device transmission, above-mentioned Ethernet data can be converted to the 2nd MVB data and send to central processing unit integrated circuit board 12, send to MVB integrated circuit board 11 by central processing unit integrated circuit board 12, send to TCN equipment by MVB integrated circuit board 11 again; Thereby can realize that main control equipment can process the MVB data, can process Ethernet data again, and then can satisfy MVB bus and ethernet in the TCN control system and the requirement of the signalling methods deposited.
Fig. 2 is the structural representation of another embodiment of main control equipment of the present invention, compares with main control equipment shown in Figure 1, and difference is, in the main control equipment shown in Figure 2, MVB integrated circuit board 11 can comprise:
MVB interface 111 is used for receiving the MVB data that TCN equipment sends.
Above-mentioned MVB integrated circuit board 11 can also comprise: MVB protocol controller 112, be used for the MVB data that MVB interface 111 receives are carried out protocol conversion, so that above-mentioned MVB data are converted to the first data that are adapted at the PC bus transfer, and the PC bus that the first data communication device of the above-mentioned PC of being adapted at bus transfer is crossed between MVB integrated circuit board 11 and the central processing unit integrated circuit board 12 sends to central processing unit integrated circuit board 12; At this moment, central processing unit integrated circuit board 12, the concrete PC bus that is used for the first data communication device of the above-mentioned PC of being adapted at bus transfer is crossed between central processing unit integrated circuit board 12 and the ethernet integrated circuit board 13 sends to ethernet integrated circuit board 13.
In the present embodiment, ethernet integrated circuit board 13 can comprise: Ethernet protocol controller 131, isolating transformer 132 and ethernet physical layer interface 133;
Ethernet protocol controller 131 is used for the first data of the above-mentioned PC of being adapted at bus transfer are carried out protocol conversion, is converted to the first link layer message with the first data with the above-mentioned PC of being adapted at bus transfer;
Isolating transformer 132 is used for the first link layer message of Ethernet protocol controller 131 conversions is converted to the differential level signal of isolation;
Ethernet physical layer interface 133 is used for the differential level signal of the above-mentioned isolation of isolating transformer 132 conversions is sent to ethernet device.
Further, ethernet physical layer interface 133 can also receive the Ethernet data that ethernet device sends; Isolating transformer 132 can also be converted to the second link layer message with the Ethernet data that ethernet physical layer interface 133 receives; Ethernet protocol controller 131 can also carry out protocol conversion to the second link layer message, above-mentioned the second link layer message being converted to the second data that are adapted at the PC bus transfer, and the PC bus that the second data communication device of the above-mentioned PC of being adapted at bus transfer is crossed between central processing unit integrated circuit board 12 and the ethernet integrated circuit board 13 sends to central processing unit integrated circuit board 12; Central processing unit integrated circuit board 12 can also send to the MVB integrated circuit board with the PC bus that the second data communication device of the above-mentioned PC of being adapted at bus transfer is crossed between MVB integrated circuit board 11 and the central processing unit integrated circuit board 12.
Further, MVB protocol controller 112 can also carry out protocol conversion to the second data of the above-mentioned PC of being adapted at bus transfer, is converted to the second MVB data with the second data with the above-mentioned PC of being adapted at bus transfer; MVB interface 111 can also send to TCN equipment with the 2nd MVB data of above-mentioned MVB protocol controller 112 conversions.
The below is take the PC bus between MVB integrated circuit board 11 and the central processing unit integrated circuit board 12 as PC104 bus 14, and the PC bus between central processing unit integrated circuit board 12 and the ethernet integrated circuit board 13 is that PC104 bus 15 is example, and main control equipment shown in Figure 3 is further described.
In the present embodiment, MVB integrated circuit board 11 is connected by PC104 bus 14 with central processing unit integrated circuit board 12; MVB protocol controller 112 in the MVB integrated circuit board 11 is connected with MVB interface 111 by the two way communication mode.MVB integrated circuit board 11 is hardware platforms of operation MVB link software, and MVB integrated circuit board 11 is the MVB equipment network interface card of PC104 structure, and core adopts field programmable gate array (Field Programmable Gate Array; Hereinafter to be referred as: FPGA) chip.MVB protocol controller 112 is special chips of rolling stock level Design of Network Communication.MVB interface 111 forms (not shown among Fig. 3) by MVB transceiver and MVB adaptor union, and the MVB transceiver sends to the MVB network for the data that the MVB data sent to MVB protocol controller 112 and/or MVB protocol controller 112 is exported; The MVB adaptor union is used for the physical connection with the MVB network.
In the present embodiment, the central authorities that central processing unit integrated circuit board 12 is responsible for MVB data and Ethernet data process.Central processing unit integrated circuit board 12 in the present embodiment adopts AMD LX700/800CPU, has following features:
1, at plate AMD Geode LX CPU, dominant frequency 433/500/600MHz, acquiescence 500MHz;
2, support a 10/100Mbps RJ-45 interface;
3, C-R-tube (Cathode Ray Tube on the plate; Hereinafter to be referred as: CRT)/Liquid Crystal Display (Liquid Crystal Display; Hereinafter to be referred as: LCD) display interface, and can support Low Voltage Differential Signal (Low-Voltage Differential Signaling; Hereinafter to be referred as: LVDS) read-out;
4, the plate of standard carries 32M/64M/128M byte (Bytes) Double Data Rate synchronous DRAM (Double Data Rate Synchronous Dynamic Random Access Memory; Hereinafter to be referred as: DDR SDRAM);
5, low-power consumption central processing unit (Central Processing Unit; Hereinafter to be referred as: CPU), need not fan in 0~60 ℃ of operating range;
6, on the plate integrated 5 strings 1 also, the 4 tunnel support RS485/RS232 and external RS485 module for power supply+5V, configurable according to the actual requirements;
7, plate carries DOC and CF card electric board interface, 4 USB 2.0 (Universal Serial Bus 2.0; Hereinafter to be referred as: USB2.0) interface, a keyboard/mouse interface.
In the present embodiment, ethernet integrated circuit board 13 is connected by PC104 bus 15 with central processing unit integrated circuit board 12.
Particularly, in the present embodiment, MVB integrated circuit board 11 receives the MVB data that TCN equipment sends by MVB interface 111,112 pairs of above-mentioned MVB data of MVB protocol controller are carried out protocol conversion, be adapted at the first data that PC104 bus 14 is transmitted so that above-mentioned MVB data are converted to, and by PC104 bus 14 above-mentioned the first data sent to central processing unit integrated circuit board 12; Ethernet integrated circuit board 13 can receive above-mentioned the first data by PC104 bus 15, Ethernet protocol controller 131 in the ethernet integrated circuit board 13 can be converted to the first link layer message with above-mentioned the first data, be converted to the differential level signal of isolation by isolating transformer 132, send to ethernet device through ethernet physical layer interface 133.
Further, ethernet integrated circuit board 13 can also receive the Ethernet data that ethernet device sends by ethernet physical layer interface 133, after isolating transformer 132 and 131 processing of Ethernet protocol controller, be converted to the second data that are adapted at the PC bus transfer, and above-mentioned the second data transmission is sent to central processing unit integrated circuit board 12 by PC104 bus 15.Like this, MVB integrated circuit board 11 can also receive above-mentioned the second data that central processing unit integrated circuit board 12 sends, and after MVB protocol controller 112 is converted to the second MVB data with above-mentioned the second data, sends to TCN equipment by MVB interface 111.
Above-mentioned main control equipment can be processed the MVB data, can process Ethernet data again, and then can satisfy MVB bus and ethernet in the TCN control system and the requirement of the signalling methods deposited.
The embodiment of the invention also provides a kind of data transmission method that Fig. 1 of the present invention or main control equipment shown in Figure 2 are realized of using.
Fig. 3 is the diagram of circuit of an embodiment of data transmission method of the present invention, and as shown in Figure 3, this data transmission method can comprise:
Step 301, main control equipment receives the MVB data that TCN equipment sends, and the differential level signal that MVB data is converted to isolation sends to ethernet device afterwards.
Particularly, main control equipment can receive the MVB data that TCN equipment sends by the MVB interface.Then, main control equipment can carry out protocol conversion to above-mentioned MVB data, so that above-mentioned MVB data are converted to the first data that are adapted at the PC bus transfer; Next, main control equipment carries out protocol conversion to the first data of the above-mentioned PC of being adapted at bus transfer, be converted to the first link layer message with the first data with the above-mentioned PC of being adapted at bus transfer, at last above-mentioned the first link layer message be converted to the differential level signal of isolation.
Step 302, main control equipment receive the Ethernet data that above-mentioned ethernet device sends, and above-mentioned Ethernet data is converted to the 2nd MVB data sends to TCN equipment afterwards.
Particularly, main control equipment can be converted to the second link layer message with above-mentioned Ethernet data, and above-mentioned the second link layer message is carried out protocol conversion, above-mentioned the second link layer message is converted to the second data that are adapted at the PC bus transfer; Then, main control equipment can carry out protocol conversion to the second data of the above-mentioned PC of being adapted at bus transfer, is converted to the second MVB data with the second data with the above-mentioned PC of being adapted at bus transfer.
Above-mentioned steps 301 can successively be carried out with step 302, also can executed in parallel, and the embodiment of the invention is not construed as limiting the execution sequence of step 301 with step 302, but Fig. 3 is with first execution in step 301, and rear execution in step 302 illustrates for example.
In the present embodiment, the PC bus can be the PC104 bus, but the embodiment of the invention is not limited in this, and the embodiment of the invention is not construed as limiting this.
In above-described embodiment, main control equipment receives after the MVB data of TCN equipment transmission, and the differential level signal that above-mentioned MVB data can be converted to isolation sends to ethernet device afterwards; Receive after the Ethernet data of ethernet device transmission, above-mentioned Ethernet data can be converted to the 2nd MVB data and send to TCN equipment; Thereby can realize that main control equipment can process the MVB data, can process Ethernet data again, and then can satisfy MVB bus and ethernet in the TCN control system and the requirement of the signalling methods deposited.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
When the equipment interface on the train is Ethernet interface and MVB interface and when depositing, the data transmission method that the embodiment of the invention provides and main control equipment can be finished data transfer and processing, saved the cost of network switch, and the requirement of the signalling methods that can satisfy MVB bus and ethernet in the TCN control system and deposit, and then can satisfy the requirement of networking flexibility.Service personnel increased Ethernet on standard TCN/MVB communication network basis, so that can by a data terminal or the Ethernet interface that portable personal carries, be accessed the data on the TCN easily.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.