Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7495907B2 - Telegram conversion system and telegram conversion method - Google Patents
[go: Go Back, main page]

JP7495907B2 - Telegram conversion system and telegram conversion method - Google Patents

Telegram conversion system and telegram conversion method Download PDF

Info

Publication number
JP7495907B2
JP7495907B2 JP2021096091A JP2021096091A JP7495907B2 JP 7495907 B2 JP7495907 B2 JP 7495907B2 JP 2021096091 A JP2021096091 A JP 2021096091A JP 2021096091 A JP2021096091 A JP 2021096091A JP 7495907 B2 JP7495907 B2 JP 7495907B2
Authority
JP
Japan
Prior art keywords
format
message conversion
electronic message
communication data
conversion device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021096091A
Other languages
Japanese (ja)
Other versions
JP2022187876A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2021096091A priority Critical patent/JP7495907B2/en
Publication of JP2022187876A publication Critical patent/JP2022187876A/en
Application granted granted Critical
Publication of JP7495907B2 publication Critical patent/JP7495907B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Description

本発明は、電文変換システム及び電文変換方法に関し、オンライン系システムと等価な環境の試験系システムでソフトウェアの評価等の試験を行うために、オンライン系システムから取得した電文を変換して試験系システムに送信する電文変換システム及び電文変換方法に適用して好適なものである。 The present invention relates to a message conversion system and a message conversion method, and is suitable for use in a message conversion system and a message conversion method that convert messages acquired from an online system and transmit them to a test system in order to perform tests such as software evaluation in a test system that has an environment equivalent to an online system.

列車運行管理システムのようなオンライン系システムは、常時稼働するシステムであり一旦稼働すると、保守やシステム更新を容易には実施できないという特徴がある。例えば列車運行管理システムの場合、オンライン稼働中に保守やシステム更新を実施する際は、列車間合いと呼ばれる列車の運行がない約1~2時間の時間内に、システムの停止、試験、更新作業、起動、及び健全性確認等を実施しなければならない。 Online systems such as train traffic control systems are systems that operate continuously, and once they are up and running, one of the characteristics is that maintenance and system updates cannot be easily carried out. For example, in the case of a train traffic control system, when carrying out maintenance or system updates while the system is operating online, the system must be stopped, tested, updated, started up, and its health checked during a period of approximately one to two hours, known as the train gap, when there are no trains running.

なお、オンライン系システムのシステム更新を実施しようとする際は、オンライン系システムから独立した試験系システムと現場設備を模擬するシミュレータを用いて、ソフトウェア評価を実施してから、オンライン系システムに投入する方法が一般的である。しかし、上記方法においては、シミュレータがオンライン系システム内の現場設備のシステム条件を完全に模擬することは不可能であるため、シミュレータによって精度の高いソフトウェア評価を実施することが難しかった。 When attempting to update an online system, it is common to use a test system that is independent of the online system and a simulator that simulates on-site equipment to perform software evaluation before introducing the software into the online system. However, with the above method, it is impossible for the simulator to completely simulate the system conditions of the on-site equipment in the online system, making it difficult to perform highly accurate software evaluation using the simulator.

ここで、シミュレータの精度に左右されないソフトウェア評価の方法としては、平行モニタラン試験方式がある。平行モニタラン試験方式では、オンライン系システム内の現場設備からの通信データを試験系システムで取得し、試験系システムでソフトウェア評価を行う。オンライン系システムから試験系システムに通信データを取り込む手段には、ネットワークアナライザのようにローカルエリアネットワークを介して直接、通信データを取得する装置が用いられる。このような平行モニタラン試験方式によれば、列車間合いの時間の制約を受けず、1日中ソフトウェア評価試験を実施することができる。また、試験系システムにおいて、オンライン系の現場設備からの通信データを直接取得できるため、シミュレータでは再現できない制御のタイミング等を再現可能となり、オンライン系システムと等価なシステム条件下で、精度の高いソフトウェア評価試験が実施可能となる。 Here, a method of software evaluation that is not affected by the accuracy of a simulator is the parallel monitor run test method. In the parallel monitor run test method, communication data from the field equipment in the online system is acquired by the test system, and software evaluation is performed by the test system. A device that acquires communication data directly via a local area network, such as a network analyzer, is used to import communication data from the online system to the test system. With this parallel monitor run test method, software evaluation tests can be performed all day long without being restricted by the time between trains. In addition, since the test system can directly acquire communication data from the online system's field equipment, it is possible to reproduce control timing, etc. that cannot be reproduced by a simulator, and highly accurate software evaluation tests can be performed under system conditions equivalent to those of the online system.

例えば特許文献1には、列車運行管理システムと試験系システムとの間に配置されたデータ転送装置が、列車運行管理システムからの通信データを、システム更新を行うソフトウェアを内在した試験系システムに一方向のみ送信し、試験系システムから列車運行管理システムへの通信データを遮断するとともに、列車運行管理システムからの通信データに基づいて、試験系システムがソフトウェアの評価試験を行う試験方法が開示されている。特許文献1に開示された試験方法によれば、オンライン系システムに影響を及ぼすことなく、オンライン系システムの通信を試験系システムで再現し、システム更新するソフトウェアの評価を高精度に実施することに期待できる。 For example, Patent Document 1 discloses a test method in which a data transfer device arranged between a train traffic control system and a test system transmits communication data from the train traffic control system in only one direction to a test system that contains software that performs system updates, blocks communication data from the test system to the train traffic control system, and the test system performs software evaluation tests based on the communication data from the train traffic control system. The test method disclosed in Patent Document 1 is expected to reproduce the communication of the online system in the test system without affecting the online system, and to perform highly accurate evaluation of the software that updates the system.

特許第4944430号公報Patent No. 4944430

ところで、上述したオンライン稼働中の列車運行管理システムの稼働状況を試験系システムで模擬する際には、現場設備からの表示情報や指令員によって入力される運転整理情報等が重要な要素であり、特許文献1やその他の従来技術では、オンライン系システムに流れる上記情報の通信データを、電文として取得し、試験系システムに送信することができる。 When simulating the operating status of the above-mentioned online train traffic control system using a test system, the display information from the on-site equipment and the traffic rescheduling information entered by the dispatcher are important elements, and in Patent Document 1 and other conventional technologies, the communication data of the above information flowing through the online system can be acquired as a telegram and sent to the test system.

しかし、運転整理情報等の通信データは複数の変更情報を含んで構成され、変更情報は複数の種別に分類され、種別ごとにデータフォーマットが異なる。また、運転整理情報は、指令員の入力した内容によって運転整理情報に含まれる変更情報の内訳が異なるといったように、通信データとして一定の情報が送信されることがない。そして、試験系システムにおけるデータのフォーマットは、オンライン系システムにおけるデータのフォーマットとは異なる場合があり、このような場合、上述した従来技術では、オンライン系システムにおいて通信定義を変更する等の改修を行う必要があった。 However, communication data such as traffic reorganization information contains multiple pieces of change information, which are classified into multiple types, with each type having a different data format. In addition, traffic reorganization information does not transmit fixed information as communication data, and the breakdown of change information contained in the traffic reorganization information varies depending on the content entered by the dispatcher. Furthermore, the data format in the test system may differ from the data format in the online system. In such cases, with the conventional technology described above, it was necessary to make modifications to the online system, such as changing the communication definition.

しかし、システム更新時のソフトウェア評価のためにオンライン系システムを改修することはリスクが大きい。また、運転整理情報のように1つの通信データ(電文)に複数の変更情報が含まれ、かつ変更情報の種別によってデータのフォーマットが異なる可能性がある場合、予めオンライン系システムにおいて電文全体のフォーマットの変換を定義することは難しい。また、試験系システムでオンライン系システムの稼働状況を模擬するためには、オンライン系における情報の入力タイミングを変えることなく通信データを試験系システムに送信する必要があるが、上述した従来技術では、このような観点に対する対応が十分とはいえなかった。 However, modifying an online system to evaluate software when updating the system involves a high risk. In addition, when multiple pieces of change information are included in one piece of communication data (message), such as train rescheduling information, and the data format may differ depending on the type of change information, it is difficult to define in advance a format conversion for the entire message in the online system. In addition, in order to simulate the operating status of an online system with a test system, it is necessary to send communication data to the test system without changing the input timing of information in the online system, but the above-mentioned conventional technology does not adequately address this issue.

本発明は以上の点を考慮してなされたもので、オンライン系システムの稼働に影響を与えることなく、オンライン系システムの通信データを試験系システムで利用可能なデータ形式で送信し、試験系システムにおいてオンライン系システムの環境を正確に模擬した試験を実施可能にする電文変換システム及び電文変換方法を提案しようとするものである。 The present invention has been made in consideration of the above points, and aims to propose a message conversion system and a message conversion method that transmits communication data from an online system in a data format that can be used by a test system without affecting the operation of the online system, and enables testing to be performed in the test system that accurately simulates the environment of the online system.

かかる課題を解決するため本発明においては、オンライン稼働するオンライン系システムと当該オンライン系システムの環境を模擬してソフトウェアの評価試験を実施する試験系システムとの間を接続する電文変換システムであって、前記オンライン系システムと第1のネットワークを介して接続される第1の電文変換装置と、前記試験系システムと第2のネットワークを介して接続され、前記第1の電文変換装置と第3のネットワークを介して接続される第2の電文変換装置と、を備え、前記第1の電文変換装置は、前記オンライン系システムからの受信側IPアドレスを設定せず、前記第2の電文変換装置への送信側IPアドレスに第1のIPアドレスを設定し、前記オンライン系システム内を流れる通信データを前記第1のネットワークを介して取得し、前記第3のネットワークを介して前記第2の電文変換装置に送信し、前記第2の電文変換装置は、前記第1の電文変換装置からの受信側IPアドレス及び前記試験系システムへの送信側IPアドレスに前記第1のIPアドレスとは異なる第2のIPアドレスを設定し、前記第3のネットワークを介して前記第1の電文変換装置から受信した前記通信データのフォーマットを前記試験系システムで利用可能なフォーマットに変換し、フォーマット変換後の通信データを前記第2のネットワークを介して前記試験系システムに送信する電文変換システムが提供される。 In order to solve such problems, the present invention provides a telegram conversion system that connects between an online system that operates online and a test system that performs software evaluation testing by simulating the environment of the online system, the telegram conversion system comprising a first telegram conversion device that is connected to the online system via a first network, and a second telegram conversion device that is connected to the test system via a second network and to the first telegram conversion device via a third network, the first telegram conversion device not setting a receiving IP address from the online system, and setting a first IP address as a sending IP address to the second telegram conversion device. A telegram conversion system is provided that acquires communication data flowing within the online system via the first network and transmits it to the second telegram conversion device via the third network, and the second telegram conversion device sets a second IP address different from the first IP address as a receiving IP address from the first telegram conversion device and a sending IP address to the test system, converts the format of the communication data received from the first telegram conversion device via the third network into a format usable by the test system, and transmits the format-converted communication data to the test system via the second network.

また、かかる課題を解決するため本発明においては、オンライン稼働するオンライン系システムと当該オンライン系システムの環境を模擬してソフトウェアの評価試験を実施する試験系システムとの間を接続する電文変換システムによる電文変換方法であって、前記電文変換システムは、前記オンライン系システムと第1のネットワークを介して接続される第1の電文変換装置と、前記試験系システムと第2のネットワークを介して接続され、前記第1の電文変換装置と第3のネットワークを介して接続される第2の電文変換装置と、を有し、前記第1の電文変換装置には、前記オンライン系システムからの受信側IPアドレスが設定されず、前記第2の電文変換装置への送信側IPアドレスに第1のIPアドレスが設定され、前記第2の電文変換装置には、前記第1の電文変換装置からの受信側IPアドレス及び前記試験系システムへの送信側IPアドレスに前記第1のIPアドレスとは異なる第2のIPアドレスが設定され、前記第1の電文変換装置が、前記オンライン系システム内を流れる通信データを前記第1のネットワークを介して取得し、前記第3のネットワークを介して前記第2の電文変換装置に送信し、前記第2の電文変換装置が、前記第3のネットワークを介して前記第1の電文変換装置から受信した前記通信データのフォーマットを前記試験系システムで利用可能なフォーマットに変換し、フォーマット変換後の通信データを前記第2のネットワークを介して前記試験系システムに送信する電文変換方法が提供される。 In addition, in order to solve such problems, the present invention provides a method of telegram conversion using a telegram conversion system that connects between an online system that operates online and a test system that performs software evaluation testing by simulating the environment of the online system, the telegram conversion system having a first telegram conversion device that is connected to the online system via a first network, and a second telegram conversion device that is connected to the test system via a second network and is connected to the first telegram conversion device via a third network, in which a receiving IP address from the online system is not set in the first telegram conversion device, and a first IP address is set as a sending IP address to the second telegram conversion device. A method of electronic message conversion is provided in which a second IP address different from the first IP address is set in the second electronic message conversion device as the receiving IP address from the first electronic message conversion device and the sending IP address to the test system, the first electronic message conversion device acquires communication data flowing in the online system via the first network and transmits it to the second electronic message conversion device via the third network, the second electronic message conversion device converts the format of the communication data received from the first electronic message conversion device via the third network into a format usable by the test system, and transmits the format-converted communication data to the test system via the second network.

本発明によれば、オンライン系システムの稼働に影響を与えることなく、オンライン系システムの通信データを試験系システムで利用可能なデータ形式で送信し、試験系システムにおいてオンライン系システムの環境を正確に模擬した試験が実施可能となる。 According to the present invention, communication data from an online system can be sent in a data format that can be used by a test system without affecting the operation of the online system, making it possible to conduct tests in the test system that accurately simulate the environment of the online system.

本発明の一実施形態に係る電文変換システム3を備えて構成される列車運行管理システム試験装置の全体構成例を示す図である。1 is a diagram showing an example of the overall configuration of a train traffic control system testing device including a message conversion system 3 according to an embodiment of the present invention; 電文変換装置31,32の内部構成例を示す図である。2 is a diagram illustrating an example of the internal configuration of electronic message conversion devices 31 and 32. 電文変換システム3による電文変換処理の処理手順例を示すフローチャートである。13 is a flowchart showing an example of a processing procedure for a message conversion process performed by the message conversion system 3. フォーマットの変換が必要な変更情報の一例を示す図である。FIG. 13 is a diagram showing an example of change information that requires format conversion. 共通部情報に関するフォーマット対応データ124の一例を説明する図である。13 is a diagram illustrating an example of format correspondence data 124 related to common part information. FIG. 変更情報に関するフォーマット対応データ124の一例を説明する図である。13 is a diagram illustrating an example of format correspondence data 124 related to change information. FIG. 変更情報に関するフォーマット対応データ124の別例を説明する図である。FIG. 13 is a diagram illustrating another example of the format correspondence data 124 related to change information. フォーマット変換前後の運転整理情報の構成例を示す図である。13A and 13B are diagrams illustrating examples of the configuration of timetable rescheduling information before and after format conversion.

以下、図面を参照して、本発明の実施形態を詳述する。なお、以下の説明では、同種の要素を区別せずに説明する場合には、添字や枝番を含む参照符号のうちの共通部分(添字や枝番を除く部分)を使用し、同種の要素を区別して説明する場合には、添字や枝番を含む参照符号を使用することがある。例えば、運転整理端末を特に区別せずに説明する場合には「運転整理端末11」と記載するのに対し、個々の運転整理端末11を区別して説明する場合には、「運転整理端末11A」、「運転整理端末11B」のように記載することがある。 Below, an embodiment of the present invention will be described in detail with reference to the drawings. In the following description, when describing similar elements without distinguishing between them, the common portion (part excluding the subscript and sub-number) of the reference sign including the subscript and sub-number will be used, and when describing similar elements with distinction, the reference sign including the subscript and sub-number may be used. For example, when describing a traffic replanning terminal without making a distinction between them, it will be written as "traffic replanning terminal 11", whereas when describing individual traffic replanning terminals 11 with distinction between them, it may be written as "traffic replanning terminal 11A", "traffic replanning terminal 11B", etc.

図1は、本発明の一実施形態に係る電文変換システム3を備えて構成される列車運行管理システム試験装置の全体構成例を示す図である。図1に示すように、列車運行管理システム試験装置において、電文変換システム3は、運行管理システム1と試験系システム2との間を、電文変換装置31及び電文変換装置32によって接続する。 Figure 1 is a diagram showing an example of the overall configuration of a train traffic control system test device that includes a message conversion system 3 according to one embodiment of the present invention. As shown in Figure 1, in the train traffic control system test device, the message conversion system 3 connects between the traffic control system 1 and the test system 2 via a message conversion device 31 and a message conversion device 32.

運行管理システム1は、列車の運行を管理するオンライン系システムであって、稼働中の現行システムである。運行管理システム1は、指令員が運転整理を指令するために使用する運転整理端末11A、列車集中制御装置である指令管理中央装置12A、及び現場設備(不図示)等がネットワーク(LAN41)で接続されて構成される。運行管理システム1のネットワークを流れる通信データとしては、現場設備からの表示情報や運転整理端末11Aからの運転整理情報等、様々な種類の通信データがある。 The traffic control system 1 is an online system that manages train operations and is currently in operation. The traffic control system 1 is configured by connecting a traffic rescheduling terminal 11A used by the dispatcher to issue traffic rescheduling commands, a command management central unit 12A which is a train centralized control device, and field equipment (not shown) via a network (LAN 41). The communication data that flows through the network of the traffic control system 1 includes various types of communication data, such as display information from the field equipment and traffic rescheduling information from the traffic rescheduling terminal 11A.

試験系システム2は、運行管理システム1を模擬するシミュレータとしての役割を有する試験系システムであって、オンライン系システム(運行管理システム1)の情報を反映した環境下で、システム更新等のソフトウェアの評価試験を実施する。試験系システム2は、基本的には、運転設備以外は運行管理システム1と同様の構成を備える。具体的には、試験系システム2は、運転整理端末11B及び指令管理中央装置12B等がネットワーク(LAN42)で接続されて構成される。 The test system 2 is a test system that acts as a simulator simulating the traffic control system 1, and performs software evaluation tests such as system updates in an environment that reflects the information of the online system (traffic control system 1). The test system 2 basically has the same configuration as the traffic control system 1, except for the operating facilities. Specifically, the test system 2 is configured by connecting a traffic management terminal 11B, a command management central device 12B, etc., via a network (LAN 42).

なお、試験系システム2の各構成は、試験の対象とするシステム更新に伴って、ハードウェアまたはソフトウェア、あるいはその両方が更新されている。試験系システム2は、運行管理システム1で流れる通信データをフォーマット変換した通信データを電文変換システム3から入手することにより、オンライン系システムである運行管理システム1の情報を反映した環境下で、指令管理中央装置12B及び運転整理端末11B等の各構成において、システム更新等のソフトウェア評価試験を実現することができる。 The hardware and/or software of each component of the test system 2 are updated in accordance with the system update being tested. The test system 2 obtains format-converted communication data from the message conversion system 3 that is the communication data that flows through the traffic control system 1, and thereby can perform software evaluation tests of system updates, etc. in each component of the command management central device 12B and the traffic arrangement terminal 11B, etc., in an environment that reflects the information of the traffic control system 1, which is an online system.

電文変換システム3は、運行管理システム1で流れる通信データを試験系システム2で流せるフォーマットに変換(電文変換)し、運行管理システム1における通信データのタイミングと変えることなく、変換後の通信データを試験系システム2に送信するシステムである。詳細な内部構成は図2を参照しながら後述するが、電文変換システム3は、LAN41を介して運行管理システム1に接続される現行側の電文変換装置31と、LAN42を介して試験系システム2と接続される試験系側の電文変換装置32とが、LAN43を介して接続されて構成される。 The message conversion system 3 is a system that converts (message conversion) communication data flowing in the traffic control system 1 into a format that can be flowed in the test system 2, and transmits the converted communication data to the test system 2 without changing the timing of the communication data in the traffic control system 1. A detailed internal configuration will be described later with reference to FIG. 2, but the message conversion system 3 is configured by connecting, via LAN 43, a current-side message conversion device 31 connected to the traffic control system 1 via LAN 41 and a test-side message conversion device 32 connected to the test system 2 via LAN 42.

LAN41,42,43は、通信データ(電文)を伝送するネットワークである。本実施形態では、これらのネットワークをLAN(Local Area Network)とするが、これに限定されるものではなく、それぞれで異なる規格のネットワークであってもよい。LAN41とLAN42は直接接続されず、LAN43を経由して経路が接続される。なお、図1には、矢印付きの太い実線によって通信データの流れを例示している。図1に示す通信データの流れからも分かるように、電文変換システム3は、運行管理システム1で流れる通信データを取得し、試験系システム2に一方向で送信する。 LANs 41, 42, and 43 are networks that transmit communication data (telegrams). In this embodiment, these networks are LANs (Local Area Networks), but are not limited to this and may be networks with different standards. LANs 41 and 42 are not directly connected, but are connected via a route via LAN 43. Note that FIG. 1 illustrates the flow of communication data with a thick solid line with an arrow. As can be seen from the flow of communication data shown in FIG. 1, the telegram conversion system 3 acquires communication data flowing in the traffic management system 1 and transmits it unidirectionally to the test system 2.

図2は、電文変換装置31,32の内部構成例を示す図である。図2は、図1に示した電文変換システム3を詳しく示したものであり、LAN41,42,43は記載を省略している。 Figure 2 is a diagram showing an example of the internal configuration of the electronic message conversion devices 31 and 32. Figure 2 shows the electronic message conversion system 3 shown in Figure 1 in detail, and the LANs 41, 42, and 43 are omitted.

電文変換装置31,32は、CPU(Central Processing Unit)等のプロセッサ、RAM(Random Access Memory)等のメモリ、記憶デバイス、及び各種インタフェース(入出力I/Fや通信I/Fなど)を有する計算機であって、プロセッサがメモリ等に記憶されたプログラムを実行することによって、所定の機能を実現する。具体的には例えば、電文変換装置31,32は、OS(Operation System)にLinux(登録商標)を使用したLinuxマシンで実現される。 The electronic message conversion devices 31 and 32 are computers having a processor such as a CPU (Central Processing Unit), a memory such as a RAM (Random Access Memory), a storage device, and various interfaces (input/output I/F, communication I/F, etc.), and the processor executes programs stored in the memory, etc. to realize predetermined functions. Specifically, for example, the electronic message conversion devices 31 and 32 are realized as Linux machines using Linux (registered trademark) as the OS (Operating System).

このような電文変換装置31,32では、例えばIP(Internet Protocol)と連携して一方的な通信データ取得機能を実現する「プロミスキャスモード」の機能により、LAN41を流れる通信データを一方的に取得することができる。 Such message conversion devices 31 and 32 can unilaterally acquire communication data flowing through the LAN 41, for example, by using a "promiscuous mode" function that works in conjunction with IP (Internet Protocol) to realize a unilateral communication data acquisition function.

また、図1に例示した各装置におけるIPアドレスによれば、電文変換装置31は、LAN41の受信側IPアドレスが定義されず、LAN43の送信側IPアドレスに「130.12.0.244」が割り当てられる。また、電文変換装置32は、LAN43の受信側IPアドレス及びLAN42の送信側IPアドレスに「130.12.0.245」が割り当てられる。このような電文変換システム3によれば、電文変換装置31,32が運行管理システム1及び試験系システム2とは異なるIPアドレスを別々に持ち、さらに、現行側の電文変換装置31からの受信側IPアドレスを定義しないことにより、電文変換装置31から運行管理システム1に向けて通信データが送信されないようにするとともに、電文変換装置31から電文変換装置32、及び電文変換装置32から試験系システム2に向けて、一方的に通信データを送信することができる。 According to the IP addresses of the devices illustrated in FIG. 1, the message conversion device 31 does not define the receiving IP address of LAN 41, and is assigned "130.12.0.244" as the sending IP address of LAN 43. The message conversion device 32 is assigned "130.12.0.245" as the receiving IP address of LAN 43 and the sending IP address of LAN 42. According to this message conversion system 3, the message conversion devices 31 and 32 have separate IP addresses different from the traffic control system 1 and the test system 2, and by not defining the receiving IP address from the current message conversion device 31, communication data is prevented from being sent from the message conversion device 31 to the traffic control system 1, and communication data can be sent unilaterally from the message conversion device 31 to the message conversion device 32 and from the message conversion device 32 to the test system 2.

図2に示すように、現行側の電文変換装置31は、データ受信部111及びデータ送信部112を備える。 As shown in FIG. 2, the current telegram conversion device 31 includes a data receiving unit 111 and a data transmitting unit 112.

データ受信部111は、LAN41を介して運行管理システム1から通信データを受信し、受信した通信データを電文変換装置32に送信することをデータ送信部112に要求する。なお、データ受信部111は、1つの通信データを受信すると、次回以降の通信データの受信を待つことなく、即座に当該通信データの送信をデータ送信部112に要求する。 The data receiving unit 111 receives communication data from the traffic management system 1 via the LAN 41, and requests the data transmitting unit 112 to transmit the received communication data to the message conversion device 32. When the data receiving unit 111 receives one piece of communication data, it immediately requests the data transmitting unit 112 to transmit the communication data, without waiting for the next or subsequent reception of communication data.

データ送信部112は、データ受信部111からの送信要求を受け取ると、通信データを電文変換装置32に送信する。すなわち、電文変換装置31は、運行管理システム1から1つの通信データを取得するごとに、当該通信データを電文変換装置32に転送するものであり、フォーマットの変換は行わない。 When the data transmission unit 112 receives a transmission request from the data reception unit 111, it transmits the communication data to the telegram conversion device 32. In other words, each time the telegram conversion device 31 acquires a piece of communication data from the traffic management system 1, it transfers the communication data to the telegram conversion device 32, and does not convert the format.

試験系側の電文変換装置32は、データ受信部121、フォーマット変換部122、データ送信部123、及びフォーマット対応データ124を備える。 The message conversion device 32 on the test system side includes a data receiving unit 121, a format conversion unit 122, a data transmitting unit 123, and format-compatible data 124.

データ受信部121は、電文変換装置31のデータ送信部112から送信された運行管理システム1の通信データを受信し、受信した通信データを即座にフォーマット変換部122に渡す。 The data receiving unit 121 receives communication data of the operation control system 1 transmitted from the data transmitting unit 112 of the message conversion device 31, and immediately passes the received communication data to the format conversion unit 122.

フォーマット変換部122は、データ受信部121から受け取った通信データに対して、フォーマット対応データ124に基づいて、通信データのデータ種別ごとにフォーマットを変換し、試験系システム2で使用可能な通信データとした後、当該通信データを試験系システム2に送信することをデータ送信部123に要求する。 The format conversion unit 122 converts the format of the communication data received from the data receiving unit 121 for each data type of the communication data based on the format compatibility data 124, converts the communication data into communication data that can be used by the test system 2, and then requests the data transmitting unit 123 to transmit the communication data to the test system 2.

フォーマット対応データ124は、オンライン系システム(運行管理システム1)で利用可能な通信データのフォーマットと、試験系システム2で利用可能な通信データのフォーマットとの対応関係を、通信データに含まれるデータのデータ種別ごとに示す情報であって、電文変換装置32の所定の記憶装置に予め保存される。詳しくは、フォーマット対応データ124は、通信データ(電文)を構成する共通部情報及び変更情報ごとに、フォーマットの対応関係を表す情報を保持している。共通部情報のフォーマットの対応関係については、図5に具体例を示し、変更情報のフォーマットの対応関係については、図6及び図7に具体例を示す。 The format correspondence data 124 is information indicating the correspondence between the format of communication data usable in the online system (operation control system 1) and the format of communication data usable in the test system 2 for each data type of data included in the communication data, and is stored in advance in a specified storage device of the message conversion device 32. In detail, the format correspondence data 124 holds information indicating the format correspondence for each piece of common part information and change information that constitutes the communication data (message). A specific example of the correspondence of the format of the common part information is shown in FIG. 5, and a specific example of the correspondence of the format of the change information is shown in FIG. 6 and FIG. 7.

データ送信部123は、フォーマット変換部122からの送信要求を受け取ると、フォーマット変換後の通信データをLAN42を介して試験系システム2に送信する。なお、データ送信部123から通信データを受信した試験系システム2では、フォーマット変換後のデータを表示装置に表示する等して、受信したデータに問題がないかを試験系システム2のユーザが確認できるようにしてもよい。またこのとき、電文変換装置32でフォーマットが変換された箇所を認識できるような表示がなされてもよい。 When the data transmission unit 123 receives a transmission request from the format conversion unit 122, it transmits the format-converted communication data to the test system 2 via the LAN 42. In addition, in the test system 2 that receives the communication data from the data transmission unit 123, the format-converted data may be displayed on a display device so that a user of the test system 2 can check whether there are any problems with the received data. At this time, a display may be provided so that the parts where the format has been converted by the electronic message conversion device 32 can be recognized.

図3は、電文変換システム3による電文変換処理の処理手順例を示すフローチャートである。図3に示す電文変換処理は、1つの通信データ(電文)ごとに実行される処理であり、主に電文変換装置32によって実行される。なお、本例では、運行管理システム1内で流れる通信データの一例として、運転整理情報を用いて説明を行う。運転整理情報は、指令員による運転整理端末11Aにおける入力内容によって情報の構成が異なる通信データである。 Figure 3 is a flowchart showing an example of the processing procedure of the message conversion process by the message conversion system 3. The message conversion process shown in Figure 3 is a process executed for each piece of communication data (message), and is executed mainly by the message conversion device 32. Note that in this example, explanation will be given using train replanning information as an example of communication data that flows within the traffic management system 1. Train replanning information is communication data whose information structure differs depending on the contents of the input by the dispatcher at the train replanning terminal 11A.

図3によればまず、電文変換装置31において、データ受信部111が運行管理システム1から通信データを受信し、データ送信部112から電文変換装置32に送信することにより、電文変換装置32のデータ受信部121が、運行管理システム1で流れている通信データを受信する(ステップS101)。以下の処理は全て電文変換装置32で実行される。 According to FIG. 3, first, in the telegram conversion device 31, the data receiving unit 111 receives communication data from the traffic management system 1, and the data transmitting unit 112 transmits the data to the telegram conversion device 32, whereby the data receiving unit 121 of the telegram conversion device 32 receives the communication data flowing in the traffic management system 1 (step S101). All of the following processes are executed by the telegram conversion device 32.

ここで、通信データのデータ構成について説明する。 Here, we explain the data structure of the communication data.

1つの通信データ(電文)は、共通部情報と変更情報の組み合わせとを含んで構成される。このうち、共通部情報は、通信データの種類によらない共通のデータ項目から構成される情報であって、当該電文に関する全体的な情報を含んで構成される。具体的には例えば、共通部情報は、当該電文に含まれる変更情報の総数を示す変更情報数、当該電文の全体サイズを示すサイズ情報、及び当該電文の送信元(すなわち運行管理システム1や運転整理端末11A)を識別可能な送信元識別情報を含む。 A single piece of communication data (message) is composed of a combination of common information and change information. Of these, the common information is information composed of common data items that are not dependent on the type of communication data, and is composed of overall information regarding the message. Specifically, for example, the common information includes the number of pieces of change information indicating the total number of pieces of change information included in the message, size information indicating the overall size of the message, and sender identification information that can identify the sender of the message (i.e., the traffic management system 1 or the traffic control terminal 11A).

一方、変更情報は、複数種別の変更情報のうちから、通信データ(電文)の種類によって組み合わせが変わる情報である。各種別の変更情報は、種別コードによって分類可能であり、1つの通信データ内に、同じ種別コードの変更情報が複数個含まれることもある。各種別の変更情報は、運行管理システム1と試験系システム2とでフォーマット同じ場合もあれば、フォーマット異なる(フォーマットの変換が必要となる)場合もある。 On the other hand, change information is information whose combination changes depending on the type of communication data (message) from among multiple types of change information. Each type of change information can be classified by type code, and multiple pieces of change information with the same type code may be included in one piece of communication data. The format of each type of change information may be the same between the operation control system 1 and the test system 2, or it may be different (requiring format conversion).

図4は、フォーマットの変換が必要な変更情報の一例を示す図である。図4に示す一覧情報200は、フォーマットの変換が必要な変更情報をまとめたデータであり、整理番号(No.)201、変更情報の名称を示す変更情報名称202、及び変更情報の種別コードを示す種別コード203を有して構成される。図4によれば、例えば、「出発順序変更CHD」という変更情報は「0x01」の種別コードを有し、「出発順序削除CHD」という変更情報は「0x02」の種別コードを有することが示される。なお、一覧情報200は、電文変換装置32の所定の記憶装置に予め保存されている。 Figure 4 is a diagram showing an example of change information that requires a format conversion. The list information 200 shown in Figure 4 is data that compiles change information that requires a format conversion, and is composed of a serial number (No.) 201, a change information name 202 that indicates the name of the change information, and a type code 203 that indicates the type code of the change information. According to Figure 4, for example, change information "change of departure order CHD" has a type code of "0x01", and change information "delete of departure order CHD" has a type code of "0x02". The list information 200 is stored in advance in a specified storage device of the electronic message conversion device 32.

図3の説明に戻る。ステップS101の後、フォーマット変換部122は、ステップS101でデータ受信部121が受信した通信データに対して、フォーマット対応データ124に基づいて、共通部情報のフォーマットを変換する(ステップS102)。なお、一般的に、共通部情報は電文の冒頭部(開始部)に配置されることから、図3の電文変換処理では、変更情報のフォーマット変換(ステップS103~S106)よりも先に、共通部情報のフォーマット変換(ステップS102)を行っているが、通信データにおけるデータ配置に応じて処理の実行順序が変更されてもよい。 Returning to the explanation of FIG. 3, after step S101, the format conversion unit 122 converts the format of the common part information for the communication data received by the data receiving unit 121 in step S101 based on the format compatibility data 124 (step S102). Note that since common part information is generally placed at the beginning (starting part) of a message, in the message conversion process of FIG. 3, the format conversion of the common part information (step S102) is performed before the format conversion of the change information (steps S103 to S106), but the order of execution of the processes may be changed depending on the data arrangement in the communication data.

また、本実施形態において、フォーマットの変換は、具体的には、データサイズ(容量)の変更、データ項目の変更(削除を含む)、データ項目の追加、またはデータ記載回数の変更の少なくとも何れかに相当する。このうち、データ項目の追加または変更の際は、当該データ項目には所定の初期値が設定される。 In this embodiment, the conversion of the format specifically corresponds to at least one of the following: a change in data size (capacity), a change in a data item (including deletion), an addition of a data item, or a change in the number of times data is written. When a data item is added or changed, a predetermined initial value is set for that data item.

図5は、共通部情報に関するフォーマット対応データ124の一例を説明する図である。図5に示すフォーマット変換イメージ210は、運行管理システム1で利用可能な共通部情報のフォーマット211と、試験系システム2で利用可能な共通部情報のフォーマット212との対応関係を表している。 Figure 5 is a diagram illustrating an example of format correspondence data 124 for common part information. The format conversion image 210 shown in Figure 5 represents the correspondence between a format 211 of common part information that can be used in the operation control system 1 and a format 212 of common part information that can be used in the test system 2.

フォーマット変換イメージ210に示される対応関係を具体的に確認すると、例えば、フォーマット211の「No.1」のレコードによれば、運行管理システム1の通信データには、共通部情報に、「4バイト」の容量を使用する「総データバイト数」のデータが、1電文につき「1回」記載されることが示される。一方、フォーマット221の「No.1」のレコードによれば、同じく「4バイト」の容量を使用する「総データバイト数」のデータが1電文につき「1回」記載されることが示される。したがって、「No.1」のデータは、図3のステップS102においてフォーマットの変換は不要である。 Looking specifically at the correspondence shown in the format conversion image 210, for example, record "No. 1" in format 211 indicates that in the communication data of the operation management system 1, the "total number of data bytes" data using a capacity of "4 bytes" is written "once" per message in the common part information. On the other hand, record "No. 1" in format 221 indicates that the "total number of data bytes" data using a capacity of "4 bytes" is written "once" per message. Therefore, the data of "No. 1" does not require format conversion in step S102 of FIG. 3.

また、フォーマット211の「No.11」のレコードによれば、運行管理システム1の通信データには、共通部情報に、「1バイト」の容量を使用する「予備」のデータが、1電文につき「1回」記載されることが示される。一方、フォーマット221の「No.11」のレコードによれば、「1バイト」の容量を使用する「送信元システム区分」のデータが1電文につき「1回」記載されることが示される。したがってこの場合、運行管理システム1における通信データの共通部情報の「No.11」のデータは、図3のステップS102において、「予備」のフォーマットから「送信元システム区分」のフォーマットに変換する必要がある。 Furthermore, according to record "No. 11" of format 211, it is indicated that in the communication data of the traffic management system 1, "spare" data using a capacity of "1 byte" is written "once" per message in the common part information. On the other hand, according to record "No. 11" of format 221, it is indicated that "sender system category" data using a capacity of "1 byte" is written "once" per message. Therefore, in this case, the data "No. 11" of the common part information of the communication data in the traffic management system 1 needs to be converted from the "spare" format to the "sender system category" format in step S102 of FIG. 3.

但し、図5に示したフォーマット変換イメージ210の場合、フォーマット211及びフォーマット212それぞれの合計容量は48バイトで同一であることから、共通部情報のフォーマット変換を行っても、全体サイズは増減しない。 However, in the case of the format conversion image 210 shown in FIG. 5, the total capacity of format 211 and format 212 is the same at 48 bytes, so even if the format of the common part information is converted, the overall size does not increase or decrease.

図3の説明に戻る。ステップS102の後、フォーマット変換部122は、ステップS101でデータ受信部121が受信した通信データに対して、フォーマット対応データ124に基づいて変更情報のフォーマットを変換するためのループ処理を開始する(ステップS103)。このループ処理では、上記通信データに含まれる変更情報が順に選択されてステップS104~S106の処理が実行されるため、全体としては、変更情報の数だけ繰り返し実行される。通信データに含まれる変更情報の数(変更情報数)は、共通部情報から取得することができる。 Returning to the explanation of FIG. 3, after step S102, the format conversion unit 122 starts a loop process for converting the format of the change information based on the format compatibility data 124 for the communication data received by the data receiving unit 121 in step S101 (step S103). In this loop process, the change information included in the communication data is selected in order and the processes of steps S104 to S106 are executed, so that overall, the process is repeated the number of times equal to the number of change information. The number of change information items included in the communication data (number of change information items) can be obtained from the common part information.

ループ処理において、フォーマット変換部122は、まず、図4に示した一覧情報200に基づいて、ステップS103で選択した変更情報がフォーマットの変換が必要な情報であるか否かを判定する(ステップS104)。図4の説明で前述したように、一覧情報200の変更情報名称202には、フォーマットの変換が必要な変更情報が列挙されている。上記変更情報がフォーマットの変更が必要な情報である場合は(ステップS104のYES)、ステップS105に進み、フォーマットの変換が必要でない情報である場合は(ステップS104のNO)、次回のループ処理に進む。ステップS104においてフォーマット変換部122がフォーマットの変換の要否を判定することにより、全体的な処理時間及び処理負荷を低減する効果に期待できる。 In the loop process, the format conversion unit 122 first determines whether the change information selected in step S103 is information that requires a format conversion based on the list information 200 shown in FIG. 4 (step S104). As described above in the explanation of FIG. 4, the change information name 202 in the list information 200 lists the change information that requires a format conversion. If the change information is information that requires a format change (YES in step S104), the process proceeds to step S105, and if the change information is information that does not require a format conversion (NO in step S104), the process proceeds to the next loop process. By the format conversion unit 122 determining whether a format conversion is required in step S104, it is expected that the overall processing time and processing load will be reduced.

ステップS105では、フォーマット変換部122は、図4に示した一覧情報200に基づいて、選択した変更情報のデータ種別を判別する。具体的には、フォーマット変換部122は、一覧情報200の種別コード203を参照することにより、変更情報のデータ種別を判別することができる。 In step S105, the format conversion unit 122 determines the data type of the selected change information based on the list information 200 shown in FIG. 4. Specifically, the format conversion unit 122 can determine the data type of the change information by referring to the type code 203 of the list information 200.

次に、フォーマット変換部122は、ステップS105で判別したデータ種別(種別コード203)に対応するフォーマット対応データ124に基づいて、ステップS103で選択した変更情報のフォーマットを変換する(ステップS106)。 Next, the format conversion unit 122 converts the format of the change information selected in step S103 based on the format compatibility data 124 corresponding to the data type (type code 203) determined in step S105 (step S106).

図6は、変更情報に関するフォーマット対応データ124の一例を説明する図である。図6に示すフォーマット変換イメージ220は、種別コード「0x01」で分類される変更情報「出発順序変更CHD」について、運行管理システム1で利用可能なフォーマット221と、試験系システム2で利用可能なフォーマット222との対応関係を表している。各フォーマット221,222の表記構成は、図5に示したフォーマット211,212と同様である。 Figure 6 is a diagram illustrating an example of format correspondence data 124 related to change information. The format conversion image 220 shown in Figure 6 represents the correspondence between a format 221 usable in the operation control system 1 and a format 222 usable in the test system 2 for change information "Departure order change CHD" classified by type code "0x01". The notation structure of each format 221, 222 is similar to the formats 211, 212 shown in Figure 5.

フォーマット変換イメージ220に示される具体的な対応関係を確認する。フォーマット221における「No.1」~「No.13」及び「No.15」~「No.17」のデータは、フォーマット222においても、項目名、容量、及び回数の全てが同一である。したがって、これらのデータは、図3のステップS106においてフォーマットの変換は不要である。 Check the specific correspondence shown in format conversion image 220. The item names, capacity, and number of times for data "No. 1" to "No. 13" and "No. 15" to "No. 17" in format 221 are all the same in format 222. Therefore, this data does not require format conversion in step S106 in FIG. 3.

一方、フォーマット221の「No.14(予備2)」のデータは、フォーマット222では「No.14-A(発行トリガー)」、「No.14-B(変更列車順序位置)」、「No.14-C(変更前線路名)」、「No.14(予備2)」の4つに分割されることから、図3のステップS106においてフォーマットの変換が必要となる。 On the other hand, the data of "No. 14 (spare 2)" in format 221 is divided into four parts in format 222: "No. 14-A (issue trigger)," "No. 14-B (changed train sequence position)," "No. 14-C (pre-change track name)," and "No. 14 (spare 2)." Therefore, format conversion is required in step S106 in FIG. 3.

また、フォーマット変換イメージ220によれば、フォーマット222の「No.18」~「No.21」のデータは、フォーマット221には存在しないことから、図3のステップS106において、フォーマットを拡張する変換が必要となる。 In addition, according to format conversion image 220, data "No. 18" to "No. 21" in format 222 does not exist in format 221, so a conversion to expand the format is required in step S106 in FIG. 3.

そして、上記フォーマット変換イメージ220に従ってフォーマットの変換を行った場合、フォーマット222の「No.18」~「No.21」が追加されることにより、合計容量は、60バイトから88バイトに22バイト増加する。 When the format is converted according to the above format conversion image 220, "No. 18" to "No. 21" of format 222 are added, and the total capacity increases by 22 bytes from 60 bytes to 88 bytes.

図7は、変更情報に関するフォーマット対応データ124の別例を説明する図である。図7に示すフォーマット変換イメージ230は、種別コード「0x02」で分類される変更情報「出発順序削除CHD」について、運行管理システム1で利用可能なフォーマット231と、試験系システム2で利用可能なフォーマット232との対応関係を表している。各フォーマット231,232の表記構成は、図5に示したフォーマット211,212や図6に示したフォーマット221,222と同様である。 Figure 7 is a diagram illustrating another example of format correspondence data 124 related to change information. The format conversion image 230 shown in Figure 7 shows the correspondence relationship between a format 231 usable in the operation control system 1 and a format 232 usable in the test system 2 for change information "Departure order deletion CHD" classified by type code "0x02". The notation structure of each format 231, 232 is similar to the formats 211, 212 shown in Figure 5 and the formats 221, 222 shown in Figure 6.

フォーマット変換イメージ230に示される対応関係を確認すると、「No.1」~「No.10」、「No.12」及び「No.13」のデータは、フォーマット231とフォーマット232で同じ形式であることから、図3のステップS106においてフォーマットの変換は不要である。 When checking the correspondence shown in the format conversion image 230, the data "No. 1" to "No. 10", "No. 12" and "No. 13" are in the same format in format 231 and format 232, so format conversion is not necessary in step S106 of FIG. 3.

一方、フォーマット231の「No.11(予備3)」のデータは、フォーマット232では4つのデータに分割されることから、図3のステップS106においてフォーマットの変換が必要となる。また、フォーマット232の「No.14」~「No.17」のデータは、フォーマット231には存在しないことから、図3のステップS106においてフォーマットを拡張する変換が必要となる。 On the other hand, the data "No. 11 (spare 3)" in format 231 is split into four pieces of data in format 232, so format conversion is required in step S106 in FIG. 3. Also, the data "No. 14" to "No. 17" in format 232 do not exist in format 231, so conversion to expand the format is required in step S106 in FIG. 3.

そして、上記フォーマット変換イメージ230に従ってフォーマットの変換を行った場合、フォーマット232の「No.14」~「No.17」が追加されることにより、合計容量は、48バイトから80バイトに32バイト増加する。 When the format is converted according to the above format conversion image 230, "No. 14" to "No. 17" of format 232 are added, and the total capacity increases by 32 bytes from 48 bytes to 80 bytes.

図3の説明に戻る。ステップS106における変更情報のフォーマット変換が終了した後は、フォーマット変換部122は、未処理の変更情報の1つを選択し、ステップS104からの処理を繰り返す。そして、全ての変更情報についてステップS104~S106の処理が終了すると、ステップS101でデータ受信部121が受信した通信データの全体に対してフォーマット変換が完了する(図8参照)。そこで、フォーマット変換部122は、電文変換処理を終了し、変換後の電文(通信データ)の送信をデータ送信部123に要求する。 Returning to the explanation of FIG. 3, after the format conversion of the change information in step S106 is completed, the format conversion unit 122 selects one of the unprocessed change information and repeats the process from step S104. Then, when the processes of steps S104 to S106 are completed for all the change information, the format conversion is completed for all of the communication data received by the data receiving unit 121 in step S101 (see FIG. 8). Then, the format conversion unit 122 ends the message conversion process and requests the data transmitting unit 123 to transmit the converted message (communication data).

図8は、フォーマット変換前後の運転整理情報の構成例を示す図である。図8には、フォーマットの変換による通信データのデータ構成の変化を示す一例として、フォーマット変換前の運転整理情報241と、図4~図7に示したデータに基づいてフォーマットを変換した後の運転整理情報242とが、比較可能に表示されている。 Figure 8 shows an example of the configuration of traffic replanning information before and after format conversion. As an example showing the change in the data configuration of communication data due to format conversion, Figure 8 displays traffic replanning information 241 before format conversion and traffic replanning information 242 after the format has been converted based on the data shown in Figures 4 to 7 for comparison.

図8によれば、フォーマット変換前の運転整理情報241は、1つの共通部情報と4つの変更情報から構成されている。4つの変更情報は、具体的には、2つの「出発順序変更CHD(種別コード:0x01)」と、1つの「出発順序削除CHD(種別コード:0x02)」と、1つの「閉塞順序削除CHD(種別コード:0x04)」とで構成される。そして、フォーマット変換前の運転整理情報241の全体サイズは、264バイトである。 According to FIG. 8, the operation reorganization information 241 before the format conversion is composed of one common part information and four change information. Specifically, the four change information are composed of two "departure order change CHD (type code: 0x01)", one "departure order deletion CHD (type code: 0x02)", and one "block order deletion CHD (type code: 0x04)". The total size of the operation reorganization information 241 before the format conversion is 264 bytes.

一方、フォーマット変換後の運転整理情報242では、1つの共通部情報と4つの変更情報とから構成されている点は変換前と同じであるが、各変更情報のサイズの増加により、全体サイズが120バイト増加して384バイトになっている。これは、図3のステップS106で実行された変更情報のフォーマット変換により、各変更情報において必要な容量が増加したことを理由とする。但し、これは一例であって、フォーマットの変換が行われても、サイズが変わらない、あるいは減少するというケースも当然想定される。例えば、共通部情報は、図5に示したフォーマット変換イメージ210に示したように、フォーマット変換によって「No.11」のデータの項目名が変換されるが、容量の変更はないため、全体サイズは48バイトのままとなっている。 On the other hand, the operation reorganization information 242 after the format conversion is composed of one common information and four change information, just like before the conversion, but the increase in the size of each change information has increased the total size by 120 bytes to 384 bytes. This is because the format conversion of the change information performed in step S106 in Figure 3 has increased the required capacity for each change information. However, this is just one example, and it is naturally possible that the size will not change or will decrease even if the format is converted. For example, as shown in the format conversion image 210 in Figure 5, the item name of the data "No. 11" in the common information is converted by format conversion, but the capacity does not change, so the total size remains at 48 bytes.

以上に説明したように、本実施形態に係る電文変換システム3によれば、運行管理システム1の通信データを一方的に取得する電文変換装置31と、電文変換装置31が取得した通信データのフォーマットを適宜変換して試験系システム2に送信する電文変換装置32とを備え、特に電文変換装置31は受信側IPアドレスを設定しないことにより、運行管理システム1の通信データを一方向のみに送信し、試験系システム2から運行管理システム1に通信データが送信されないように遮断することができる。 As described above, the message conversion system 3 according to this embodiment includes a message conversion device 31 that unilaterally acquires communication data from the traffic control system 1, and a message conversion device 32 that appropriately converts the format of the communication data acquired by the message conversion device 31 and transmits it to the test system 2. In particular, the message conversion device 31 does not set a receiving IP address, so that it transmits communication data from the traffic control system 1 in only one direction and can block communication data from being transmitted from the test system 2 to the traffic control system 1.

また、電文変換システム3は、図3を参照しながら説明したように、1電文(通信データ)ごとに電文変換処理を実行することにより、運行管理システム1における入力タイミングを維持したまま、通信データのフォーマットを試験系システム2で使用可能なフォーマットに変換して、試験系システム2に送信することができる。 In addition, as described with reference to FIG. 3, the message conversion system 3 executes a message conversion process for each message (communication data), thereby converting the format of the communication data into a format that can be used by the test system 2 while maintaining the input timing in the traffic control system 1, and transmitting the communication data to the test system 2.

また、電文変換システム3は、電文変換処理において、運行管理システム1から取得した通信データの配置に沿って、フォーマットの変換が不要とされる変更情報は配置を変えることなく、フォーマットの変換が必要な種別の変更情報及び共通部情報のフォーマットを変換する。すなわち、電文内の情報の順番を変えることなく、データ種別ごとに必要なデータだけフォーマットの変換を順次行うことにより、運行管理システム1から取得した通信データと同じ並びの構成で、試験系システム2に送信する通信データを生成することができる。 In addition, in the message conversion process, the message conversion system 3 converts the format of change information and common part information that require format conversion, without changing the arrangement of change information that does not require format conversion, in accordance with the arrangement of the communication data acquired from the traffic control system 1. In other words, by sequentially converting the format of only the data required for each data type without changing the order of the information in the message, it is possible to generate communication data to be sent to the test system 2 in the same arrangement as the communication data acquired from the traffic control system 1.

また、電文変換システム3は、電文変換処理において、運行管理システム1から取得した通信データの種類及び当該通信データに含まれる変更情報の種別に応じて、共通部情報及び変更情報の単位でフォーマットの変換を行うことから、全体のフォーマット構成を予め定めることができない通信データ(電文)であっても柔軟にフォーマットの変換を実現することができる。 In addition, in the message conversion process, the message conversion system 3 converts the format in units of common part information and change information depending on the type of communication data acquired from the operation management system 1 and the type of change information contained in the communication data, so that it can flexibly convert the format even for communication data (messages) whose overall format structure cannot be determined in advance.

以上のようにして、本実施形態に係る電文変換システム3によれば、試験系システム2におけるソフトウェア評価のためにオンライン系システム(運行管理システム1)を改修することなく、言い換えれば、オンライン系システムの稼働に影響を与えることなく、オンライン系システムの通信データを試験系システム2に送信することができる。その結果、試験系システム2においてオンライン系システムの環境を正確に模擬してシステム更新等のソフトウェア評価の試験が実施可能となる。 As described above, according to the electronic message conversion system 3 of this embodiment, communication data of the online system can be sent to the test system 2 without modifying the online system (operation control system 1) for software evaluation in the test system 2, in other words, without affecting the operation of the online system. As a result, it becomes possible to accurately simulate the environment of the online system in the test system 2 and perform software evaluation tests such as system updates.

なお、本発明は上記した実施形態に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施形態は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。 The present invention is not limited to the above-described embodiment, but includes various modified examples. For example, the above-described embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to having all of the configurations described. In addition, it is possible to add, delete, or replace part of the configuration of the embodiment with other configurations.

また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、ICカード、SDカード、DVD等の記録媒体に置くことができる。 Furthermore, the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in hardware, in part or in whole, for example by designing them as integrated circuits. Furthermore, the above-mentioned configurations, functions, etc. may be realized in software, by a processor interpreting and executing a program that realizes each function. Information on the programs, tables, files, etc. that realize each function can be stored in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card, SD card, or DVD.

また、図面において制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際にはほとんど全ての構成が相互に接続されていると考えてもよい。 In addition, the control lines and information lines shown in the drawings are those that are considered necessary for explanation, and do not necessarily show all control lines and information lines on the product. In reality, it can be assumed that almost all components are interconnected.

1 運行管理システム
2 試験系システム
3 電文変換システム
11 運転整理端末
12 指令管理中央装置
31,32 電文変換装置
41,42,43 LAN
111,121 データ受信部
112,123 データ送信部
122 フォーマット変換部
124 フォーマット対応データ
REFERENCE SIGNS LIST 1 Traffic management system 2 Test system 3 Message conversion system 11 Traffic management terminal 12 Command management central unit 31, 32 Message conversion device 41, 42, 43 LAN
111, 121 Data receiving unit 112, 123 Data transmitting unit 122 Format conversion unit 124 Format-compatible data

Claims (8)

オンライン稼働するオンライン系システムと当該オンライン系システムの環境を模擬してソフトウェアの評価試験を実施する試験系システムとの間を接続する電文変換システムであって、
前記オンライン系システムと第1のネットワークを介して接続される第1の電文変換装置と、
前記試験系システムと第2のネットワークを介して接続され、前記第1の電文変換装置と第3のネットワークを介して接続される第2の電文変換装置と、
を備え、
前記第1の電文変換装置は、
前記オンライン系システムからの受信側IPアドレスを設定せず、前記第2の電文変換装置への送信側IPアドレスに第1のIPアドレスを設定し、
前記オンライン系システム内を流れる通信データを前記第1のネットワークを介して取得し、前記第3のネットワークを介して前記第2の電文変換装置に送信し、
前記第2の電文変換装置は、
前記第1の電文変換装置からの受信側IPアドレス及び前記試験系システムへの送信側IPアドレスに前記第1のIPアドレスとは異なる第2のIPアドレスを設定し、
前記第3のネットワークを介して前記第1の電文変換装置から受信した前記通信データのフォーマットを前記試験系システムで利用可能なフォーマットに変換し、フォーマット変換後の通信データを前記第2のネットワークを介して前記試験系システムに送信する
ことを特徴とする電文変換システム。
A message conversion system that connects an online system that operates online and a test system that performs software evaluation tests by simulating an environment of the online system,
a first electronic message conversion device connected to the online system via a first network;
a second telegram conversion device connected to the test system via a second network and connected to the first telegram conversion device via a third network;
Equipped with
The first electronic message conversion device
a receiving IP address from the online system is not set, and a first IP address is set as a sending IP address to the second electronic message conversion device;
acquiring communication data flowing within the online system via the first network, and transmitting the data to the second electronic message conversion device via the third network;
The second electronic message conversion device
setting a second IP address different from the first IP address as a receiving IP address from the first electronic message conversion device and a sending IP address to the test system;
a communication data conversion system that converts a format of the communication data received from the first communication data conversion device via the third network into a format that can be used by the test system, and transmits the format-converted communication data to the test system via the second network.
前記通信データは、当該通信データの種類によらない共通のデータ項目で構成される共通部情報と、当該通信データの種類によって組み合わせが異なる複数の変更情報と、を含んで構成され、
前記第1の電文変換装置は、前記オンライン系システムから1つの前記通信データを取得するごとに前記第2の電文変換装置に当該通信データを送信し、
前記第2の電文変換装置は、前記第1の電文変換装置から前記1つの通信データを受信するごとに、当該通信データに対する前記フォーマットの変換を行い、フォーマット変換後の通信データを前記試験系システムに送信する
ことを特徴とする請求項1に記載の電文変換システム。
the communication data includes common part information composed of common data items regardless of the type of the communication data, and a plurality of pieces of change information whose combinations differ depending on the type of the communication data;
the first electronic message conversion device transmits the communication data to the second electronic message conversion device every time the first electronic message conversion device acquires the communication data from the online system;
The electronic message conversion system according to claim 1, characterized in that the second electronic message conversion device converts the format of the communication data each time it receives one of the communication data from the first electronic message conversion device, and transmits the format-converted communication data to the test system.
前記通信データに含まれる前記複数の変更情報は、種別ごとにデータ構成が規定された変更情報の組み合わせによって構成され、
前記第2の電文変換装置は、
前記共通部情報及び前記変更情報の前記オンライン系システムにおけるフォーマットと前記試験系システムで利用可能なフォーマットとの対応関係を示すフォーマット対応データを保持し、
前記通信データのフォーマットの変換において、前記フォーマット対応データに示される対応関係に基づいて、前記共通部情報のフォーマットを変換するとともに、前記種別で分類される変更情報ごとに前記複数の変更情報のフォーマットを変換する
ことを特徴とする請求項2に記載の電文変換システム。
the plurality of pieces of change information included in the communication data are configured by a combination of pieces of change information whose data configurations are defined for each type,
The second electronic message conversion device
retaining format correspondence data indicating a correspondence relationship between a format of the common part information and the change information in the online system and a format available in the test system;
The electronic message conversion system according to claim 2, characterized in that, in converting the format of the communication data, the format of the common part information is converted based on the correspondence relationship indicated in the format correspondence data, and the formats of the plurality of pieces of change information are converted for each of the change information classified by type.
前記第2の電文変換装置は、前記通信データのデータ配置の順番に沿って、前記共通部情報及び前記複数の変更情報のフォーマットを変換する
ことを特徴とする請求項3に記載の電文変換システム。
The electronic message conversion system according to claim 3 , wherein the second electronic message conversion device converts the formats of the common part information and the plurality of pieces of change information in accordance with an order of data arrangement of the communication data.
前記第2の電文変換装置は、
前記試験系システムで利用するためにフォーマットの変換が必要な種別の変更情報を示す一覧情報を保持し、
前記複数の変更情報のフォーマットを変換する際には、前記一覧情報に基づいて、フォーマットの変換が必要な種別の変更情報のみ、当該変更情報のフォーマットを変換する
ことを特徴とする請求項4に記載の電文変換システム。
The second electronic message conversion device
A list of change information indicating types of change information that require format conversion for use in the test system is stored;
The electronic message conversion system according to claim 4, characterized in that when converting the formats of the plurality of pieces of change information, the format of only the change information of a type that requires format conversion is converted based on the list information.
前記第2の電文変換装置は、前記通信データのフォーマットを変換するとき、変換対象のデータについて、当該データのサイズの変更、当該データのデータ項目の変更、または当該データのデータ項目の追加、の少なくとも何れかを実施する
ことを特徴とする請求項1に記載の電文変換システム。
The electronic message conversion system according to claim 1, characterized in that, when converting the format of the communication data, the second electronic message conversion device performs at least one of changing the size of the data to be converted, changing the data items of the data, or adding data items to the data .
前記通信データの前記共通部情報には、当該通信データに含まれる前記変更情報の数、当該通信データの全体サイズ、及び当該通信データの送信元を示す情報が含まれる
ことを特徴とする請求項2に記載の電文変換システム。
The electronic message conversion system according to claim 2, characterized in that the common part information of the communication data includes information indicating the number of pieces of change information contained in the communication data, the total size of the communication data, and a sender of the communication data.
オンライン稼働するオンライン系システムと当該オンライン系システムの環境を模擬してソフトウェアの評価試験を実施する試験系システムとの間を接続する電文変換システムによる電文変換方法であって、
前記電文変換システムは、前記オンライン系システムと第1のネットワークを介して接続される第1の電文変換装置と、前記試験系システムと第2のネットワークを介して接続され、前記第1の電文変換装置と第3のネットワークを介して接続される第2の電文変換装置と、を有し、
前記第1の電文変換装置には、前記オンライン系システムからの受信側IPアドレスが設定されず、前記第2の電文変換装置への送信側IPアドレスに第1のIPアドレスが設定され、
前記第2の電文変換装置には、前記第1の電文変換装置からの受信側IPアドレス及び前記試験系システムへの送信側IPアドレスに前記第1のIPアドレスとは異なる第2のIPアドレスが設定され、
前記第1の電文変換装置が、前記オンライン系システム内を流れる通信データを前記第1のネットワークを介して取得し、前記第3のネットワークを介して前記第2の電文変換装置に送信し、
前記第2の電文変換装置が、前記第3のネットワークを介して前記第1の電文変換装置から受信した前記通信データのフォーマットを前記試験系システムで利用可能なフォーマットに変換し、フォーマット変換後の通信データを前記第2のネットワークを介して前記試験系システムに送信する
ことを特徴とする電文変換方法。
1. A method for converting electronic messages by a electronic message conversion system that connects an online system that operates online with a test system that performs software evaluation tests by simulating an environment of the online system, comprising:
the electronic message conversion system includes a first electronic message conversion device connected to the online system via a first network, and a second electronic message conversion device connected to the test system via a second network and connected to the first electronic message conversion device via a third network;
a receiving IP address from the online system is not set in the first electronic message conversion device, and a first IP address is set as a sending IP address to the second electronic message conversion device;
a second IP address different from the first IP address is set in the second electronic message conversion device as a receiving IP address from the first electronic message conversion device and a sending IP address to the test system;
the first electronic message conversion device acquires communication data flowing within the online system via the first network, and transmits the communication data to the second electronic message conversion device via the third network;
a second electronic message conversion device converting a format of the communication data received from the first electronic message conversion device via the third network into a format usable by the test system, and transmitting the format-converted communication data to the test system via the second network.
JP2021096091A 2021-06-08 2021-06-08 Telegram conversion system and telegram conversion method Active JP7495907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021096091A JP7495907B2 (en) 2021-06-08 2021-06-08 Telegram conversion system and telegram conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021096091A JP7495907B2 (en) 2021-06-08 2021-06-08 Telegram conversion system and telegram conversion method

Publications (2)

Publication Number Publication Date
JP2022187876A JP2022187876A (en) 2022-12-20
JP7495907B2 true JP7495907B2 (en) 2024-06-05

Family

ID=84531884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021096091A Active JP7495907B2 (en) 2021-06-08 2021-06-08 Telegram conversion system and telegram conversion method

Country Status (1)

Country Link
JP (1) JP7495907B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007145156A (en) 2005-11-28 2007-06-14 Hitachi Ltd Test method and apparatus for train operation management system
JP2009234428A (en) 2008-03-27 2009-10-15 Daido Signal Co Ltd Ctc updating device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007145156A (en) 2005-11-28 2007-06-14 Hitachi Ltd Test method and apparatus for train operation management system
JP2009234428A (en) 2008-03-27 2009-10-15 Daido Signal Co Ltd Ctc updating device

Also Published As

Publication number Publication date
JP2022187876A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
US11870658B2 (en) Method and apparatus for updating gateway resource, and IOT control platform
JP2004133632A (en) Data relay device and data management system using the same
US7370236B2 (en) Method for remotely diagnosing devices
CN113468049B (en) Configurable interface-based test method, device, equipment and medium
CN101677277B (en) MODBUS-RTU protocol conformance test method
US20210075756A1 (en) Data centric messaging
CN111541697B (en) On-line communication method based on protocol configuration
JP7495907B2 (en) Telegram conversion system and telegram conversion method
CN114840599B (en) Semiconductor source data parsing method, ETL system, computer device and product
JP4944430B2 (en) Test method and apparatus for train operation management system
JP4736135B2 (en) Internal bus analysis system for inter-card communication, method and program
CN110445658A (en) A kind of message processing method and system
CN114970428A (en) Verification system and method for Flexray bus controller in SoC
JP4647352B2 (en) Normality confirmation system, apparatus, method and program for message processing system
CN114124756A (en) Network service delay test method, device, electronic device and storage medium
JP4275059B2 (en) Packet communication method and system and apparatus therefor
US20240337695A1 (en) Testing a control device using a test assembly
CN116822493B (en) A cross-system wind turbine data statistics method, equipment, and system
CN119847859B (en) A method for online monitoring of bus data in embedded products
CN115658411B (en) Excitation generator and excitation generating method
JP4411188B2 (en) Online system and communication method
CN118869530A (en) Car key service testing method, device, client device and system
JP2003169093A (en) Communication device
JP5388679B2 (en) Node device verification method and verification system
JP2011221697A (en) Test device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240418

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: 20240430

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240524

R150 Certificate of patent or registration of utility model

Ref document number: 7495907

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150