JP4220573B2 - Railway signal system database verification method - Google Patents

Railway signal system database verification method Download PDF

Info

Publication number
JP4220573B2
JP4220573B2 JP2008104731A JP2008104731A JP4220573B2 JP 4220573 B2 JP4220573 B2 JP 4220573B2 JP 2008104731 A JP2008104731 A JP 2008104731A JP 2008104731 A JP2008104731 A JP 2008104731A JP 4220573 B2 JP4220573 B2 JP 4220573B2
Authority
JP
Japan
Prior art keywords
data
database
verification
railway
schema
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.)
Expired - Lifetime
Application number
JP2008104731A
Other languages
Japanese (ja)
Other versions
JP2008198230A (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.)
Kyosan Electric Manufacturing Co Ltd
Original Assignee
Kyosan Electric Manufacturing 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 Kyosan Electric Manufacturing Co Ltd filed Critical Kyosan Electric Manufacturing Co Ltd
Priority to JP2008104731A priority Critical patent/JP4220573B2/en
Publication of JP2008198230A publication Critical patent/JP2008198230A/en
Application granted granted Critical
Publication of JP4220573B2 publication Critical patent/JP4220573B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Description

本発明は、鉄道信号システム用のデータベースを検証するデータベース検証方法に関する。   The present invention relates to a database verification method for verifying a database for a railway signal system.

近時、鉄道信号システムは、デジタル制御技術の導入が進み、従来のアナログ制御技術よりも多くの制御要素をデジタル化してデータとして扱えるようにすることが要望されている。
このような要望に答えるためには、制御要素を定義するデータベースが必要であり、例えば、RDB(リレーショナル・データベース)ソフトウェア等のアプリケーションプログラムを適用して、鉄道信号システム用のデータベースが作成されていた。
Recently, with the introduction of digital control technology, railway signal systems are required to digitize more control elements than conventional analog control technology so that they can be handled as data.
In order to respond to such a request, a database for defining control elements is required. For example, a database for a railway signal system has been created by applying an application program such as RDB (relational database) software. .

しかしながら、従来の鉄道信号システム用データベースは、RDBソフトウェアに依存したデータ形式で作成されていた場合、以下のような問題があった。
すなわち、RDBソフトウェアに依存したデータ形式では、RDBソフトウェアが備える機能によりデータ表現形式が制限され、扱えるデータも制限され、データ同士の関連付けや演算内容なども別に定義する必要があり、データベースの構成が複雑、かつ制限要素も多いものとなり、作成する手間やコストもかかるという問題があった。また、データの中で別のデータを定義するといった階層構造のデータを定義することも難しかった。
However, when a conventional database for a railway signal system is created in a data format depending on RDB software, there are the following problems.
That is, in the data format that depends on RDB software, the data representation format is limited by the functions provided by RDB software, the data that can be handled is also limited, and it is necessary to define the association between data and the content of computation separately, and the configuration of the database There was a problem that it was complicated and had many restrictive elements, and it took time and effort to create it. It was also difficult to define hierarchical data such as defining other data in the data.

また、適用するRDBソフトウェアにより許容される範囲内で、データ表現形式や扱えるデータを増やそうとすると、独自のデータ定義要素を追加することになり、データベースの汎用性が損なわれ、仕様変更や改良にも手間がかかり、他のシステムとの親和性も損なわれるという問題もあった。   Also, if you try to increase the data representation format and the data that can be handled within the range allowed by the applied RDB software, you will add your own data definition elements, which will impair the general versatility of the database and change the specifications However, there is also a problem that it takes time and the compatibility with other systems is lost.

さらに、データベースで扱うデータ形式の汎用性を確保するため、例えば、CSV(Comma Separated Values)形式を適用することも可能であるが、鉄道システムにおいてCSVデータを長距離伝送した結果、データの区切りを示す「,」が1つでも抜けてしまうといった事態が発生すると、データの受け手側でデータを再現できず、データの信頼性及び一貫性の保証が困難になる。また、CSVデータ形式は、単純な表記形式であり、単純なデータの羅列であるため、データの中で別のデータを定義するといった階層構造のデータを定義することはできなかった。   Furthermore, in order to ensure the versatility of the data format handled by the database, for example, it is possible to apply the CSV (Comma Separated Values) format. When even one “,” shown is lost, data cannot be reproduced on the data receiver side, making it difficult to guarantee data reliability and consistency. Further, since the CSV data format is a simple notation format and is a simple list of data, it has not been possible to define hierarchical data such as defining other data in the data.

すなわち、鉄道信号システムにおいて、デジタル制御技術を適用してデジタルデータを扱う場合、以下の要件を満足するデータベースを作成する必要がある。1.多くの制御要素がデータとして扱え、拡張性が確保されていること。2.伝送したときのデータの信頼性、及び一貫性が確保されていること。3.階層構造等の多様なデータ形式を容易に定義できること。4.既存のデータベースからの移行が容易かつ低コストに実現できること。5.システム相互間でデータの親和性が確保されていること。   That is, when digital data is handled by applying digital control technology in a railway signal system, it is necessary to create a database that satisfies the following requirements. 1. Many control elements can be handled as data, and scalability is ensured. 2. The reliability and consistency of data at the time of transmission are ensured. 3. A variety of data formats such as hierarchical structures can be easily defined. 4). Migration from an existing database can be realized easily and at low cost. 5). Data compatibility is ensured between systems.

本発明の課題は、多くの制御要素をデータとして扱え、伝送したときのデータの信頼性、及び一貫性を確保でき、多様なデータ形式を容易に定義でき、既存のデータベースからの移行が容易かつ低コストに実現でき、システム相互間でデータの親和性を確保できる鉄道信号システム用データベースに対して、データの制約条件に従っているか妥当性の検証を行う検証方法を提供することである。   The problem of the present invention is that many control elements can be handled as data, the reliability and consistency of data when transmitted can be ensured, various data formats can be easily defined, and migration from an existing database is easy and To provide a verification method for verifying the validity of a data base for a railway signal system that can be realized at low cost and that can secure data compatibility between systems, in accordance with data constraint conditions.

上記課題を解決するため、本発明は、XMLを用いて、ATC制御図表、連動図表、信号現示図表、ATS制御図表、又は踏切制御図表に含まれる各種制御要素をXMLのツリー構造を適用して分類し、該ツリー構造の上位と下位に連結関係があるように各制御要素が配置され、且つ、該制御要素が実際の制御内容と相互に連携する他の制御要素の関わり方を含めたメタ表記(制御要素の型や内容を定義)により表わされる形式で、前記ATC制御図表、連動図表、信号現示図表、ATS制御図表、又は踏切制御図表が表現される鉄道信号システム用データベースに対して、前記鉄道信号システム用データベースのデータ制約条件が定義されたスキーマと、このスキーマに従って鉄道信号システム用データベースのデータ構成を検証するXMLパーサと、スキーマ言語で記述できないデータに対する制約条件を検証する付加的な検証プログラムと、データベースのデータの編集や出力を行うデータベース管理システムアプリケーションとを備えた鉄道信号システム用データベースシステムによって、データ検証を行う前記鉄道信号システム用データベースの検証方法であって、前記鉄道信号システム用データベースシステムが、検証前の前記鉄道信号システム用データベースを読み込んで、前記XMLパーサを用いて、当該鉄道信号システム用データベースのスキーマに定義されたデータ制約条件に従ってデータが登録されているか妥当性の検証を行う第1検証工程と、前記鉄道信号システム用データベースシステムが、前記第1検証工程で検証処理された前記鉄道信号システム用データベースに対して、前記付加的な検証プログラムを実行することで、スキーマ言語で記述できないデータに対する制約条件に従ってデータが登録されているか妥当性の検証を行う第2検証工程と、前記鉄道信号システム用データベースシステムが、前記第2検証工程で検証処理された前記鉄道信号システム用データベースのデータを、前記データベース管理システムアプリケーションを実行することで、外部からの編集指令に従って編集するデータ編集工程と、前記鉄道信号システム用データベースシステムが、前記データ編集工程により編集されたデータベースデータに対して、前記XMLパーサ前記付加的な検証プログラムとを実行して前記鉄道信号システム用データベースのスキーマに定義されたデータ制約条件と、スキーマ言語で記述できないデータに対する制約条件とに従っているか妥当性の検証を行う編集データ検証工程と、この編集データ検証工程によって前記編集されたデータベースデータの妥当性が確保されていると検証された場合に、前記鉄道信号システム用データベースシステムが、前記データベース管理システムアプリケーションを実行して、当該データベースデータを前記鉄道信号システム用データベースに登録するデータ登録工程と、前記編集データ検証工程によって前記編集されたデータベースデータの妥当性が確保されていると検証できなかった場合に、前記鉄道信号システム用データベースシステムが、前記データベース管理システムアプリケーションを実行して、当該データベースデータを再編集させる再編集工程と、を含むことを特徴としている。
In order to solve the above-mentioned problems, the present invention applies an XML tree structure to various control elements included in an ATC control chart, a linkage chart, a signal display chart, an ATS control chart, or a railroad crossing control chart using XML. Each control element is arranged so that there is a connection relationship between the upper and lower levels of the tree structure, and the relationship between the control elements and other control elements that interact with the actual control content is included. For the railway signal system database in which the ATC control chart, interlocking chart, signal display chart, ATS control chart, or railroad crossing control chart is expressed in a format expressed by meta notation (defining the type and contents of control elements) XM for verifying the data structure of the railway signal system database according to the schema in which the data constraint conditions of the railway signal system database are defined Data verification is performed by a database system for railway signal systems that includes a parser, an additional verification program that verifies constraints on data that cannot be described in a schema language, and a database management system application that edits and outputs database data. The railroad signal system database verification method, wherein the railroad signal system database system reads the railroad signal system database before verification and uses the XML parser to store the railroad signal system database. A first verification step for verifying whether or not data is registered in accordance with data constraint conditions defined in the schema; and the railroad signal system in which the database system for the railroad signal system is verified in the first verification step. for Against database, by executing the additional verification program, and a second verification step of verifying whether validity data is registered in accordance with that constraint conditions against the can not be described in a schema language data, the train database system signal system, the data of the second and verification processing in the validation process database for the railway signaling systems, by executing the database management system application, the data editing step of editing in accordance with the editing command from outside the database system for the railway signaling system is defined, for the database data edited by the data editing process, running with the XML parser and the additional verification program, the schema of the database for railway signaling system Data constraints and schema terms When it is verified that the validity of the edited database data is ensured by the edit data verification process that verifies whether or not the restriction condition for the data that cannot be described in words is satisfied, and the edit data verification process, It said database system for railway signaling system, running the database management system application, a data registration step of registering the database data in the railway signaling system database, the database data by the editing data verification step is the editing A re-editing step in which the database system for the railway signal system executes the database management system application and re-edits the database data when the validity cannot be verified. Special It is set to.

本発明に従うと、多くの制御要素をデータとして扱え、伝送したときのデータの信頼性、及び一貫性を確保でき、多様なデータ形式を容易に定義でき、既存のデータベースからの移行が容易かつ低コストに実現でき、システム相互間でデータの親和性を確保できる鉄道信号システム用のデータベースを提供することができる。また、鉄道信号システム用のデータベースの信頼性を保証するための検証工程を容易かつ低コストで多重化することができ、データベースのデータを検証するシステム自体の高信頼化が実現できる。   According to the present invention, many control elements can be handled as data, the reliability and consistency of data when transmitted can be ensured, various data formats can be easily defined, and migration from an existing database is easy and low. It is possible to provide a database for a railway signal system that can be realized at a low cost and can secure data compatibility between systems. Further, the verification process for guaranteeing the reliability of the database for the railway signal system can be easily and inexpensively multiplexed, and the reliability of the system itself for verifying the data in the database can be realized.

以下、図を参照して本発明の実施の形態を詳細に説明する。
まず、鉄道信号システム用のデータベースを作成するために、XML(eXtensible Markup Language)技術を適用する根拠について説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
First, the basis for applying XML (eXtensible Markup Language) technology to create a database for a railway signal system will be described.

鉄道信号システム用のデータベースにおいては、上記要件1〜5に纏めた事項を満足することが望ましく、今後の鉄道信号システムのデジタル化において重要な要素となる。また、制御要素を定義したデータによりデータベースを構築する際には、データの定義内容や定義規則を標準化することが、公共性の高い鉄道システムでは必要であり、上記要件1〜5を満足する上でも重要になる。   In the database for the railway signal system, it is desirable to satisfy the items summarized in the above requirements 1 to 5, which will be an important factor in the future digitization of the railway signal system. In addition, when constructing a database with data defining control elements, it is necessary in a highly public railway system to standardize the definition contents and definition rules of data, and satisfy the above requirements 1-5. But it becomes important.

近時、インターネット等の通信ネットワーク上で送受信されるデータの内容及び規則を記述するデータ記述言語としてXML技術が注目されており、このXML技術について簡単に説明する。
XML技術は、HTML(Hyper Text Markup Language)技術の欠点として、多種多様なデータ内容の定義が困難、及び企業間でのデータ再利用が困難であることを解決するために開発された技術である。このため、XML技術は、データの定義内容及び定義規則等の情報をデータに埋め込むことが可能になっており、データの構成及び規則の定義を記述する記述言語であるスキーマ言語(XMLスキーマ)と、スキーマ言語で記述されたデータを検証するXMLパーサという技術が提案されている。
Recently, the XML technology has attracted attention as a data description language for describing the contents and rules of data transmitted and received on a communication network such as the Internet, and this XML technology will be briefly described.
The XML technology is a technology developed to solve the difficulty of defining various data contents and the difficulty of reusing data between companies as a drawback of the Hyper Text Markup Language (HTML) technology. . For this reason, the XML technology makes it possible to embed information such as data definition contents and definition rules in data, and a schema language (XML schema) which is a description language for describing the structure of data and the definition of rules. A technique called an XML parser for verifying data described in a schema language has been proposed.

また、XMLでは、データ内に入れ子状にデータ(要素)を記述でき、データ構成を木(ツリー)構造で記述できるため、多くの制御要素をデータとして扱うことと、データの拡張性に有利である。   In XML, data (elements) can be described in a nested manner in the data, and the data configuration can be described in a tree structure, which is advantageous for handling many control elements as data and for data expandability. is there.

したがって、スキーマ言語でデータの構成及び規則の定義を記述し、アプリケーションにXMLパーサを組み込むことにより、データの内容及び規則の定義を標準化できる要素を有しており、例えば、ネットワークを介して会社間で送受信されるデータの再利用を容易に実現できる。   Therefore, by describing the structure of data and the definition of rules in a schema language, and by incorporating an XML parser in the application, it has elements that can standardize the contents of data and the definition of the rules. Reuse of data transmitted / received in the network can be realized easily.

以上のようなXML技術の特徴を考慮すると、鉄道信号システム用のデータベースにおいて、XML技術を適用することにより上記要件1〜5を満足するデータベースを作成することが可能になり、以下のようなメリットを得ることができる。   Considering the characteristics of the XML technology as described above, it becomes possible to create a database that satisfies the above requirements 1 to 5 by applying the XML technology in the database for the railway signal system, and has the following merits. Can be obtained.

メリット1:XML技術を用いるとデータベースのデータモデルに木(ツリー)構造モデルが採用できるため、従来のデータベースモデルの主流であった表(テーブル)構造に比べてデータの表現力、拡張性、柔軟性に優れたデータベースを作成でき、高度なデータ処理が可能になる。   Advantage 1: When XML technology is used, a tree structure model can be adopted as the data model of the database. Therefore, data expression power, expandability, and flexibility compared to the table structure that has been the mainstream of conventional database models A database with excellent performance can be created, and advanced data processing becomes possible.

メリット2:XML技術を用いるとデータベースの論理設計が単純化かつ平易となり、設計及び試験作業を効率的に実施することが可能になり、その結果、成果物としてのデータベースの信頼性も高くなることが十分に期待できる。   Advantage 2: Using XML technology simplifies and simplifies the logical design of the database, enables efficient design and test work, and results in higher reliability of the database as a result. Can be expected enough.

メリット3:XML技術を用いるとデータベースを記述する際に、その記述するための規則を定義するデータベース用スキーマをスキーマ言語で記述でき、データに対する制約条件の検証内容の見通しが良くなるとともに、データ仕様の“あいまいさ”も排除することができるため、データに対する制約条件を検証する検証機能の完成度を高めることが容易になり、システム全体の価値の増大に寄与できる。   Advantage 3: When using XML technology, when describing a database, the schema for the database that defines the rules for describing the database can be described in a schema language. Therefore, it is easy to improve the completeness of the verification function for verifying the constraints on the data, which can contribute to the increase in the value of the entire system.

メリット4:スキーマ言語で記述することにより、データベースの信頼性検証全体に要するプログラム作成コストを低減でき、大幅な開発コストの削減が期待できる。   Advantage 4: By describing in a schema language, it is possible to reduce the cost of creating a program required for the entire database reliability verification, and a significant reduction in development cost can be expected.

メリット5:スキーマ言語に対応する汎用のXMLパーサ(XMLデータをプログラムに読み込む際のライブラリで、スキーマに従ったデータ検証機能も有する)をデータベースシステムに組み込むことが可能になり、データ破壊等の問題に対して、高いレベルでチェックを行うことが可能になり、データベースの信頼性確保という点でシステム強化を図ることができる。   Advantage 5: A general-purpose XML parser corresponding to a schema language (a library for reading XML data into a program and having a data verification function in accordance with the schema) can be incorporated into the database system, causing problems such as data destruction. On the other hand, it is possible to perform a check at a high level, and it is possible to enhance the system in terms of ensuring the reliability of the database.

メリット6:汎用のXMLパーサを利用することによって、複数のXMLパーサの組み込みも、開発コストや工程を増大させることなく可能になり、データに対する制約条件処理の二重化、すなわち、検証処理の信頼性の向上を容易に実現できる。   Advantage 6: By using a general-purpose XML parser, it is possible to incorporate multiple XML parsers without increasing development costs and processes, and double the constraint processing for data, that is, the reliability of verification processing. Improvement can be realized easily.

メリット7:汎用のXMLパーサを利用することによって、字句解析や構文解析といったテキスト形式データのデータ処理に不可欠な手続きがアプリケーションソフト側で不要になり、XMLパーサの補完的機能である「データに対する制約条件検証プログラム」及び「データベース管理システム構築用の各種アプリケーションプログラム」の開発が効率的かつ低コストで実現できる。   Advantage 7: By using a general-purpose XML parser, procedures necessary for data processing of text format data such as lexical analysis and syntax analysis become unnecessary on the application software side. Development of "condition verification program" and "various application programs for constructing database management system" can be realized efficiently and at low cost.

図1は、本発明を適用した鉄道信号システム用のデータベース作成プロセスの一例を示す図である。
図1のデータベース作成プロセスにおいて、まず、XMLを用いて鉄道信号システム用データベース(以下、RSDBという)10が必要とするデータを表現するための言語として、鉄道信号システム用データベース記述言語(以下、RSDBLという)を作成し、このRSDBLを用いてデータを登録するRSDB10を作成する(ステップS10)。このとき、RSDB10に登録されたデータは、検証されていないため、図中に示すように、検証前RSDB10と呼称する。
FIG. 1 is a diagram showing an example of a database creation process for a railway signal system to which the present invention is applied.
In the database creation process of FIG. 1, first, a railway signal system database description language (hereinafter referred to as RSDBL) is used as a language for expressing data required by the railway signal system database (hereinafter referred to as RSDB) 10 using XML. RSDB10 which registers data using this RSDBL is created (step S10). At this time, since the data registered in the RSDB 10 has not been verified, it is referred to as the pre-verification RSDB 10 as shown in the figure.

次いで、RSDB10に登録するデータの安全性・信頼性を確保することを目的として、RSDB10に登録するデータの制約条件を定義するRSDBL用スキーマ20を、XMLのスキーマ言語により記述する(ステップS20)。   Next, for the purpose of ensuring the safety and reliability of the data registered in the RSDB 10, the RSDBL schema 20 that defines the constraint conditions of the data registered in the RSDB 10 is described in the XML schema language (step S20).

次いで、RSDBL用スキーマ20に適用したスキーマ言語に対応する汎用のXMLパーサ30を利用して、RSDBLス用キーマ20に従ったRSDB10のデータ構成を検証する(ステップS30)。付加的検証プログラム40は、スキーマ言語で記述できないデータに対する制約条件を検証する機能を有し、XMLパーサ30の補完的役割実行手段としてRSDB10のデータに対する制約条件を検証する(ステップS40)。   Next, the general-purpose XML parser 30 corresponding to the schema language applied to the RSDBL schema 20 is used to verify the data structure of the RSDB 10 according to the RSDBL schema 20 (step S30). The additional verification program 40 has a function of verifying constraint conditions for data that cannot be described in a schema language, and verifies the constraint conditions for data in the RSDB 10 as a complementary role execution unit of the XML parser 30 (step S40).

上記各ステップS30,S40の処理を実行した結果、データの安全性及び信頼性を確保した検証後RSDB10´を作成できる。   As a result of executing the processes of steps S30 and S40, a post-verification RSDB 10 ′ that ensures the safety and reliability of data can be created.

以上のように、XML技術を用いて、鉄道信号システム用のデータベース記述言語RSDBLを作成し、RSDBLを用いて検証前RSDB10を作成し、RSDBL用スキーマ20をXMLのスキーマ言語により記述し、RSDBLス用キーマ20に適用したスキーマ言語に対応する汎用のXMLパーサ30を利用して検証前RSDB10のデータを検証し、XMLパーサ30の付加的な検証プログラム40により、RSDBL用スキーマ20で記述できない「データに対する制約条件」を検証して、データの安全性及び信頼性を確保した検証後RSDB10´の作成を完了する。   As described above, the database description language RSDBL for the railway signal system is created using the XML technology, the RSDB 10 before verification is created using the RSDBL, the RSDBL schema 20 is described in the XML schema language, and the RSDBL The data in the RSDB 10 before verification is verified using a general-purpose XML parser 30 corresponding to the schema language applied to the schema 20 for the schema, and the data that cannot be described in the RSDBL schema 20 by the additional verification program 40 of the XML parser 30 “Restriction conditions” are verified, and the creation of the post-verification RSDB 10 ′ that secures the safety and reliability of the data is completed.

したがって、検証後RSDB10´を利用した鉄道信号システムにおいて、制御要素を定義したデータの定義内容や定義規則を標準化することができ、上記メリット1〜7を実現することができる。   Therefore, in the railway signal system using the post-verification RSDB 10 ', the definition contents and definition rules of the data defining the control element can be standardized, and the above merits 1 to 7 can be realized.

また、検証後RSDB10´が適用可能な具体的な鉄道信号システムとして、デジタルATC(Automatic Train Control)や電子連動等のME化信号保安設備に実装可能であり、RSDB10´は最終段階データのデータ供給元として十分な安全性と信頼性を保証するデータベースシステムの構築を実現できる。   In addition, as a concrete railway signal system to which the RSDB 10 'can be applied after verification, it can be mounted on a digitalized ATC (Automatic Train Control) and an electronic signal security facility such as electronic interlocking, and the RSDB 10' supplies data for final stage data. It is possible to construct a database system that guarantees sufficient safety and reliability.

ここで、RSDBシステムの具体例を図2に示す。図2において、RSDBシステム100は、RSDB10と、RSDBL用スキーマ20と、XMLパーサ30と、付加的な検証プログラム40と、データベース管理システム(以下、DBMSという)アプリケーション50と、から構成される。RSDB10、RSDBL用スキーマ20、XMLパーサ30、及び付加的な検証プログラム40は、図1に示したものと同様の機能を有する。   Here, a specific example of the RSDB system is shown in FIG. In FIG. 2, the RSDB system 100 includes an RSDB 10, an RSDBL schema 20, an XML parser 30, an additional verification program 40, and a database management system (hereinafter referred to as DBMS) application 50. The RSDB 10, the RSDBL schema 20, the XML parser 30, and the additional verification program 40 have the same functions as those shown in FIG.

DBMSアプリケーション50は、データベース管理システム用のアプリケーションプログラムであり、XMLパーサ30により妥当性が検証されたRSDBデータD2を、アプリケーション機能で編集、帳票印刷などを行って、ユーザーが見やすい形式にRSDBデータを出力する。   The DBMS application 50 is an application program for a database management system. The RSDB data D2 whose validity has been verified by the XML parser 30 is edited by application functions, form printing, etc., and the RSDB data is converted into a format that is easy for the user to view. Output.

次に、図2のRSDBシステム100の動作を、図中に示した1〜4の順に説明する。1.XMLパーサ30において、RSDB10に登録されたデータの妥当性を、RSDBL用スキーマ20のスキーマ言語に従って検証する。
2.XMLパーサ30においてスキーマ言語で妥当性が検証できない「データに対する制約条件」を検証するため、XMLパーサ30から付加的な検証プログラム40にRSDBデータD1を渡して、RSDBデータD1の「データに対する制約条件」を検証する。
3.XMLパーサ30は、妥当性を検証したRSDBデータD2をDBMSアプリケーション50に渡して、RSDBデータD2の編集、帳票印刷などを行う。
4.DBMSアプリケーション50は、編集したRSDBデータD2をXMLパーサ30に渡して、RSDBデータD2の検証を上記1と2の工程と同様に行う。その検証の結果、RSDBデータD2の妥当性が確保されていることが検証できれば、RSDB10にデータ登録し、検証できなければ、DBMSアプリケーション50にて再編集を行う。
Next, the operation of the RSDB system 100 of FIG. 2 will be described in the order of 1 to 4 shown in the figure. 1. The XML parser 30 verifies the validity of the data registered in the RSDB 10 according to the schema language of the RSDBL schema 20.
2. In order to verify “constraints on data” whose validity cannot be verified in the schema language in the XML parser 30, the RSDB data D1 is passed from the XML parser 30 to the additional verification program 40, and the “constraints on data” in the RSDB data D1. Is verified.
3. The XML parser 30 passes the verified RSDB data D2 to the DBMS application 50, and edits the RSDB data D2 and prints a form.
4). The DBMS application 50 passes the edited RSDB data D2 to the XML parser 30 and performs verification of the RSDB data D2 in the same manner as in steps 1 and 2 above. As a result of the verification, if the validity of the RSDB data D2 can be verified, the data is registered in the RSDB 10, and if the verification is not possible, the DBMS application 50 performs re-editing.

以上のように、本実施の形態の鉄道信号システム用のデータベース作成プロセス、及びそのプロセスを適用してデーベースシステムを構成すれば、多くの制御要素をデータとして扱え、伝送したときのデータの信頼性、及び一貫性を確保でき、多様なデータ形式を容易に定義でき、既存のデータベースからの移行が容易かつ低コストに実現でき、システム相互間でデータの親和性を確保できる鉄道信号システム用のデータベースを提供することができる。   As described above, if the database creation process for the railway signal system of the present embodiment and the database system are configured by applying the process, many control elements can be handled as data and the reliability of the data when transmitted For railway signaling systems that can ensure the compatibility and consistency of data, can easily define various data formats, can be easily migrated from existing databases at low cost, and can ensure data compatibility between systems. A database can be provided.

また、XMLパーサ30の付加的な検証プログラム40により、RSDBL用スキーマ20で記述できない「データに対する制約条件」を検証可能にしたため、データベースの信頼性を保証できる。   Further, since the additional verification program 40 of the XML parser 30 makes it possible to verify “data constraint conditions” that cannot be described in the RSDBL schema 20, it is possible to guarantee the reliability of the database.

また、図2のRSDBシステム100の具体例として、ATC制御図表データベースの構成例を図3に示す。
図3のATC制御図表データベース60は、そのデータベース内に含まれる各種制御要素の一部を、XMLのツリー構造を適用して分類し、そのツリー構造の上位と下位に連結関係がある各制御要素を配置したものである。
As a specific example of the RSDB system 100 of FIG. 2, FIG. 3 shows a configuration example of an ATC control chart database.
The ATC control chart database 60 of FIG. 3 classifies a part of various control elements included in the database by applying an XML tree structure, and each control element having a connection relationship at the upper and lower levels of the tree structure. Is arranged.

ATC制御図表データベース60では、第1階層に「一段用地上車上」61、第2階層に「軌道回路順列」62、第3階層に「軌道回路」63、第4階層に「転てつ開通方向共通」641及び「転てつ開通方向別」642が配置されている。更に、「転てつ開通方向共通」641下の第5階層には「()軌道回路ID:once(数値(6桁))」651、「()所属区間番号:once(0 to 63)」652、「()上り下り:once(下り or 上り)」653、「()軌道回路名称:once(文字列)」654及び「ID化軌道回路名称:once(文字列)」655が配置され、「転てつ開通方向別」642下の第5階層には「転てつ開通方向」656が配置されている。   In the ATC control chart database 60, “on the first level ground vehicle” 61 on the first level, “track circuit permutation” 62 on the second level, “track circuit” 63 on the third level, and “turn over” on the fourth level. “Common direction” 641 and “By opening direction” 642 are arranged. Furthermore, in the fifth layer below “common opening direction” 641, “() track circuit ID: once (numerical value (6 digits))” 651, “() belonging section number: once (0 to 63)” 652, “() Up / Down: once (down or up)” 653, “() Track circuit name: once (character string)” 654 and “ID track circuit name: once (character string)” 655 are arranged, In the fifth layer below “By switching opening direction” 642, “Switching opening direction” 656 is arranged.

更に、「転てつ開通方向」656下の第6階層には「開通方向」661、「所属経路」662、「軌道回路長」663、「右行き対向転てつ条件」664及び「左行き対向転てつ条件」665が配置され、「所属経路」662下の第7階層には「()起点方隣接軌道回路:once(文字列 or Nothing)」671、「()終点方隣接軌道回路:once(文字列 or Nothing)」672、「()軌道回路起点方キロ程:once(数値)」673及び「()軌道回路終点方キロ程:once(数値)」674が配置されている。   Furthermore, in the sixth layer below the “turning opening direction” 656, the “opening direction” 661, the “affiliation route” 662, the “track circuit length” 663, the “right-facing counter-turning condition” 664 and the “left-handed” "Converse toppling condition" 665 is arranged, and in the seventh layer under "Affiliation route" 662, "() Origin adjacent track circuit: once (character string or Nothing)" 671, "() End track adjacent track circuit : Once (character string or Nothing) "672," () track circuit starting direction km: once (numerical value) "673, and" () track circuit end point km distance: once (numerical value) "674 are arranged.

以上のように、ATC制御図表に含まれる各種制御要素をXML化することにより、従来よりも汎用性のあるものに再構成することができ、仕様変更等にも容易に対応できるATC制御図表データベース60を提供することができる。   As described above, by converting various control elements included in the ATC control chart into XML, the ATC control chart database can be reconfigured to be more versatile than before and can easily cope with specification changes and the like. 60 can be provided.

また、ATC制御図表に含まれる各種制御要素をXMLのツリー構造を適用して分類し、そのツリー構造の上位と下位に連結関係がある各制御要素を配置することにより、各種制御要素を分類して連結関係を定義する作業を容易にすることができ、ATC制御図表データベース60を作成する際の作業負担を軽減できる。   In addition, the various control elements included in the ATC control chart are classified by applying the XML tree structure, and the control elements having connection relations are arranged at the upper and lower levels of the tree structure to classify the various control elements. Thus, the work of defining the connection relationship can be facilitated, and the work burden when the ATC control chart database 60 is created can be reduced.

また、図3のATC制御図表データベース60に配置された各制御要素では、「転てつ開通方向共通」641及び「転てつ開通方向別」642のように、実際の制御内容と、相互に連携する他の制御要素との関わり方を含めたメタ表記(制御要素の型や内容を定義)により明示されている。
または、ATC制御図表に含まれる制御要素を、従来の記号化された表記よりも、相互に連携する他の制御要素の関わり方をも含めて実際の制御内容を明示するように再表記することができ、ATC制御図表の解釈を更に容易にさせることができる。
In addition, in each control element arranged in the ATC control chart database 60 of FIG. 3, the actual control contents are mutually reciprocated, such as “common to turn opening direction” 641 and “for each turn opening direction” 642. It is specified by meta notation (defining the type and contents of the control element) including how to interact with other linked control elements.
Or, the control elements included in the ATC control chart should be rewritten so that the actual control contents are clearly shown, including the way the other control elements interact with each other, rather than the conventional symbolized notation. And the interpretation of the ATC control chart can be made easier.

また、図3のATC制御図表データベース60において、第5階層に配置した「()軌道回路ID:once(数値(6桁))」651及び「()所属区間番号:once(0 to 63)」652等では、「once(数値(6桁))」及び「once(0 to 63)」が記述されている。これらの記述は、当該制御要素のデータの型及値集合並びに出現頻度等を表しており、RSDBL用スキーマ20での解釈を容易にするものである。   Further, in the ATC control chart database 60 of FIG. 3, “() track circuit ID: once (numerical value (6 digits))” 651 and “() belonging section number: once (0 to 63)” arranged in the fifth hierarchy. In 652 etc., “once (numerical value (6 digits))” and “once (0 to 63)” are described. These descriptions represent the data type and value set of the control element, the appearance frequency, and the like, and facilitate interpretation in the RSDBL schema 20.

なお、本発明を適用してXML化した鉄道信号用データベースの一例として、図3のATC制御図表データベース60の構成例を示したが、他の鉄道信号用データベースとして、例えば、連動図表、信号現示図表、ATS制御図表又は踏切制御図表等にも適用可能である。   As an example of the railway signal database converted into XML by applying the present invention, the configuration example of the ATC control chart database 60 of FIG. 3 is shown. However, as another railway signal database, for example, an interlocking chart, a signal The present invention is also applicable to a display chart, an ATS control chart, a level crossing control chart, and the like.

本発明を適用した一実施の形態における鉄道信号システム用のデータベース作成プロセスの一例を示す図である。It is a figure which shows an example of the database preparation process for the railway signal system in one embodiment to which this invention is applied. 本発明を適用した一実施の形態における鉄道信号システム用のデータベースシステムの一例を示す図である。It is a figure which shows an example of the database system for railroad signal systems in one embodiment to which this invention is applied. 本発明を適用した一実施の形態におけるXMLのツリー構造を適用したATC制御図表データベースの構成例を示す図である。It is a figure which shows the structural example of the ATC control chart database to which the tree structure of XML in one embodiment to which this invention is applied is applied.

符号の説明Explanation of symbols

10 RSDB
20 RSDBL用スキーマ
30 XMLパーサ
40 付加的な検証プログラム
50 DBMSアプリケーション
60 ATC制御図表データベース
10 RSDB
20 RSDBL schema 30 XML parser 40 Additional verification program 50 DBMS application 60 ATC control chart database

Claims (1)

XMLを用いて、ATC制御図表、連動図表、信号現示図表、ATS制御図表、又は踏切制御図表に含まれる各種制御要素をXMLのツリー構造を適用して分類し、該ツリー構造の上位と下位に連結関係があるように各制御要素が配置され、且つ、該制御要素が実際の制御内容と相互に連携する他の制御要素の関わり方を含めたメタ表記(制御要素の型や内容を定義)により表わされる形式で、前記ATC制御図表、連動図表、信号現示図表、ATS制御図表、又は踏切制御図表が表現される鉄道信号システム用データベースに対して、
前記鉄道信号システム用データベースのデータ制約条件が定義されたスキーマと、このスキーマに従って鉄道信号システム用データベースのデータ構成を検証するXMLパーサと、スキーマ言語で記述できないデータに対する制約条件を検証する付加的な検証プログラムと、データベースのデータの編集や出力を行うデータベース管理システムアプリケーションとを備えた鉄道信号システム用データベースシステムによって、
データ検証を行う前記鉄道信号システム用データベースの検証方法であって、
前記鉄道信号システム用データベースシステムが、検証前の前記鉄道信号システム用データベースを読み込んで、前記XMLパーサを用いて、当該鉄道信号システム用データベースのスキーマに定義されたデータ制約条件に従ってデータが登録されているか妥当性の検証を行う第1検証工程と、
前記鉄道信号システム用データベースシステムが、前記第1検証工程で検証処理された前記鉄道信号システム用データベースに対して、前記付加的な検証プログラムを実行することで、スキーマ言語で記述できないデータに対する制約条件に従ってデータが登録されているか妥当性の検証を行う第2検証工程と、
前記鉄道信号システム用データベースシステムが、前記第2検証工程で検証処理された前記鉄道信号システム用データベースのデータを、前記データベース管理システムアプリケーションを実行することで、外部からの編集指令に従って編集するデータ編集工程と、
前記鉄道信号システム用データベースシステムが、前記データ編集工程により編集されたデータベースデータに対して、前記XMLパーサ前記付加的な検証プログラムとを実行して前記鉄道信号システム用データベースのスキーマに定義されたデータ制約条件と、スキーマ言語で記述できないデータに対する制約条件とに従っているか妥当性の検証を行う編集データ検証工程と、
この編集データ検証工程によって前記編集されたデータベースデータの妥当性が確保されていると検証された場合に、前記鉄道信号システム用データベースシステムが、前記データベース管理システムアプリケーションを実行して、当該データベースデータを前記鉄道信号システム用データベースに登録するデータ登録工程と、
前記編集データ検証工程によって前記編集されたデータベースデータの妥当性が確保されていると検証できなかった場合に、前記鉄道信号システム用データベースシステムが、前記データベース管理システムアプリケーションを実行して、当該データベースデータを再編集させる再編集工程と、
を含むことを特徴とする鉄道信号システム用データベースの検証方法。
Using XML, classify various control elements included in the ATC control chart, interlocking chart, signal display chart, ATS control chart, or level crossing control chart using the XML tree structure, and the upper and lower levels of the tree structure. Each control element is arranged so that there is a connection relationship, and a meta notation including how the control element interacts with the actual control contents (defines the type and contents of the control element) ) For the railway signaling system database in which the ATC control chart, the interlocking chart, the signal display chart, the ATS control chart, or the railroad crossing control chart is represented,
A schema in which data constraint conditions for the railway signal system database are defined, an XML parser that verifies the data configuration of the database for the railway signal system in accordance with this schema, and additional constraints that verify the constraint conditions for data that cannot be described in the schema language With a database system for railway signal systems that includes a verification program and a database management system application that edits and outputs database data,
A method for verifying the database for the railway signaling system for performing data verification,
The railway signaling system database system reads the railway signaling system database before verification, and the XML parser is used to register data in accordance with the data constraint conditions defined in the railway signaling system database schema. A first verification process for verifying whether or not
It said database system for railway signaling system, to the first verification step in the verification process have been the railway signaling system database, by executing the additional verification program, against a can not be described in a schema language data a second verification step of verifying whether validity data is registered in accordance with constraints conditions,
It said database system for railway signaling system, the data of the second and verification processing in the validation process database for the railway signaling systems, by executing the database management system application, data editing to be edited according to edit command from outside Process,
The railway signal system database system is defined in the railway signal system database schema by executing the XML parser and the additional verification program on the database data edited in the data editing step. Edit data verification process for verifying the validity of the data constraint conditions and the constraint conditions for data that cannot be described in a schema language,
If the validity of the database data the editing by the editing data verification process is verified as being secured, said database system for railway signaling system, running the database management system application, the database data A data registration step of registering in the railway signaling system database;
When it is not possible to verify that the edited database data has been validated by the edited data verification step, the database system for the railway signal system executes the database management system application, and the database data Re-editing process to re-edit,
A method for verifying a database for a railway signal system, comprising:
JP2008104731A 2002-02-28 2008-04-14 Railway signal system database verification method Expired - Lifetime JP4220573B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008104731A JP4220573B2 (en) 2002-02-28 2008-04-14 Railway signal system database verification method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002053986 2002-02-28
JP2008104731A JP4220573B2 (en) 2002-02-28 2008-04-14 Railway signal system database verification method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002169561A Division JP4129148B2 (en) 2002-02-28 2002-06-11 Database system for railway signaling system

Publications (2)

Publication Number Publication Date
JP2008198230A JP2008198230A (en) 2008-08-28
JP4220573B2 true JP4220573B2 (en) 2009-02-04

Family

ID=39757037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008104731A Expired - Lifetime JP4220573B2 (en) 2002-02-28 2008-04-14 Railway signal system database verification method

Country Status (1)

Country Link
JP (1) JP4220573B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106896751A (en) * 2017-04-10 2017-06-27 湖南中车时代通信信号有限公司 The universal transform method and device of ATS and interlocking code bit table based on data configuration
CN109017882A (en) * 2018-09-13 2018-12-18 广州地铁集团有限公司 A kind of city rail traffic signal system O&M failure emergency treatment device and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5879235B2 (en) * 2012-09-20 2016-03-08 株式会社日立製作所 Method, apparatus and program for parallel verification of semi-structured messages

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106896751A (en) * 2017-04-10 2017-06-27 湖南中车时代通信信号有限公司 The universal transform method and device of ATS and interlocking code bit table based on data configuration
CN106896751B (en) * 2017-04-10 2019-10-01 中国中车股份有限公司 The universal transform method and device of ATS and interlocking code bit table based on data configuration
CN109017882A (en) * 2018-09-13 2018-12-18 广州地铁集团有限公司 A kind of city rail traffic signal system O&M failure emergency treatment device and method

Also Published As

Publication number Publication date
JP2008198230A (en) 2008-08-28

Similar Documents

Publication Publication Date Title
US8321834B2 (en) Framework for automatically merging customizations to structured code that has been refactored
US7032210B2 (en) Method and system for generating program source code of a computer application from an information model
Malavolta et al. Providing architectural languages and tools interoperability through model transformation technologies
AU2001270901B2 (en) Method of and software for recordal and validation of changes to markup language files
KR100977352B1 (en) System and method for supporting non-native xml in native xml of a word-processor document
CA2641941C (en) Legacy software modernization system
AU2006213978B2 (en) Document processing method, recording medium, and document processing system
Fu et al. Model checking XML manipulating software
WO2011116471A1 (en) Method and system for generating updated test data
CN110007924A (en) The automated construction method and system of YANG model configuration interface
JP4220573B2 (en) Railway signal system database verification method
Wimmer A semi‐automatic approach for bridging DSMLs with UML
Visconti et al. Model-driven engineering city spaces via bidirectional model transformations
Dong et al. A model transformation approach for design pattern evolutions
JP4129148B2 (en) Database system for railway signaling system
JPH09146931A (en) Document type definition generating device
Schauerhuber et al. Bridging WebML to model-driven engineering: from document type definitions to meta object facility
Gherabi et al. Robust representation for conversion UML class into XML Document using DOM
US7058651B2 (en) Method, computer program product, and system for automatic class generation with simultaneous customization and interchange capability
CN101807147A (en) Method for automatically abstracting software architecture from embedded software code
CN115292791A (en) Method for converting JSL-route expert design data into general data format
KR100691261B1 (en) System and method for supporting xquery update language
Fodor et al. Conceptual normalisation of XML data for interoperability in tourism
Song et al. Visual XML schemas based on reserved graph grammars
Ehrig et al. Object-oriented connector-component architectures

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080909

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081003

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081111

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4220573

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131121

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131121

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term