Summary of the invention
In view of this, the invention provides a kind of Igsmr interface monitoring method, device and system, with multiple data, the monitoring in real time that realizes ATP is communicated by letter with RBC.
A kind of Igsmr interface monitoring method comprises:
Read the Igsmr interface control signal and the physical layer data of collection from serial ports, and deposit described interface control signal and physical layer data in the original record file;
According to the interface control indication of described interface control signal, described physical layer data is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
Above-mentioned execution mode, interface control signal by gathering the Igsmr interface and original physical layer data, and read this signal and data from serial ports, deposit the original record file in; The physical layer data of these storages is successively resolved, obtain each the layer data content and the data implication of physical layer, link layer, network layer, transport layer, safe floor and application layer, and information such as the transmission direction of data, transmission time, data type and data length, signal intelligence for monitoring Igsmr interface, what is more important is for the communication conditions of monitoring described ATP and described RBC provides more comprehensive data refer.
Preferably, described interface control signal comprises: the handshake of described ATP and RBC serial communication and data transmit-receive control signal;
Interface control signal is the control signal that how the handshake machine control data between serial ports is received and dispatched between described ATP and the RBC.
Preferably, described analysis result comprises: each the layer data content of physical layer, link layer, network layer, transport layer, safe floor and application layer and the data implication that draw after successively resolving according to described physical layer data, and the transmission direction of data, transmission time, data type and data length.
Physical layer data is the initial data that can resolve to the bottom of other data Layers, provides the good technical preparation for resolving to other each layer data.
Preferably, described method also comprises output and shows and carry out the wireless malfunction analysis by described analysis result.Can parse each layer data from original physical layer data, these data provide reliable reference for the wireless malfunction of communicating by letter between ATP Analysis and the RBC.
A kind of Igsmr interface monitoring device is connected with portable terminal MT with ATP respectively, and the on-vehicle safety transmission unit STU-V GCD of ATP module, described MT are connected by the threeway cable with described Igsmr interface monitoring device;
Described Igsmr interface monitoring device comprises: serial ports collection plate, information read and memory module and parsing module successively, wherein:
Described serial ports collection plate is used for: gather Igsmr interface control signal and physical layer data, and described Igsmr interface control signal and physical layer data are converted to rs 232 serial interface signal;
Described information reads and memory module is used for: read described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal, and deposit described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file;
Successively parsing module is used for: according to the interface control indication of described interface control signal, the described physical layer data that is converted to rs 232 serial interface signal is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
Described apparatus and method are corresponding, described serial ports collection plate provides serial ports, read described interface control signal and physical layer data from described serial ports, and by described parsing module successively will the information of being stored in read and memory module in physical layer data resolve, for the communication conditions that is used to monitor row control overspeed protection modules A TP and radio block center RBC provides comprehensive data refer.
Preferably, described parsing module successively also is used for, read the historical physical layer data of collection, and the data content and the data implication of the historical data of the physical layer, link layer, network layer, transport layer, safe floor and the application layer that obtain through parsing, and the transmission direction of data, transmission time, data type and data length.
Preferably, described serial ports collection plate comprises: interface collection plate and serial ports plate, described interface collection plate are used for the Igsmr interface control signal that will gather and physical layer data and convert rs 232 serial interface signal to and be sent to described serial ports plate;
Described information reads and memory module reads described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal from described serial ports plate, and deposits described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file.
Above-mentioned execution mode has shown the structure of described serial ports collection plate.
Described parsing module successively also is used for, read the historical physical layer data of collection, and the data content and the data implication of the historical data of the physical layer, link layer, network layer, transport layer, safe floor and the application layer that obtain through parsing, and the transmission direction of data, transmission time, data type and data length.
Preferably, described device also comprises: data display unit is used to show each layer data content and data implication after the parsing, and the transmission direction of data, transmission time, data type and data length, and exports with the EXCEL document form.
Preferably, described interface collection plate by MAX485 chip conversion Transistor-Transistor Logic level, transfers the RS422 interaction data between described ATP and the RBC signal of RS232 to by the MAX202 chip.
Present embodiment shows the mechanism that described interface collection plate is changed signal.
A kind of Igsmr interface monitor system comprises: Igsmr interface monitoring device, row control overspeed protection modules A TP and portable terminal MT:
The on-vehicle safety transmission unit STU-V GCD of described ATP module, described MT are connected by the threeway cable with described Igsmr interface monitoring device;
Described Igsmr interface monitoring device comprises: serial ports collection plate, information read and memory module and parsing module successively, wherein:
Described serial ports collection plate is used for: gather Igsmr interface serial port control signal and physical layer data, and described Igsmr interface control signal and physical layer data are converted to rs 232 serial interface signal;
Described information reads and memory module is used for: read described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal, and deposit described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file;
Successively parsing module is used for: according to the interface control indication of described interface control signal, the described physical layer data that is converted to rs 232 serial interface signal is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
Preferably, described system also comprises computer, and described computer is connected by Ethernet with described Igsmr interface monitor system, and described parsing module successively is arranged in the described computer, and described computer shows described analysis result.
Described system and device, method are corresponding, and described system can be connected with computer by Ethernet, utilizes the Presentation Function of described computer, can carry out the demonstration of resolution data in real time, so that real-time monitoring function to be provided.
And described parsing module successively can be arranged in the described computer, has realized separating of data acquisition and data parsing.
The data acquisition module setting has stability, and successively parsing module then can be brought in constant renewal in according to user's request, increases new data demonstration, inquiry, analysis means.Data acquisition can guarantee constantly to improve the data parsing function under the prerequisite that does not influence data acquisition with resolving to separate.
From above-mentioned technical scheme as can be seen, the embodiment of the invention is passed through to gather the interface control signal of Igsmr interface and original physical layer data, and reads this signal and data from serial ports, deposits the original record file in; The physical layer data of these storages is successively resolved, obtain each the layer data content and the data implication of physical layer, link layer, network layer, transport layer, safe floor and application layer, and information such as the transmission direction of data, transmission time, data type and data length, because described Igsmr interface is first link that ATP communicates by letter with RBC, can obtain mutual data conditions between described ATP and the described RBC by monitoring this interface.This inventive embodiment utilizes this characteristics, after the original physical layer data parsing of gathering, obtain multiple data, provide comprehensive data refer for monitoring described ATP and described RBC wireless communication data and ruuning situation, overcome and only utilized application layer data to carry out the shortcoming that wireless malfunction is analyzed in the prior art; In addition, the invention discloses the system corresponding with described method, this system can show resolution data in real time, so that real-time monitoring function to be provided, has overcome wireless communication data and the ruuning situation that can not monitor in real time in the prior art between ATP and the RBC; Simultaneously, described module of successively resolving can be arranged in described and the computer that system is connected, has realized separating of data acquisition and data parsing, has guaranteed constantly to improve the data parsing function under the prerequisite that does not influence data acquisition.
Embodiment
For quote and know for the purpose of, hereinafter the technical term of Shi Yonging, write a Chinese character in simplified form or abridge and be summarized as follows:
TCS:Chinese Train Control System, Chinese train operation control system;
STU-V:Safe Transmission Unit-Vehicle, the on-vehicle safety transmission unit;
GCD:General Crypt Device, general encryption device;
RS232: a kind of serial physical interface standard;
CPCI:Compact Peripheral Component Interconnect, a kind of bus interface standards;
RS422: a kind of serial physical interface standard;
EMC:Electro Magnetic Compatibility: Electro Magnetic Compatibility;
MT:Mobile Terminal, portable terminal;
Igsmr:Interface GSM-R: onboard wireless interface.
TTL:Transistor Transistor Logic, the Transistor-Transistor Logic level signal;
MAX485: a kind of RS-485 chip that is Maxim company;
MAX202: be the RS-232 and the transceiver of Design of Communication Interface V.28 specially, the input voltage of the charge pump general ± 5V that its plate carries is converted to the RS-232 agreement desired ± 10V output level.
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the invention process is clearly and completely described, obviously, described embodiment only 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 is obtained under the creative work prerequisite.
The embodiment of the invention discloses a kind of interface monitoring method, device and system, with multiple data, the monitoring in real time that realizes ATP is communicated by letter with RBC.
Fig. 1 is the disclosed a kind of Igsmr interface monitoring method of the embodiment of the invention, comprising:
Step 101: the Igsmr interface control signal and the physical layer data that read collection from serial ports;
Need to prove that described from serial ports fetch interface control signal and physical layer data, meaning is that described Igsmr interface control signal is interface serial port control signal and the physical layer data that is converted to rs 232 serial interface signal.
Step 102: deposit described interface control signal and physical layer data in the original record file;
Described original record file is the discernible file type of the corresponding hardware of method, and can in the light of actual conditions carry out pro forma coupling with described serial port control signal and described physical layer data.
Step 103: according to the interface control indication of described interface control signal, described physical layer data is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
This step is that the physical layer data of storage is successively resolved, obtain each the layer data content and the data implication of physical layer, link layer, network layer, transport layer, safe floor and application layer, and information such as the transmission direction of data, transmission time, data type and data length:
Described data content is meant the basis that the original physical layer data supply upper layer data of described binary form is resolved;
Described data implication is spendable each layer data intuitively of user; Information such as the transmission direction of binding data, transmission time, data type and data length are the signal intelligence of monitoring Igsmr interface, and what is more important is for the communication conditions of monitoring described ATP and described RBC provides more comprehensive data refer.
Wherein the resolution rules of link layer satisfies " ISO/IEC 13239 High-level data link control (HDLC) procedures " standard; Network layer, transport layer, safe floor satisfy " Subset-037 Euroradion FIS " standard, and application layer satisfies the regulation of " Subset-026 System Requirements Specification " Chapter7 and Chapter8).
Need to prove: described interface control signal comprises: the handshake of described ATP and RBC serial communication and data transmit-receive control signal;
Described physical layer data comprises: the transmission direction of described ATP and RBC interaction data, transmission time, data type, data length, data content and data implication.
Fig. 2 is another Igsmr interface monitoring method, comprising:
Step 201: create the original record file;
Described original record file and described default format match.
Step 202: the Igsmr interface control signal and the physical layer data that read collection from serial ports;
Step 203: deposit described interface control signal and physical layer data in the original record file;
Step 204: according to the interface control indication of described interface control signal, described physical layer data is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
In the present embodiment, comprised the step of creating the original record file, described original record file is used to store described interface control signal and original physical layer data, and interface control signal is the control signal that how the handshake machine control data between serial ports is received and dispatched between described ATP and the RBC;
And physical layer data is the initial data that can resolve to the bottom of other data Layers.
Fig. 3 shows another Igsmr interface monitoring method, comprising:
Step 301: create the original record file;
Step 302: the Igsmr interface control signal and the physical layer data that read collection from serial ports;
Step 303: deposit described interface control signal and physical layer data in the original record file;
Step 304: according to the interface control indication of described interface control signal, described physical layer data is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
Step 305: also comprise output and show and carry out the wireless malfunction analysis by described analysis result.。
The purpose of described analysis is to analyze from described analysis result and why break down when described CTCS-3 level system generation wireless malfunction, and the equipment and the reason that may go out a problem.
Said method embodiment passes through to gather the interface control signal of Igsmr interface and original physical layer data, and reads this signal and data from serial ports, deposits the original record file in; The physical layer data of these storages is successively resolved, obtain each the layer data content and the data implication of physical layer, link layer, network layer, transport layer, safe floor and application layer, and information such as the transmission direction of data, transmission time, data type and data length, because described Igsmr interface is first link that ATP communicates by letter with RBC, can obtain mutual data conditions between described ATP and the described RBC by monitoring this interface.Above embodiment utilizes this characteristics, after the original physical layer data parsing of gathering, obtain multiple data, provide comprehensive data refer for monitoring described ATP and described RBC wireless communication data and ruuning situation, overcome and only utilized application layer data to carry out the shortcoming that wireless malfunction is analyzed in the prior art.
Fig. 4 shows a kind of Igsmr interface monitoring device, described device is connected with portable terminal MT with row controls overspeed protection modules A TP respectively, and the on-vehicle safety transmission unit STU-V GCD401 of ATP module, described MT402 and described Igsmr interface monitoring device 403 are connected by threeway cable 404;
Described Igsmr interface monitoring device 403 comprises: serial ports collection plate 4031, information read and memory module 4032 and parsing module 4033 successively, wherein:
Described serial ports collection plate 4031 is used for: gather Igsmr interface control signal and physical layer data, and described Igsmr interface control signal and physical layer data are converted to rs 232 serial interface signal;
Described information reads and memory module 4032 is used for: read described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal, and deposit described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file;
Successively parsing module 4033 is used for: according to the interface control indication of described interface control signal, the described physical layer data that is converted to rs 232 serial interface signal is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
It is to be noted: described parsing module successively also is used for, read the historical physical layer data of collection, and the data content and the data implication of the historical data of the physical layer, link layer, network layer, transport layer, safe floor and the application layer that obtain through parsing, and the transmission direction of data, transmission time, data type and data length.
As preferably, in the present embodiment, described serial ports collection plate 4031 comprises: interface collection plate 40311 and serial ports plate 40312, described interface collection plate 40311 are used for the Igsmr interface control signal that will gather and physical layer data and convert rs 232 serial interface signal to and be sent to described serial ports plate;
Described information reads and memory module 4032 reads described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal from described serial ports plate 40312, and deposits described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file.
As preferably, described serial ports plate 40312 has been expanded 4 232 complete serial ports, is used for the RS-232 signal that receiving interface collection plate 40311 sends over.
Interface collection plate 40311 is introduced monitoring device to the signal between GCD and the MT by the threeway circuit, and converts the RS-232 signal to and give described serial ports plate 40312.
And, described interface collection plate 40311 has adopted 0505 power module to isolate and the combination of photoelectricity coupling isolation technology, even interface box power supply or interface box and successively the transmission signals between the parsing module 4033 any fault and interference are arranged, can not pass to GCD-MT one side, thereby ensure the transmission of normal data between the GCD-MT.Basic principle be GCD with MT between the RS422 signal of communicating by letter be converted to Transistor-Transistor Logic level by the MAX485 chip, be converted to by the MAX202 chip that the RS232 signal information of being transferred to reads again and memory module 4023 and parsing module 4033 successively.
In addition, also show data display unit 405 among the figure, be used to show each the layer data implication after the parsing, and the transmission direction of data, transmission time, data type and data length, and with document form output, described document form can be the EXCEL form, but is not limited to this form.
Described apparatus and method are corresponding, described serial ports collection plate provides serial ports, from described serial ports, read described interface control signal and physical layer data, and by described parsing module successively will the information of being stored in read and memory module in physical layer data resolve, for the communication conditions that is used to monitor row control overspeed protection modules A TP and radio block center RBC provides comprehensive data refer.
Fig. 5 shows a kind of Igsmr interface monitor system, comprising: Igsmr interface monitoring device 501, row control overspeed protection modules A TP502 and portable terminal MT503:
The Serial Port Line of the on-vehicle safety transmission unit STU-V GCD5021 of described ATP module, described MT503 and described Igsmr interface monitoring device 501 are connected by threeway cable 504;
Described Igsmr interface monitoring device 501 comprises: serial ports collection plate 5011, information read and memory module 5012 and parsing module 5013 successively, wherein:
Described serial ports collection plate 5011 is used for: gather Igsmr interface serial port control signal and physical layer data, and described Igsmr interface control signal and physical layer data are converted to rs 232 serial interface signal;
Need to prove that described serial ports collection plate comprises: interface collection plate and serial ports plate, described interface collection plate are used for the Igsmr interface control signal that will gather and physical layer data and convert rs 232 serial interface signal to and be sent to described serial ports plate;
Described information reads and memory module reads described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal from described serial ports plate, and deposits described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file;
Described interface collection plate by MAX485 chip conversion Transistor-Transistor Logic level, transfers the RS422 interaction data between described ATP and the RBC signal of RS232 to by the MAX202 chip.
The concrete structure of described serial ports collection plate, no longer illustrates and gives unnecessary details among this embodiment referring to Fig. 4 diagram and corresponding explanation thereof.
Described information reads and memory module 5012 is used for: read described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal, and deposit described described Igsmr interface control signal and the physical layer data that is converted to rs 232 serial interface signal in the original record file;
Successively parsing module 5013 is used for: according to the interface control indication of described interface control signal, the described physical layer data that is converted to rs 232 serial interface signal is successively resolved according to the communication protocol of row control overspeed protection modules A TP and radio block center RBC, obtain analysis result.
Preferably, described system also comprises computer 505, and described computer 505 is connected by Ethernet with described Igsmr interface monitor system, and described parsing module successively 5013 is arranged in the described computer 505, and described computer 505 shows described analysis result.
Utilize the Presentation Function of described computer, can carry out the demonstration of resolution data in real time, so that real-time monitoring function to be provided.
And, described parsing module successively can be arranged in the described computer, has realized separating of data acquisition and data parsing, because the data acquisition module setting has stability, successively parsing module then can be brought in constant renewal in according to user's request, increases new data demonstration, inquiry, analysis means.Data acquisition can guarantee constantly to improve the data parsing function under the prerequisite that does not influence data acquisition with resolving to separate.
In sum:
Embodiments of the invention pass through to gather the interface control signal of Igsmr interface and original physical layer data, and read this signal and data from serial ports, deposit the original record file in; The physical layer data of these storages is successively resolved, obtain each the layer data content and the data implication of physical layer, link layer, network layer, transport layer, safe floor and application layer, and information such as the transmission direction of data, transmission time, data type and data length, because described Igsmr interface is first link that ATP communicates by letter with RBC, can obtain mutual data conditions between described ATP and the described RBC by monitoring this interface.This inventive embodiment utilizes this characteristics, after the original physical layer data parsing of gathering, obtain multiple data, provide comprehensive data refer for monitoring described ATP and described RBC wireless communication data and ruuning situation, overcome and only utilized application layer data to carry out the shortcoming that wireless malfunction is analyzed in the prior art;
In addition, the invention discloses the system corresponding with described method, this system can show resolution data in real time, so that real-time monitoring function to be provided, has overcome wireless communication data and the ruuning situation that can not monitor in real time in the prior art between ATP and the RBC.
Simultaneously, described module of successively resolving can be arranged in described and the computer that system is connected, has realized separating of data acquisition and data parsing, has guaranteed constantly to improve the data parsing function under the prerequisite that does not influence data acquisition.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part partly illustrates referring to method and gets final product.
It will be understood by those skilled in the art that and to use many different technologies and in the technology any one to come expression information, message and signal.For example, the message of mentioning in the above-mentioned explanation, information can be expressed as voltage, electric current, electromagnetic wave, magnetic field or magnetic particle, light field or above combination in any.
The professional can also further recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each specific should being used for, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.