CN103473705A - A route logic generation system and method for an automatic train monitoring system - Google Patents
A route logic generation system and method for an automatic train monitoring system Download PDFInfo
- Publication number
- CN103473705A CN103473705A CN2013103919564A CN201310391956A CN103473705A CN 103473705 A CN103473705 A CN 103473705A CN 2013103919564 A CN2013103919564 A CN 2013103919564A CN 201310391956 A CN201310391956 A CN 201310391956A CN 103473705 A CN103473705 A CN 103473705A
- Authority
- CN
- China
- Prior art keywords
- route
- logic
- true
- value
- client
- 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.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000014509 gene expression Effects 0.000 claims abstract description 19
- 238000012423 maintenance Methods 0.000 claims description 7
- 238000013459 approach Methods 0.000 claims description 6
- 238000012800 visualization Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Landscapes
- Train Traffic Observation, Control, And Security (AREA)
Abstract
Description
技术领域technical field
本发明属于轨道交通信号控制领域,主要涉及一种列车自动监控系统的进路逻辑生成系统及其方法。The invention belongs to the field of rail traffic signal control, and mainly relates to an approach logic generating system and a method thereof for an automatic train monitoring system.
背景技术Background technique
轨道交通列车自动监控系统是轨道交通自动化领域核心专业之一,是保证列车运行安全、实现行车指挥和列车运行现代化,提高运输效率的关键系统。随着列车自动监控系统不断走向网络化和集成化,列车运行时所处理的进路逻辑越来越复杂,因此急需一种方法来对实时运行进路进行判断,降低监控的复杂度并且提高系统的安全性以及可靠性。Rail transit train automatic monitoring system is one of the core disciplines in the field of rail transit automation. It is a key system to ensure the safety of train operation, realize the modernization of traffic command and train operation, and improve transportation efficiency. As the automatic train monitoring system continues to be networked and integrated, the route logic processed during train operation is becoming more and more complex. Therefore, a method is urgently needed to judge the real-time running route, reduce the complexity of monitoring and improve the system safety and reliability.
发明内容Contents of the invention
发明目的:本发明的目的是针对现有技术的不足而公开了一种列车自动监控系统的进路逻辑生成系统及其方法,从而能够降低监控的复杂度并且提高系统的安全性以及可靠性。Purpose of the invention: The purpose of the present invention is to disclose a route logic generation system and method of an automatic train monitoring system for the deficiencies of the prior art, so as to reduce the complexity of monitoring and improve the safety and reliability of the system.
技术方案:为了实现发明的目的,本发明公开了一种列车自动监控系统的进路逻辑生成系统,包括:客户端、数据库服务器组、维护组件以及视图化组件;客户端,包括接收模块、逻辑模块;其中,接收模块用于向数据库服务器组请求并接收数据;逻辑模块将进路中的设备值及其状态定义为一个二进制数VALUE,并将进路中所有逻辑关系抽象为3种状态,分别为OP_NOT、OP_AND以及OP_OR;OP_AND表示各个设备值和状态都为真,输出动作才为真;OP_OR表示各个设备值和状态只要有一个为真,输出动作即为真;OP_NOT将进路中设备值和状态取反;逻辑模块将从数据库服务器组接收到的逻辑关系表达式通过深度遍历算法转换为析取范式,并通过对析取范式中的VALUE值进行枚举生成真指派和假指派的数据逻辑值;数据库服务器组由若干服务器组成,每个服务器包括存储模块、发送模块;其中,存储模块用于存储进路中的设备信息以及状态;发送模块用于响应客户端的数据请求,并发送数据至客户端;维护组件,用于存储客户端的逻辑模块生成的真指派和假指派的数据逻辑值;视图化组件,用于显示客户端的逻辑模块生成的真指派和假指派的数据逻辑值。Technical solution: In order to achieve the purpose of the invention, the present invention discloses an approach logic generation system for an automatic train monitoring system, including: a client, a database server group, a maintenance component, and a visualization component; the client, including a receiving module, logic module; among them, the receiving module is used to request and receive data from the database server group; the logic module defines the device value and its state in the route as a binary number VALUE, and abstracts all logical relationships in the route into three states, They are OP_NOT, OP_AND, and OP_OR respectively; OP_AND means that each device value and state are true, and the output action is true; OP_OR means that as long as one of each device value and state is true, the output action is true; OP_NOT will enter the device The value and state are reversed; the logic module converts the logical relational expression received from the database server group into the disjunctive paradigm through the depth traversal algorithm, and generates true assignments and false assignments by enumerating the VALUE values in the disjunctive paradigm Data logic value; the database server group is composed of several servers, and each server includes a storage module and a sending module; among them, the storage module is used to store device information and status in the route; the sending module is used to respond to the data request of the client and send Data to the client; the maintenance component is used to store the data logic values of the true assignment and the false assignment generated by the logic module of the client; the visualization component is used to display the data logic values of the true assignment and the false assignment generated by the logic module of the client.
本发明公开了所述系统的一种列车自动监控系统的进路逻辑生成方法,包括以下步骤:(1)将进路中的设备值及其状态定义为一个二进制数VALUE,并将进路中所有逻辑关系抽象为3种状态,分别为OP_NOT、OP_AND以及OP_OR;其中,OP_AND表示各个设备值和状态都为真,输出动作才为真;OP_OR表示各个设备值和状态只要有一个为真,输出动作即为真;OP_NOT将进路中设备值和状态取反;(2)客户端从控制中心的数据库中读取出各个设备表中的设备连接关系,根据其拓扑关系,生成设备之间的逻辑关系表达式;(3)使用深度遍历算法,将步骤(2)中的逻辑关系表达式解析为析取范式;(4)将步骤(3)析取范式的VALUE进行枚举,即其为“0”或“1”,并根据步骤(3)所生成的析取范式的逻辑关系,生成真指派和假指派的数据逻辑值。The invention discloses a route logic generation method of an automatic train monitoring system of the system, which includes the following steps: (1) defining the device value and its state in the route as a binary number VALUE, and All logical relationships are abstracted into three states, namely OP_NOT, OP_AND and OP_OR; among them, OP_AND means that each device value and state are true, and the output action is true; OP_OR means that each device value and state is true, and the output The action is true; OP_NOT inverts the value and status of the device in the route; (2) The client reads the device connection relationship in each device table from the database of the control center, and generates the connection relationship between the devices according to the topological relationship Logical relational expression; (3) Use the deep traversal algorithm to parse the logical relational expression in step (2) into a disjunctive normal form; (4) Enumerate the VALUE of the disjunctive normal form in step (3), that is, it is "0" or "1", and according to the logical relationship of the disjunctive normal form generated in step (3), generate the data logic values of true assignment and false assignment.
其中,步骤(2)中所述的设备包括始端信号机、终端信号机、区段、道岔以及敌对进路。进行步骤(3)中的深度遍历算法时,将VALUE作为叶结点,逻辑关系OP_NOT、OP_AND以及OP_OR作为中间结点。客户端对步骤(2)中生成的逻辑关系表达式进行校验。客户端对步骤(3)中生成的析取范式进行真值表验证。Wherein, the equipment mentioned in step (2) includes the starting signal, terminal signal, section, turnout and hostile approach. When performing the depth traversal algorithm in step (3), use VALUE as a leaf node, and logical relations OP_NOT, OP_AND, and OP_OR as intermediate nodes. The client verifies the logical relationship expressions generated in step (2). The client verifies the truth table of the disjunctive normal form generated in step (3).
有益效果:本发明与现有技术相比,采用了统一进路逻辑定义,将复杂的进路判断转换为简单的逻辑问题,所以降低监控的复杂度;安全读取数据库服务器的设备值及其状态,并且对生成的逻辑表达式进行校验,提高系统的安全性以及可靠性;系统中视图化组件直观地显示了进路逻辑中各个设备间的关系,使得工作人员能够实时观察到进路信息的变化,提高工作人员的工作效率。Beneficial effects: Compared with the prior art, the present invention adopts a unified route logic definition, and converts complex route judgments into simple logic problems, thereby reducing the complexity of monitoring; safely reading the device values of the database server and their state, and verify the generated logical expressions to improve the security and reliability of the system; the visual components in the system intuitively display the relationship between various devices in the route logic, so that the staff can observe the route in real time Changes in information improve staff productivity.
附图说明Description of drawings
图1为本发明的列车自动监控系统的进路逻辑生成方法流程图。Fig. 1 is a flow chart of the route logic generating method of the automatic train monitoring system of the present invention.
具体实施方式Detailed ways
本发明公开的一种列车自动监控系统的进路逻辑生成系统,包括:客户端、数据库服务器组、维护组件以及视图化组件;客户端,包括接收模块、逻辑模块;其中,接收模块用于向数据库服务器组请求并接收数据;逻辑模块将进路中的设备值及其状态定义为一个二进制数VALUE,并将进路中所有逻辑关系抽象为3种状态,分别为OP_NOT、OP_AND以及OP_OR;OP_AND表示各个设备值和状态都为真,输出动作才为真;OP_OR表示各个设备值和状态只要有一个为真,输出动作即为真;OP_NOT将进路中设备值和状态取反;逻辑模块将从数据库服务器组接收到的逻辑关系表达式通过深度遍历算法转换为析取范式,并通过对析取范式中的VALUE值进行枚举生成真指派和假指派的数据逻辑值;数据库服务器组由若干服务器组成,每个服务器包括存储模块、发送模块;其中,存储模块用于存储进路中的设备信息以及状态;发送模块用于响应客户端的数据请求,并发送数据至客户端;维护组件,用于存储客户端的逻辑模块生成的真指派和假指派的数据逻辑值;视图化组件,用于显示客户端的逻辑模块生成的真指派和假指派的数据逻辑值。The route logic generating system of an automatic train monitoring system disclosed in the present invention includes: a client, a database server group, a maintenance component, and a visualization component; the client includes a receiving module and a logic module; wherein the receiving module is used to The database server group requests and receives data; the logic module defines the device value and its state in the route as a binary number VALUE, and abstracts all logical relationships in the route into three states, namely OP_NOT, OP_AND and OP_OR; OP_AND Indicates that each device value and state is true, and the output action is true; OP_OR indicates that as long as one of each device value and state is true, the output action is true; OP_NOT reverses the device value and state in the route; the logic module will The logical relational expression received from the database server group is transformed into a disjunctive normal form through a deep traversal algorithm, and the data logic values of true assignment and false assignment are generated by enumerating the VALUE value in the disjunctive normal form; the database server group consists of several Each server consists of a storage module and a sending module; the storage module is used to store the device information and status in the route; the sending module is used to respond to the data request of the client and send the data to the client; the maintenance component is used to The data logic value of the true assignment and the false assignment generated by the logic module of the client is stored; the visualization component is used to display the data logic value of the true assignment and the false assignment generated by the logic module of the client.
下面结合附图对本发明作更进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
如图1所示,客户端进行数据访问请求,根据侦测到的服务周期性判断服务器的负荷和状态,将服务器状态和IP地址映射到客户端;客户端找出负荷较低、状态正常的服务器IP地址,创建请求代理对象,与服务器建立连接;客户端将含有进路始端以及终端信号机的数据发送给服务器;服务器接收请求,寻找进路的始端以及终端信号机,存在该进路则将该进路的信号机、区段、道岔、敌对进路等设备值及其状态作为VALUE,并将其用OP_NOT、OP_AND、OP_OR的逻辑关系连接起来形成逻辑关系表达式发送给客户端,这样统一的逻辑定义将复杂的进路判断转换为简单的逻辑问题,所以降低监控的复杂度,否则不存在即进入异常处理;客户端接收到逻辑关系表达式并对其进行校验,分解逻辑关系表达式为以OP_OR连接的TERM串,使用嵌套方式构造OP_OR连接的左子树TERM和右子树TERM,对逻辑关系表达式的校验提高系统的安全性以及可靠性;提取一个TERM串,分解TERM串为OP_AND连接的VAR串,使用嵌套方式构造OP_AND连接的左子树VAR和右子树VAR;检查ATOM串中是否包含OP_NOT运算符,若有则将ATOM串取反;不断进行以上动作直到分解为一个二叉树结构,然后进行深度遍历,对遍历完生成的表达式进行校验,判断其是否为析取范式,若不是则进入异常处理,若是则继续,对遍历完生成的表达式校验提高系统的安全性以及可靠性;是对进路析取范式进行真值表验证,枚举成真指派和假指派的数据逻辑值,提取有效输出动作的方法。最后将进路析取范式和有效记录以XML文件的格式进行保存到维护组件中,并将进路逻辑中各个设备间的关系在视图化组件中进行显示,系统中视图化组件直观地显示了进路逻辑中各个设备间的关系,使得工作人员能够实时观察到进路信息的变化,提高工作人员的工作效率。As shown in Figure 1, the client makes a data access request, periodically judges the load and status of the server according to the detected service, and maps the server status and IP address to the client; the client finds out the server with a lower load and normal status Server IP address, create a request proxy object, and establish a connection with the server; the client sends the data containing the route start and terminal signal to the server; the server receives the request, searches for the route start and terminal signal, and if the route exists, then Take the signal, section, turnout, hostile route and other equipment values and statuses of the route as VALUE, and connect them with the logical relationship of OP_NOT, OP_AND, OP_OR to form a logical relationship expression and send it to the client. The unified logic definition converts complex approach judgments into simple logical problems, so the complexity of monitoring is reduced, otherwise it will enter exception handling if it does not exist; the client receives the logical relationship expression and verifies it, and decomposes the logical relationship The expression is the TERM string connected by OP_OR, and the left subtree TERM and the right subtree TERM connected by OP_OR are constructed in a nested manner, and the verification of the logical relationship expression improves the security and reliability of the system; extracting a TERM string, Decompose the TERM string into the VAR string connected by OP_AND, use the nesting method to construct the left subtree VAR and the right subtree VAR connected by OP_AND; check whether the ATOM string contains the OP_NOT operator, and if so, reverse the ATOM string; continue to carry out the above Action until it is decomposed into a binary tree structure, and then perform deep traversal, check the expression generated after traversing, and judge whether it is a disjunctive paradigm, if not, enter exception handling, if so, continue, and perform expression processing after traversing Verification improves the security and reliability of the system; it is a method of verifying the truth table of the approach extraction paradigm, enumerating the data logic values of true assignments and false assignments, and extracting effective output actions. Finally, the path extraction paradigm and effective records are saved in the maintenance component in XML file format, and the relationship between each device in the path logic is displayed in the visual component. The visual component in the system intuitively displays The relationship between each device in the route logic enables the staff to observe the changes of the route information in real time and improve the work efficiency of the staff.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103919564A CN103473705A (en) | 2013-09-02 | 2013-09-02 | A route logic generation system and method for an automatic train monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103919564A CN103473705A (en) | 2013-09-02 | 2013-09-02 | A route logic generation system and method for an automatic train monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103473705A true CN103473705A (en) | 2013-12-25 |
Family
ID=49798542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013103919564A Pending CN103473705A (en) | 2013-09-02 | 2013-09-02 | A route logic generation system and method for an automatic train monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103473705A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375425B (en) * | 2014-09-22 | 2017-01-04 | 歌尔股份有限公司 | The logic collocation method of manufacturing execution system operation based on expression formula and device |
CN106503207A (en) * | 2016-10-27 | 2017-03-15 | 上海自仪泰雷兹交通自动化系统有限公司 | A kind of ATS routes generation method |
CN109960186A (en) * | 2017-12-25 | 2019-07-02 | 北京创昱科技有限公司 | Processing method, device, electronic device and storage medium for controlling flow |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102358337A (en) * | 2011-08-10 | 2012-02-22 | 北京和利时系统工程有限公司 | Rail transit train monitoring system and method |
CN102381342A (en) * | 2011-08-31 | 2012-03-21 | 北京和利时系统工程有限公司 | Computer interlock system and method for controlling urban rail transit signals thereof |
CN102556125A (en) * | 2011-12-26 | 2012-07-11 | 北京交控科技有限公司 | Maintenance support system of automatic train control system |
EP2572955A1 (en) * | 2011-09-23 | 2013-03-27 | Siemens SAS | Method and system for managing an interlocking |
-
2013
- 2013-09-02 CN CN2013103919564A patent/CN103473705A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102358337A (en) * | 2011-08-10 | 2012-02-22 | 北京和利时系统工程有限公司 | Rail transit train monitoring system and method |
CN102381342A (en) * | 2011-08-31 | 2012-03-21 | 北京和利时系统工程有限公司 | Computer interlock system and method for controlling urban rail transit signals thereof |
EP2572955A1 (en) * | 2011-09-23 | 2013-03-27 | Siemens SAS | Method and system for managing an interlocking |
CN102556125A (en) * | 2011-12-26 | 2012-07-11 | 北京交控科技有限公司 | Maintenance support system of automatic train control system |
Non-Patent Citations (3)
Title |
---|
丘庆球等: "地铁列车进路控制及实现", 《铁道通信信号》, vol. 37, no. 12, 17 December 2001 (2001-12-17) * |
吴江等: "上海地铁ATS仿真系统进路自动排列的设计与实现", 《微型机与应用》, no. 17, 10 September 2012 (2012-09-10) * |
王晓玲: "城市轨道交通联锁系统软件研究和实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 7, 15 July 2011 (2011-07-15) * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375425B (en) * | 2014-09-22 | 2017-01-04 | 歌尔股份有限公司 | The logic collocation method of manufacturing execution system operation based on expression formula and device |
CN106503207A (en) * | 2016-10-27 | 2017-03-15 | 上海自仪泰雷兹交通自动化系统有限公司 | A kind of ATS routes generation method |
CN106503207B (en) * | 2016-10-27 | 2019-11-08 | 上海电气泰雷兹交通自动化系统有限公司 | A kind of ATS route generation method |
CN109960186A (en) * | 2017-12-25 | 2019-07-02 | 北京创昱科技有限公司 | Processing method, device, electronic device and storage medium for controlling flow |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240414237A1 (en) | Internet of things rule engine-based terminal control method and apparatus, and device and medium | |
CN105450636B (en) | A kind of cloud computing management system | |
CN102439818B (en) | Method and device for auto-generating goose signal connection topology from substation level | |
CN103368263B (en) | The detection method of dispatch automated system IEC104 stipulations communication state | |
WO2015176389A1 (en) | Method, apparatus and system for collecting device information | |
CN106856508A (en) | The cloud monitoring method and cloud platform of data center | |
CN103441861A (en) | Method and device for generating data records | |
CN104378439A (en) | System and method for achieving real-time transmission of transformer substation device information based on shared memory | |
CN107194533A (en) | A kind of power distribution network full information model building method and system | |
CN111984495A (en) | A big data monitoring method, device and storage medium | |
CN110321381A (en) | Power information equipment management system | |
CN116436791A (en) | Industrial Internet scene construction method, system, equipment and storage medium | |
CN105719034A (en) | High-speed railway bridge assessment and early warning system | |
CN103473705A (en) | A route logic generation system and method for an automatic train monitoring system | |
CN105632248A (en) | Safety monitoring system and data processing method therefor | |
CN109687985A (en) | A kind of Substation Process layer network method of automatic configuration and system | |
CN103605767A (en) | Data access method and system of power transmission lines | |
CN110535972A (en) | A kind of the coal gas detection equipment centralized management and communication system, equipment and readable storage medium storing program for executing of hardware and software platform | |
CN113659712A (en) | Power equipment big data label operation platform and method | |
CN108696390A (en) | A kind of software-defined network safety equipment and method | |
CN113127109A (en) | Interface calling method and device, electronic equipment and readable storage medium | |
CN105447264A (en) | Modeling method of information model of intelligent electronic device | |
CN104993977A (en) | IEC 61968 standard-based data online monitoring method and system | |
CN115374101A (en) | Rail transit station-level data management system | |
CN110866614B (en) | GSP-based transparent operation and maintenance method and system for intelligent substation automation equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131225 |