• Nie Znaleziono Wyników

Rozszerzalny język opisu danych w diagnostyce systemów sterowania ruchem kolejowym Extensible language for data description in diagnostic of traffic control systems

N/A
N/A
Protected

Academic year: 2021

Share "Rozszerzalny język opisu danych w diagnostyce systemów sterowania ruchem kolejowym Extensible language for data description in diagnostic of traffic control systems"

Copied!
8
0
0

Pełen tekst

(1)PRACE NAUKOWE POLITECHNIKI WARSZAWSKIEJ z. 113. Transport. 2016. 6/ 8

(2) 

(3) *! 1

(4) 

(5)   

(6)  Uniwersytet Technologiczno-: 

(7) ]

(8)  

(9)  ! w Radomiu, ( 

(10) ,  

(11) 

(12) ? . EXTENSIBLE LANGUAGE FOR DATA DESCRIPTION IN DIAGNOSTIC OF TRAFFIC CONTROL SYSTEMS The manuscript delivered: March 2016. Abstract: Modern railway traffic control systems commonly use Information Technology (IT) in order to perform processing and logging diagnostics data in diagnostic centres. The lack of standards for diagnostic data structures and the lack of common mechanisms of acquiring data causes, that the producers of systems use their own solutions in this domain. Thus, in spite of using modern technologies, there is a great difficulty in obtaining consistent diagnostic data and makes its further analysis difficult. In the article the using of the specialised XML-based markup language was proposed. This language can be used to unify structures of diagnostic data obtained from the different railway traffic control systems. The unification of diagnostic data structures would allow not only for building interfaces between railway traffic control systems and diagnostic centres, but also for developing the unified diagnostic system. Keywords: railway traffic control systems, diagnostics, XML. 1. INTRODUCTION The railway traffic control systems are responsible for the safety and efficiency of trains movement on the rail network. Therefore, it is essential to ensure high reliability of these systems [7, 8]. Extremely helpful in achieving this objective may be centralized diagnostic systems, which, through acquisition of diagnostic data and usage of inference methods can help detect failures and minimize service and maintenance costs. Modern railway traffic control systems commonly use Information Technology (IT) in order to perform processing and logging diagnostics data in diagnostic centres [5, 6]. However, there is a lack of acquiring and structuring data standards what causes that the producers of the railway traffic control systems use their own solutions in this domain [9]. Therefore, despite the lack of technological barriers, there is a great difficulty in obtaining consistent diagnostic data and analysing them. The issue of unifying form of railway traffic control system diagnostic data and its structures is very important. Unified data structure, which is application-independent and vendor-independent, should simplify data exchange between railway systems and should allow to use various railway IT applications for data.

(13) 312. C!

(14) ¤ X

(15) (  

(16)  X

(17) ,  

(18) ; . acquisition, processing, visualisation and archiving. In this paper XML-based, specialized for railway traffic control system diagnostic data markup language was proposed.. 2. XML XML, or extensible markup language was originally used to store and exchange data between heterogeneous systems. Currently, as a set of simple rules, XML is often used to design other custom markup languages. Based on the XML specification many new markup languages were developed and acknowledged as standards, for example xHTML, RSS, MathML, CML, FpML, ebXML, GML, SVG, MusicML, SMIL, RDF, OWL [12]. XML was also used to develop standards for use in road transport - TransXML and rail transport – RailML [13, 14]. XML application comprehensiveness it is a result of its numerous advantages:  openness – XML is open W3C standard supported by software industry market leaders, and based on international standards,  strict syntax and parsing requirements – make the necessary parsing algorithms extremely simple, efficient, and consistent, allows validation using schema languages such as XSD,  comprehensiveness – the hierarchical structure is suitable for most types of data, even in the case of the complex data structure; XML is commonly used as a format for online and offline document storage and processing,  flexibility and extensibility – data structure is easy to extend and modify,  separates content from presentation – the look and feel of an XML document can be controlled by stylesheets, allowing change the look of a document without editing its content,  simplicity – simple and regular syntax that makes information coded in XML easy to read and understand,  readability – it is a simultaneously human- and machine-readable format,  internationalization – XML support multilingual documents and Unicode standard,  wide availability of tools – XML is supported by many software vendors, so there are numerous and readily available parsers and editing tools,  usability across the Internet. Each custom markup language created using XML specification should satisfy a list of syntax rules provided in the specification. Well-formed document conforms to the rules:  XML documents should begin with an XML declaration (XML prolog) which specifies the version of XML being used,  a single "root" element contains all the other elements (tags),  content must be properly nested (parents within roots, children within parents),  elements can contain attributes, attribute values must always be quoted; either single or double quotes can be used,  all XML elements must have a closing tag,.

(19) Extensible language for data description in diagnostic of traffic control systems. 313.  element names must start with a letter or underscore; can contain letters, digits, hyphens, underscores, and periods; cannot contain spaces,  the element tags are case-sensitive. A "well formed" XML document is not the same as a "valid" XML document. A "valid" XML document must be well-formed, but in addition, it must comply with the restraints stated in document type definitions. This requirement only makes sense for the documents with defined schema. W3C XML Schema is currently the most popular standard to formal describing constraints on the structure of an XML document [10]. The purpose of an XML Schema is to define the elements and attributes that can appear in a document, the number of child element and data types and default values for elements and attributes. XML Schema standard allow to define new markup languages. Therefore, the authors used it for this purpose. In the following sections of the article the new defined markup language intended to describe data acquired from railway traffic control system was presented.. 3. DESCRIPTION OF DIAGNOSTIC DATA FOR THE RAILWAY TRAFFIC CONTROL SYSTEMS Based on XML syntax an exemplary specification of document structure in the form of XML Schema file was developed. This specification can be a simple version of the markup language specialized for acquisition diagnostic data which are gathered from railway traffic control systems. In the specification the "faults" type was defined, which is a complex type and contains the declaration of the element "fault". <xs:element name="faults"> <xs:complexType> <xs:sequence> <xs:element ref="fault"/> </xs:sequence> </xs:complexType> </xs:element> <xs:simpleType name="ID"> <xs:restriction base="xs:integer"> <xs:minInclusive value="1"/> </xs:restriction> </xs:simpleType> <xs:element name="fault"> <xs:complexType> <xs:sequence> <xs:element ref="location"/> <xs:element ref="system"/> <xs:element ref="faultType"/> <xs:element ref="startTime"/> <xs:element ref="endTime"/> </xs:sequence>.

(20) 314. C!

(21) ¤ X

(22) (  

(23)  X

(24) ,  

(25) ; . <xs:attribute name="id" use="required" type="ID"/> </xs:complexType> </xs:element>. This element is composed of sub-elements:  "location" with details about the railway object, in which the railway traffic control system was located,  "system" with details about the railway traffic control system,  "faultType" with details about the failure  "startTime" and "endTime" with time stamps of the appearance of the failure. Attribute of the element "fault" is the "ID" number which is defined on the basis of a simple integer. The element "location" is a complex type having sub-elements: "stationName", "lineNumber" and "position" which are also simple types, respectively: string, integer, integer and sub-element "geoCoord", which indicates the geographic location of the railway traffic control system. <xs:element name="location"> <xs:complexType> <xs:sequence> <xs:element ref="stationName"/> <xs:element ref="lineNumber"/> <xs:element ref="position"/> <xs:element ref="geoCoord"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="stationName" type="xs:string"/> <xs:element name="lineNumber" type="xs:integer"/> <xs:element name="position" type="xs:integer"/> <xs:element name="geoCoord" type="posGPS"/>. In order to specify the latitude/longitude the element "geoCoord" type "posGPS" was defined. This element includes two sub-elements "latGPS" and "lonGPS" respectively "latitudeType" and "longitudeType". <xs:simpleType name="latitudeType"> <xs:restriction base="xs:decimal"> <xs:minInclusive value="-90.0"/> <xs:maxInclusive value="90.0"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="longitudeType"> <xs:restriction base="xs:decimal"> <xs:minInclusive value="-180.0"/> <xs:maxExclusive value="180.0"/> </xs:restriction> </xs:simpleType> <xs:complexType name="posGPS"> <xs:sequence>.

(26) Extensible language for data description in diagnostic of traffic control systems. 315. <xs:element ref="latGPS"/> <xs:element ref="lonGPS"/> </xs:sequence> </xs:complexType> <xs:element name="latGPS" type="latitudeType"/> <xs:element name="lonGPS" type="longitudeType"/>. Next element, which is the "system" has a string type attribute. The elements "startTime" and "endTime" are declared as dateTime. "FaultType" (complex type) with the attribute “alarmType” (string) and sub-elements: "code", "confirmState", "description" is the last element. The "Code" element is the simple type hexBinary. The "confirmState" is the type of confirmation defined on the basis of string, while "description" is a simply string. <xs:element name="system"> <xs:complexType> <xs:attribute name="type" use="required" type="xs:string"/> </xs:complexType> </xs:element> <xs:simpleType name="alarmType"> <xs:restriction base="xs:string"> <xs:enumeration value="errorMessage"/> <xs:enumeration value="diagnosticMessage"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="confirmation"> <xs:restriction base="xs:string"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> <xs:element name="faultType"> <xs:complexType> <xs:sequence> <xs:element ref="code"/> <xs:element ref="confirmState"/> <xs:element ref="description"/> </xs:sequence> <xs:attribute name="type" use="required" type="alarmType"/> </xs:complexType> </xs:element> <xs:element name="code" type="xs:hexBinary"/> <xs:element name="confirmState" type="confirmation"/> <xs:element name="description" type="xs:string"/> <xs:element name="startTime" type="xs:dateTime"/> <xs:element name="endTime" type="xs:dateTime"/>.

(27) 316. C!

(28) ¤ X

(29) (  

(30)  X

(31) ,  

(32) ; . When an abstract structure design documents (XML Schema) the graphic notation is often used [15]. The article visualise the created schema (Fig. 1).. Fig. 1. Visualization of the scheme in the XSD Diagram. Validation of the sample XML document containing information about a single failure was performed with the use of the XML parser. For this purpose previously defined XML Schema was used. <?xml version="1.0" encoding="UTF-8"?> <faults xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="diagsrk.xsd"> <fault id="1"> <location> <stationName>Radom</stationName> <lineNumber>8</lineNumber> <position>103</position> <geoCoord> <latGPS>51.391773</latGPS> <lonGPS>21.156334</lonGPS>.

(33) Extensible language for data description in diagnostic of traffic control systems. 317. </geoCoord> </location> <system type="LO_Frausher"></system> <faultType type="diagnosticMessage"> <code>05</code> <confirmState>false</confirmState> ˆ  ‰V  

(34) !!  #

(35) ˆD  ‰ </faultType> <startTime>2016-01-22T09:30:47</startTime> <endTime>2016-01-22T09:40:21</endTime> </fault> </faults>. 4. CONCLUSIONS XML language is constantly evolving and finding new applications. In accordance with XML specification the new standards are formed, while the others are still being developed and expanded. The authors of the article inspired with this technology suggested using of XML in the diagnostics of the railway traffic control systems. Nowadays each of the producers offer their own solutions, which are not coherent both in scope of acquired diagnostic data as well as the method of its representation. Developing the common standard based on XML would allow to standardise the diagnostic data structures gathered from the railway traffic control systems. Such an approach would ensure not only to design interfaces between railway traffic controls systems and diagnostic centres, but also allow to develop a unified diagnostic system [1, 2, 7]. It would be undoubtedly very helpful in building centralized diagnostic systems [3, 4]. As a result, this may lead to minimizing the costs of maintenance and servicing of the railway traffic control systems.. References 1. 2.. 3. 4.. 5. 6.. Ciszewski T., Wojciechowski J.: Logistyczne zastosowania systemów informacyjnych, Logistyka 3/2012, ISSN 1231-5478.   -  

(36) ']X

(37) ¤ 

(38) C]Y

(39) *#   

(40) 

(41) ;   

(42) ,  !

(43) 

(44) 

(45) '

(46) with a Complex Spatial Structure, Information, Communication and Environment / Marine Navigation and Safety of Sea Transportation, str. 131-134, CRC Press/Balkema. ¤ 

(47) C]X

(48)  

(49) (]Y

(50) ¤ 

(51) C]X

(52)  

(53) (]Y

(54) ( 

(55) #  

(56)

(57)  

(58)   

(59) 

(60)  X

(61) “ !

(62) [’<==€X

(63) *++

(64) ><‚>-5478. ¤ 

(65) C]X

(66)  

(67) (]Y

(68) '  

(69) #

(70) ,,; -3 for testing of railway interlocking systems, 10th Conference, TST 2010, Katowice - " X

(71)   X

(72) ) 

(73) <=-23, 2010, Springer-Verlag, Series: Communications in Computer and Information Science, Vol. 104, (pp.447-454), Mikulski Jerzy (Ed.) (470 p.), ISBN: 978-3-642-16471-2. ¤ 

(74) C]X

(75)  

(76) (]Y

(77) ASN. 1 notation for exchange of data in computer-based railway control systems, Transport Problems, Tom 4 C

(78) <X

(79) ( 

(80)  

(81) ˆX

(82) B 

(83) <==] ¤ 

(84) C]X

(85)  

(86) (]

(87) +

(88)  

(89) 

(90) 

(91)   

(92)

(93)  

(94)  

(95) 

(96)   

(97) 

(98)  !

(99)   

(100) '+ ]>X

(101) ,  

(102) $

(103) 

(104) /!  X

(105) 

(106) ><X

(107) B

(108) <==..

(109) 318. 7. 8. 9.. 10. 11.. 12. 13. 14. 15.. C!

(110) ¤ X

(111) (  

(112)  X

(113) ,  

(114) ; . ¤ 

(115) C]X

(116)  

(117) (]Y

(118) C  

(119)  

(120)

(121)   

(122)   X

(123) *# 

(124) Transportu, nr 6/2013, str. 46-48, ISSN 1899-0622. ¤ 

(125) C]X

(126)  

(127) (]X

(128)   -  

(129) ']Y

(130) C  

(131)  

(132) # 

(133) krytycznej, Logistyka 4/2014, str. 758-763, ISSN 1231-5478.  

(134) (]X

(135) (  

(136) ']Y

(137) 

(138) 

(139)  

(140) 

(141)  ! 

(142) 

(143)  

(144) “;+

(145) Drzewica, Zeszyty Naukowo-,

(146) + 

(147) *%

(148) 

(149) ,

(150)   

(151)

(152)   X

(153) + Y

(154) $  

(155)  #e, Wydanie 95 z. 154, str. 453-465. Priscilla Walmsley: Wszystko o XML Schema, WNT, 2008. Traczyk T.: XML -  

(156) 

(157) 

(158) 

(159)    Y

(160) $  

(161)  #

(162)

(163)  #

(164) % 

(165) 

(166) « 

(167) )/';“?X

(168) +

(169) #  ]

(170)   X

(171) ementowanie, eksploatowanie, 2003, pp. 41-53. http://schemas.liquid-technologies.com http://www.transxml.org https://www.railml.org http://regis.cosnier.free.fr/?page=XSDDiagram. $26'6-$671\[6\&2";'X1\_*;012'\-'\'-x* STEROWANIA RUCHEM KOLEJOWYM Streszczenie: (

(172) 

(173)  

(174) 

(175)   

(176)  

(177)  

(178)   !

(179) #  

(180) *,

(181) ^ !]

(182) *#   

(183) ,  !_

(184)

(185) 

(186)   

(187)  ! 

(188) 

(189)  

(190)  X

(191) 

(192) potrzeby centrów diagnostycznych. Brak standardów dla formatów danych diagnostycznych oraz  

(193) 

(194)  

(195)  X

(196) %

(197)  

(198) 

(199)  

(200)

(201) 

(202)  

(203)  

(204)     ]

(205) , 

(206) X

(207) 

(208)   

(209)  

(210)   !X

(211) 

(212) %

(213)  &

(214)

(215)   

(216) 

(217)  

(218)  ! X

(219) 

(220) 

(221) 

(222) |

(223)  ]

(224) (

(225) 

(226)     

(227)   

(228)  !

(229) 

(230)   

(231) ”$“

(232) ^ !]

(233) ”

(234) $ 

(235) “ ! !_

(236)   !

(237) 

(238)   X

(239) 

(240)  %

(241)  %&

(242) 

(243) # 

(244)   

(245)  

(246)  

(247)  ! 

(248)   

(249) 

(250) % systemów sterowania ruchem kolejowym. Ujednolicenie struktur danych  ! 

(251)    

(252) 

(253) 

(254) 

(255)  

(256) #

(257)  

(258)  

(259) 

(260)

(261)  

(262)  ! X

(263) 

(264)  %

(265) 

(266)   

(267)  !

(268) 

(269)  ! ! . '

(270) !uczowe: systemy sterowania ruchem kolejowym, diagnostyka, XML. ACKNOWLEDGEMENT The paper was carried out as a part of the research project of the National Centre for Research and Development NCBiR NR PBS3/A6/29/2015, titled „The system for maintenance data acquisition and analysis of reliability and safety of traffic control systems"..

(271)

Cytaty

Powiązane dokumenty

The Gellish language makes a clear distinction between individual things and kinds of things (concepts), and requires that each individual thing is classified by a kind of

Even though practices consisting in purposeful application of professional knowledge to solving assessment problems are desirable, it is worth looking at the role of the

Z przeprowadzonych rozwaSaM wynika, Se przy projektowaniu urzOdzeM sterowania ruchem kolejowym dla danej linii bOd\ fragmentu sieci kolejowej, uwzglKdnienie nawisu taboru

Реалізація технології семантичного Веб у вигляді середовища формування та використання баз знань дає можливість здійснювати обмін даними і знаннями,

Podkreœlano przy tym, ¿e w celu osi¹gniêcia wysokie- go poziomu ochrony œrodowiska naturalnego niezbêdne jest, aby pañstwa cz³onkowskie UE oprócz podejmowania dzia³añ w

The available document representations and similarity measures in conjunction with clustering and classication methods open many opportunities to create structural XML

This means that the results of the thesis are immediately applicable in systems that manipulate XML documents and require the execution of data mining tasks such as clustering

[r]