[go: up one dir, main page]

CN106741017B - Malfunction elimination method and system based on message analysis in rail traffic signal system - Google Patents

Malfunction elimination method and system based on message analysis in rail traffic signal system Download PDF

Info

Publication number
CN106741017B
CN106741017B CN201611217792.3A CN201611217792A CN106741017B CN 106741017 B CN106741017 B CN 106741017B CN 201611217792 A CN201611217792 A CN 201611217792A CN 106741017 B CN106741017 B CN 106741017B
Authority
CN
China
Prior art keywords
message
traffic signal
information
message information
signal system
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
CN201611217792.3A
Other languages
Chinese (zh)
Other versions
CN106741017A (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.)
Guangzhou Metro Group Co Ltd
Original Assignee
Guangzhou Metro Group 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 Guangzhou Metro Group Co Ltd filed Critical Guangzhou Metro Group Co Ltd
Priority to CN201611217792.3A priority Critical patent/CN106741017B/en
Publication of CN106741017A publication Critical patent/CN106741017A/en
Application granted granted Critical
Publication of CN106741017B publication Critical patent/CN106741017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention discloses a kind of malfunction elimination method based on message analysis in rail traffic signal system, include the following steps: to obtain the various message informations in rail traffic signal system;Create EXCEL object;The search condition of message information is set, message information is read;According to the coding rule of the message information type, the message of reading is translated as to various status informations corresponding in track traffic signal, and is written in the EXCEL object;Judge whether the message information read is last line;The status information is analyzed and compared, finds out abnormal conditions, and check failure.Using the present invention, common message information in city rail signal system can be quickly translated as to the status information of intuitive track traffic signal, so that maintenance personal can be with direct reading, and it checks, and then mitigate maintenance personal's labor intensity, working efficiency is improved, signal system daily maintenance and interface debugging are facilitated.

Description

Malfunction elimination method and system based on message analysis in rail traffic signal system
Technical field
The invention belongs to Urban Rail Transit Signal technical fields, and in particular to one kind is based in rail traffic signal system The malfunction elimination method and system of message analysis.
Background technique
City rail traffic signal system is to guarantee one of traffic safety, the important system for improving efficiency of operation.In signal In system daily maintenance, it is often necessary to which maintenance personnel interprets system message, analyzes, so as to accurate judgement fault point.Often The message seen includes PA (broadcast interface), ISCAS (host interface), ATP (train operation protection), TGI (operation figure), BAS (ring Control interface), PTI (train-ground communication) etc..
But since signal system supplier does not provide reading, the analysis tool of the common message of system, in the market also without phase Closing product can satisfy functional requirement, and causing field maintenance person to face, message type is more, data volume (can generally produce greatly per minute Raw thousands of frame messages, every frame number hundred) difficulty, and message format mostly uses hexadecimal, ISO 8859-1 coding, ASC The complicated coding modes such as II coding, cause message analysis efficiency very low, and technology analysis difficulty is larger, are unfavorable for failure point Analysis processing and interface debugging.
Summary of the invention
To solve the above-mentioned problems, the first object of the present invention is: providing a kind of based in rail traffic signal system Common message information in city rail signal system can be quickly translated as intuitively by the malfunction elimination method of message analysis Track traffic signal status information so that maintenance personal can be with direct reading, and check, so mitigate maintenance people Member's labor intensity, improves working efficiency, facilitates signal system daily maintenance and interface debugging.
To achieve the above object, the present invention is achieved by following technical scheme:
Malfunction elimination method of the present invention based on message analysis in rail traffic signal system, the specific steps are as follows:
Obtain the various message informations in rail traffic signal system;
Create EXCEL object;
According to the type of message information, the search condition of message information is set, reads message information according to the search condition;
According to the coding rule of the message information type, the message of reading is translated as corresponding in track traffic signal Various status informations, and be written in the EXCEL object;
Judge whether the message information read is last line;If so, completing the status information of track traffic signal EXCEL object is written;Continue to read, translate and be written if it is not, then returning, until completing;
The status information is analyzed and compared, finds out the abnormal conditions occurred in respective carter traffic, and check Failure.
As a kind of specific embodiment, the search condition is the type set according to message information;
The message information type specifically includes broadcast interface PA message, host interface ISCAS message, train operation protection ATP message, operation figure TGI message, ring control interface BAS message and train-ground communication PTI message.
Further, the coding rule according to the message information type, the step of the message of reading is translated In, the search condition needs the condition translated as this message information, and according to coding rule, after search condition Character makes the translation of corresponding states information.
As a kind of specific embodiment, it then further includes second that the type of the message information, which is broadcast interface PA message, Secondary search condition.
Preferably, the search condition is character, character string or space.
Further, the step of creation EXCEL object, specifically: setting filename, cell formats, definition line And column.
Further, the setting filename specifically: according to message old file name, be named as filename;The setting Cell formats define row and column, specifically: setting gauge outfit, the second row to last line for the first row in Microsoft Excel It is set as movable row;Each single item content represents various traffic signal state projects corresponding in message in the gauge outfit;It is described Each single item content represents message various traffic signal state contents corresponding after translation in movable row.
To solve the above-mentioned problems, the second object of the present invention is: providing a kind of based in rail traffic signal system The malfunction elimination system of message analysis, is capable of providing the status information of intuitive track traffic signal, so that maintenance personal Signal system daily maintenance and interface debugging can be facilitated with direct reading for maintenance personal's investigation.
Malfunction elimination system of the present invention based on message analysis in rail traffic signal system, comprising:
Module is obtained, for obtaining the various message informations in rail traffic signal system;
Creation module, for creating EXCEL object;
Setting module sets the search condition of message information for the type according to message information;
Read module, for reading message information according to the search condition;
The message of reading is translated as rail traffic for the coding rule according to the message information type by translation module Corresponding various status informations in signal;
Writing module, for the various status informations being written in the EXCEL object;
Judgment module, for judge whether be message information last line, and then terminate to read or continue to read, turn over It translates and is written;
Analysis module analyzes the status information for the status information in the EXCEL object after the completion of And comparison, the abnormal conditions occurred in respective carter traffic are found out, and check failure.
As a kind of specific embodiment, the search condition is the type set according to message information;The message letter Breath type specifically includes broadcast interface PA message, host interface ISCAS message, train operation protection ATP message, operation figure TGI Message, ring control interface BAS message and train-ground communication PTI message.
As a kind of specific embodiment, it then further includes second that the type of the message information, which is broadcast interface PA message, Secondary search condition.
Compared with prior art, the beneficial effects of the present invention are:
Using the malfunction elimination method of the present invention based on message analysis in rail traffic signal system, can pass through Complicated, interminable message information in rail traffic signal system is translated as succinct and intuitive traffic state information, from And fault coverage is therefrom locked convenient for maintenance of equipment personnel, and then quickly check failure, effectively increase plant maintenance personnel Working efficiency, improve the quantity of operation of city rail traffic route.Meanwhile it working offline in the translation process of the message , securely and reliably, any influence will not be generated to existing system.
Detailed description of the invention
Specific embodiments of the present invention will be described in further detail with reference to the accompanying drawing, in which:
Fig. 1 is the process of the present invention based on the malfunction elimination method of message analysis in rail traffic signal system Figure;
Fig. 2 is to broadcast to connect in the malfunction elimination method of the present invention based on message analysis in rail traffic signal system The flow chart of mouth PA message;
Fig. 3 is that master control connects in the malfunction elimination method of the present invention based on message analysis in rail traffic signal system The flow chart of mouth ISCAS message;
Fig. 4 is that the structure of the present invention based on the malfunction elimination system of message analysis in rail traffic signal system is shown Meaning block diagram.
In figure:
1: obtaining module 2: creation module 3: setting module 4: read module
5: translation module 6: writing module 7: judgment module 8: analysis module
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
As shown in Figure 1, the malfunction elimination method of the present invention based on message analysis in rail traffic signal system, packet Include that steps are as follows:
S1: the various message informations in rail traffic signal system are obtained;
Message information is provided for reading for next step.
S2: creation EXCEL object;
Including setting filename, cell formats, define row and column.
Wherein, filename is set, then is to be named according to former message name, to be managed collectively;
The cell formats define row and column, specifically: setting gauge outfit for the first row in Microsoft Excel, the table Each single item content represents various traffic signal state projects corresponding in message in head;Each single item content generation in the activity row Statistical tables and reports text various traffic signal state contents corresponding after translation.Meanwhile start positioned at gauge outfit the 2nd row below be all Movable row, the activity row are then used to be written the corresponding traffic state information of each column in gauge outfit.
Such as by " serial number ", " type of message ", " date ", " time ", " station ", " platform ", " it is expected that Train reach when Between ", " it is expected that Train time departure ", " Train destination ", " next train delay time at stop " 10 critical data items, i.e., with Upper 10 critical data items are also just 10 column, meanwhile, the 2nd row below is respectively used to above 10 column pair of write-in as movable row The traffic state information answered.
S3: according to the type of message information, setting the search condition of message information, reads message letter according to the search condition Breath;
There are many types of message information, the present invention involved in have broadcast interface PA message, host interface ISCAS message, Six kinds of ATP message, operation figure TGI message, ring control interface BAS message and train-ground communication PTI message are protected in train operation, for not Same type of message, since it is with specific coding form, for search condition also difference, but search condition Setting principle be in accordance with the difference of coding form and different, be all with character, character string or space under normal conditions Form occurs, and the type of message is different, then the form in the character, character string or the space that are arranged is also different, it is therefore intended that will report Effective information in the complicated codings such as various hexadecimals, ISO 8859-1 coding, ASC II coding in literary information carries out It reads, non-effective information is then ignored, to promote the rate of reading.
S4: according to the coding rule of the message information type, it is right that the message of reading is translated as institute in track traffic signal The various status informations answered, and be written in the EXCEL object;
Each message information be all corresponding with its fixation coding rule, therefore, for S3 step read effective information, Traffic state information can be directly translated as by corresponding rule, and according to being written in gauge outfit respective column in EXCEL object, and And according to a line of the corresponding movable row of a line message information, so that the message information of tens even up to a hundred, thousands of rows is orderly Ground is written in corresponding EXCEL object.
S5: judge whether the message information read is last line;If so, completing to believe the state of track traffic signal Breath write-in EXCEL object;Continue to read, translate and be written if it is not, then returning, until completing;
During step S4 translation, step S3 is also being read simultaneously, i.e., side is read, side translation.In the above process, It also needs not stop to judge whether the message information is last line, that is, judges whether to need to continue to read, if it is last Equally, it indicates to have read to finish, to complete the write-in of EXCEL object, can directly enter the analysis of next step;If no It is last the same, it is also desirable to reading, translation and write-in more than continuing, until completing.
S6: according to the status information in EXCEL object after the completion, the status information is analyzed and is compared, is looked for The abnormal conditions occurred in respective carter traffic out, and check failure;
According to the EXCEL object that step S5 is completed, wherein being all the traffic state information of all translation OK, therefore can Intuitively to carry out analysis to the traffic state information and than the base of a fruit, to find out abnormal situation, lock and specifically set in rail traffic Standby fault coverage, and check failure.
Above to for various different message informations in the basic principle for being read out, translating and being written, in order to follow up one Step explanation is analyzed for the message of specific example, is searched specific failure, and then check failure, specifically following instance is combined to say It is bright:
Embodiment 1:
As shown in Fig. 2, the present embodiment is by taking broadcast interface PA message as an example, the specific steps of which are as follows:
S101: the broadcast interface PA message information in rail traffic signal system is obtained;
S102: creation EXCEL object
Broadcast interface PA message is the file of suffix with " .log ", is named with the old file name of broadcast interface PA message The filename of the EXCEL object of creation.
Wherein, it is also necessary to which setting unit sound of laughing formula defines row and column, specifically, by " serial number ", " type of message ", " day Phase ", " time ", " station ", " platform ", " it is expected that Train arrival time ", " it is expected that Train time departure ", " Train mesh Ground ", " next train delay time at stop " 10 gauge outfits of critical data item as EXCEL object, and table format is set It sets, using the 2nd row as movable row.
S103: according to the type of broadcast interface PA message information, setting the search condition of message information, according to the retrieval item Part reads message information;
S1031: the search condition is " Hex ", i.e., if retrieving this message includes " Hex " character string, executes as follows Write operation, surface, which only has, contains " Hex " character string in this message, just carries out the reading of next step and translation, then writes Enter:
S1032: further including second search condition due to the coding characteristic of broadcast interface PA message information, i.e., " T ", " I ", " A ", " U " character.Wherein, described " T " character represents this message information as test packet;" I " character represents should Message information is infomational message;" A " character represents this message information to approach forecast message;" U " the character generation Table this message information is to update message;
S104: according to the coding rule of broadcast interface PA message information type, the message of reading is translated as rail traffic Corresponding various status informations in signal, and be written in the EXCEL object;
Specifically, in Microsoft Excel activity row, i.e., sequence number value is written from " serial number " column corresponding unit lattice of the second row;
Date Column corresponding unit lattice are written in 10 characters that the 11st character of this article of message is started, and format is "08.11.2011";
8 characters that the 22nd character of this article of message is started are written Time Column corresponding unit lattice, format be " 18:07: 02";
Retrieve whether this message includes " T ", " I ", " A ", " U " character, and is arranged according to search result at " type of message " Corresponding unit lattice are respectively written into " test packet ", " infomational message ", " close to forecast message ", " updating message " specifically:
1, when retrieve this message include " T ", then type of message be " test packet ", then " station ", " platform ", " it is expected that Train arrival time ", " it is expected that Train time departure ", " Train destination ", " next train delay time at stop " column "-" is all written in corresponding unit lattice.
It 2, include " I " when retrieving this message, then type of message is " infomational message ", by " Hex " the 11st character afterwards 4 hexadecimal digits started are converted through the decimal system, are obtained Station XXX and are corresponded to corresponding station name write-in " station " column Cell;
" Hex " 2 hexadecimal digits that the 24th character starts afterwards are converted through the decimal system, platform is obtained and numbers and incite somebody to action " platform " column corresponding unit lattice are written in corresponding platform name;
" Hex " 4 hexadecimal digits that the 30th character starts afterwards are converted through the decimal system, obtain the write-in of time data " it is expected that Train arrival time " column corresponding unit lattice;By " Hex " 6 hexadecimal digits that the 43rd character starts afterwards through ten System conversion obtains time data write-in " it is expected that Train time departure " column corresponding unit lattice;
" Hex " 6 hexadecimal digits that the 55th character starts afterwards are converted through the decimal system, obtain Station XXX and are incited somebody to action " Train destination " column corresponding unit lattice are written in corresponding station;It is written in " next train delay time at stop " column corresponding unit lattice "-";
It 3, include " A " when retrieving this message, then type of message is " close to forecast message ", by " Hex " the 11st afterwards 4 hexadecimal digits that character starts are converted through the decimal system, are obtained Station XXX and are arranged corresponding station name write-in " station " Corresponding unit lattice;
" Hex " 2 hexadecimal digits that the 24th character starts afterwards are converted through the decimal system, platform is obtained and numbers and incite somebody to action " platform " column corresponding unit lattice are written in corresponding platform name;" it is expected that Train arrival time ", " it is expected that Train time departure ", "-" is all written in " Train destination ", " next train delay time at stop " column corresponding unit lattice;
It 4, include " U " when retrieving this message, then type of message is " update message ", by " Hex " the 11st character afterwards 4 hexadecimal digits started are converted through the decimal system, are obtained Station XXX and are corresponded to corresponding station name write-in " station " column Cell;
" Hex " 2 hexadecimal digits that the 24th character starts afterwards are converted through the decimal system, platform is obtained and numbers and incite somebody to action " platform " column corresponding unit lattice are written in corresponding platform name;
" Hex " 6 hexadecimal digits that the 43rd character starts afterwards are converted through the decimal system, obtain the write-in of station data " Train destination " column corresponding unit lattice, " it is expected that Train arrival time ", " it is expected that Train time departure " column are corresponding single "-" is all written in first lattice;
" Hex " 4 hexadecimal digits that the 30th character starts afterwards are obtained time data to write after the decimal system is converted Enter " next train delay time at stop " column corresponding unit lattice;
If 5, do not include " T ", " I ", " A ", " U " character, and include " M ", " W " or " E ", then write in " serial number " column Enter to add the serial number after 1, and is respectively written into date, time, status information, error message and warning message;
S105: judge whether the message information read is last line;If so, completing the state of track traffic signal EXCEL object is written in information;Continue to read, translate and be written if it is not, then returning, until completing;
When being translated, be written according to the specific rules of step S104, it is also necessary to which whether the judgement message informations read are more It is last line, has been completed if so, representing;If it is not, then indicating also to need to continue to read, translating and be written, until complete At.
S106: according to the status information in EXCEL object after the completion, being analyzed the status information and compared, Find out the abnormal conditions occurred in respective carter traffic;
It, then can be to being entirely the analysis of traffic state information into this after above whole translations write-in And comparison, to find out abnormal conditions, for the analysis of next step.
S107: according to the abnormal conditions, the fault coverage of specific equipment in rail traffic is locked, and checks failure.
The present embodiment what is involved is broadcast interface PA message, comprising to test packet, infomational message, close to forecast message and Update message analysis, be directed to be it is for statistical analysis for scheduled time, the delay time at stop of train, convenient for find out column The reason of vehicle is delayed, to promote train with service quality.
Embodiment 2:
As shown in figure 3, the present embodiment, by taking host interface ISCAS message as an example, the difference with embodiment 1 is only that analysis Type of message is different, while in specific translation process, the coding mode of use is different, other principles one It causes, the specific steps of which are as follows:
S201: the host interface ISCAS message information in rail traffic signal system is obtained;
S202: creation EXCEL object;
Host interface ISCAS message is the file of suffix with " .log ", and filename is named as former ISCAS message Filename.
It is also desirable to setting unit sound of laughing formula, define row and column, specifically, by " serial number ", " date ", " time ", " train quantity ", " train number ", " train service number ", " train service on buses or trains number ", " train directions ", " train sequence number ", " track regions Segment number ", " blocked state ", " train destination ", " platform quantity ", " platform ", " next train arrival time ", " next column The vehicle departure time ", " next train remaining dwell time ", " the jump station information of next train ", " destination of arriving at a station of next column ", " next train arrival time again ", " next train departure time again ", " next train remaining dwell time again ", " next column again Jump station information ", " destination of arriving at a station of next column again " amount to the gauge outfit of 24 critical data items as EXCEL object, and it is right Table format is configured, using the 2nd row as movable row.
S203: according to the type of host interface ISCAS message information, the search condition of message information is set, according to the inspection Rope condition reads message information;
The search condition is " Hex ", i.e., if retrieving this message includes " Hex " character string, executes following write-in Operation, show include in only this message: " Hex " character string, just carry out next step reading and translation, then write-in:
S204: according to the coding rule of host interface ISCAS message information type, the message of reading is translated as track and is handed over Corresponding various status informations in messenger, and be written in the EXCEL object;
Sequence number value is written in " serial number " column corresponding unit lattice of the movable row of EXCEL object;
Date Column corresponding unit lattice are written in 10 characters that the 8th character of this article of message is started, and format is "18.11.2011";
8 characters that the 19th character of this article of message is started are written Time Column corresponding unit lattice, format be " 18:07: 02";
In design, every ISCAS message includes 100 train related informations, 100 station platform informations, and related at that time Warning message.
In hexadecimal form after " Hex " character, data bit is allocated as follows for all train informations and station platform information:
Respectively according to the distribution condition of above data position, by " train quantity ", " train number ", " train service number ", " train Service on buses or trains number ", " train directions ", " train sequence number ", " track section number ", " blocked state ", " train destination ", " platform Quantity ", " platform ", " next train arrival time ", " next train departure time ", " next train remaining dwell time ", " under The jump station information of one train ", " destination of arriving at a station of next column ", " next train arrival time again ", " when next train sets out again Between ", " again next train remaining dwell time ", " the jump station information of next column again ", the number such as " destination of arriving at a station of next column again " It is believed that breath translation processing, is written in the cell of corresponding EXCEL object;
S205: judge whether the message information read is last line;If so, completing the state of track traffic signal EXCEL object is written in information;Continue to read, translate and be written if it is not, then returning, until completing;
S206: according to the status information in EXCEL object after the completion, being analyzed the status information and compared, Find out the abnormal conditions occurred in respective carter traffic;
It, then can be to being entirely the analysis of traffic state information into this after above whole translations write-in And comparison, to find out abnormal conditions, for analysis below.
S207: according to the abnormal conditions, the fault coverage of specific equipment in rail traffic is locked, and checks failure.
For the present embodiment what is involved is host interface ISCAS message, what is be directed to is for train quantity, train number, column The traffic state informations such as vehicle service number, train sequence number, track section number, blocked state, convenient for the abnormal feelings such as discovery obstruction Condition, so that the relevant interface to master control is debugged, to promote train with service quality.
Embodiment 3:
The present embodiment is only that the type of message of analysis with the difference of embodiment 1 so that ATP message is protected in train operation as an example It is different, while in specific translation process, the coding mode of use is different, other principles are consistent, tool Steps are as follows for body:
S301: ATP message information is protected in the train operation obtained in rail traffic signal system;
S302: creation EXCEL object;
Train operation protection ATP message information is the file with " .lst " for suffix, and filename is named as original The filename of ATP message.
It is also desirable to setting unit sound of laughing formula, define row and column, specifically, by " frequency ", " serial number ", " type ", " time cumulation (s) ", " present speed (km/h) ", " distance add up (m) ", " operating range 1 (m) ", " operating range 2 (m) ", " entrance velocity ", " speed limit starting point ", " speed limit terminating point ", " speed limit ", " target range ", " target velocity ", " section speed limit ", " uev ", " ueo ", " direction ", " allowing to identify ", " allowing to run ", " ATP terminates ", " Men Xiesuo ", " non-security stop ", " next gradient ", " BI (n) ", " current session ", " a upper section ", " current frequency ", " next frequency ", " section length ", " ring Line frequency ", " loop wire identification ", " next loop wire identification ", " turning back ", " LTAZ ", " bhpnr ", " section boundary ", " acceleration m/ S2 ", " current speed limit " amount to the gauge outfit of 39 critical data items as EXCEL object, and are configured to table format, by the 2 rows are as movable row.
S303: protecting the type of ATP message information according to train operation, sets the search condition of message information, and foundation should Search condition reads message information;
The search condition is: " Tlg ", " 0DatG: ", " B ", " C ", " K ", "@", " f: ", i.e., if retrieving this report Text include the above character or character string, execute following write operation, show include in only this message: " Tlg ", " 0DatG: ", " B ", " C ", " K ", "@", " f: " character string just carry out the reading of next step and translation, are then written:
S304: the coding rule of ATP message information type is protected according to train operation, the message of reading is translated as track Corresponding various status informations in traffic signals, and be written in the EXCEL object;
Sequence number value is written in " serial number " column corresponding unit lattice of the movable row of EXCEL object;
Its specific rules such as following table one:
Table one
S305: judge whether the message information read is last line;If so, completing the state of track traffic signal EXCEL object is written in information;Continue to read, translate and be written if it is not, then returning, until completing;
S306: according to the status information in EXCEL object after the completion, being analyzed the status information and compared, Find out the abnormal conditions occurred in respective carter traffic;
After above whole translations write-in, then can be entirely the analysis that carries out of traffic state information with It compares, to find out abnormal conditions, for analysis below.
S307: according to the abnormal conditions, the fault coverage of specific equipment in rail traffic is locked, and checks failure.
What is involved is train operations to protect ATP message for the present embodiment, and what is be directed to is tired for train frequency, time The traffic state informations such as meter, speed, operating range, entrance velocity, speed limit starting point, speed limit, convenient for the different of the discovery speed of service Reason condition, to promote the safety of train operation.
Embodiment 4:
For the present embodiment for running figure TGI message, the difference with embodiment 1 is only that the type of message of analysis is different , while in specific translation process, the coding mode of use is different, other principles are consistent, specific steps It is as follows:
S401: the operation figure TGI message information in rail traffic signal system is obtained;
S402: creation EXCEL object;
The operation figure TGI message information is the file of DAT format, and filename is named as to the filename of former TGI message.
It is also desirable to which setting unit sound of laughing formula, definition row and column specifically by " current running number ", " work as front truck Stand ", " purpose station ", " direction ", " plan station ", " time arrives at a station ", " evening to time ", " plan is outbound ", " practical outbound ", " hair time in evening ", " purpose train number " 11 critical data items are configured as EXCEL gauge outfit, and to table format, by the 2nd row As movable row.
S403: according to the type of operation figure TGI message information, the search condition of message information is set, according to the retrieval item Part reads message information;
The search condition is: " " (space) executes following write-in behaviour that is, if retrieving this message includes space Make, shows the reading and the translation that just carry out next step comprising space in only this message, be then written;
S404: according to the coding rule of operation figure TGI message information text information type, the message of reading is translated as track Corresponding various status informations in traffic signals, and be written in the EXCEL object;
Sequence number value is written in " serial number " column corresponding unit lattice of the movable row of EXCEL object;Its specific rules such as following table two:
Table two
In order to better illustrate the above content, then the example carried out after translation write-in with 10 row TGI original messages is as follows:
It is to have intercepted 10 row original messages in TGI original message above, is read out, translates, such as following table of the result after write-in Three:
Table three
S405: judge whether the message information read is last line;If so, completing the state of track traffic signal EXCEL object is written in information;Continue to read, translate and be written if it is not, then returning, until completing;
S406: according to the status information in EXCEL object after the completion, being analyzed the status information and compared, Find out the abnormal conditions occurred in respective carter traffic;
It, then can be to being entirely the analysis of traffic state information into this after above whole translations write-in And comparison, to find out abnormal conditions, for analysis once.
S407: according to the abnormal conditions, the fault coverage of specific equipment in rail traffic is locked, and checks failure.
After the translation of the above message, write-in, it is related content corresponding to the above table three, can intuitively sees very much The runing time state of urban track traffic out, the operating service quality of rail traffic can be reflected according to the table, and is increased Effectively investigation concrete reason is carried out to the website in evening to time and hair time in evening, promotes whole operation so as to more efficient in time Service quality.
Embodiment 5:
For the present embodiment by taking ring control interface BAS message as an example, the difference with embodiment 1 is only that the type of message of analysis is different Sample, while in specific translation process, the coding mode of use is different, other principles are consistent, specific to walk It is rapid as follows:
S501: the ring control interface BAS message information in rail traffic signal system is obtained;
S502: creation EXCEL object;
The ring control interface BAS message information is the file that " .log " is suffix, and filename is named as former ring control interface The filename of BAS.
It is also desirable to setting unit sound of laughing formula, define row and column, specifically, will " date ", " time ", " running number ", Gauge outfit of 5 critical data items of " station ", " section " as EXCEL object, and table format is configured, the 2nd row is made For movable row.
S503: according to the type of ring control interface BAS message information, the search condition of message information is set, according to the retrieval Condition reads message information;
The search condition is " Train number ", " Location ", ": ", i.e., includes if retrieving this message The above character string or character execute following write operation, show in only this message comprising " Train number ", Character after some character string in " Location ", ": " just carries out the reading of next step and translation, is then written:
S504: according to the coding rule of ring control interface BAS message information type, the message of reading is translated as rail traffic Corresponding various status informations in signal, and be written in the EXCEL object;
Sequence number value is written in " serial number " column corresponding unit lattice of the movable row of EXCEL object;
Its specific rules such as following table four:
Table four
S505: judge whether the message information read is last line;If so, completing the state of track traffic signal EXCEL object is written in information;Continue to read, translate and be written if it is not, then returning, until completing;
S506: according to the status information in EXCEL object after the completion, being analyzed the status information and compared, Find out the abnormal conditions occurred in respective carter traffic;
It, then can be to being entirely the analysis of traffic state information into this after above whole translations write-in And comparison, to find out abnormal conditions, for analysis once.
S507: according to the abnormal conditions, the fault coverage of specific equipment in rail traffic is locked, and checks failure.
For the present embodiment what is involved is ring control interface BAS message, what is be directed to is for train number number, station, section Equal traffic state informations, convenient for finding the operating condition in some train number, station and section in specific reality, convenient for being directed to Property discovery particular problem position, to debug to the relevant interface of ring control, and then promote the rate of maintenance.
Embodiment 6:
For the present embodiment by taking train-ground communication PTI message as an example, the difference with embodiment 1 is only that the type of message of analysis is different Sample, while in specific translation process, the coding mode of use is different, other principles are consistent, specific to walk It is rapid as follows:
S601: the train-ground communication PTI message information in rail traffic signal system is obtained;
S602: creation EXCEL object;
The train-ground communication PTI message is the file of txt format, and filename is named as to the text of former train-ground communication PTI Part name.
It is also desirable to which setting unit sound of laughing formula, definition row and column specifically will " dates ", " time ", " PTI loop wire Number ", the gauge outfit of " vehicle bottom 1 ", " vehicle bottom 2 ", " running number " 6 critical data items as EXCEL object, and to table format carry out Setting, using the 2nd row as movable row.
S603: according to the type of train-ground communication PTI message information, the search condition of message information is set, according to the retrieval Condition reads message information;
By " LeSt: ", " CN1: ", " CN2: ", " ZN: " be used as search condition, respectively by corresponding data writing unit lattice.
S604: according to the coding rule of train-ground communication PTI message information type, the message of reading is translated as rail traffic Corresponding various status informations in signal, and be written in the EXCEL object;
Sequence number value is written in " serial number " column corresponding unit lattice of the movable row of EXCEL object;
Its specific rules such as following table five:
Table five
S605: judge whether the message information read is last line;If so, completing the state of track traffic signal EXCEL object is written in information;Continue to read, translate and be written if it is not, then returning, until completing;
S606: according to the status information in EXCEL object after the completion, being analyzed the status information and compared, Find out the abnormal conditions occurred in respective carter traffic;
It, then can be to being entirely the analysis of traffic state information into this after above whole translations write-in And comparison, to find out abnormal conditions, for analysis once.
S607: according to the abnormal conditions, the fault coverage of specific equipment in rail traffic is locked, and checks failure.
For the present embodiment what is involved is train-ground communication PTI message, what is be directed to is for PTI loop wire number, vehicle bottom, running number Equal traffic state informations, convenient for abnormal conditions such as the communications at vehicle bottom in certain train number, so that on-call maintenance is handled.
For embodiment 4,5,6 for embodiment 1,2,3, message itself is relatively easy, i.e. the related letter of its feedback It is also more relatively fewer for ceasing, and different messages can apply to different scenes, but be used for according to the message after translation The principle for carrying out analysis failure is consistent.
Train operating data can be analyzed and be compared by using above method, maintenance personal can smoothly find It is abnormal present in message, and targetedly checked according to abnormal conditions locking device fault coverage, and to equipment development.Example Such as, maintenance personal is once by using method of the present invention to ATP message analysis, smoothly has found that No.1 line is multiple to be deposited for a long time Technical problem basic reason, including long-lived road row platform punching mark failure, Guangzhou eastern station turn back 1 code 1 tightly system therefore Barrier etc., and by taking corresponding measure to solve failure, greatly enhance railroad embankment efficiency.
In terms of working efficiency, message analysis efficiency can be improved using the software tens of to hundreds times.It is with TGI message Example: ATS system averagely generates the TGI message of 10000 rows or so daily, and every row all includes the current station of a train, works as front truck Secondary, purpose station, direction, plan are arrived at a station, are actually arrived at a station, evening to time, planning outbound, practical outbound, late hair time, purpose vehicle Inferior information, and be that sequence arranges with the time.If read by the way of artificial access, translation, at least needed by every row message Want calculate within 5 minutes, the operating condition in entire downlink to inquire a train at least needs could complete for 100 minutes;Equally, The vehicle-mounted ATP system of every train will generate the message data of 38000 characters or so per minute, if the artificial access of use, The mode of translation is read, and the ATP message for having analyzed one downlink of a train at least needs 60 minutes.
If translated using the method more than present invention, the translation of entire TGI message can be completed within 2 minutes, 3 minutes The translation of entire ATP message can be completed, and can realize data screening using functions such as EXCEL powerful data screening, lookups And analysis.Working efficiency greatly improves.Meanwhile working offline in the translation process of the message, it securely and reliably, will not be to existing System generates any influence.
Correspondingly, the malfunction elimination system of the present invention based on message analysis in rail traffic signal system, comprising:
Module 1 is obtained, for obtaining the various message informations in rail traffic signal system;
Creation module 2, for creating EXCEL object;
Setting module 3 sets the search condition of message information for the type according to message information;
Read module 4, for reading message information according to the search condition;Retrieval adjusting is according to message information Type and set.
The message of reading is translated as rail traffic for the coding rule according to the message information type by translation module 5 Corresponding various status informations in signal;
Writing module 6, for the various status informations being written in the EXCEL object;
Judgment module 7, for judge whether be message information last line, and then terminate to read or continue to read, Translation and write-in;
Analysis module 8 is divided the status information for the status information in the EXCEL object after the completion of Analysis and comparison, find out the abnormal conditions occurred in respective carter traffic, and check failure.
Six kinds of messages that the present invention generallys use specifically include: broadcast interface PA message, host interface ISCAS message, column Vehicle operation protection ATP message, operation figure TGI message, ring control interface BAS message and train-ground communication PTI message.
Wherein, for broadcast interface PA message, it is inside additionally provided with second of search condition, that is, carries out the first search condition It further include secondary search condition after " Hex ": " T ", " I ", " A ", " U " character.Wherein, described " T " character represents this report Literary information is test packet;" I " character represents this message information as infomational message;" A " character represents this report Literary information is close to forecast message;" U " character represents this message information to update message.
Malfunction elimination method and its system of the present invention based on message analysis in rail traffic signal system other Technology is referring to the prior art, and details are not described herein.
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, therefore Without departing from the technical solutions of the present invention, according to the technical essence of the invention it is to the above embodiments it is any modification, Equivalent variations and modification, still fall within the range of technical solution of the present invention.

Claims (10)

1. a kind of malfunction elimination method based on message analysis in rail traffic signal system, which is characterized in that such as including step Under:
Obtain the various message informations in rail traffic signal system;
Create EXCEL object;
According to the type of message information, the search condition of message information is set, reads message information according to the search condition;
According to the coding rule of the message information type, the message of reading is translated as corresponding various in track traffic signal Status information, and be written in the EXCEL object;
Judge whether the message information read is last line;If so, completing to be written the status information of track traffic signal EXCEL object;Continue to read, translate and be written if it is not, then returning, until completing;
The status information is analyzed and compared, finds out the abnormal conditions occurred in respective carter traffic, and check failure.
2. the malfunction elimination method according to claim 1 based on message analysis in rail traffic signal system, feature It is:
The search condition is the type set according to message information;
The message information type specifically includes broadcast interface PA message, host interface ISCAS message, train operation protection ATP Message, operation figure TGI message, ring control interface BAS message and train-ground communication PTI message.
3. the malfunction elimination method according to claim 2 based on message analysis in rail traffic signal system, feature It is:
The coding rule according to the message information type, in the step of message of reading is translated, the retrieval item Part needs the condition translated as this message information, and according to coding rule, makes correspondence to the character after search condition The translation of status information.
4. the malfunction elimination method according to claim 2 based on message analysis in rail traffic signal system, feature It is:
It further include second of search condition if the type of the message information is broadcast interface PA message.
5. the malfunction elimination method according to claim 2 or 4 based on message analysis in rail traffic signal system, special Sign is:
The search condition is character, character string or space.
6. the malfunction elimination method according to claim 1 based on message analysis in rail traffic signal system, feature It is:
The creation EXCEL object, comprising the following steps:
Filename is set;Setting unit sound of laughing formula;Define row and column.
7. the malfunction elimination method according to claim 6 based on message analysis in rail traffic signal system, feature It is:
The setting filename includes the following steps:
According to message old file name, it is named as filename;
The setting unit sound of laughing formula, the definition row and column, includes the following steps:
Gauge outfit is set by the first row in Microsoft Excel, the second row to last line is set as movable row;
Each single item content represents various traffic signal state projects corresponding in message in the gauge outfit;It is every in the activity row One content represents message various traffic signal state contents corresponding after translation.
8. a kind of malfunction elimination system based on message analysis in rail traffic signal system characterized by comprising
Module is obtained, for obtaining the various message informations in rail traffic signal system;
Creation module, for creating EXCEL object;
Setting module sets the search condition of message information for the type according to message information;
Read module, for reading message information according to the search condition;
The message of reading is translated as track traffic signal for the coding rule according to the message information type by translation module In corresponding various status informations;
Writing module, for the various status informations being written in the EXCEL object;
Judgment module, for judge whether be message information last line, and then terminate to read or continue to read, translation and Write-in;
The status information is analyzed and is compared for the status information in the EXCEL object after the completion of by analysis module It is right, the abnormal conditions occurred in respective carter traffic are found out, and check failure.
9. the malfunction elimination system according to claim 8 based on message analysis in rail traffic signal system, feature It is:
The search condition is the type set according to message information;
The message information type specifically includes broadcast interface PA message, host interface ISCAS message, train operation protection ATP Message, operation figure TGI message, ring control interface BAS message and train-ground communication PTI message.
10. the malfunction elimination system according to claim 9 based on message analysis in rail traffic signal system, feature It is:
It further include second of search condition if the type of the message information is broadcast interface PA message.
CN201611217792.3A 2016-12-26 2016-12-26 Malfunction elimination method and system based on message analysis in rail traffic signal system Active CN106741017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611217792.3A CN106741017B (en) 2016-12-26 2016-12-26 Malfunction elimination method and system based on message analysis in rail traffic signal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611217792.3A CN106741017B (en) 2016-12-26 2016-12-26 Malfunction elimination method and system based on message analysis in rail traffic signal system

Publications (2)

Publication Number Publication Date
CN106741017A CN106741017A (en) 2017-05-31
CN106741017B true CN106741017B (en) 2019-05-10

Family

ID=58926083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611217792.3A Active CN106741017B (en) 2016-12-26 2016-12-26 Malfunction elimination method and system based on message analysis in rail traffic signal system

Country Status (1)

Country Link
CN (1) CN106741017B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902673A (en) * 2019-01-28 2019-06-18 北京明略软件系统有限公司 Table Header information identification and method for sorting, system, terminal and storage medium in table
CN113837579B (en) * 2021-09-14 2024-04-12 上海电气泰雷兹交通自动化系统有限公司 Digital analysis and statistics method for ATC alarm and field fault log

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200986583Y (en) * 2006-12-18 2007-12-05 北京交通大学 Railway signal ZPW-2000 equipment transmitter automatic detection device
CN101954917A (en) * 2010-09-09 2011-01-26 天津七一二通信广播有限公司 Method for transmitting shunting operation sheet through flat regulation communication equipment
CN102092407A (en) * 2010-12-09 2011-06-15 北京全路通信信号研究设计院 Online monitoring system of CTCS-3 grade train control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003300467A (en) * 2002-04-09 2003-10-21 Mitsubishi Electric Corp Station state monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200986583Y (en) * 2006-12-18 2007-12-05 北京交通大学 Railway signal ZPW-2000 equipment transmitter automatic detection device
CN101954917A (en) * 2010-09-09 2011-01-26 天津七一二通信广播有限公司 Method for transmitting shunting operation sheet through flat regulation communication equipment
CN102092407A (en) * 2010-12-09 2011-06-15 北京全路通信信号研究设计院 Online monitoring system of CTCS-3 grade train control system

Also Published As

Publication number Publication date
CN106741017A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US10674315B2 (en) Method and device for judging intercity transportation mode based on mobile phone data
Kecman et al. Process mining of train describer event data and automatic conflict identification
Zinser et al. Prism: A macroscopic Monte Carlo railway simulation
CN106741017B (en) Malfunction elimination method and system based on message analysis in rail traffic signal system
CN106250495A (en) A kind of automatic generation method of signaling system track database
Liu et al. Data analytics approach for train timetable performance measures using automatic train supervision data
CN114390458A (en) A method for identifying individual subway waiting behaviors using mobile phone signaling data
CN107563686B (en) Method and system for verifying eighteen statistical data of railway transportation and storage medium
Zhou et al. Modeling and simulation of train movements under scheduling and control for a fixed-block railway network using cellular automata
Boltayev et al. Simulation of a safe train traffic management system at the stations
CN106897448B (en) Subway engineering rail-running area cross construction intelligent graphical display and collision detection system
Yan et al. A failure mapping and genealogical research on metro operational incidents
Yin et al. Balancing a one‐way corridor capacity and safety‐oriented reliability: a stochastic optimization approach for metro train timetabling
Zhao et al. Estimating the frequency of trains approaching red signals: a case study for improving the understanding of SPAD risk
Baohua et al. A computer-aided multi-train simulator for rail traffic
Kavi et al. Analysis and optimisation of railway nodes using simulation techniques
CN104597828B (en) Vehicle-mounted risk data automatic identification equipment in a kind of train control system
Niu et al. Automatic safety analysis of of computer-based railway signalling system
Guzman et al. Addressing the cause of the problem and not its symptom: Road congestion at Railway Stations
Fioroni et al. Railroad infrastructure simulator
Nekraplonna et al. The Analysis of Trajectories in Moscow Subway.
Wang et al. An approach to eliminate train route setting errors through application of parallel monitoring
Ryan et al. Understanding human factors in rail engineering: re-analysis of detailed, qualitative data on functions and risks
Appicharla System for investigation of railway interfaces
CN103600757A (en) Train monitoring system

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