The interlock system slave computer method for detecting operation state followed the trail of based on parameter
The present invention relates to a kind of railway signals equipment system, more particularly, under a kind of interlock system followed the trail of based on parameter
Position machine method for detecting operation state.
The railway signal interlocking system of complete set, interlocking slave computer IPS, interlocked operation machine MMI interlock maintenance console
Running status inside SDM, interlock system is controlled by interlocking slave computer IPS, is a black box state, it is necessary to by interlocking maintenance console
Just it will be seen that.How the parameter value checked inside interlock system of real-time online realized, so that preferably to diagnose interlocking
Internal state, as the technical issues that need to address.
The content of the invention
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide one kind is followed the trail of based on parameter
Interlock system slave computer method for detecting operation state, utilize the method followed the trail of with parameter to confirm interlocking slave computer IPS operation shapes
State, the parameter value that can be checked with real-time online inside interlock system, by the visualization of interlock logic, connection can be checked online
Logic source code is locked, and the logical value of intermediate variable in interlock logic calculating process can be checked, so that it is internal to diagnose interlocking
The purpose of the present invention can be achieved through the following technical solutions：
A kind of interlock system slave computer method for detecting operation state followed the trail of based on parameter, described interlock system includes connection
Lock slave computer IPS, interlocked operation machine MMI and interlocking maintenance console SDM, it is characterised in that described detection method includes following step
1) SDM described in sends the message of required parameter tracking to IPS；
2) parameter that the IPS described in receives SDM follows the trail of request message, and shape is accordingly run according to the parameter acquiring that need to be followed the trail of
The parameter value of state, and parameter value is sent to SDM；
3) when the SDM described in receives the parameter value transmitted by IPS, by parameter value and parameter name Dynamic Announce in correspondence
SDM interfaces on.
The message that described required parameter is followed the trail of includes the parameter name and number of parameters for needing to follow the trail of.
Described parameter includes the logical variable of collection code bit, driving code bit, external equipment input variable and intermediate operations.
Described SDM periodically issues parameter and follows the trail of solicited message incessantly, and described IPS is according to each SDM's
Request bag replys the value for once corresponding to parameter；When communication between SDM and IPS disconnects either SDM request bags stopping transmission,
Described IPS will stop sending corresponding parameter value.
Described interlocking slave computer IPS and interlocked operation machine MMI, be it is double be hot-backup system.
Described SDM can at any time suspend, start, deleting, increasing the parameter for needing to follow the trail of.
For specifying the parameter value followed the trail of, with the method display parameter value of dynamic graphical；
For there is the parameter value of boolean calculation, the method display parameter value of its end value dynamic graphical, and
Its boolean calculation formula is shown in interfaces windows；
And the end value of the parameter value and computing during intermediate operations, its current period is only shown in the form of window
Compared with prior art, the method that the present invention is followed the trail of with parameter confirms interlocking slave computer IPS running statuses, with existing
Interlock system based on, do not increase the cost on any hardware, complete interlock system inner parameter inquiry function；Have
Effect improves the maintenance efficiency of field personnel, can dynamically grasp the running status inside interlocking.
Brief description of the drawings
Fig. 1 is interlock system structural representation；
Fig. 2 is flow chart of the invention；
Fig. 3 is SDM outbound data flow graphs；
Fig. 4 is IPS outbound data flow graphs.
The present embodiment is implemented lower premised on technical solution of the present invention, gives detailed embodiment and specific
Operating process, but protection scope of the present invention is not limited to following embodiments.
As shown in figure 1, the present embodiment includes a set of station interlocking system：Interlock slave computer IPS, interlocked operation machine MMI, connection
Lock maintenance console SDM.Running status inside interlock system is controlled by interlocking slave computer IPS, is a black box state, it is necessary to pass through connection
Maintenance console is locked just to will be seen that.Interlocking slave computer IPS is obtained on track circuit gathers code bit, by interlock logic computing, most
End form forming apparatus drives code bit drive signal device action.The logic parameter of code bit, driving code bit, and intermediate operations is gathered,
It is exactly the running status of whole interlock system.In order to be able to monitor the internal state of interlock system in real time, followed the trail of using a kind of parameter
Method confirm interlocking slave computer running status software systems, inner parameter state is checked at any time.Connection can only be checked by overcoming
The shortcoming of lock system surface, and possess can be while check the function of interlock system internal-external feature.
In the Boolean logic of interlocking, the computing for being all embodied in parameter Boolean.Connection can be checked by Boolean expression
Lock logic.By a kind of method followed the trail of with parameter, the real-time value of interlocking parameter can be checked online.Meanwhile, it can check
The source code of interlock logic, realizes the visualization of interlock logic.So as to which the operating efficiency of attendant is greatly improved.
As shown in Fig. 2 SDM sends parameter by Transmission Control Protocol to MMI follows the trail of request message frame.IPS receives parameter tracking please
Ask after message frame, parameter value obtaining or collecting will be calculated by Transmission Control Protocol and be sent to SDM.SDM is received back
After multiple message, the parameter value received is included on SDM interfaces according to its title.
As shown in figure 3, SDM to IPS including institute's request tracing parameter name and its constitute the centre of its Boolean expression
Variable name.SDM receives the parameter value from IPS.
As shown in figure 4, IPS, which sends SDM, needs the parameter value followed the trail of to SDM.IPS receives the request ginseng from SDM simultaneously
The information that number is followed the trail of, including the final argument inquired about value and computing obtain final argument value when used intermediate parameters
By the name of the parameter of the SDM request verifications sent, IPS sends corresponding parameter value to SDM, so that SDM exists
Shown on interface.
All IPS are sent to SDM parameter value, are the parameter value of real-time online, rather than historical data.Accordingly,
The Interlock Status reflected is also the state of current interlock system.
SDM is sent in IPS parameter request message, including needs the parameter name and number of parameters of verification.If
The parameter is the value obtained by boolean calculation, then the title of the intermediate variable of computing can also be issued in the lump.In IPS
The parameter for being connected to SDM follows the trail of request message, reads the parameter name and number of parameters for needing to follow the trail of.And each will specifically it join
Several values issues SDM to show.
SDM is when the value of boolean calculation intermediate variable is shown, while boolean calculation formula is also shown in the lump
Show on SDM interfaces, i.e., include interlock logic source code on SDM interfaces, so as to realize the visualization of interlock logic.
SDM needs the periodically continual parameter that issues to follow the trail of request command.IPS is then according to the SDM of each bag request
Bag replys the value for once corresponding to parameter.When communication between SDM and IPS disconnects either SDM request bags stopping transmission,
IPS will stop sending corresponding parameter value.
When SDM receives the parameter value transmitted by IPS, by parameter value and parameter name Real time dynamic display corresponding
On SDM interfaces, so that attendant's diagnostic system is used.
For specifying the parameter value followed the trail of, with the method display parameter value of dynamic graphical.For there is boolean calculation
Parameter value, the method display parameter value of its end value dynamic graphical, and show in interfaces windows its Boolean logic
Arithmetic expression.And the parameter value during intermediate operations, and computing end value, its current period is only shown in the form of window
IPS/SDM programs are independent research software.Parameter inside the interlock system of required inquiry can be compiled at any time
Volume.I.e. the parameter checked is wanted in increase at any time, and the parameter for being not desired to continue to follow the trail of can also be rejected at any time.To having begun to what is followed the trail of
Parameter, can also suspend or restart at any time to follow the trail of.
The parameter that SDM is followed the trail of, including FSFB2 input parameters, VSL input variable input parameters, COM input variables, system
Variable, self-insurance parameter, time parameter, general parameters, DI acquisition parameters, SBO drives the ginseng inside all interlock systems such as parameter