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
JP4737131B2 - Computer equipment, traffic signal controller - Google Patents
[go: Go Back, main page]

JP4737131B2 - Computer equipment, traffic signal controller - Google Patents

Computer equipment, traffic signal controller Download PDF

Info

Publication number
JP4737131B2
JP4737131B2 JP2007109945A JP2007109945A JP4737131B2 JP 4737131 B2 JP4737131 B2 JP 4737131B2 JP 2007109945 A JP2007109945 A JP 2007109945A JP 2007109945 A JP2007109945 A JP 2007109945A JP 4737131 B2 JP4737131 B2 JP 4737131B2
Authority
JP
Japan
Prior art keywords
parameter
traffic signal
computer device
file
sentence
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
JP2007109945A
Other languages
Japanese (ja)
Other versions
JP2008269192A (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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2007109945A priority Critical patent/JP4737131B2/en
Publication of JP2008269192A publication Critical patent/JP2008269192A/en
Application granted granted Critical
Publication of JP4737131B2 publication Critical patent/JP4737131B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Description

本発明は、パラメータ値を記述したテキストファイルを用いてパラメータの設定を行うと共に、設定されたパラメータ値をテキストファイルで取り出すことが可能なコンピュータ装置等に関し、特に交通管制システムに用いられる交通信号制御機に関する。   The present invention relates to a computer apparatus and the like that can set parameters using a text file that describes parameter values and that can retrieve the set parameter values as a text file, and in particular, traffic signal control used in a traffic control system. Related to the machine.

ファイルシステムを有するコンピュータ装置では、複数のパラメータの値を記憶したファイルをコンピュータ装置の記憶装置内の所定の場所に格納しておき、前記コンピュータ装置や前記コンピュータ装置に搭載されたアプリケーションソフトウェアが起動する時に、前記ファイルに記述されたパラメータの値を読み込み、読み込んだパラメータ値に従って動作する仕組みが用いられることがある(特許文献1参照)。
この際、前記ファイルをテキストファイル形式とすることで、汎用的なエディタソフトを用いて、容易にパラメータの値を閲覧や編集することが可能となるため、ユーザにとっての利便性が高くなるというメリットがある。
In a computer device having a file system, a file storing a plurality of parameter values is stored in a predetermined location in a storage device of the computer device, and the computer device or application software installed in the computer device is activated. Sometimes, a mechanism is used in which values of parameters described in the file are read and operated according to the read parameter values (see Patent Document 1).
At this time, by making the file into a text file format, it is possible to easily view and edit the parameter values using general-purpose editor software, which is advantageous for the user. There is.

一方、組込系のコンピュータ装置では、ファイルシステムを有していないケースが多く、一般的に、パラメータの値はテキスト形式以外の形式でROM(Read Only Memory)に記憶させる方法が用いられる。
このような組込系コンピュータ装置の中には、設定すべきパラメータの名称や識別コードとその値の組み合わせを記述したテキストファイル(以下、定数ファイル)を保守用のパーソナルコンピュータ等から送信するインタフェースを備え、前記送信される定数ファイルによってパラメータの設定を変更することが可能なものも存在する。
On the other hand, embedded computer devices often do not have a file system, and generally a method of storing parameter values in a ROM (Read Only Memory) in a format other than text format is used.
Among such embedded computer devices, there is an interface for transmitting a text file (hereinafter referred to as a constant file) describing a combination of a parameter name and identification code to be set and its value from a maintenance personal computer or the like. There are some which can change the parameter setting according to the transmitted constant file.

さらに、前記組込系コンピュータ装置の中には、定数ファイルの送信により設定を変更することができる機能に加えて、前記組込系コンピュータ装置の現時点におけるパラメータの設定値を確認するために、それらを記述した定数ファイルを外部からの要求に応じて取り出す機能を有するものも存在する。
特に、通信装置や高度な制御装置などの場合には、膨大な数のパラメータを有するものがあり、運用に際して用いられるこれらのパラメータを運用担当者が繰り返し変更しながら最適な設定値を決めることが多く、運用に供される各装置の最終的な定数ファイルを保管して確認できるようにしておく必要があるため、これらの装置から定数ファイルを取り出す機能は極めて有用性が高い。
Furthermore, in addition to the function that allows the setting to be changed by sending a constant file, some of the embedded computer devices include those for checking the current parameter setting values of the embedded computer device. Some of them have a function of retrieving a constant file in which is described in response to an external request.
Especially in the case of communication devices, advanced control devices, etc., there are a large number of parameters, and it is possible for the person in charge of operation to determine the optimal setting value by repeatedly changing these parameters used during operation. In many cases, it is necessary to store and confirm the final constant file of each device to be used for operation, and the function of taking out the constant file from these devices is extremely useful.

また、近年の交通管制システムでは、通信手順としていわゆるOSI(Open Systems Interconnection)参照モデルのネットワーク層(第3層)にインターネットプロトコル(以下、IPという。)を用いたネットワークシステムが普及してきている(特許文献2参照)。
交通管制システムの通信方式にIPを採用したものとしては、UD伝送方式が規格化されており、交通管制システムにおけるシステムアプリケーションに関する各装置間の情報交換にはDATEX−ASNプロトコルを採用している。なお、UD形伝送方式におけるフォーマットや手順等の仕様の詳細については、社団法人新交通管理システム協会(以下、UTMS協会)から発行されている規格書に記載されている。
In recent traffic control systems, network systems using the Internet protocol (hereinafter referred to as IP) have become widespread in the network layer (third layer) of the so-called OSI (Open Systems Interconnection) reference model as a communication procedure ( Patent Document 2).
The UD transmission method is standardized as a communication method of the traffic control system, and the DATEX-ASN protocol is used for information exchange between devices related to system applications in the traffic control system. The details of the specifications such as the format and procedure in the UD transmission system are described in the standard document issued by the New Traffic Management System Association (hereinafter referred to as UTMS Association).

特開2002−157159号公報JP 2002-157159 A 特許第3456170号公報Japanese Patent No. 3456170

このような仕組みを持つ組込系コンピュータ装置を扱う保守作業員は、コンピュータ装置の運用条件を変更するためにパラメータを書き換える際、一旦、保守対象のコンピュータ装置から定数ファイルを取り出した上で、その定数ファイルのうち変更すべきパラメータの設定値のみを書き換える編集作業を行った後、編集後の定数ファイルを前記コンピュータ装置に送信する、という方法を用いることが多いが、大半のパラメータの設定値が同一である複数のコンピュータ装置の定数ファイルを同時に作成する場合には、前記方法で、あるコンピュータ装置用に作成した1つの定数ファイルを必要な数だけコピーして、設定値の相違するパラメータのみを書き換えるという作業を繰り返し行い、複数のコンピュータ装置用の定数ファイルをまとめて作成することがある。   When a maintenance worker who handles an embedded computer device having such a mechanism rewrites parameters in order to change the operating conditions of the computer device, the maintenance worker once extracts the constant file from the computer device to be maintained, In many cases, the method of sending the edited constant file to the computer device after performing an editing operation to rewrite only the setting value of the parameter to be changed in the constant file is used. When creating constant files for a plurality of identical computer devices at the same time, copy the necessary number of constant files created for a computer device using the above method, and only parameters with different setting values are copied. Repeat the process of rewriting and save constant files for multiple computer devices. Sometimes Umate created.

また、保守対象のコンピュータ装置を故障等により予備のコンピュータ装置に交換することが必要となった場合に備えて、予めコンピュータ装置から定数ファイルを取り出して保管しておき、実際に故障等によって交換作業を行う際に、保管しておいた定数ファイルを前記予備コンピュータ装置に送信することで、交換前後における運用互換性を確保するといったことが行われることも多い。   Also, in case it becomes necessary to replace the computer device to be maintained with a spare computer device due to a failure or the like, a constant file is taken out from the computer device and stored in advance, and the replacement work is actually performed due to a failure or the like. In many cases, the stored compatibility file is transmitted to the spare computer device to ensure operational compatibility before and after replacement.

このように、コンピュータ装置のパラメータを設定する際に、異なるコンピュータの定数ファイルやその定数ファイルの一部を書き換えたものを用いた場合、本来変更すべきではないパラメータの値を誤って変更してしまう恐れがあり、保守作業員のミスを誘発するという問題がある。
というのも、定数ファイルに記述されるパラメータの中には、そのコンピュータ装置に唯一固有の設定値が割り当てられる類のものが存在するためである。例えば、そのコンピュータ装置の製造業者や製造場所等に関する情報や、全世界で唯一固有の値を工場出荷時に設定することが義務づけられているMAC(Media Access Control)アドレスの情報などである。これらの情報は、一旦変更してしまうと、元々設定されていた値が分からなくなり、どのような値が設定されていたかを別途記録していなかった場合には、復元不可能となってしまう。
このような問題は、保守作業員が誤って異なるコンピュータ装置用の定数ファイルを用いて作業してしまった場合にも発生しうる。
In this way, when setting parameters for a computer device, if a constant file of a different computer or a part of the constant file is rewritten, the parameter value that should not be changed should be changed by mistake. There is a problem of inducing the mistakes of maintenance workers.
This is because some parameters described in the constant file are assigned with unique setting values for the computer device. For example, information on the manufacturer and manufacturing location of the computer device, and information on a MAC (Media Access Control) address that is obliged to set a unique value all over the world at the time of factory shipment. Once these information are changed, the originally set values are not known, and if the values are not recorded separately, they cannot be restored.
Such a problem can also occur when a maintenance worker accidentally works using a constant file for a different computer device.

このような不変パラメータについては、前記定数ファイルの記述対象外とする方法も考えられるが、不変パラメータの情報を知りたい場合に、その内容を容易に取得できなくなるという弊害が生じる。
また、コンピュータ装置に定数ファイルを送信して設定を変更する場合、コンピュータ装置側で定数ファイルに含まれるパラメータが不変パラメータであるか否かを判断し、不変パラメータについては変更を行わない、という方法を採用することもできるが、不変パラメータの種類が増加した場合には、その都度設定変更用ソフトウェアを修正する必要が生じるという問題がある。さらに、定数ファイルを受信した受信手段が、パラメータ毎にまず不変か可変かを判断する処理を行わなければならないため、処理の負荷が大きくなるという問題もある。また、不変パラメータを例外的に変更する必要性が生じた場合に、ソフトウェアに変更を許可しない機能を実装してしまうと、一切変更することができなくなるという問題もある。
For such invariant parameters, a method of excluding the constant file from the description target is also conceivable. However, when information about the invariant parameters is to be obtained, there is a problem that the contents cannot be easily obtained.
Also, when changing a setting by sending a constant file to a computer device, the computer device determines whether the parameter included in the constant file is an invariant parameter and does not change the invariant parameter However, when the number of invariant parameters increases, there is a problem that it is necessary to modify the setting change software each time. Furthermore, since the receiving means that has received the constant file must first perform the process of determining whether it is invariable or variable for each parameter, there is a problem that the processing load increases. There is also a problem that if it becomes necessary to change an invariant parameter exceptionally, if a function that does not permit the change is implemented in software, it cannot be changed at all.

本発明はこのような事情に鑑みてなされたものであり、外部装置から定数ファイルを送信することによってコンピュータ装置のパラメータを書き換える場合に、その利便性を維持しながら不変パラメータの変更を防止できるコンピュータ装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and a computer capable of preventing change of an invariant parameter while maintaining its convenience when a parameter of a computer device is rewritten by transmitting a constant file from an external device. An object is to provide an apparatus.

第一の発明にかかるコンピュータ装置は、設定の変更をすることが可能なパラメータの名称又は識別コードとその値とがパラメータの種類ごとに記述された構造を有するテキストファイルを外部装置とやりとりすることが可能とされており、前記パラメータには、前記コンピュータ装置の設置地点やネットワーク構成の変更に応じてその設定値を変更する必要が生じる可変のパラメータと、製造時又は工場出荷時において一意に設定され、例外的に変更する以外には変更することが許されない不変のパラメータとが含まれており、前記構造を有するテキストファイルを前記外部装置から受信する受信部と、受信した前記テキストファイルに記述されたパラメータの値を記憶する記憶部と、前記外部装置からの要求に応じて、前記記憶部に記憶されたパラメータについて、前記構造を有するテキストファイルを作成して外部装置宛に送信する送信部とを有し、前記受信部は、受信したテキストファイルに含まれるコメント文とコメント文以外の文とを識別する識別手段と、前記コメント文を破棄するコメント文破棄手段と、前記コメント文以外の文からパラメータの名称又は識別コードとその値とを取得する設定値取得手段と、前記設定値取得手段によって値が取得されたパラメータについては、そのパラメータが不変のパラメータであるか可変のパラメータであるかに関わらず、当該取得された値に設定を変更して記憶するパラメータ記憶手段とを有し、前記送信部は、前記記憶部に記憶されたパラメータのうち、不変のパラメータの名称又は識別コードとその値とをコメント文を示す文字列と共にコメント文として記述するとともに、可変のパラメータの名称又は識別コードとその値とをコメント文以外の文として記述した送信用テキストファイルを作成するテキストファイル作成手段を有する(請求項1)。 The computer device according to the first invention exchanges a text file having a structure in which a parameter name or identification code whose value can be changed and a value thereof are described for each parameter type with an external device. The parameter is a variable parameter that needs to be changed according to a change in the installation location or network configuration of the computer device, and a unique setting at the time of manufacture or factory shipment. And an immutable parameter that is not allowed to be changed except for exceptional changes, and is described in the receiving unit that receives the text file having the structure from the external device, and the received text file A storage unit that stores the value of the parameter that has been set, and the storage unit that stores the value in response to a request from the external device A transmission unit that creates a text file having the structure and transmits it to an external device for the received parameter, and the reception unit includes a comment sentence included in the received text file and a sentence other than the comment sentence. An identifying means for identifying, a comment sentence discarding means for discarding the comment sentence, a setting value obtaining means for obtaining a parameter name or identification code and its value from a sentence other than the comment sentence, and a setting value obtaining means The parameter for which the value is acquired has parameter storage means for changing the setting to the acquired value and storing the parameter regardless of whether the parameter is an invariant parameter or a variable parameter, and transmission unit, among the parameters stored in the storage unit, the name or identification code of invariable parameters and their values comment Together to string together it is described as a comment, a text file creating means for creating a variable with the name or identification code of parameters for transmission text file that describes its value as a statement of non-comment statement (claim 1) .

また、第二の発明にかかる交通管制システムに用いられる交通信号制御機、端末ルータ又は光ビーコン(これらをまとめて、以下「交通信号制御機等」という。)は、第一のコンピュータ装置と同じ機能を備えるものである(請求項4)。 The traffic signal controller, terminal router or optical beacon (collectively referred to as “traffic signal controller” hereinafter) used in the traffic control system according to the second invention is the same as the first computer device. It has a function (Claim 4).

これらの発明にかかるコンピュータ装置及び交通信号制御機によれば、不変パラメータの値をテキストファイルのコメント文に含ませるようにしたため、当該テキストファイルを取得した後、異なるコンピュータ装置等に当該テキストファイルを送信した場合であっても、不変パラメータの値が書き換わることがなく、復元不可能になることを回避できる。また、前記テキストファイルの不変パラメータ値を誤って編集した後に送信した場合であっても、コメント文とされているから値が書き換わることは無い。また、コメント文か否かを識別して一律にコメント文を破棄する機能を受信部に持たせることで、不変パラメータの種類が増加した場合であっても、受信部のソフトウェアを変更する必要がなくなり、ソフトウェアの処理をシンプルなものとすることができる。また、テキストファイルを取得した作業者が、操作マニュアル等を参照しなくても、不変パラメータか可変パラメータかを即座に判断することができ、書き換えてはならないパラメータがどれかを的確に区別できるようになる。 According to the computer apparatus and the traffic signal controller and the like according to these inventions, since the value of the invariant parameter is included in the comment text of the text file, the text file is acquired in a different computer apparatus after obtaining the text file. Even when the message is transmitted, the value of the invariant parameter is not rewritten, and it can be avoided that the value cannot be restored. Even if the invariant parameter value of the text file is erroneously edited and transmitted, the value is not rewritten because it is a comment sentence. In addition, it is necessary to change the software of the receiving unit even if the types of invariant parameters have increased by providing the receiving unit with the function of discriminating whether or not it is a comment sentence and uniformly discarding the comment sentence. The software processing can be simplified. In addition, the operator who acquired the text file can immediately determine whether it is an invariant parameter or a variable parameter without referring to the operation manual, etc., so that it is possible to accurately distinguish which parameter should not be rewritten. become.

なお、前記テキストファイルをやりとりする場合には、ファイル転送プロトコル(FTP)を用いることが望ましい(請求項2)。
FTPを用いることで、コンピュータ装置や交通信号制御機等の設置地点とは離隔した地点においてもテキストファイルの送受信を行うことが可能となる。また、汎用性の高いFTPを用いることで、どのような種類の外部装置であってもテキストファイルをやりとりすることができるようになる。
When exchanging the text file, it is preferable to use a file transfer protocol (FTP).
By using FTP, text files can be transmitted and received even at a location remote from the installation location of computer devices , traffic signal controllers, and the like . In addition, by using a highly versatile FTP, it becomes possible to exchange text files with any type of external device.

なお、前記不変のパラメータとしては、例えば、前記コンピュータ装置や交通信号制御機等の備える通信デバイスのMACアドレスの情報、前記コンピュータ装置や交通信号制御機等の製造業者を示す情報、前記コンピュータ装置や交通信号制御機等の製造時点を示す情報、前記コンピュータ装置や交通信号制御機等の製造地点を示す情報、前記コンピュータ装置や交通信号制御機等の製造条件を示す情報、前記コンピュータ装置や交通信号制御機等の工場検査の結果を示す情報、または、前記コンピュータ装置や交通信号制御機等の備える通信デバイスのうちリモート接続を許可する通信デバイスのIPアドレスなどが挙げられ、前記テキストファイルには、これらのうち2つ以上が含まれていても良い(請求項3)。
これらのパラメータのうちリモート接続を許可する通信デバイスのIPアドレス以外のパラメータは、いずれもコンピュータ装置等のハードウェアそのものの固有の情報であるから、原則として書き換えられることの無いものである。前記テキストファイルにおいてこれらを不変なパラメータとしてコメント文に含ませることで、誤って書き換えられることを防止できる。
また、リモート接続を許可する通信デバイスのIPアドレスは、特にリモートで定数ファイルの設定作業を実施している場合に、誤って変更したために変更後にリモート接続できなくなるという問題を未然に回避することができるようになる。
As the parameters of the invariant, for example, information of the MAC address of the communication device provided in the like the computer apparatus, traffic signal control apparatus, information indicating the manufacturer of such a computer device or a traffic signal controller, Ya the computing device information indicating the time of manufacture, such as traffic signal controller, information indicating the point of manufacture, such as the computing device, traffic signal control apparatus, information indicating the production conditions such as the computing device and a traffic signal controller, the computer device and traffic signals Information indicating the result of factory inspection such as a controller , or the IP address of a communication device that allows remote connection among communication devices such as the computer device or traffic signal controller, etc. Two or more of these may be included (claim 3).
Of these parameters, parameters other than the IP address of the communication device that permits remote connection are information inherent to the hardware itself such as a computer device, and therefore cannot be rewritten in principle. By including these in the comment text as invariant parameters in the text file, it is possible to prevent accidental rewriting.
In addition, the IP address of the communication device that permits remote connection can be avoided, in particular, when the constant file setting work is being performed remotely, so that the remote connection cannot be made after the change due to an incorrect change. become able to.

以上のように、本発明のコンピュータ装置、交通信号制御機によれば、外部装置から定数ファイルを送信することによってパラメータを書き換える場合に、不変パラメータを誤って変更することを防止できる。 As described above, the computer system of the present invention, according to the traffic signal controller, etc., can be prevented when rewriting the parameters by sending a constant file from an external device, to change accidentally invariant parameters.

(第1の実施形態)
以下、本発明の第1の実施形態を、図面を参照しながら詳細に説明する。
図1は、本発明に係る交通信号制御機5を含む交通システムの構成の概要を示す模式図である。また、図2は交通信号制御機5の機能ブロックを示すブロック図である。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic diagram showing an outline of the configuration of a traffic system including a traffic signal controller 5 according to the present invention. FIG. 2 is a block diagram showing functional blocks of the traffic signal controller 5.

〔システムの全体構成〕
交通管制センターには、信号制御装置1、情報提供装置2、中央ルータ3、及び保守作業装置7が設置され、一方、路側には、端末ルータ4、交通信号制御機5、および光ビーコン6が設置されている。そして、中央ルータ3と端末ルータ4は通信回線によって接続されている。
なお、これらの装置は、本体を制御するCPU、メモリやハードディスク等の記憶装置、および通信用のシリアル通信デバイス等により構成されており、各装置そのものの機能は前記記憶装置に格納されたソフトウェアや各種ハードウェアによって実現されている。
[Overall system configuration]
In the traffic control center, a signal control device 1, an information providing device 2, a central router 3, and a maintenance work device 7 are installed. On the road side, a terminal router 4, a traffic signal controller 5, and an optical beacon 6 are provided. is set up. The central router 3 and the terminal router 4 are connected by a communication line.
These devices are composed of a CPU for controlling the main body, a storage device such as a memory and a hard disk, and a serial communication device for communication. The functions of each device itself are software stored in the storage device, It is realized by various hardware.

信号制御装置1は、中央ルータ3および端末ルータ4を介して交通信号制御機5と通信しており、例えば、交通信号制御機5の制御する信号灯器(図2)の制御に関する指示を与えたり、交通信号制御機5の動作履歴に関する情報を受け取ったりする機能を備えている。
また、情報提供装置2は、同様に、中央ルータ3および端末ルータ4を介して光ビーコン6と通信しており、例えば、光ビーコン6に対して車両提供用の交通情報等を送信したり、車両から発信された旅行時間等の情報を受け取ったりする機能を備えている。
The signal control device 1 communicates with the traffic signal controller 5 via the central router 3 and the terminal router 4, for example, gives instructions regarding control of the signal lamp (FIG. 2) controlled by the traffic signal controller 5. A function of receiving information related to the operation history of the traffic signal controller 5 is provided.
Similarly, the information providing apparatus 2 communicates with the optical beacon 6 via the central router 3 and the terminal router 4, for example, transmits traffic information for providing vehicles to the optical beacon 6, It has a function of receiving information such as travel time transmitted from the vehicle.

本交通システムでは、各装置間の通信はIPで行われており、信号制御装置1と交通信号制御機5との間の情報交換や、情報提供装置2と光ビーコン6との間の情報交換にはDATEX−ASNプロトコルが用いられている。
また、交通管制センターの中央ルータ3には、保守作業装置7を随時接続することができるようになっており、保守作業員は、その保守作業装置7からtelnetやFTPなどのプロトコルで交通信号制御機5や光ビーコン6に接続し、リモートでパラメータの確認・変更等の保守作業を実施することができるようになっている。
In this traffic system, communication between each device is performed by IP, and information exchange between the signal control device 1 and the traffic signal controller 5 and information exchange between the information providing device 2 and the optical beacon 6 are performed. Uses the DATEX-ASN protocol.
In addition, a maintenance work device 7 can be connected to the central router 3 of the traffic control center at any time, and the maintenance worker can control traffic signals from the maintenance work device 7 using protocols such as telnet and FTP. It can be connected to the machine 5 and the optical beacon 6 to perform maintenance work such as parameter confirmation / change remotely.

なお、本実施形態では保守作業装置7を独立した装置としているが、信号制御装置1等が保守作業装置7の保守機能を保持する構成としても良い。
また、保守作業装置7は端末側で端末ルータ4等に接続して使用することもできるし、交通信号制御機5に直接接続して使用することもできる。すなわち、ネットワーク上で保守対象となる装置に対して通信到達可能なところであれば、どこに接続しても良い。
In the present embodiment, the maintenance work device 7 is an independent device, but the signal control device 1 or the like may be configured to hold the maintenance function of the maintenance work device 7.
The maintenance device 7 can be used by connecting to the terminal router 4 or the like on the terminal side, or can be directly connected to the traffic signal controller 5 for use. In other words, it may be connected anywhere as long as it can reach the device to be maintained on the network.

ここで、前記IPやDATEX−ASNプロトコルによる通信を行うには、各装置にIPアドレス、通信用のポート番号やドメイン名などの各種パラメータを設定した上で、装置間に通信セッションを開設する必要があるため、各装置には多数の通信用のパラメータを設定しなければならない。
また、例えば、交通信号制御機5の場合には、信号制御を行うために用いられるパラメータの設定を行う必要もある。
Here, in order to perform communication using the IP or DATEX-ASN protocol, it is necessary to set various parameters such as an IP address, a communication port number, and a domain name in each device, and then establish a communication session between the devices. Therefore, a lot of communication parameters must be set for each device.
Further, for example, in the case of the traffic signal controller 5, it is necessary to set parameters used for signal control.

〔交通信号制御機5の構成〕
次に、図2及び図3を用いて、交通信号制御機5の基本的な動作を説明する。
図3は、交通信号制御機5に含まれる通信制御部8の詳細な機能構成を示すブロック構成図である。
[Configuration of traffic signal controller 5]
Next, the basic operation of the traffic signal controller 5 will be described with reference to FIGS. 2 and 3.
FIG. 3 is a block configuration diagram showing a detailed functional configuration of the communication control unit 8 included in the traffic signal controller 5.

交通信号制御機5には、信号制御装置1等の中央装置や隣接する他の交通信号制御機(図示せず)等との間で情報をやりとりするための通信制御部8が格納されている。
通信制御部8は、信号制御装置1から信号灯器の各信号灯色の表示時間を決定するための根拠となる信号制御指令情報を受信手段802により受信したり、交通信号制御機5の信号制御実行動作履歴を示す情報を送信手段801により所定の周期毎に信号制御装置1宛に送信したりする機能を有する。
また、隣接する他の交通信号制御機との間で信号制御に関する情報や車両感知器(図示せず)において計測された交通量等の情報を交換する機能も有する。
これらの情報は、DATEX−ASNプロトコルの手順に従ってやりとりされる。
The traffic signal controller 5 stores a communication control unit 8 for exchanging information with a central device such as the signal controller 1 and other adjacent traffic signal controllers (not shown). .
The communication control unit 8 receives the signal control command information as a basis for determining the display time of each signal lamp color of the signal lamp from the signal control device 1, or performs signal control of the traffic signal controller 5. The transmission unit 801 has a function of transmitting information indicating an operation history to the signal control apparatus 1 at predetermined intervals.
It also has a function of exchanging information on signal control and information on traffic volume measured by a vehicle sensor (not shown) with other adjacent traffic signal controllers.
These pieces of information are exchanged according to the procedure of the DATEX-ASN protocol.

信号制御プラン作成手段501は、前記信号制御指令情報や信号制御定数テーブル503に記憶されている信号制御パラメータ等に基づいて、所定周期毎(通常は1サイクル毎)の信号制御プランを作成し、信号制御プランテーブル502に記憶する機能を有する。
ここで、信号制御プランとは、信号灯器の各信号灯色の表示予定時間等を指す。
信号灯器制御手段511は、信号制御プランテーブル502に記憶された前記信号制御プランに基づいて、信号灯器の各信号灯色を点灯等する。
The signal control plan creation unit 501 creates a signal control plan for each predetermined period (usually every cycle) based on the signal control command information, the signal control parameters stored in the signal control constant table 503, and the like. It has a function of storing in the signal control plan table 502.
Here, the signal control plan refers to the scheduled display time of each signal lamp color of the signal lamp.
Based on the signal control plan stored in the signal control plan table 502, the signal lamp control means 511 lights up each signal lamp color of the signal lamp.

〔通信制御部8の定数ファイル送受信動作〕
ここで、通信制御部8による定数ファイルの送受信動作について、詳細に説明する。
図4は保守作業装置7から定数ファイルを受信した場合の動作フローであり、図5は保守作業装置7から定数ファイルの送信を要求された場合の動作フローである。
また、図6は定数ファイルの一例を示す図である。
まず、図5に従って、交通信号制御機5から定数ファイルを取り出す動作について説明する。
[Constant file transmission / reception operation of communication control unit 8]
Here, the transmission / reception operation of the constant file by the communication control unit 8 will be described in detail.
FIG. 4 is an operation flow when the constant file is received from the maintenance work device 7, and FIG. 5 is an operation flow when the maintenance work device 7 requests transmission of the constant file.
FIG. 6 shows an example of a constant file.
First, the operation for extracting a constant file from the traffic signal controller 5 will be described with reference to FIG.

交通信号制御機5の通信制御部8ではFTPサーバ機能を実現するためのFTPデーモン841が動作しており、外部の装置からのFTP接続要求があるかどうかを常時監視している。
保守作業員が、パーソナルコンピュータである保守作業装置7において所定の操作を行い、ファイル転送プロトコル(FTP)によって交通信号制御機5に対して接続を要求すると、FTPデーモン841によって当該要求が受け付けられ、接続が確立する。
そして、保守作業員は、保守作業装置7においてgetコマンドの入力等を行うことにより、FTPのファイル転送要求を交通信号制御機5に対して送信する。
The communication control unit 8 of the traffic signal controller 5 operates an FTP daemon 841 for realizing the FTP server function, and constantly monitors whether there is an FTP connection request from an external device.
When a maintenance worker performs a predetermined operation on the maintenance work device 7 which is a personal computer and requests connection to the traffic signal controller 5 by a file transfer protocol (FTP), the request is accepted by the FTP daemon 841, Connection is established.
Then, the maintenance worker transmits an FTP file transfer request to the traffic signal controller 5 by inputting a get command or the like in the maintenance work device 7.

通信制御部8が前記ファイル転送要求を受けたら(ステップS201)、定数ファイル作成手段821は、中身が空の初期化された定数ファイルを作成してオープンする(ステップS202)。そして、パラメータテーブル831に記憶しているパラメータを1つずつ読み出す処理を実行する(ステップS203)。
ここで、読み出されたパラメータの属性が不変パラメータである場合、まず、コメント文であることを示す文字列を前記定数ファイルに書き込む(ステップS204)。
ここで、コメント文であることを示す文字列とは、例えば「/*」のように複数の記号や文字を組み合わせた文字列であっても良いし、「!」や「#」のように1つの記号等であっても良い。
そして、前記コメント文であることを示す文字列を書き込んだ後に、後続のフィールドに前記パラメータの名称(前記パラメータであることを示す識別コードでも良い。)を書き込み、さらにその後に前記パラメータの値を記入する(ステップS205)。
例えば、前記パラメータが通信制御部8の有する通信用イーサネット(登録商標)デバイスのMACアドレスであれば、本パラメータは不変パラメータであるから、「/* MAC_ADDRESS 01.02.03.04.05.06」などのように、コメント文を示す文字列「/*」に続けて、パラメータ名称とその値を順次書き込み、最後に改行文字を書き込んで当該パラメータに関する処理を終了する(ステップS206)。
When the communication control unit 8 receives the file transfer request (step S201), the constant file creating unit 821 creates and opens an initialized constant file with empty contents (step S202). And the process which reads the parameter memorize | stored in the parameter table 831 one by one is performed (step S203).
Here, when the read attribute of the parameter is an invariant parameter, first, a character string indicating a comment sentence is written in the constant file (step S204).
Here, the character string indicating the comment sentence may be, for example, a character string combining a plurality of symbols and characters such as “/ *”, or “!” Or “#”. One symbol or the like may be used.
Then, after writing a character string indicating the comment sentence, the parameter name (which may be an identification code indicating the parameter) is written in a subsequent field, and then the parameter value is set. Fill in (step S205).
For example, if the parameter is the MAC address of a communication Ethernet (registered trademark) device included in the communication control unit 8, this parameter is an invariant parameter, so that “/ * MAC_ADDRESS 01.02.03.04.05.006 , Etc., the parameter name and its value are sequentially written following the character string “/ *” indicating the comment sentence, and finally a line feed character is written, and the processing relating to the parameter is terminated (step S206).

このように、ステップS203〜S206で示した一連の動作を、パラメータテーブル831に記憶しているパラメータの数だけ繰り返し実行する。
すなわち、一連の動作により、パラメータ数と同じ行数のテキスト文が記載された定数ファイルが作成される。
そして、完成した前記定数ファイルを、送信手段801がFTPの手順に従って保守作業装置7宛に送信する(ステップS207)。
なお、定数ファイルには、パラメータを記載した行以外の文が含まれていても良く、例えば、ファイルの先頭や最後に、装置の名称やファイル作成日時に関する情報などを記載しておいても良い。この場合、これらの文はコメント文として書き込まれる。
In this way, the series of operations shown in steps S203 to S206 are repeatedly executed for the number of parameters stored in the parameter table 831.
That is, a constant file in which a text sentence having the same number of lines as the number of parameters is created by a series of operations.
Then, the transmission unit 801 transmits the completed constant file to the maintenance work apparatus 7 according to the FTP procedure (step S207).
Note that the constant file may include statements other than the lines describing the parameters. For example, information on the device name and file creation date and time may be described at the beginning or end of the file. . In this case, these sentences are written as comment sentences.

パラメータテーブル831に記憶されるパラメータとしては、交通信号制御機5が有する1又は複数の通信デバイスのそれぞれに割り当てられるIPアドレスとサブネットマスク、アプリケーションデータを送受信する相手毎に設定するDATEX−ASNプロトコル用のトランスポート層のポート番号、ドメイン名、ユーザ名、及びパスワード等の各種パラメータ、通信制御部8がIPルーティング機能を有する場合には、ルーティングに関するルーティングテーブル情報やリンクコストの情報などがある。
ここで言及したパラメータは、交通信号制御機5の設置地点やネットワーク構成等が変更されれば、随時その設定値を変更する必要が生じるパラメータであるため可変パラメータである。
ただし、信号制御装置1等の中央装置と通信するために用いられる通信デバイスのIPアドレスとサブネットマスクについては、一旦誤った値に書き換えてしまうと交通管制センターからリモートで接続することができなくなるため、不変パラメータとして定義するようにしても良い。もしリモートで作業している最中に誤って書き換えてしまうと、交通信号制御機5の設置された地点まで出向して作業しなければならなくなる、というリスクを負うため、前記中央装置と通信するために用いられる通信デバイスのIPアドレスとサブネットマスクについては、不変パラメータとしておいても良い。
Parameters stored in the parameter table 831 include the IP address and subnet mask assigned to each of one or a plurality of communication devices included in the traffic signal controller 5, and the DATEX-ASN protocol set for each partner for transmitting and receiving application data. There are various parameters such as port number, domain name, user name and password of the transport layer, and routing table information related to routing and link cost information when the communication control unit 8 has an IP routing function.
The parameter mentioned here is a variable parameter because the setting value of the traffic signal controller 5 needs to be changed at any time if the installation location or network configuration of the traffic signal controller 5 is changed.
However, the IP address and subnet mask of the communication device used to communicate with the central device such as the signal control device 1 cannot be remotely connected from the traffic control center once they are rewritten to incorrect values. It may be defined as an invariant parameter. If it is accidentally rewritten while working remotely, there is a risk that it will be necessary to go to the point where the traffic signal controller 5 is installed, and communicate with the central device. The IP address and subnet mask of the communication device used for this purpose may be set as invariant parameters.

一方、パラメータテーブル831に記憶されるパラメータのうち不変のパラメータとしては、交通信号制御機5の製造業者を示す情報、交通信号制御機5の製造時点を示す情報、交通信号制御機5の製造地点を示す情報、交通信号制御機5の製造条件を示す情報、及び、交通信号制御機5の工場検査の結果を示す情報等が挙げられる。
これらの情報は、製造時や工場出荷時において一意に定められるものであるから、保守作業員等によって後で書き換えることは許されないパラメータである。
ただし、製造時や工場出荷時等に本来設定されるべき値とは異なる値を設定してしまった場合には、例外的に保守作業員が指示に従って書き変えることもありうる。
On the other hand, among the parameters stored in the parameter table 831, the invariant parameters include information indicating the manufacturer of the traffic signal controller 5, information indicating the manufacturing time of the traffic signal controller 5, and manufacturing points of the traffic signal controller 5 , Information indicating the manufacturing conditions of the traffic signal controller 5, information indicating the result of factory inspection of the traffic signal controller 5, and the like.
Since these pieces of information are uniquely determined at the time of manufacture and factory shipment, they are parameters that are not allowed to be rewritten later by a maintenance worker or the like.
However, if a value different from the value originally set at the time of manufacture, factory shipment, or the like is set, the maintenance worker may exceptionally rewrite it according to the instruction.

次に、図4に従って、交通信号制御機5に対して定数ファイルを送信し、交通信号制御機5にパラメータを設定する動作について説明する。   Next, the operation of transmitting a constant file to the traffic signal controller 5 and setting parameters in the traffic signal controller 5 will be described with reference to FIG.

定数ファイルの送信に先立って、保守作業員は、図5の手順で取得した定数ファイルをパーソナルコンピュータである保守作業装置7の汎用的なテキストファイルエディタ等で開き、その内容を確認する。そして、前記定数ファイルのうち、変更したいパラメータを選定して、当該パラメータの設定値を編集して保存する。
例えば、信号制御装置1との間での通信が正常に開始されないような場合、保守作業員は、信号制御装置1との通信に関するパラメータの値を順番に確認する。例えば、これらのパラメータのうち交通信号制御機5のユーザ名の値が誤っている場合には、当該値を正しい値に変更する。そして、変更したい値を全て編集したら定数ファイルの内容を確定させて保存し、テキストファイルエディタの操作を終了する。
Prior to the transmission of the constant file, the maintenance worker opens the constant file acquired by the procedure of FIG. 5 with a general-purpose text file editor or the like of the maintenance work apparatus 7 which is a personal computer, and confirms the contents. Then, a parameter to be changed is selected from the constant file, and the setting value of the parameter is edited and saved.
For example, when communication with the signal control device 1 is not normally started, the maintenance worker sequentially confirms parameter values related to communication with the signal control device 1. For example, when the value of the user name of the traffic signal controller 5 is incorrect among these parameters, the value is changed to a correct value. When all the values to be changed are edited, the contents of the constant file are fixed and saved, and the operation of the text file editor is terminated.

そして、保守作業員は所定の操作を行い、ファイル転送プロトコル(FTP)によって交通信号制御機5に対して接続を要求する。前記要求は、通信制御部8のFTPデーモン841によって受け付けられ、保守作業装置7と交通信号制御機5の接続が確立する。
そして、保守作業員は、保守作業装置7においてputコマンドの入力等を行うことにより、FTPによって交通信号制御機5に対する前記定数ファイルの転送を開始する。
Then, the maintenance worker performs a predetermined operation and requests connection to the traffic signal controller 5 by a file transfer protocol (FTP). The request is accepted by the FTP daemon 841 of the communication control unit 8, and the connection between the maintenance work device 7 and the traffic signal controller 5 is established.
Then, the maintenance worker starts the transfer of the constant file to the traffic signal controller 5 by FTP by inputting a put command or the like in the maintenance work device 7.

通信制御部8が前記定数ファイルを受信したら(ステップS101)、コメント文識別・破棄手段811は、前記定数ファイルの先頭から1行ずつテキスト文を取り出し(ステップS102)、当該テキスト文にコメント文を示す文字列が含まれているかどうか判定する(ステップS103)。
もし、コメント文を示す文字列(例えば「/*」や「!」など)が含まれている場合には、その1行のテキスト文のうち、当該文字列に後続する部分をコメント文であると見なして破棄する(ステップS104)。
この場合、コメントを示す文字列は、前記1行のテキスト文の先頭にある場合だけではなく、途中に含まれている場合があっても良い。例えば、「SUBNETMASK 255.255.255.0 /* サブネットマスクは24ビット」などのようなテキスト文であれば、文字列「/*」以降の部分のみが破棄され、それ以前の部分は有効なものとして取り扱われる。
When the communication control unit 8 receives the constant file (step S101), the comment sentence identifying / discarding unit 811 extracts a text sentence line by line from the top of the constant file (step S102), and adds a comment sentence to the text sentence. It is determined whether or not the indicated character string is included (step S103).
If a character string indicating a comment sentence (for example, “/ *”, “!”, Etc.) is included, the part following the character string in the text sentence of the one line is a comment sentence. It considers and discards (step S104).
In this case, the character string indicating the comment may be included not only at the beginning of the one-line text sentence but also in the middle. For example, if it is a text sentence such as “SUBNETMASK 255.255.255.0 / * Subnet mask is 24 bits”, only the part after the character string “/ *” is discarded, and the part before it is valid. It is treated as a thing.

そして、コメント文以外の有効な部分と判定されたテキスト文からは、パラメータ名称又は識別コードとその設定値を順次取り出し(ステップS105)、取り出した当該パラメータの設定値をパラメータテーブル831に記憶させる(ステップS106)。
このように、ステップS102〜S106で示した一連の動作を、定数ファイルの総行数分だけ繰り返し実行する。すなわち、この一連の動作により、定数ファイルに記載された全てのテキスト文から、必要なパラメータの設定値を全て取り出すことができる。
Then, from the text sentence determined to be an effective part other than the comment sentence, the parameter name or identification code and its setting value are sequentially extracted (step S105), and the extracted setting value of the parameter is stored in the parameter table 831 ( Step S106).
In this way, the series of operations shown in steps S102 to S106 are repeatedly executed for the total number of lines in the constant file. That is, through this series of operations, all necessary parameter setting values can be extracted from all text sentences described in the constant file.

なお、ここでは、コメントを示す文字列以降の部分をコメント文とする方法を記載したが、所定の文字列の組み合わせ(例えば、「/*」と「*/」など)を決めておいて、当該組み合わせによって囲まれた部分をコメント文とみなす方法でも良い。
例えば、「SUBNETMASK 255.255.255.0 /* サブネットマスクは24ビット */」などのようにコメント文を記載する方法を用いても良い。
In addition, although the method of making the part after the character string which shows a comment the comment sentence was described here, the combination (for example, "/ *" and "* /" etc.) of predetermined character strings is determined, A method in which a portion surrounded by the combination is regarded as a comment sentence may be used.
For example, a method of describing a comment sentence such as “SUBNETMASK 255.255.255.0 / * Subnet mask is 24 bits * /” may be used.

〔保守作業員による定数ファイル送受信操作の態様〕
保守作業員が、定数ファイルの送受信操作によって保守作業を行う場合の態様としては、いくつかのパタンが想定される。
[Mode of constant file transmission / reception by maintenance workers]
As a mode in which the maintenance worker performs the maintenance work by the transmission / reception operation of the constant file, several patterns are assumed.

第一のケースは、実施形態で記載した通り、遠隔地からリモートでパラメータ値を変更する場合である。
このケースでは、当該遠隔地との間で通信を確立した状態で作業を継続しなければいけないため、うっかりIPアドレス等の設定を変更してしまうと、わざわざ交通信号制御機5の設置地点まで出向して作業をしなければいけなくなるというリスクを負う。
そこで、本発明を適用して前記IPアドレスを不変パラメータとして扱い、交通信号制御機5から取り出す定数ファイルにおいて該IPアドレスに関するテキスト文をコメント文とすることで、保守作業員が誤ってIPアドレスを変更してしまうことを防止できるようになる。
なお、仮に前記IPアドレスを同一のネットワークセグメントのIPアドレスに変更するだけであれば、変更後であってもリモートで接続することは可能である。
本発明であれば、リモートで作業している場合に例外的にIPアドレスを変更する必要が生じたら、コメント文とされている前記IPアドレスに関するテキスト文に加えられている「/*」等の文字列を消去するだけで、容易に設定変更をすることが可能となるため、大変利便性が高い。
仮に、このように、一旦、前記IPアドレスに関するテキスト文をコメント文以外の文としても、保守作業完了後に再び交通信号制御機5から定数ファイルを取り出せば、前記テキスト文はコメント文として取り出されるから、当該定数ファイルを誤って他の交通信号制御機に送信した場合であっても、IPアドレスが書き換えられる恐れはなくなる。
The first case is a case where the parameter value is changed remotely from a remote place as described in the embodiment.
In this case, work must be continued with communication established with the remote location, so if you inadvertently change the IP address settings, you will be sent to the traffic signal controller 5 installation point. And take the risk of having to work.
Therefore, by applying the present invention, the IP address is treated as an invariant parameter, and a text sentence relating to the IP address is used as a comment sentence in the constant file extracted from the traffic signal controller 5, so that the maintenance worker mistakenly assigns the IP address. It becomes possible to prevent the change.
If the IP address is simply changed to the IP address of the same network segment, it is possible to connect remotely even after the change.
In the present invention, when it is necessary to change the IP address exceptionally when working remotely, "/ *" or the like added to the text sentence related to the IP address that is a comment sentence Since it is possible to easily change the setting simply by deleting the character string, it is very convenient.
As described above, even if the text sentence related to the IP address is changed to a sentence other than the comment sentence, if the constant file is taken out again from the traffic signal controller 5 after the maintenance work is completed, the text sentence is taken out as a comment sentence. Even if the constant file is erroneously transmitted to another traffic signal controller, there is no possibility that the IP address is rewritten.

第二のケースは、保守作業員が一部のパラメータが同一の値として設定される複数の交通信号制御機の定数ファイルを一度にまとめて作成した後、各交通信号制御機に送信して設定する場合である。
このケースでは、通常、前記複数の交通信号制御機のうちから選んだ一の交通信号制御機から定数ファイルを1つ取り出し、その定数ファイルを保守作業装置7上で複数のファイルにコピーし、一部の同一値に設定するパラメータ以外のパラメータを順次変更する編集作業を行うことがよくある。
この際、前記選んだ一の交通信号制御機5は、10年前にある業者によって製造されたものであるが、他の交通信号制御機は、別の業者によって今年製造されたものである場合には、誤って製造業者に関する情報や製造時点に関する情報を書き換えてしまうおそれがある。
例えば、前記選んだ一の交通信号制御機から取り出した定数ファイルのうち、設定の異なるIPアドレスやDATEX−ASNプロトコル用の通信パラメータは編集したが、製造業者に関する情報等が異なっていることに気がつかずに他の交通信号制御機に送信してしまうような場合である。
もし仮に、今年製造されたこの別の交通信号制御機の製造業者の名称等を管理簿等に記載していなかった場合には、当該装置がどの業者によっていつ製造されたものであるかを特定することができなくなる、という重大な問題を引き起こす。
しかし、本発明によれば、定数ファイルのうち製造業者の名称等の不変パラメータについては、前記選んだ一の交通信号制御機5から取得した時点でコメント文として記述されているから、このような保守作業員のミスによる問題を未然に回避できるようになる。
In the second case, a maintenance worker creates a constant file for multiple traffic signal controllers that have some parameters set to the same value at one time, and then sends them to each traffic signal controller for setting. This is the case.
In this case, usually, one constant file is taken out from one traffic signal controller selected from the plurality of traffic signal controllers, and the constant file is copied to a plurality of files on the maintenance work device 7. Often, editing operations are performed in which parameters other than the parameters set to the same value are sequentially changed.
At this time, the selected one traffic signal controller 5 was manufactured by a contractor 10 years ago, but the other traffic signal controller 5 was manufactured this year by another contractor. In some cases, there is a risk that information regarding the manufacturer or information regarding the time of manufacture will be erroneously rewritten.
For example, in the constant file extracted from the selected traffic signal controller, the IP address with different settings and the communication parameters for the DATEX-ASN protocol have been edited, but the information regarding the manufacturer is noticed. Without being transmitted to other traffic signal controllers.
If the name of the manufacturer of this other traffic signal controller manufactured this year was not listed in the management book etc., specify when the device was manufactured by which supplier. Cause a serious problem of being unable to do so.
However, according to the present invention, invariant parameters such as the manufacturer's name in the constant file are described as comment sentences at the time of acquisition from the selected one traffic signal controller 5, so that Problems due to mistakes by maintenance workers can be avoided in advance.

第三のケースは、保守作業員が故障した交通信号制御機5を予備の交通信号制御機に置き換える際に、予め故障前に交通信号制御機5から取り出していた定数ファイルを予備の交通信号制御機に送信して設定する場合である。
このケースでも、第二のケースと同じように、本発明によれば、定数ファイルのうち製造業者の名称等の不変パラメータについては、前記故障前に交通信号制御機5から取り出した時点でコメント文として記述されているから、このような作業によって誤って書き換えられる心配がなくなる。
そして、設定が完了した後に、前記予備の交通信号制御機から定数ファイルを取得しておけば、予備の交通信号制御機の保有する全てのパラメータの値を正しく保管することが可能になる。
In the third case, when the traffic signal controller 5 in which the maintenance worker fails is replaced with a spare traffic signal controller, the constant file previously taken out from the traffic signal controller 5 before the failure is spare traffic signal control. This is the case of setting by sending to the machine.
Also in this case, as in the second case, according to the present invention, the invariant parameters such as the manufacturer's name in the constant file are commented when taken out from the traffic signal controller 5 before the failure. Therefore, there is no need to worry about accidental rewriting by such work.
If the constant file is acquired from the spare traffic signal controller after the setting is completed, the values of all the parameters held by the spare traffic signal controller can be stored correctly.

これら3つのケースでは、本発明の他にも、(1)定数ファイルを受信してパラメータ値を置き換える処理の中に、不変パラメータの書き換えを防止する処理を実装しておく、(2)交通信号制御機から取得できる定数ファイルに不変パラメータを含めないようにする、といった方法が考えられる。
しかし、(1)の方法では、不変パラメータの種類が増加した場合に、その都度パラメータ値を書き変える処理を改造しなければならないという問題あると共に、例外的に不変パラメータの値を変更したい場合に変更できないという問題も発生する。例えば、前記製造時点の情報が誤って前年の日付となっていたような場合である。
本発明であれば、コメント文として記載されている文の先頭に書かれた「/*」等の文字列を消去する編集を行ってから定数ファイルを送信することで、容易に例外的な作業にも対応でき、大変有用である。
(2)の方法では、定数ファイルの取得によって、該当する交通信号制御機の製造業者や製造時点等を確認することができなくなるという問題がある。特に、全ての交通信号制御機の定数ファイルを一括で保存しておいて、それらの定数ファイルを一度に読み込んで交通信号制御機の製造業者や製造時点等のリストを作成する場合がよくあるが、この方法では、そのようなリスト作成は実現できなくなってしまう。
その点、本発明であれば、定数ファイルにコメント文として記載された製造業者や製造時点等の情報を取得しながらリストを作成することが可能である。
In these three cases, in addition to the present invention, (1) a process for preventing rewriting of invariant parameters is implemented in the process of receiving a constant file and replacing the parameter value. (2) Traffic signal A method such as not to include invariant parameters in the constant file that can be acquired from the controller can be considered.
However, in the method (1), when the number of invariant parameters increases, there is a problem that the processing for rewriting the parameter value must be remodeled each time, and when the value of the invariant parameter is exceptionally changed. There is also a problem that it cannot be changed. For example, the information at the time of manufacture is erroneously the previous year's date.
In the case of the present invention, an exceptional work can be easily performed by sending a constant file after performing editing to delete a character string such as “/ *” written at the beginning of a sentence described as a comment sentence. It is also very useful.
In the method (2), there is a problem that it becomes impossible to confirm the manufacturer and the production point of the corresponding traffic signal controller by acquiring the constant file. In particular, it is often the case that the constant files of all traffic signal controllers are saved in a batch, and those constant files are read at once to create a list of traffic signal controller manufacturers and production points. This method makes it impossible to create such a list.
In that respect, according to the present invention, it is possible to create a list while acquiring information such as the manufacturer and the manufacturing time point described as a comment in the constant file.

この発明では、不変パラメータの種類が増加した場合であっても、定数ファイルの受信処理の内容を原則として変更する必要がない。不変パラメータの種類の増加に関係なく、コメント文を示す文字列を破棄するという共通的な処理が予め実装されていれば、いくら不変パラメータの種類が増えても処理の内容を変更する必要はない。   In the present invention, even if the number of invariant parameters increases, it is not necessary to change the contents of the constant file reception process in principle. Regardless of the increase in the number of invariant parameters, if the common processing of discarding the character string indicating the comment text is implemented in advance, it is not necessary to change the processing contents no matter how many types of invariant parameters increase. .

本発明は、交通信号制御機に適用できるだけでなく、例えば端末ルータ4や光ビーコン6等、あらゆるコンピュータ装置に適用できることは言うまでもない。   It goes without saying that the present invention can be applied not only to a traffic signal controller but also to any computer device such as a terminal router 4 or an optical beacon 6.

なお、本発明における交通信号制御機5や信号制御装置1等は、1の筐体によって実現されていても良いし、複数の筐体の組み合わせによって実現されても良い。また、これらは、それぞれ1つのコンピュータによって実現されていても良いし、複数のコンピュータを組み合わせて実現されていても良い。   Note that the traffic signal controller 5, the signal control device 1, and the like in the present invention may be realized by a single casing or may be realized by a combination of a plurality of casings. Each of these may be realized by one computer or may be realized by combining a plurality of computers.

なお、今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明に係る交通システムの構成の概要を示す模式図である。It is a schematic diagram which shows the outline | summary of the structure of the traffic system which concerns on this invention. 交通信号制御機5の機能ブロックの一例を示すブロック図である。It is a block diagram which shows an example of the functional block of the traffic signal controller. 交通信号制御機5に含まれる通信制御部8の詳細な機能構成の一例を示すブロック構成図である。4 is a block configuration diagram showing an example of a detailed functional configuration of a communication control unit 8 included in the traffic signal controller 5. FIG. 保守作業装置7から定数ファイルを受信した場合の通信制御部8の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of the communication control part 8 when a constant file is received from the maintenance work apparatus 7. FIG. 保守作業装置7から定数ファイルの送信を要求された場合の通信制御部8の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of the communication control part 8 when the transmission of a constant file is requested | required from the maintenance work apparatus 7. FIG. 定数ファイルの一例を示す図である。It is a figure which shows an example of a constant file.

符号の説明Explanation of symbols

1 信号制御装置
2 情報提供装置
3 中央ルータ
4 端末ルータ
5 交通信号制御機
6 光ビーコン
7 保守作業装置
8 通信制御部
501 信号制御プラン作成手段
502 信号制御プランテーブル
503 信号制御定数テーブル
511 信号灯器制御手段
801 送信手段
802 受信手段
811 コメント文識別・破棄手段
821 定数ファイル作成手段
831 パラメータテーブル
841 FTPデーモン
DESCRIPTION OF SYMBOLS 1 Signal control apparatus 2 Information provision apparatus 3 Central router 4 Terminal router 5 Traffic signal controller 6 Optical beacon 7 Maintenance work apparatus 8 Communication control part 501 Signal control plan preparation means 502 Signal control plan table 503 Signal control constant table 511 Signal lamp control Means 801 Sending means 802 Receiving means 811 Comment sentence identifying / discarding means 821 Constant file creating means 831 Parameter table 841 FTP daemon

Claims (4)

設定の変更をすることが可能なパラメータの名称又は識別コードとその値とがパラメータの種類ごとに記述された構造を有するテキストファイルを外部装置とやりとりすることが可能なコンピュータ装置であって、
前記パラメータには、前記コンピュータ装置の設置地点やネットワーク構成の変更に応じてその設定値を変更する必要が生じる可変のパラメータと、製造時又は工場出荷時において一意に設定され、例外的に変更する以外には変更することが許されない不変のパラメータとが含まれており、
前記構造を有するテキストファイルを前記外部装置から受信する受信部と、
受信した前記テキストファイルに記述されたパラメータの値を記憶する記憶部と、
前記外部装置からの要求に応じて、前記記憶部に記憶されたパラメータについて、前記構造を有するテキストファイルを作成して外部装置宛に送信する送信部とを有し、
前記受信部は、
受信したテキストファイルに含まれるコメント文とコメント文以外の文とを識別する識別手段と、
前記コメント文を破棄するコメント文破棄手段と、
前記コメント文以外の文からパラメータの名称又は識別コードとその値とを取得する設定値取得手段と
前記設定値取得手段によって値が取得されたパラメータについては、そのパラメータが不変のパラメータであるか可変のパラメータであるかに関わらず、当該取得された値に設定を変更して記憶するパラメータ記憶手段とを有し、
前記送信部は、
前記記憶部に記憶されたパラメータのうち、不変のパラメータの名称又は識別コードとその値とをコメント文を示す文字列と共にコメント文として記述するとともに、可変のパラメータの名称又は識別コードとその値とをコメント文以外の文として記述した送信用テキストファイルを作成するテキストファイル作成手段を有すること
を特徴とするコンピュータ装置。
A computer device capable of exchanging a text file having a structure in which the name or identification code of a parameter whose setting can be changed and its value are described for each parameter type with an external device,
The parameter is a variable parameter that needs to be changed in accordance with a change in the installation location or network configuration of the computer device, and is uniquely set at the time of manufacture or factory shipment, and is changed exceptionally. Contains immutable parameters that are not allowed to be changed,
A receiving unit for receiving a text file having the structure from the external device;
A storage unit for storing values of parameters described in the received text file;
In response to a request from the external device, the parameter stored in the storage unit has a transmission unit that creates a text file having the structure and transmits it to the external device,
The receiver is
An identification means for identifying a comment sentence included in the received text file and a sentence other than the comment sentence;
Comment sentence discarding means for discarding the comment sentence;
Setting value acquisition means for acquiring a parameter name or identification code and its value from a sentence other than the comment sentence ;
Parameter storage means for changing the setting to the acquired value and storing the parameter for which the value is acquired by the setting value acquisition means, regardless of whether the parameter is an invariant parameter or a variable parameter And
The transmitter is
Among the parameters stored in the storage unit, the invariant parameter name or identification code and its value are described as a comment sentence together with a character string indicating a comment sentence, and the variable parameter name or identification code and its value A computer apparatus comprising text file creation means for creating a text file for transmission in which is described as a sentence other than a comment sentence.
前記外部装置との間でファイル転送プロトコル(FTP)を用いて前記テキストファイルを送受信すること
を特徴とする請求項1に記載のコンピュータ装置。
The computer apparatus according to claim 1, wherein the text file is transmitted / received to / from the external apparatus using a file transfer protocol (FTP).
前記不変のパラメータには、
前記コンピュータ装置の備える通信デバイスのMACアドレスの情報、前記コンピュータ装置の製造業者を示す情報、前記コンピュータ装置の製造時点を示す情報、前記コンピュータ装置の製造地点を示す情報、前記コンピュータ装置の製造条件を示す情報、前記コンピュータ装置の工場検査の結果を示す情報、及び、前記コンピュータ装置の備える通信デバイスのうちリモート接続を許可する通信デバイスのIPアドレスのうち少なくとも1つが含まれること
を特徴とする請求項1又は2に記載のコンピュータ装置。
The invariant parameters include
MAC address information of a communication device included in the computer device, information indicating a manufacturer of the computer device, information indicating a manufacturing time of the computer device, information indicating a manufacturing point of the computer device, manufacturing conditions of the computer device At least one of information indicating a result of factory inspection of the computer device, and an IP address of a communication device that permits remote connection among communication devices included in the computer device. The computer apparatus according to 1 or 2.
前記コンピュータ装置は、交通管制システムに用いられる交通信号制御機、端末ルータ又は光ビーコンであるThe computer device is a traffic signal controller, terminal router or optical beacon used in a traffic control system.
請求項1乃至3のいずれか1つに記載のコンピュータ装置。The computer apparatus according to any one of claims 1 to 3.
JP2007109945A 2007-04-19 2007-04-19 Computer equipment, traffic signal controller Active JP4737131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007109945A JP4737131B2 (en) 2007-04-19 2007-04-19 Computer equipment, traffic signal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007109945A JP4737131B2 (en) 2007-04-19 2007-04-19 Computer equipment, traffic signal controller

Publications (2)

Publication Number Publication Date
JP2008269192A JP2008269192A (en) 2008-11-06
JP4737131B2 true JP4737131B2 (en) 2011-07-27

Family

ID=40048623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007109945A Active JP4737131B2 (en) 2007-04-19 2007-04-19 Computer equipment, traffic signal controller

Country Status (1)

Country Link
JP (1) JP4737131B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63213030A (en) * 1987-02-28 1988-09-05 Casio Comput Co Ltd BASIC interpreter device
JP3021414B2 (en) * 1998-02-19 2000-03-15 住友電気工業株式会社 Traffic signal controller
JP2001202298A (en) * 2000-01-19 2001-07-27 Toshiba Corp Monitoring management device, site monitoring device, and computer-readable recording medium recording program
JP2002189461A (en) * 2000-12-21 2002-07-05 Sony Corp Editing device and method for video display device
JP3979346B2 (en) * 2003-06-09 2007-09-19 株式会社明電舎 Monitoring equipment for private electrical equipment
JP2005271406A (en) * 2004-03-25 2005-10-06 Oki Data Corp Information processing apparatus, remote maintenance system, and program

Also Published As

Publication number Publication date
JP2008269192A (en) 2008-11-06

Similar Documents

Publication Publication Date Title
CN103124938B (en) Method and system for upgrading runtime environment of programmable logic controller
JP3729251B2 (en) Controller and system
JP2007164764A (en) Embedding data in controllers and equipment to modernize control and configuration information
JP2018093382A (en) Communication system, communication device, and communication program
CN100520649C (en) Program creating device for programmable controller, program creating method for programmable controller, and recording medium
CN107844305A (en) The method for upgrading software and embedded device of embedded device
CN102955466B (en) For the method running automated system
JP4737131B2 (en) Computer equipment, traffic signal controller
JP4547614B2 (en) Fieldbus system
JP2009284119A (en) Field bus communication system and data management device
CN102909977B (en) Control method for burning and lettering in production
CN119094268A (en) A network communication method, system and Modbus master station device
CN107798267A (en) Configure the method and communication module of the communication module of at least one reading device
EP2936736B1 (en) Configuration device and method for computer-implemented configuration of one or more network devices
JP2004062371A (en) Data management method and device for programmable controller
CN112350905B (en) Method and device for quickly confirming service after operation business router is changed
JP2006146655A (en) Method and system for edit processing of setting information
CN103580974A (en) Storage of a desired address in a device of a control system
WO2011076479A1 (en) Method for replacing a field device located on a field bus in a decentralized process automation system
JP2010146270A (en) Information processor, work flow system, verification control method for information processor, program, and recording medium
KR100779019B1 (en) Data mapping method in intelligent electronic devices in substation
JP4258312B2 (en) Image forming apparatus and program update history management method thereof
JP4963253B2 (en) Data rewriting system, data rewriting method, and construction machine
JP2018088277A (en) Control device and communication control method
JP4548107B2 (en) Display system and communication information setting method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100720

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100903

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110418

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4737131

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

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

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