CN111114597B - Train tracking processing method of COCC automatic monitoring system - Google Patents

Train tracking processing method of COCC automatic monitoring system Download PDF

Info

Publication number
CN111114597B
CN111114597B CN201911384668.XA CN201911384668A CN111114597B CN 111114597 B CN111114597 B CN 111114597B CN 201911384668 A CN201911384668 A CN 201911384668A CN 111114597 B CN111114597 B CN 111114597B
Authority
CN
China
Prior art keywords
path
equipment
curpath
list
returning
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
CN201911384668.XA
Other languages
Chinese (zh)
Other versions
CN111114597A (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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN201911384668.XA priority Critical patent/CN111114597B/en
Publication of CN111114597A publication Critical patent/CN111114597A/en
Application granted granted Critical
Publication of CN111114597B publication Critical patent/CN111114597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The invention relates to a train tracking processing method of a COCC automatic monitoring system, which comprises the following steps: 1) xml is checked whether a path list configuration file pathinfo exists when the COCC automatic monitoring system is started, and if the path list configuration file pathinfo exists, whether the configuration file corresponds to TLE data is further judged; 2) if the pathinfo. Compared with the prior art, the invention has the advantages of reducing the data processing amount of the system as much as possible, accelerating the data conversion speed and the like.

Description

Train tracking processing method of COCC automatic monitoring system
Technical Field
The invention relates to a rail transit signal system, in particular to a train tracking processing method of a COCC automatic monitoring system.
Background
Since the suppliers of rail transit signal systems on each line side are usually different, the automatic monitoring system of the line network COCC needs to be able to handle various line interfaces. The train tracking of the automatic monitoring system of the net COCC clearly displays the track and turnout list occupied by the whole train, and the train number information of the train is displayed on the train number window associated with the equipment occupied by the train head. Some line signal system providers can provide detailed information required for train tracking required by the COCC of the line network; and some lines only provide kilometer post data of the head and the tail of the train, and for the interface, a COCC automatic monitoring system is required to acquire equipment occupied by the head and the tail of the train according to the kilometer posts of the head and the tail of the train, find out a communicated shortest path from the equipment occupied by the head of the train to the equipment occupied by the tail of the train to serve as an equipment list occupied by the train, find out a train number window corresponding to the equipment occupied by the head of the train, and update the train number window object according to train number information.
Because the number of the lines accessed by the COCC automatic monitoring system at the same time can be dozens, the number of trains allowed to be on line by each line is dozens or even hundreds, and the train updating information can be sent to the COCC automatic monitoring system only if the information of the trains is changed, the requirement on the performance of the COCC monitoring system is very high. The algorithm for finding the train occupation device list according to the train head occupation device and the train tail occupation device is complex, and the performance bottleneck problem of the COCC automatic monitoring system is easy to occur.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a train tracking processing method of a COCC automatic monitoring system.
The purpose of the invention can be realized by the following technical scheme:
a train tracking processing method of a COCC automatic monitoring system is characterized by comprising the following steps:
1) xml is checked whether a path list configuration file pathinfo exists when the COCC automatic monitoring system is started, and if the path list configuration file pathinfo exists, whether the configuration file corresponds to TLE data is further judged;
2) if the pathinfo.
Preferably, aiming at the situation that some lines only send the kilometer posts of the train head and the train tail, the COCC automatic monitoring system automatically searches and obtains an equipment list occupied by the train in the path list according to equipment occupied by the train head and the train tail, and then updates the interface display.
Preferably, the intelligent search algorithm specifically includes the following steps:
step S0, TLE data is read, and a track and turnout equipment list of the COCC automatic monitoring system is obtained, wherein the track and turnout equipment list comprises starting point kilometer posts and end point kilometer posts of each equipment; searching all paths which take the device as a starting point and comprise N devices at most for each device, and sequentially executing steps S1- > S18;
step S1, reading a first track or turnout device from the TLE data, and entering step S2;
step S2, adding a path curPath to the path list to be processed toDoList, adding the starting equipment to the path curPath, and entering step S3;
step S3, judging whether the number of the devices included in the path curPath is less than N, if yes, acquiring the last device curDev of the path curPath, and entering step S4; otherwise, go to step S7;
step S4, searching next equipment of curDev, if the next equipment does not exist, ending the path curPath search, and entering step S7; otherwise, go to step S5;
step S5, judging the type of the next device, if the device type is a track or a turnout, if the next device is already in the path curPath, ending the search, entering step S7, otherwise, adding the next device into the device list of the path curPath, and entering step S6; if the device type is other, returning to step S4;
step S6, if the next device is a track, returning to step S3; if the next device is a turnout, judging whether the number of devices included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to the ToDoList, returning to the step S3, otherwise, entering the step S7;
step S7, moving the path curPath from the toDoList to the completed path List; judging whether the path list to be processed toDoList is empty or not, if not, taking out the first path as a curPath, and entering step S8; otherwise, go to step S10;
step S8, obtaining the last device curDev of path curPath; searching reverse equipment of curDev, if the reverse equipment does not exist, ending the path curPath search, and returning to the step S7; judging whether the reverse equipment exists in the equipment list of the curPath, if so, ending the path curPath search, returning to the step S7, otherwise, adding the reverse equipment into the equipment list of the curPath, and entering the step S9;
step S9, if the reverse equipment is the track, returning to the step S3; if the reverse equipment is a turnout, judging whether the number of equipment included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to the ToDoList, returning to the step S3, otherwise, returning to the step S7;
step S10, adding a path curPath to the path list to be processed toDoList, adding the starting equipment to the path curPath, and entering step S11;
step S11, judging whether the number of the devices included in the path curPath is less than N, if yes, acquiring the last device curDev of the path curPath, and entering step S12; otherwise, go to step S15;
step S12, searching previous equipment of curDev; if the previous device does not exist, the path curPath search is ended, and the step S15 is entered; otherwise, go to step S13;
step S13, judging the type of previous equipment, if the equipment type is a track or a turnout, if the previous equipment is already in the curPath, ending the search, and entering step S15, otherwise, adding the previous equipment into an equipment list of the curPath, and entering step S14; if the device type is other, returning to step S12;
step S14, if the previous device is a track, returning to step S11; if the previous device is a turnout, judging whether the number of devices included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to a ToDoList list, returning to the step S11, and otherwise, entering the step S15;
step S15, moving the path curPath from the toDoList to the completed path List; judging whether the path list to be processed toDoList is empty or not, if not, taking out the first path as a curPath, and entering step S16; otherwise, go to step S18;
step S16, obtaining the last device curDev of path curPath; searching reverse equipment of curDev, if the reverse equipment does not exist, ending the path curPath search, and returning to the step S15; judging whether the reverse equipment exists in the equipment list of the curPath, if so, ending the path curPath search, returning to the step S15, otherwise, adding the reverse equipment into the equipment list of the curPath, and entering the step S17;
step S17, if the reverse equipment is the track, returning to the step S11; if the reverse equipment is a turnout, judging whether the number of equipment included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to the ToDoList, returning to the step S11, and otherwise, returning to the step S15;
s18, acquiring the next track or turnout equipment in the TLE data, wherein the equipment exists, and returning to the step S2; otherwise, go to step S19;
step S19, receiving train position messages of the line, and finding out the track or turnout equipment occupied by the train head and the train tail according to the kilometer posts of the train head and the train tail; searching all paths including the equipment occupied by the vehicle tail in a path list pathList corresponding to the equipment occupied by the vehicle head; and selecting the path with the least number of equipment from the head to the tail of the vehicle to return, and ending the algorithm.
Preferably, N in step S0 is the maximum number of devices occupied by the train configured by the system.
Preferably, the search for a given starting device containing path includes both forward and reverse directions.
Preferably, a complete path including only switch locations is first found in either the forward or reverse direction.
Preferably, when the path is searched, if x switches are included in the path, x paths to be processed are added to the to-be-processed path list todoist, and the last devices of the newly added paths to be processed are all switches
Preferably, after receiving the train position report, according to the devices occupied by the train head, there may be multiple paths including the devices occupied by the train tail searched in the pathList thereof, and the path with the least number of devices included from the train head to the train tail needs to be selected.
Compared with the prior art, the invention has the following advantages:
1. in the invention, the COCC automatic monitoring system generates a path list configuration file pathInfo.xml according to a TLE data file only when the COCC automatic monitoring system is started for the first time and the TLE file changes, so that the execution of a large data volume algorithm is reduced to the minimum;
2. in the invention, only aiming at the line of which the train information only comprises the kilometer post position interfaces of the train head and the train tail, the route list configuration file is obtained by the intelligent search algorithm, the processing data volume of the system is reduced as much as possible, and the data conversion speed is accelerated;
3. in the invention, the COCC automatic monitoring system acquires the path list of all equipment when being started, and only an optimal path meeting the conditions needs to be searched in the path list according to the equipment occupied by the head and the tail of the train in the running process, thereby greatly accelerating the processing speed of the program and ensuring the timely refreshing of the interface display.
Drawings
FIG. 1 is a general flow chart of the path list data obtained;
FIG. 2 is a flow chart of all paths associated with a forward search initiator;
FIG. 3 is a flow chart of all paths associated with a reverse search initiator;
FIG. 4 is a complete flow chart for forward searching for path i using only switch location;
FIG. 5 is a complete flow chart for reverse searching path i using only switch location;
FIG. 6 is a flow diagram of an anti-attachment device adding the last device to path i;
FIG. 7 is a partial circuit diagram used in the embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
The invention discloses a train tracking processing method of a COCC automatic monitoring system, which is characterized in that when the COCC automatic monitoring system is started, whether a path list configuration file pathInfo. xml exists is checked, and if the path list configuration file pathInfo. xml exists, whether the configuration file corresponds to TLE data needs to be further judged. If the pathinfo.xml configuration file does not exist or the configuration file does not completely correspond to the TLE data, after reading the TLE data, obtaining a path list which takes all tracks and turnout equipment as starting points and contains at most a fixed number of equipment through an intelligent search algorithm, and storing the content of the path list into the pathinfo.xml configuration file for the COCC automatic monitoring system to use when running.
Aiming at the situation that a line only sends kilometer posts of the train head and the train tail, the COCC automatic monitoring system automatically searches and obtains an equipment list occupied by the train in the path list according to equipment occupied by the train head and the train tail, and then updates the interface display.
Referring to fig. 1-7, a specific processing flow of the intelligent path search algorithm in the technical solution of the present invention is illustrated:
taking the local route diagram of fig. 7 as an example, the train head occupies the track G6 and the train tail occupies the switch DC1, it is assumed that the system configuration train occupies at most N-3 devices.
First, when reading the line TLE data, a path list having the track G6 as a start point is found by:
step S1, adding a curPath to the to-be-processed Path list toDoList, and adding G6 to the curPath;
step S2, the number of devices currently included in the curPath is 1, the number is smaller than N, and the curDev points to G6;
step S3, searching the next device of G6, finding the track G7, and adding G7 into curPath;
step S4, the number of devices currently included in the curPath is 2, the number is less than N, and the curDev points to G7;
step S5, searching the next device of G7, if no, ending the curPath search;
step S6, curve path: g6- > G7 moves from toDolist into the completed path list pathList; at this point, todoist is empty;
step S7, adding a curPath to the to-be-processed Path list toDoList, and adding G6 to the curPath;
step S8, the number of devices currently included in the curPath is 1, the number is smaller than N, and the curDev points to G6;
s9, searching previous equipment of G6, and finding out a signal machine S4;
s10, searching previous equipment of S4, finding a turnout DC4, and adding DC4 into curPath;
step S11, the number of devices currently included in the curPath is 2, which is smaller than N, and the path curPath: g6- > DC4 copies as a new path, adds to toDoList; curDev points to DC 4;
s12, searching previous equipment of the DC4, finding a turnout DC3, and adding the DC3 into a curPath;
step S13, the number of devices currently included in the curPath is 3, which is equal to N, and the curPath: g6- > DC4- > DC3 is moved from toDolist into completed path list pathList; there is now a path in todoist: g6- > DC 4;
step S14, taking out a path curPath from todoist: g6- > DC4, curDev points to DC 4;
s15, searching reverse equipment of the DC4, finding a turnout DC1, and adding the DC1 into curPath;
step S16, the number of devices currently included in the curPath is 3, which is equal to N, and the curPath: g6- > DC4- > DC1 is moved from toDolist into completed path list pathList; at this point, todoist is empty; the algorithm ends.
When the train state report is received, according to the rail G6 occupied by the train head, a path including the train tail occupied device DC1 is searched in the path list pathList obtained in the previous step, in this example, only one path in the pathList includes DC1, G6- > DC4- > DC1, and the path is returned as the train occupied device list.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A train tracking processing method of a COCC automatic monitoring system is characterized by comprising the following steps:
1) xml is checked whether a path list configuration file pathinfo exists when the COCC automatic monitoring system is started, and if the path list configuration file pathinfo exists, whether the configuration file corresponds to TLE data is further judged;
2) if the pathinfo.xml configuration file does not exist or the configuration file does not completely correspond to the TLE data, reading the TLE data, then obtaining a path list which takes the track and the turnout equipment as starting points and contains the maximum fixed number of equipment through an intelligent search algorithm, and storing the content of the path list into the pathinfo.xml configuration file for the COCC automatic monitoring system to use when in operation;
the intelligent search algorithm specifically comprises the following steps:
step S0, TLE data is read, and a track and turnout equipment list of the COCC automatic monitoring system is obtained, wherein the track and turnout equipment list comprises starting point kilometer posts and end point kilometer posts of each equipment; searching all paths which take the device as a starting point and comprise N devices at most for each device, and sequentially executing steps S1- > S18;
step S1, reading a first track or turnout device from the TLE data, and entering step S2;
step S2, adding a path curPath to the path list to be processed toDoList, adding the starting equipment to the path curPath, and entering step S3;
step S3, judging whether the number of the devices included in the path curPath is less than N, if yes, acquiring the last device curDev of the path curPath, and entering step S4; otherwise, go to step S7;
step S4, searching next equipment of curDev, if the next equipment does not exist, ending the path curPath search, and entering step S7; otherwise, go to step S5;
step S5, judging the type of the next device, if the device type is a track or a turnout, if the next device is already in the path curPath, ending the search, entering step S7, otherwise, adding the next device into the device list of the path curPath, and entering step S6; if the device type is other, returning to step S4;
step S6, if the next device is a track, returning to step S3; if the next device is a turnout, judging whether the number of devices included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to the ToDoList, returning to the step S3, otherwise, entering the step S7;
step S7, moving the path curPath from the toDoList to the completed path List; judging whether the path list to be processed toDoList is empty or not, if not, taking out the first path as a curPath, and entering step S8; otherwise, go to step S10;
step S8, obtaining the last device curDev of path curPath; searching reverse equipment of curDev, if the reverse equipment does not exist, ending the path curPath search, and returning to the step S7; judging whether the reverse equipment exists in the equipment list of the curPath, if so, ending the path curPath search, returning to the step S7, otherwise, adding the reverse equipment into the equipment list of the curPath, and entering the step S9;
step S9, if the reverse equipment is the track, returning to the step S3; if the reverse equipment is a turnout, judging whether the number of equipment included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to the ToDoList, returning to the step S3, otherwise, returning to the step S7;
step S10, adding a path curPath to the path list to be processed toDoList, adding the starting equipment to the path curPath, and entering step S11;
step S11, judging whether the number of the devices included in the path curPath is less than N, if yes, acquiring the last device curDev of the path curPath, and entering step S12; otherwise, go to step S15;
step S12, searching previous equipment of curDev; if the previous device does not exist, the path curPath search is ended, and the step S15 is entered; otherwise, go to step S13;
step S13, judging the type of previous equipment, if the equipment type is a track or a turnout, if the previous equipment is already in the curPath, ending the search, and entering step S15, otherwise, adding the previous equipment into an equipment list of the curPath, and entering step S14; if the device type is other, returning to step S12;
step S14, if the previous device is a track, returning to step S11; if the previous device is a turnout, judging whether the number of devices included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to a ToDoList list, returning to the step S11, and otherwise, entering the step S15;
step S15, moving the path curPath from the toDoList to the completed path List; judging whether the path list to be processed toDoList is empty or not, if not, taking out the first path as a curPath, and entering step S16; otherwise, go to step S18;
step S16, obtaining the last device curDev of path curPath; searching reverse equipment of curDev, if the reverse equipment does not exist, ending the path curPath search, and returning to the step S15; judging whether the reverse equipment exists in the equipment list of the curPath, if so, ending the path curPath search, returning to the step S15, otherwise, adding the reverse equipment into the equipment list of the curPath, and entering the step S17;
step S17, if the reverse equipment is the track, returning to the step S11; if the reverse equipment is a turnout, judging whether the number of equipment included in the path curPath is smaller than N, if so, copying the current content of the path curPath as a new path to be processed and adding the new path to the ToDoList, returning to the step S11, and otherwise, returning to the step S15;
s18, acquiring the next track or turnout equipment in the TLE data, wherein the equipment exists, and returning to the step S2; otherwise, go to step S19;
step S19, receiving train position messages of the line, and finding out the track or turnout equipment occupied by the train head and the train tail according to the kilometer posts of the train head and the train tail; searching all paths including the equipment occupied by the vehicle tail in a path list pathList corresponding to the equipment occupied by the vehicle head; and selecting the path with the least number of equipment from the head to the tail of the vehicle to return, and ending the algorithm.
2. The method as claimed in claim 1, wherein for the kilometer post situation where only the head and tail of the train are located on some lines, the COCC automatic monitoring system automatically searches and obtains the equipment list occupied by the train in the path list according to the equipment occupied by the head and tail of the train, and further updates the interface display.
3. The method as claimed in claim 1, wherein N in step S0 is the maximum number of devices occupied by the train configured by the system.
4. The method of claim 1, wherein the search for the inclusion path of the specific initiator device comprises both forward and reverse directions.
5. The method of claim 1, wherein a complete path including only switch locations is first found in forward or reverse direction.
6. The method as claimed in claim 1, wherein if x switches are included in the path during the search of the path, x paths to be processed are added to the to-be-processed path list todoist, and the last devices of the newly added paths to be processed are all switches.
7. The method as claimed in claim 1, wherein the route including the car tail occupation device searched in the pathList may have a plurality of routes according to the device occupied by the car head, and the route including the least number of devices from the car head to the car tail needs to be selected when receiving the train location report.
CN201911384668.XA 2019-12-28 2019-12-28 Train tracking processing method of COCC automatic monitoring system Active CN111114597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911384668.XA CN111114597B (en) 2019-12-28 2019-12-28 Train tracking processing method of COCC automatic monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911384668.XA CN111114597B (en) 2019-12-28 2019-12-28 Train tracking processing method of COCC automatic monitoring system

Publications (2)

Publication Number Publication Date
CN111114597A CN111114597A (en) 2020-05-08
CN111114597B true CN111114597B (en) 2021-08-03

Family

ID=70504127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911384668.XA Active CN111114597B (en) 2019-12-28 2019-12-28 Train tracking processing method of COCC automatic monitoring system

Country Status (1)

Country Link
CN (1) CN111114597B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5239472A (en) * 1988-09-28 1993-08-24 Techsearch Incorporated System for energy conservation on rail vehicles
JP3312678B2 (en) * 1995-06-14 2002-08-12 財団法人鉄道総合技術研究所 Route data management device
CN106250471A (en) * 2016-07-29 2016-12-21 东北大学 A kind of data for train ATP automatically extract and store system and method
CN107133273A (en) * 2017-04-07 2017-09-05 青岛海信网络科技股份有限公司 A kind of transit's routes data processing method and server cluster based on big data

Also Published As

Publication number Publication date
CN111114597A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN105654756B (en) A kind of the autonomous type traffic control method, apparatus and AGV of AGV
CN112208590B (en) Train route control method and device based on static route table
CN111776017B (en) Method and device for controlling temporary speed limit of train
CN105575155A (en) Method and equipment for determining vehicle driving information
CN111055889B (en) Dynamic calculation method for train operation path
CN111114597B (en) Train tracking processing method of COCC automatic monitoring system
CN110861681A (en) Automatic configuration method and device for return rails of rail train
CN110962889A (en) Automatic route selection and arrangement method and device for head yard vehicle
CN114074695B (en) Train route handling method, device, equipment and storage medium
CN112455500B (en) Initial station jump stop query method under line crossing condition and local line management system
CN112329277B (en) Indoor roadster test sequence compiling method and device based on CTCS-2
CN114435433B (en) Method and device for verifying automatic trigger route conflict
CN108306926B (en) Method and device for pushing gateway service data of Internet of vehicles equipment
JP4749237B2 (en) Variable length frame buffer device
CN107346319B (en) Cross-city reachable library creating method and device
CN112732353B (en) Unmanned train map data loading method and electronic equipment
CN112804115B (en) Method, device and equipment for detecting abnormity of virtual network function
JP2008191958A (en) Transfer guide information display method and transfer guide information forming device for station
CN115946742B (en) Method and device for automatically generating running route crossing data of train monitoring system
CN116576880B (en) Lane-level road planning method and device, terminal equipment and storage medium
CN109089239B (en) Bridging method, device and medium for vehicle-mounted wireless access point on train
CN117828198A (en) Object track prediction method and device, electronic equipment and storage medium
CN111776025B (en) Train operation planning method and device, electronic equipment and storage medium
JP2017052509A (en) Route control device and route control method
JP2019016980A (en) Transmission path design support apparatus

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