[go: up one dir, main page]

JP2013021561A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2013021561A
JP2013021561A JP2011154177A JP2011154177A JP2013021561A JP 2013021561 A JP2013021561 A JP 2013021561A JP 2011154177 A JP2011154177 A JP 2011154177A JP 2011154177 A JP2011154177 A JP 2011154177A JP 2013021561 A JP2013021561 A JP 2013021561A
Authority
JP
Japan
Prior art keywords
port
state
action
link
configuration
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.)
Withdrawn
Application number
JP2011154177A
Other languages
Japanese (ja)
Inventor
Kazuo Shimizu
一夫 清水
Toshio Doi
俊雄 土井
Hirotaka Unno
太孝 海野
Minoru Morofushi
実 諸伏
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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
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 Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2011154177A priority Critical patent/JP2013021561A/en
Publication of JP2013021561A publication Critical patent/JP2013021561A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent errors of an input parameter and operation mistakes such as an operation to a portion other than an operation target and the like, which are caused by false recognition of a position or number of an operation target, in a communication device having a plurality of operation targets.SOLUTION: At an operation of a communication device, the communication device takes the opportunity of one action of inputting to instruction means provided adjacent to an operation target (e.g., a port) of the communication device by an operator to automatically select a command to the operation target which corresponds to a state of the operation target of the communication device and parameters accompanying the command and to execute the command to the operation target.

Description

本発明は、通信装置に係り、特に、ポート毎に指示手段を有し、直接的な操作でコマンド入力を可能とすることにより、操作ミスの発生を低減可能な通信装置に関する。   The present invention relates to a communication device, and more particularly to a communication device that has an instruction unit for each port and can reduce the occurrence of operation errors by enabling command input by direct operation.

通信装置の操作において、コマンド入力や構成情報を変更する作業等が必要な場合もある(例えば、特許文献1参照)。通信装置の操作対象(例えばポート)に対し、動作状態を変更するコマンドを入力するためには、通信装置が備える操作対象を特定するためにその位置や番号を確認して、この情報を元に動作状態を把握し、その動作状態から目的とする動作状態へ変更するため、操作対象に該当するコマンドと共に、操作対象の位置や番号をパラメータとして、作業者が操作端末から入力する。通信装置を制御するための操作端末は、通信装置に直接接続する場合や、ネットワークを介して遠隔地から接続する方法等があり、通信装置の操作対象から離れた場所に設置している操作端末からコマンドを入力する場合等、通信装置の操作対象が直接目視確認できない場合もありうる。   In the operation of the communication device, there are cases where it is necessary to perform operations such as command input and configuration information change (for example, see Patent Document 1). In order to input a command for changing the operation state for an operation target (for example, a port) of the communication device, the position and number are confirmed to identify the operation target included in the communication device, and this information is used as a basis. In order to grasp the operation state and change from the operation state to the target operation state, the operator inputs the position and number of the operation target as parameters together with the command corresponding to the operation target from the operation terminal. The operation terminal for controlling the communication device has a method of connecting directly to the communication device, a method of connecting from a remote place through a network, etc., and an operation terminal installed at a location away from the operation target of the communication device There may be a case where the operation target of the communication device cannot be directly visually confirmed, for example, when a command is input from.

特許第3812668号公報Japanese Patent No. 3812668

通信装置の管理・保守作業を行う場合、操作対象への指示を通信装置に接続している操作端末や遠隔接続している操作端末等で対象となる部位に対し制御をおこなう場合がある。通信装置の操作の方法として、操作対象の位置や番号について、操作を行う者が把握し、位置や部位から取得した情報を元にコマンドやパラメータ等として操作端末から入力する必要があるが、通信装置に複数の操作対象があるため、操作対象の位置や番号を誤認識しその結果入力パラメータの間違えや操作対象以外の部位を操作するなど通信装置に対する操作ミスする可能性がある。通信装置に対する操作を間違えれば、運用中の回線に影響を与えるリスクが考えられる。また、作業者の操作スキルに関係なく、操作ミスにより運用中の回線に影響を与えるリスクが考えられる。
本発明は上記課題に鑑みてなされたものであり、通信装置の操作をおこなう場合に、操作対象と操作手段同士が隣接することで、操作方法を作業者に直感的に理解しやすくする効果を高め、操作手段からの入力によってポートの状態に応じたコマンドを選択して実行することで、作業者が通信装置の操作ミスをする可能性を低減することを目的とする。
When performing management / maintenance work of a communication device, there is a case where an instruction to an operation target is controlled on a target part by an operation terminal connected to the communication device or a remote connection operation terminal. As a method of operating the communication device, it is necessary for the person performing the operation to know the position and number of the operation target, and to input from the operation terminal as a command or parameter based on information acquired from the position or part. Since there are a plurality of operation targets in the device, there is a possibility that an error in the operation of the communication device may occur, such as erroneously recognizing the position or number of the operation target and, as a result, making a mistake in the input parameters or operating a part other than the operation target. If the operation of the communication device is wrong, there is a risk of affecting the line in operation. In addition, regardless of the operator's operation skill, there is a risk that the operation line may be affected by an operation error.
The present invention has been made in view of the above problems, and when operating a communication device, the operation target and the operation means are adjacent to each other, so that the operator can easily understand the operation method intuitively. An object of the present invention is to reduce the possibility that an operator will make an operation error of the communication device by selecting and executing a command corresponding to the state of the port by input from the operation means.

本発明では例えば通信装置の操作に関して、作業者が通信装置の操作対象に対し指示手段の入力というワンアクションによって通信装置の操作対象についての状態から、必要なコマンドが自動的に選択され、必要なパラメータが自動的に決まり、操作対象に対して適切なコマンドが実行される。
本発明は、操作対象と対になった指示手段を具備することで、状態変更が必要な操作対象の位置や番号等を得ることができ、操作対象の状態に対応するアクションとしてコマンドをあらかじめ登録することで、指示手段から指示が入力されたとき、自動的に操作対象の状態にあわせたコマンドを選択し、また、コマンドが必要とするパラメータも自動的に用意できる。指示手段は、例えば作業者が操作対象との関係が理解しやすいように、互いに隣接した位置に設置することができる。
例えば、通信装置のポートをリンクダウン状態からリンクアップ状態に変更するコマンドを登録する場合、登録内容にはポート状態がリンクダウン状態の時にそのポート番号に対する入力があった場合の状態をリンクアップ状態にする状態遷移のコマンドをアクション内容に登録する。この登録内容により動作する通信装置において、作業者が通信装置のポートに接続した回線ケーブルを辿っていって目的のポートを探し出し、ポートに対応する指示手段の入力をすると、通信装置は自動的にリンクダウンというポート状態を取得して登録内容のリンクダウン状態時のアクション内容であるリンクアップ状態にするためのコマンドを処理する。この仕組みにより、作業者は作業時にポート番号等のパラメータを入力する必要がなく、操作対象となるポートに対しコマンドを実行することが可能になる。
また、通信装置のポート状態については複数の状態があると考えられ、アクション内容については1つまたは複数の種類があると考えられる。
また、登録内容を変更してアクション内容の種類やポート状態を変更することで通信装置の指示手段入力時の動作を変えることもでき、指示手段の入力目的を通信装置ごとに変えるような使い方もできる。
In the present invention, for example, regarding the operation of the communication device, the operator automatically selects a necessary command from the state regarding the operation target of the communication device by one action of inputting an instruction means to the operation target of the communication device. Parameters are automatically determined and appropriate commands are executed for the operation target.
The present invention includes an instruction means paired with an operation target, so that the position and number of the operation target that needs to be changed can be obtained, and a command is registered in advance as an action corresponding to the state of the operation target. As a result, when an instruction is input from the instruction means, a command according to the state of the operation target is automatically selected, and parameters required by the command can be automatically prepared. The instruction means can be installed at positions adjacent to each other so that the operator can easily understand the relationship with the operation target, for example.
For example, when registering a command that changes a port of a communication device from a link-down state to a link-up state, the registered content indicates the state when the port number is input when the port state is the link-down state. Register the state transition command to be used in the action contents. In the communication device that operates according to the registered contents, when the operator traces the line cable connected to the port of the communication device, searches for the target port, and inputs the instruction means corresponding to the port, the communication device automatically Processes a command to acquire the port status of link-down and enter the link-up status, which is the action content when the registered content is in the link-down status. With this mechanism, an operator does not need to input parameters such as a port number at the time of work, and can execute a command for a port to be operated.
In addition, it is considered that there are a plurality of states for the port state of the communication device, and that there are one or more types of action contents.
In addition, by changing the registered contents and changing the type and port status of the action contents, the operation at the time of inputting the instruction means of the communication device can be changed. it can.

本発明の解決手段によると、
回線が接続される複数のポートと、
ポート毎に、該ポートの現在の動作状態を管理するポート状態管理部と、
前記複数のポートの全部又は一部に対応する複数の指示入力部と、
ポート毎に、該ポートの動作状態と、該ポートの動作状態にあるポートに対するアクション内容とが対応した構成定義情報を記憶する記憶部と、
ポートの動作状態とアクション内容とが対応した、ポート毎の構成定義情報を端末から入力して前記記憶部に記憶する制御部と
を備え、
前記制御部は、前記指示入力部のいずれかが操作されると、前記ポート状態管理部及び前記記憶部を参照し、操作された該指示入力部に対応するポートの動作状態に応じたアクション内容を特定して、該アクション内容のコマンドを、操作された前記指示入力部に対応するポートに対して実行する通信装置が提供される。
本通信装置には例えば以下の効果がある。
本通信装置の効果のひとつは、通信装置の操作対象と対になる指示手段を用意することで、作業者に操作方法を直感的に分かりやすくすると共に、操作対象(例えばポート)に対して確実に指示を実行することができるという点である。これは、通信装置の操作対象に隣接する指示手段からの入力という方法によって、操作者は操作対象を目視で確認しながら操作でき、操作対象から離れた操作端末からの入力をしなくても良いため操作対象の誤認識を低減することができ、また、操作対象に対するコマンドとコマンドに必要なパラメータ内容を自動的に選択して実行するため、コマンド入力操作ミスの可能性を低減することができる。
本通信装置の効果の他のひとつは、操作対象と対になる指示手段入力の意味を変えることができる点である。これはあらかじめ登録する、操作対象の状態と操作対象の状態に対応するアクション内容の組み合わせを変更することにより、操作対象の状態をどのように制御するかを変更することができるため、必要なコマンドを組み合わせることによって、動作モードを通信装置に設定することが可能になる。
According to the solution of the present invention,
Multiple ports to which the line is connected;
For each port, a port state management unit that manages the current operating state of the port;
A plurality of instruction input units corresponding to all or a part of the plurality of ports;
For each port, a storage unit that stores configuration definition information corresponding to the operation state of the port and the action content for the port in the operation state of the port;
A control unit that inputs the configuration definition information for each port corresponding to the operation state of the port and the action content and stores the configuration definition information in the storage unit;
When any of the instruction input units is operated, the control unit refers to the port state management unit and the storage unit, and the action content according to the operating state of the port corresponding to the operated instruction input unit And a communication device that executes the command of the action content for the port corresponding to the operated instruction input unit.
This communication device has the following effects, for example.
One of the effects of this communication device is to provide an instruction means that is paired with the operation target of the communication device, making it easy for the operator to intuitively understand the operation method and ensuring the operation target (for example, port). It is a point that an instruction can be executed. This is because the operator can operate while visually confirming the operation target by the method of input from the instruction means adjacent to the operation target of the communication apparatus, and does not need to input from the operation terminal remote from the operation target. Therefore, it is possible to reduce erroneous recognition of the operation target, and to automatically select and execute the command for the operation target and the parameter content necessary for the command, thereby reducing the possibility of a command input operation error. .
Another effect of this communication apparatus is that the meaning of the instruction means input that is paired with the operation target can be changed. This is because it is possible to change how to control the operation target state by changing the combination of the operation target state and the action content corresponding to the operation target state registered in advance. By combining these, it becomes possible to set the operation mode to the communication device.

本発明によると、通信装置の操作をおこなう場合に、操作対象と操作手段同士が隣接することで、操作方法を作業者に直感的に理解しやすくする効果を高め、操作手段からの入力によってポートの状態に応じたコマンドを選択してすることで、作業者が通信装置の操作ミスをする可能性を低減することができる。   According to the present invention, when operating the communication device, the operation target and the operation means are adjacent to each other, thereby increasing the effect of making the operation method intuitively understandable to the operator. By selecting a command according to the state, it is possible to reduce the possibility that the operator will make an operation error of the communication device.

実施例1における通信装置を示す図である。1 is a diagram illustrating a communication device in Embodiment 1. FIG. 通信装置の外観図を示す図である。It is a figure which shows the external view of a communication apparatus. 構成及び動作条件等の設定をする構成情報記述例を示す図である。It is a figure which shows the example of a structure information description which sets a structure, an operating condition, etc. 通信装置のリンクアップ/リンクダウン時の状態遷移を示す図である。It is a figure which shows the state transition at the time of the link up / link down of a communication apparatus. 制御部による実施例1の構成定義設定フローチャート(1)である。It is a configuration definition setting flowchart (1) of Example 1 by a control part. 制御部による実施例1の構成定義設定フローチャート(2)である。It is a configuration definition setting flowchart (2) of Example 1 by a control part. 制御部による実施例1の動作内容フローチャート(1)である。It is an operation | movement content flowchart (1) of Example 1 by a control part. 制御部による実施例1の動作内容フローチャート(2)である。It is an operation | movement content flowchart (2) of Example 1 by a control part. 制御部による実施例1の動作内容フローチャート(3)である。It is an operation | movement content flowchart (3) of Example 1 by a control part. フェイルセーフモード時の構成情報内容を示す図である。It is a figure which shows the structure information content at the time of fail safe mode. フェイルセーフモードの設定をする構成情報記述例を示す図である。It is a figure which shows the example of a structure information description which sets a fail safe mode. 通信装置のフェイルセーフモード時の状態遷移を示す図である。It is a figure which shows the state transition at the time of the fail safe mode of a communication apparatus. 制御部による実施例2の構成定義設定フローチャート(1)である。It is a structure definition setting flowchart (1) of Example 2 by a control part. 制御部による実施例2の動作内容フローチャート(1)である。It is an operation | movement content flowchart (1) of Example 2 by a control part. 制御部による実施例2の動作内容フローチャート(2)である。It is an operation | movement content flowchart (2) of Example 2 by a control part. 制御部による実施例2の動作内容フローチャート(3)である。It is an operation | movement content flowchart (3) of Example 2 by a control part. セルフテストモード時の実施の形態を示す図である。It is a figure which shows embodiment at the time of self test mode. セルフテストモードの設定をする構成情報記述例を示す図である。It is a figure which shows the example of a structure information description which sets the self test mode. 通信装置のセルフテストモード時の状態遷移を示す図である。It is a figure which shows the state transition at the time of the self test mode of a communication apparatus. 制御部による実施例3の構成定義設定フローチャートである。It is a structure definition setting flowchart of Example 3 by a control part. 拡張ボタンを追加した実施の形態を示す図である。It is a figure which shows embodiment which added the extended button. 拡張ボタンを追加した通信装置の外観図を示す図である。It is a figure which shows the external view of the communication apparatus which added the expansion button. 拡張ボタンを追加した実施例のポート状態記憶部を示す図である。It is a figure which shows the port state memory | storage part of the Example which added the expansion button. 拡張ボタンを追加した実施例の構成情報記憶部を示す図である。It is a figure which shows the structure information storage part of the Example which added the extended button. 拡張ボタンを追加した実施例の構成情報記述例を示す図である。It is a figure which shows the example of a structure information description of the Example which added the extended button. 拡張ボタンを追加した実施例の状態遷移を示す図である。It is a figure which shows the state transition of the Example which added the extended button. 制御部による実施例4の構成定義設定フローチャート(1)である。It is a structure definition setting flowchart (1) of Example 4 by a control part. 制御部による実施例4の動作内容フローチャート(1)である。It is an operation | movement content flowchart (1) of Example 4 by a control part. 制御部による実施例4の動作内容フローチャート(2)である。It is an operation | movement content flowchart (2) of Example 4 by a control part. LEDを追加した実施の形態を示す図である。It is a figure which shows embodiment which added LED. LEDを追加した通信装置の外観図を示す図である。It is a figure which shows the external view of the communication apparatus which added LED. LEDを追加した実施例のポート状態記憶部を示す図である。It is a figure which shows the port state memory | storage part of the Example which added LED. LEDを追加した実施例の構成情報記憶部を示す図である。It is a figure which shows the structure information storage part of the Example which added LED. 制御部による実施例5の構成定義設定フローチャート(1)である。It is a structure definition setting flowchart (1) of Example 5 by a control part. 制御部による実施例5の構成定義設定フローチャート(2)である。It is a structure definition setting flowchart (2) of Example 5 by a control part. 構成情報にアクション内容と共にLEDアクション内容の設定が可能な実施例の構成情報記憶部を示す図である。It is a figure which shows the structure information storage part of the Example which can set the LED action content with the action content to structure information. 構成情報にアクション内容と共にLEDアクション内容の設定が可能な実施例の構成情報記述例を示す図である。It is a figure which shows the example of a structure information description of the Example which can set LED action content with action content to structure information. 構成情報にアクション内容と共にLEDアクション内容の設定が可能な実施例の状態遷移を示す図である。It is a figure which shows the state transition of the Example which can set a LED action content with an action content in structure information. 制御部による実施例6の構成定義設定フローチャート(1)である。It is a structure definition setting flowchart (1) of Example 6 by a control part. 制御部による実施例6の構成定義設定フローチャート(2)である。It is a structure definition setting flowchart (2) of Example 6 by a control part. 制御部による実施例6の動作内容フローチャート(1)である。It is an operation | movement content flowchart (1) of Example 6 by a control part. 通信経路動作クロック変更によるエコロジーモードについて実施の形態を示す図である。It is a figure which shows embodiment about the ecology mode by a communication path | route operation clock change. 通信経路動作クロック変更によるエコロジーモード時のポート状態記憶部を示す図である。It is a figure which shows the port state memory | storage part at the time of ecology mode by a communication path | route operation clock change. 通信経路動作クロック変更によるエコロジーモード時の構成情報記憶部を示す図である。It is a figure which shows the structure information storage part at the time of ecology mode by communication path | route operation clock change. 通信経路動作クロック変更によるエコロジーモード時の構成情報記述例を示す図である。It is a figure which shows the example of a structure information description at the time of ecology mode by communication path | route operation clock change. 通信経路動作クロック変更によるエコロジーモード時の状態遷移を示す図である。It is a figure which shows the state transition at the time of ecology mode by a communication path | route operation clock change. 制御部による実施例7の構成定義設定フローチャート(1)である。It is a structure definition setting flowchart (1) of Example 7 by a control part. 制御部による実施例7の動作内容フローチャート(1)である。It is an operation | movement content flowchart (1) of Example 7 by a control part. ポート回路供給電圧変更によるエコロジーモードについて実施の形態を示す図である。It is a figure which shows embodiment about the ecology mode by a port circuit supply voltage change. ポート回路供給電圧変更によるエコロジーモード時のポート状態記憶部を示す図である。It is a figure which shows the port state memory | storage part at the time of ecology mode by port circuit supply voltage change. ポート回路供給電圧変更によるエコロジーモード時の構成情報記憶部を示す図である。It is a figure which shows the structure information storage part at the time of ecology mode by port circuit supply voltage change. ポート回路供給電圧変更によるエコロジーモード時の構成情報記述例を示す図である。It is a figure which shows the example of a structure information description at the time of ecology mode by port circuit supply voltage change. ポート回路供給電圧変更によるエコロジーモード時の状態遷移を示す図である。It is a figure which shows the state transition at the time of ecology mode by port circuit supply voltage change. 制御部による実施例8の構成定義設定フローチャート(1)である。It is a structure definition setting flowchart (1) of Example 8 by a control part. 制御部による実施例8の動作内容フローチャート(1)である。It is an operation | movement content flowchart (1) of Example 8 by a control part.

まず、本実施の形態の概要を説明し、後に実施例をあげて詳細に説明する。
本実施の形態は、通信装置に備える回線に接続するためのポートと対になるように指示手段(例えばボタン)を用意し、そして、通信装置内の構成情報に、指示手段により指示が入力されたときのポート状態に合わせて選択されるアクション内容として、通信装置を制御するためのコマンドを記述可能とする。指示手段により指示を入力するという行為に対して、対象となるポート番号等のパラメータ情報とコマンドが自動的に特定されるため、コマンドの入力間違いを防ぐ。これとともに指示手段をポートと対に判別しやすい位置に設けることで、作業者が構成情報にあらかじめ設定されているアクション内容を、作業者が必要とするポートに対して間違いなく指示することが可能になる。
First, an outline of the present embodiment will be described, and a detailed description will be given later with examples.
In this embodiment, an instruction unit (for example, a button) is prepared so as to be paired with a port for connecting to a line provided in the communication device, and an instruction is input to the configuration information in the communication device by the instruction unit. A command for controlling the communication device can be described as the action content selected in accordance with the port state at the time. In response to the act of inputting an instruction by the instruction means, parameter information such as a target port number and a command are automatically specified, thereby preventing an erroneous input of the command. At the same time, by providing the instruction means at a position where it can be easily distinguished from the port, it is possible for the operator to correctly instruct the port that the operator needs the action content preset in the configuration information. become.

図1(a)は、本実施例の通信装置の構成図である。この図の指示手段としてボタンを設けた例で説明する。
通信装置150は、通信ケーブルを接続するための複数のポート101−1〜101−nと、ポート101−1〜101−nと対になる複数の指示手段(指示入力部、例えばボタン)100−1〜100−nと、ポート状態記憶部(ポート状態管理部)110と、構成情報記憶部130と、制御部160と、スイッチ部170とを備える。
ポート状態記憶部110は、該ポート101−1〜101−nに対応する1〜nのポート番号112ごとに、該ポート番号112に対応したポート状態113を記憶するポート状態テーブル111を有する。該ポート状態テーブル111には、例えばポート番号1のポート状態115が記憶される。
構成情報記憶部130は、ポート番号132と、ポート状態133と、該ポート番号132と該ポート状態133がともに一致した時に処理をするアクション内容を定義するアクション内容134とを対応して記憶するアクション定義記述テーブル131を有する。例えば、該アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該ポート状態133がリンクダウンであることを示すlinkdown状態140であり、このときの該アクション内容134がfreeコマンドであるリンクアップアクション構成定義情報135が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該ポート状態133がリンクアップであることを示すlinkup状態141であり、このときの該アクション内容134がcloseコマンドであるリンクダウンアクション構成定義情報136が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
該スイッチ部170は、該ポート101−1〜101−nの送受信データをスイッチングする。
該制御部160は、例えば、該スイッチ部170を制御し、該ポート状態記憶部110が記憶する該ポート状態テーブル111を管理する。また、該制御部160は、該構成情報記憶部130の記憶する記述内容を変更するための操作端末180に接続され、該操作端末180からの入力に従い該構成情報記憶部130を設定する。該制御部160は、該構成情報記憶部130の定義内容に従って該ポート101−1〜101−nを制御することで回線と接続する。そして、該制御部160は、該ボタン100−1〜100−nが入力されたことを検知することができる。
FIG. 1A is a configuration diagram of a communication apparatus according to the present embodiment. An example in which buttons are provided as instruction means in this figure will be described.
The communication device 150 includes a plurality of ports 101-1 to 101-n for connecting communication cables, and a plurality of instruction means (instruction input units, for example, buttons) 100- paired with the ports 101-1 to 101-n. 1 to 100-n, a port state storage unit (port state management unit) 110, a configuration information storage unit 130, a control unit 160, and a switch unit 170.
The port state storage unit 110 includes a port state table 111 that stores a port state 113 corresponding to the port number 112 for each of the port numbers 112 of 1 to n corresponding to the ports 101-1 to 101-n. In the port status table 111, for example, the port status 115 of port number 1 is stored.
The configuration information storage unit 130 stores the port number 132, the port state 133, and the action content 134 that defines the action content to be processed when both the port number 132 and the port state 133 match. It has a definition description table 131. For example, in the action definition description table 131, the contents of the port number 132 are 1 indicating the port number 1, and the link state 140 indicating that the port state 133 is link down. Is stored as link-up action configuration definition information 135, which is a free command. Further, for example, the contents of the port number 132 are 1 indicating the port number 1, and the port state 133 is the linkup state 141 indicating that the link is up, and the action content 134 at this time is a link down that is a close command. Action configuration definition information 136 is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
The switch unit 170 switches transmission / reception data of the ports 101-1 to 101-n.
For example, the control unit 160 controls the switch unit 170 and manages the port state table 111 stored in the port state storage unit 110. The control unit 160 is connected to an operation terminal 180 for changing the description content stored in the configuration information storage unit 130, and sets the configuration information storage unit 130 in accordance with an input from the operation terminal 180. The control unit 160 connects to the line by controlling the ports 101-1 to 101-n according to the definition contents of the configuration information storage unit 130. The control unit 160 can detect that the buttons 100-1 to 100-n are input.

図1(b)に、通信装置150の外観(例えば前面)を示す。
通信装置150の外観には、回線に接続する該ポート101−1〜101−nと、各該ポート101−1〜101−nに対になるように該ボタン100−1〜100−nが設けられている。どのポートにどのボタンが対になっているか理解しやすくするために、該ポート101−1〜101−nに隣接した場所に該ボタン100−1〜100−nを設置することができる。該ボタン100−1〜100−nは全ての該ポート101−1〜101−nに対になるように1つずつ設置しても良いし、該ポート101−1〜101−nの一部にのみ対になるように該ボタン100−1〜100−m(但しm<n)を設置しても良い。なお、隣接する以外にも適宜の手法でボタンとポートの対応が目視できるようになっていてもよい。
図1(a)及び図1(b)を参照して本実施例の動作を説明する。
該指示手段100−1〜100−nは押しボタン等で構成され、どの該指示手段100−1〜100−nの入力があったのか該制御部160が把握することできるため、対応する該ポート101−1〜101−nの制御が必要なことを該制御部160が判断することが可能になる。
該構成情報記憶部130が記憶する該アクション定義記述テーブル131には該リンクアップアクション構成定義情報135と、該リンクダウンアクション構成定義情報136及び、必要であれば他にも該ポート番号132と該ポート状態133が一致したときに処理する該アクション内容134があらかじめ設定されている。
例えば、ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160は該ポート状態記憶部110に記憶している該ポート状態テーブル111について、該ポート101−1に対応するポート番号1のポート状態115を参照して該ポート番号112と該ポート状態113を取得する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該ポート状態133がともに一致する該アクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115について、該ポート状態113がリンクダウン状態を示すlinkdownならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140の場合に該アクション内容134がfreeコマンドを実行すると定義した該リンクアップアクション構成定義135が特定されて、freeコマンドを処理することで該ポート101−1を制御する。一方、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がリンクアップ状態を示すlinkupであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkup状態141の場合に該アクション内容134がcloseコマンドを実行すると定義した該リンクダウンアクション構成定義情報136が特定されて該アクション内容134のcloseコマンドを処理することで該ポート101−1を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115について、該ポート状態113を変化した内容に変更する。
FIG. 1B shows an external appearance (for example, the front surface) of the communication device 150.
On the external appearance of the communication device 150, the ports 101-1 to 101-n connected to the line and the buttons 100-1 to 100-n are provided so as to be paired with the ports 101-1 to 101-n. It has been. In order to make it easy to understand which button is paired with which port, the buttons 100-1 to 100-n can be installed at locations adjacent to the ports 101-1 to 101-n. The buttons 100-1 to 100-n may be installed one by one so as to be paired with all the ports 101-1 to 101-n, or a part of the ports 101-1 to 101-n. The buttons 100-1 to 100-m (where m <n) may be installed so that only a pair is formed. It should be noted that the correspondence between the buttons and the ports may be made visible by an appropriate method other than adjacent.
The operation of this embodiment will be described with reference to FIGS. 1 (a) and 1 (b).
The instruction means 100-1 to 100-n are configured by push buttons and the like so that the control unit 160 can grasp which instruction means 100-1 to 100-n has been input. The control unit 160 can determine that the control of 101-1 to 101-n is necessary.
The action definition description table 131 stored in the configuration information storage unit 130 includes the link-up action configuration definition information 135, the link-down action configuration definition information 136, and, if necessary, the port number 132 and the The action content 134 to be processed when the port status 133 matches is preset.
For example, when the operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port state storage unit 110 in response to an input notification from the button 100-1. In the port state table 111, the port number 112 and the port state 113 are acquired by referring to the port state 115 of the port number 1 corresponding to the port 101-1. In addition, the control unit 160 is configured to define the action content 134 in which the port number 132 and the port state 133 coincide with each other in the content of the action definition description table 131 stored in the configuration information storage unit 130. Or search.
If the port state 113 of the port number 1 is linkdown indicating the link down state, the port number 132 is determined from the contents of the action definition description table 131 stored in the configuration information storage unit 130. 1. When the port state 133 is the linkdown state 140, the link up action configuration definition 135 defined that the action content 134 executes the free command is specified, and the port 101-1 is processed by processing the free command. To control. On the other hand, if the port state 113 is a linkup indicating the link up state for the port state 115 of the port number 1, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130. The link down action configuration definition information 136 defined to execute the close command when the port number 132 is 1 and the port state 133 is the linkup state 141 is specified from the content, and the action content 134 is specified. The port 101-1 is controlled by processing the close command. If no action definition is found as a result of the search, no control is performed on the port 101-1.
When the port state of the port 101-1 changes as a result of processing the command and controlling the port, the control unit 160 changes the port state 113 of the port number 1 to the changed content. To do.

図2は、構成情報記述例を示す図である。
通信装置の運用開始時または運用中に、運用環境に合わせて図1(a)に示す操作端末180から、通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。図2は、この構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
リンクアップ/リンクダウン制御構成定義情報200は、ポート毎の構成情報記述を含む。図2の例では、ポート番号1の構成定義記述210と、ポート番号2の構成定義記述220とについて2ポート分の構成情報記述を示す。
該ポート番号1の構成定義記述210には、構成情報が対象とするポートの番号を示す構成定義ポート番号240と、ボタンを入力した時の該ポート状態133と、対応する該アクション内容134との組み合わせを指定記述する。例えば、該ポート状態133がリンクダウンであることを示すlinkdownならばコマンドfreeをアクション内容134とした該リンクアップアクション構成定義情報135と、該ポート状態133がリンクアップであることを示すlinkupならばコマンドcloseを該アクション内容134とした該リンクダウンアクション構成定義情報136を記述している。
構成情報の記述内容は、図1(a)に示す該通信装置150に該操作端末180としてPC等を接続することで、該通信装置150の運用の開始時や運用中に、定義記述内容を追加や変更及び削除が可能になっていて、該制御部160はリンクアップ/リンクダウン制御構成定義情報200の定義内容について、構成情報記憶部130に記憶する該アクション定義記述テーブル131へポート番号132とポート状態133、及びポート番号とポート状態が一致したときに実行するアクション内容134を記憶する。リンクアップ/リンクダウン制御構成定義情報200以外にも、目的にあわせて構成定義情報を設定することが可能であり、ポート状態133とアクション内容134の組み合わせによって通信装置の動作モードを設定するような使い方も可能である。
FIG. 2 is a diagram illustrating a configuration information description example.
At the start or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. FIG. 2 is a diagram showing an example when the setting information in this embodiment is described in this configuration information.
The link up / link down control configuration definition information 200 includes a configuration information description for each port. In the example of FIG. 2, the configuration information description for two ports is shown for the configuration definition description 210 of port number 1 and the configuration definition description 220 of port number 2.
The configuration definition description 210 of port number 1 includes a configuration port number 240 indicating the number of the target port of the configuration information, the port state 133 when the button is input, and the corresponding action content 134. Specify and specify a combination. For example, if the port state 133 is linkdown indicating that the link state is down, the link-up action configuration definition information 135 with the command free as the action content 134 and if the port state 133 is linkup indicating that the port state 133 is link-up The link down action configuration definition information 136 with the command close as the action content 134 is described.
The description contents of the configuration information can be defined by connecting a PC or the like as the operation terminal 180 to the communication apparatus 150 shown in FIG. The control unit 160 can add, change, and delete the definition contents of the link-up / link-down control configuration definition information 200 to the action definition description table 131 stored in the configuration information storage unit 130. And port state 133, and action contents 134 to be executed when the port number and port state match are stored. In addition to the link-up / link-down control configuration definition information 200, configuration definition information can be set according to the purpose, and the operation mode of the communication apparatus is set by a combination of the port state 133 and the action content 134. Usage is also possible.

図3は、リンクアップ/リンクダウン制御をする場合の状態遷移を説明した図である。
例えばポート番号1のポート状態がリンクダウン状態であることを示すlinkdownの場合、ポート番号1に対応するボタンを押したことを契機にして、該linkdown状態140をアクション検索条件にしている該リンクアップアクション構成定義135のアクション内容であるfreeコマンドが処理されて、ポート状態がリンクアップ状態であることを示す該linkup状態141に状態変化する。また、例えばポート番号1のポート状態がリンクアップ状態であることを示すlinkupの場合、ボタンを押したことを契機にして、該linkup状態141をアクション検索条件にしている該リンクダウンアクション構成定義情報136のアクション内容であるcloseコマンドが処理されて、ポート状態がリンクダウン状態であることを示す該linkdown状態140に状態変化する。
FIG. 3 is a diagram for explaining state transitions when link-up / link-down control is performed.
For example, in the case of linkdown indicating that the port state of the port number 1 is a link-down state, the link-up that uses the linkdown state 140 as an action search condition when the button corresponding to the port number 1 is pressed. The free command that is the action content of the action configuration definition 135 is processed, and the state changes to the linkup state 141 indicating that the port state is the link-up state. For example, in the case of linkup indicating that the port state of port number 1 is a link-up state, the link-down action configuration definition information that uses the linkup state 141 as an action search condition when a button is pressed. The close command which is the action content of 136 is processed, and the state changes to the linkdown state 140 indicating that the port state is the link down state.

図4、図5は、制御部による本実施例の構成定義設定フローチャートである。
図1(a)、図2、図4及び図5を参照して本実施例の構成定義設定手順を説明する。
図1(a)に示す操作端末180から図2に示す該リンクアップ/リンクダウン制御構成定義情報200を入力したことによって、該制御部160は構成定義設定を開始する(S401)。該リンクアップ/リンクダウン制御構成定義情報200にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S402)。
該制御部160は、該リンクアップ/リンクダウン制御構成定義情報200内のポート番号i(iは現ループでの対象ポート)の構成定義記述210から、該構成定義ポート番号240の値を取得する(S403)。続けて、ポート番号iの構成定義記述210に該リンクアップアクション構成定義情報135がある場合(S404)、該制御部160は図1(a)に示す該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ、該リンクアップアクション構成定義情報135を設定する。より具体的には、該制御部160は、取得したポート番号iを該アクション定義記述テーブル131の該ポート番号132へ設定し、該リンクアップアクション構成定義情報135の該ポート状態133と該アクション内容134を、該アクション定義記述テーブル131の該ポート状態133と該アクション内容134にそれぞれ設定する(S405)。
さらに、ポート番号iの構成定義記述210に該リンクダウンアクション構成定義情報136がある場合(S501)、該制御部160は該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ、該リンクダウンアクション構成定義情報136を設定する。上述と同様に、該制御部160は、取得したポート番号iを該ポート番号132へ設定し、該リンクダウンアクション構成定義情報136の該ポート状態133と該アクション内容134を、該アクション定義記述テーブル131の該ポート状態133と該アクション内容134にそれぞれ設定する(S502)。
該リンクアップ/リンクダウン制御構成定義情報200に記述している次のポートに対応する構成情報を処理するため、該制御部160は該リンクアップ/リンクダウン制御構成定義情報200の参照位置iを1ポート分加算して(S503)、ループ処理(S402)へ戻る。
このようにして、図2に示す該リンクアップ/リンクダウン制御構成定義情報200を図1(a)に示す該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ構成定義をする。
4 and 5 are configuration definition setting flowcharts of the present embodiment by the control unit.
The configuration definition setting procedure of this embodiment will be described with reference to FIGS. 1 (a), 2, 4, and 5. FIG.
When the link-up / link-down control configuration definition information 200 shown in FIG. 2 is input from the operation terminal 180 shown in FIG. 1A, the control unit 160 starts configuration definition setting (S401). Since the configuration definition is described for each port in the link-up / link-down control configuration definition information 200, the control unit 160 performs a loop process for each port. If the loop process is executed up to the final port number, the loop process is terminated (S402).
The control unit 160 acquires the value of the configuration port number 240 from the configuration definition description 210 of the port number i (i is a target port in the current loop) in the link up / link down control configuration definition information 200. (S403). Subsequently, when the link-up action configuration definition information 135 is included in the configuration definition description 210 of the port number i (S404), the control unit 160 stores the action stored in the configuration information storage unit 130 shown in FIG. The link up action configuration definition information 135 is set in the definition description table 131. More specifically, the control unit 160 sets the acquired port number i in the port number 132 of the action definition description table 131, and the port state 133 and the action content of the link-up action configuration definition information 135. 134 is set in the port state 133 and the action content 134 of the action definition description table 131, respectively (S405).
Further, when the link down action configuration definition information 136 is included in the configuration definition description 210 of the port number i (S501), the control unit 160 transfers the link to the action definition description table 131 stored in the configuration information storage unit 130. The down action configuration definition information 136 is set. Similarly to the above, the control unit 160 sets the acquired port number i to the port number 132, and the port state 133 and the action content 134 of the link down action configuration definition information 136 are stored in the action definition description table. The port state 133 of 131 and the action content 134 are set (S502).
In order to process the configuration information corresponding to the next port described in the link up / link down control configuration definition information 200, the control unit 160 sets the reference position i of the link up / link down control configuration definition information 200. Add one port (S503), and return to the loop processing (S402).
In this manner, the link up / link down control configuration definition information 200 shown in FIG. 2 is defined in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG.

図6、図7及び図8は、制御部による本実施例の動作内容フローチャートである。
図1(a)、図6、図7及び図8を参照して本実施例の動作を説明する。
例えば、図1(a)に示す該ボタン100−1の入力を該制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S601)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、該ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160は該ボタン100−1の入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S602)。
該制御部160は、対象ポートのポート番号と、取得されたポート状態とに基づき該アクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、制御部160は、特定されたアクション内容134を実行する。それにより対象ポートのポート状態が変われば、該制御部160は該ポート状態記憶部110の対象ポートのポート番号に対応する該ポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、例えば最終定義記述(最終エントリ)までループ処理をする(S603)。
該制御部160は該構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が、押されたボタンに対応するポート番号(例えば1)と一致する構成記述があるか調べる(S604)。ここでポート状態の一致も併せて調べてもよい。もし、一致すれば(例えば1の値であれば)アクション実行処理(S605)へ進み、一方、一致しなければ(1以外であれば)何も処理せず処理S702へ移る。アクション実行処理(S605)は、サブルーチンである図8のアクション実行処理開始(S800)の処理へ飛ぶ。
図8を参照して、アクション実行処理を説明する。
該制御部160は、該リンクアップアクション構成定義情報135の該ポート状態133がリンクダウン状態を示すlinkdownであるため、ポート番号1のポート状態115がlinkdownであれば(S801)、該リンクアップアクション構成定義情報135の該アクション内容134に記述しているfreeコマンドを該ポート101−1に対して実行する(S802)。また、該制御部160は、該ポート状態記憶部110の該ポート番号1のポート状態115を、リンクアップ状態であることを示すlinkupに変更する(S803)。
また、該制御部160は、該リンクダウンアクション構成定義情報136の該ポート状態133はリンクアップ状態を示すlinkupであるため、該ポート番号1のポート状態115がlinkupであれば(S804)、該リンクダウンアクション構成定義情報136の該アクション内容134に記述しているcloseコマンドを該ポート101−1に対して実行する(S805)。また、該制御部160は、該ポート状態記憶部110の該ポート番号1のポート状態115を、リンクダウン状態であることを示すlinkdownに変更する(S806)。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかのアクション内容134を実行した場合は、さらに該アクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S701)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S702)、ループ処理(S603)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113に対応するアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。
6, 7 and 8 are flowcharts of the operation contents of the present embodiment by the control unit.
The operation of this embodiment will be described with reference to FIGS. 1 (a), 6, 7, and 8. FIG.
For example, the control unit 160 detects the input of the button 100-1 shown in FIG. The control unit 160 continues the monitoring process until it is detected (S601). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, although the following description will be given assuming that the button 100-1 is pressed by the operator, the same applies when other buttons are pressed.
The control unit 160 takes the input of the button 100-1 as an opportunity, and from the port state table 111 stored in the port state storage unit 110, as the port state of the target port 101-1, the corresponding port number (for example, port number). The port state 115 of 1) is acquired (S602).
The control unit 160 refers to the action definition description table 131 based on the port number of the target port and the acquired port state, and specifies the corresponding action content 134. In addition, the control unit 160 executes the specified action content 134. If the port state of the target port changes accordingly, the control unit 160 updates the port state 113 corresponding to the port number of the target port in the port state storage unit 110. Hereinafter, these processes will be described more specifically.
In order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130, the control unit 160 performs a loop process to a final definition description (final entry), for example (S603). ).
Whether the control unit 160 has a configuration description in which the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 matches the port number (for example, 1) corresponding to the pressed button. Check (S604). Here, the match of the port status may be checked together. If they match (for example, if the value is 1), the process proceeds to the action execution process (S605). On the other hand, if they do not match (other than 1), no process is performed and the process proceeds to S702. The action execution process (S605) jumps to the process of the action execution process start (S800) of FIG. 8, which is a subroutine.
The action execution process will be described with reference to FIG.
Since the port state 133 of the link-up action configuration definition information 135 is linkdown indicating the link-down state, the control unit 160 determines that the link-up action is performed when the port state 115 of the port number 1 is linkdown (S801). The free command described in the action content 134 of the configuration definition information 135 is executed for the port 101-1 (S 802). In addition, the control unit 160 changes the port state 115 of the port number 1 in the port state storage unit 110 to linkup indicating that it is in a link-up state (S803).
Further, since the port state 133 of the link down action configuration definition information 136 is a linkup indicating the linkup state, the control unit 160 determines that the port state 115 of the port number 1 is a linkup (S804). The close command described in the action content 134 of the link down action configuration definition information 136 is executed for the port 101-1 (S805). Further, the control unit 160 changes the port state 115 of the port number 1 in the port state storage unit 110 to linkdown indicating that it is in a link down state (S806).
At this time, when any action content 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131, so that the loop processing Is exited (S701). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S702). ), The process returns to the loop process (S603).
In this way, when the button is input, the action information corresponding to the port state 113 of the port state table 111 stored in the port state storage unit 110 is stored in the configuration information storage unit 130. The description table 131 can be searched and specified and executed.

実施例2では通信装置の操作を間違えないようにするために、アクション内容を制限するフェイルセーフモードについて、指示手段としてボタンを設けた実施例を説明する。本実施例では、実施例1と同様の通信装置構成を持ち、図1(a)の該構成情報記憶部130を図9のフェイルセーフモード制御をする構成情報記憶部130に変更する。
図1(a)及び図1(b)について、構成情報記憶部130以外の実施の形態は実施例1と同様である。
図9は、フェイルセーフモード時の構成情報内容を示す図である。構成情報記憶部130は、ポート番号132と、ポート状態133と、ポート番号132とポート状態133がともに一致した時に処理をするアクション内容を定義するアクション内容134とを対応して記憶するアクション定義記述テーブル131を有する。例えば、アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該ポート状態133がリンクダウンであることを示すlinkdown状態140であり、このときの該アクション内容134がfreeコマンドであるリンクアップアクション構成定義情報135が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該ポート状態133リンクアップであることを示すlinkup状態141であり、このときの該アクション内容134がnopコマンドであるノンオペレーション構成定義情報136−2が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
該構成情報記憶部130が記憶するアクション定義記述テーブル131には該リンクアップアクション構成定義情報135と、該ノンオペレーション構成定義情報136−2及び、必要であれば他にも該ポート番号132と該ポート状態133が一致したときに処理する該アクション内容134があらかじめ設定されている。
例えば、ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160はポート状態記憶部110に記憶しているポート状態テーブル111について、該ポート101−1に対応するポート番号1のポート状態115を参照してポート番号112とポート状態113を取得する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該ポート状態133がともに一致する該アクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115について、該ポート状態113がリンクダウン状態を示すlinkdownならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140の場合に該アクション内容134がfreeコマンドを実行すると定義した該リンクアップアクション構成定義135が特定されて、freeコマンドを処理することで該ポート101−1を制御する。一方、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がリンクアップ状態を示すlinkupであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkup状態141の場合に該アクション内容134がnopコマンドを実行すると定義した該ノンオペレーション構成定義情報136−2が特定されて該アクション内容134のnopコマンドを処理することで該ポート101−1を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115について該ポート状態113を変化した内容に変更する。
In the second embodiment, a description will be given of an embodiment in which a button is provided as an instruction means in a fail safe mode for restricting the action contents in order not to mistake the operation of the communication device. In this embodiment, the configuration of the communication apparatus is the same as that of the first embodiment, and the configuration information storage unit 130 in FIG. 1A is changed to the configuration information storage unit 130 that performs fail-safe mode control in FIG.
1A and 1B, the embodiment other than the configuration information storage unit 130 is the same as that of the first embodiment.
FIG. 9 is a diagram showing the contents of configuration information in the fail safe mode. The configuration information storage unit 130 stores an action definition description that stores a port number 132, a port state 133, and an action content 134 that defines an action content to be processed when both the port number 132 and the port state 133 match. It has a table 131. For example, in the action definition description table 131, the contents of the port number 132 are 1 indicating the port number 1, and the link state 140 indicates that the port state 133 is link down. The link-up action configuration definition information 135, which is a free command, is stored. Further, for example, the content of the port number 132 is 1 indicating the port number 1 and the link state 141 indicating that the port state 133 is link-up, and the action content 134 at this time is a no-op configuration. Definition information 136-2 is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
The action definition description table 131 stored in the configuration information storage unit 130 includes the link-up action configuration definition information 135, the non-operation configuration definition information 136-2, and, if necessary, the port number 132 and the The action content 134 to be processed when the port status 133 matches is preset.
For example, when an operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port status stored in the port status storage unit 110 in response to an input notification from the button 100-1. In the table 111, the port number 112 and the port state 113 are acquired by referring to the port state 115 of the port number 1 corresponding to the port 101-1. In addition, the control unit 160 is configured to define the action content 134 in which the port number 132 and the port state 133 coincide with each other in the content of the action definition description table 131 stored in the configuration information storage unit 130. Or search.
If the port state 113 of the port number 1 is linkdown indicating the link down state, the port number 132 is determined from the contents of the action definition description table 131 stored in the configuration information storage unit 130. 1. When the port state 133 is the linkdown state 140, the link up action configuration definition 135 defined that the action content 134 executes the free command is specified, and the port 101-1 is processed by processing the free command. To control. On the other hand, if the port state 113 is a linkup indicating the link up state for the port state 115 of the port number 1, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130. When the port number 132 is 1 and the port state 133 is the linkup state 141, the non-operation configuration definition information 136-2 that the action content 134 defines to execute the nop command is specified from the content, and the action content The port 101-1 is controlled by processing the 134 nop command. If no action definition is found as a result of the search, no control is performed on the port 101-1.
As a result of processing the command and controlling the port, if the port state of the port 101-1 changes, the control unit 160 changes the port state 113 of the port number 1 to the changed content. .

図10は、構成情報記述例を示す図である。
通信装置の運用開始時または運用中に、運用環境に合わせて図1(a)に示す操作端末180から、通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。図10は、この構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
フェイルセーフモード制御構成定義情報1000は、ポート毎の構成情報記述を含む。図10の例では、ポート番号1の構成定義記述210−2と、ポート番号2の構成定義記述220−2とについて2ポート分の構成情報記述を示す。
該ポート番号1の構成定義記述210−2には、構成情報が対象とするポートの番号を示す構成定義ポート番号240と、ボタンを入力した時の該ポート状態133と、対応する該アクション内容134との組み合わせを指定記述する。例えば、該ポート状態133がリンクダウンであることを示すlinkdownならばコマンドfreeを該アクション内容134としたリンクアップアクション構成定義情報135と、該ポート状態133がリンクアップであることを示すlinkupならばコマンドnopを該アクション内容134としたノンオペレーション構成定義情報136−2を記述している。
図11は、該フェイルセーフモード制御をする場合の状態遷移を説明した図である。
例えばポート番号1のポート状態がリンクダウン状態であることを示すlinkdownの場合、ポート番号1に対応するボタンを押したことを契機にして、該linkdown状態140をアクション検索条件にしている該リンクアップアクション構成定義情報135のアクション内容であるfreeコマンドが処理されて、ポート状態がリンクアップ状態であることを示すlinkup状態141に状態変化する。また、例えばポート番号1のポート状態がリンクアップ状態であることを示すlinkupの場合、ボタンを押したことを契機にして、該linkup状態141をアクション検索条件にしている該ノンオペレーションアクション構成定義情報136−2のアクション内容であるnopコマンドが処理されるが、nopコマンドはポート状態を変化させないためlinkupの状態を維持する。
FIG. 10 is a diagram illustrating a configuration information description example.
At the start or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. FIG. 10 is a diagram showing an example when the setting information in this embodiment is described in this configuration information.
The fail safe mode control configuration definition information 1000 includes a configuration information description for each port. In the example of FIG. 10, the configuration information description for two ports is shown for the configuration definition description 210-2 for port number 1 and the configuration definition description 220-2 for port number 2.
In the configuration definition description 210-2 of the port number 1, the configuration port number 240 indicating the number of the target port of the configuration information, the port state 133 when the button is input, and the corresponding action content 134 Specify and describe the combination. For example, if the port state 133 is linkdown indicating that the link state is down, the link-up action configuration definition information 135 with the command free as the action content 134 and if the port state 133 is linkup indicating that the port state 133 is link-up Non-operation configuration definition information 136-2 with the command nop as the action content 134 is described.
FIG. 11 is a diagram for explaining the state transition when the fail-safe mode control is performed.
For example, in the case of linkdown indicating that the port state of the port number 1 is a link-down state, the link-up that uses the linkdown state 140 as an action search condition when the button corresponding to the port number 1 is pressed. The free command that is the action content of the action configuration definition information 135 is processed, and the state changes to the linkup state 141 indicating that the port state is the link-up state. For example, in the case of linkup indicating that the port state of port number 1 is a link-up state, the non-operation action configuration definition information that uses the linkup state 141 as an action search condition when the button is pressed. The nop command, which is the action content of 136-2, is processed, but the nop command maintains the linkup state because it does not change the port state.

図12は、制御部による本実施例の構成定義設定フローチャートである。
図1(a)、図9、図10及び図12を参照して本実施例の構成定義設定手順を説明する。図1(a)に示す操作端末180から図10に示すフェイルセーフモード制御構成定義情報1000を入力したことによって、制御部160は構成定義設定を開始する(S1201)。該フェイルセーフモード制御構成定義情報1000にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S1202)。
該制御部160は、該フェイルセーフモード制御構成定義情報1000内のポート番号i(iは現ループでの対象ポート)の構成定義210−2から、構成定義ポート番号240の値を取得し、ポート番号に対応するポート状態133とアクション内容134の記述がある場合にはそれを取得し(S1203)、制御部160は図9に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ、構成定義情報を設定する。より具体的には、該制御部160は、取得したポート番号iをアクション定義記述テーブル131のポート番号132へ設定し、リンクアップアクション構成定義情報135のポート状態133とアクション内容134を、アクション定義記述テーブル131のポート状態133とアクション内容134にそれぞれ設定する(S1204)。
該フェイルセーフモード制御構成定義情報1000に記述している次のポートに対応する構成情報を処理するため、該制御部160はフェイルセーフモード制御構成定義情報1000の参照位置iを1ポート分加算して(S1205)、ループ処理(S1202)へ戻る。
このようにして、図10に示す該フェイルセーフモード制御構成定義情報1000を図9に示す該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ構成定義をする。
図13、図14及び図15は、制御部による本実施例の動作内容フローチャートである。
図1(a)、図9、図13、図14及び図15を参照して本実施例の動作を説明する。
例えば、図1(a)に示すボタンの入力を制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S1301)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160は該ボタン100−1の入力を契機に、ポート状態記憶部110に記憶するポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S1302)。
該制御部160は、対象ポートのポート番号と、取得したポート状態に基づきアクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、該制御部160は、特定されたアクション内容134を実行する。それにより対象ポートのポート状態が変われば、該制御部160はポート状態記憶部110の対象ポートのポート番号に対応するポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、最終定義記述(最終エントリ)までループ処理をする(S1303)。
該制御部160は構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が、押されたボタンに対応するポート番号(例えば1)と一致する構成記述があるか調べる(S1304)。ここで、ポート状態の一致も併せて調べてもよい。もし、一致すれば(例えば1の値であれば)アクション実行処理(S1305)へ進み、一方、一致しなければ(1以外であれば)何も処理せず処理S1402へ移る。アクション実行処理(S1305)は、サブルーチンである図15のアクション実行処理開始(S1500)の処理へ飛ぶ。
FIG. 12 is a configuration definition setting flowchart of this embodiment by the control unit.
A configuration definition setting procedure according to the present embodiment will be described with reference to FIGS. When the fail safe mode control configuration definition information 1000 illustrated in FIG. 10 is input from the operation terminal 180 illustrated in FIG. 1A, the control unit 160 starts configuration definition setting (S1201). Since the fail safe mode control configuration definition information 1000 describes a configuration definition for each port, the control unit 160 performs a loop process for each port. When the loop process is executed up to the final port number, the loop process is terminated (S1202).
The control unit 160 acquires the value of the configuration port number 240 from the configuration definition 210-2 of the port number i (i is the target port in the current loop) in the failsafe mode control configuration definition information 1000, and the port number If there is a description of the port state 133 and the action content 134 corresponding to "S1203", it is acquired (S1203). Set the information. More specifically, the control unit 160 sets the acquired port number i to the port number 132 of the action definition description table 131, and sets the port state 133 and the action content 134 of the link-up action configuration definition information 135 to the action definition. The port state 133 and the action content 134 of the description table 131 are set (S1204).
In order to process the configuration information corresponding to the next port described in the failsafe mode control configuration definition information 1000, the control unit 160 adds the reference position i of the failsafe mode control configuration definition information 1000 by one port ( S1205), the process returns to the loop process (S1202).
In this way, the fail safe mode control configuration definition information 1000 shown in FIG. 10 is defined in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG.
FIG. 13, FIG. 14 and FIG. 15 are flowcharts of the operation contents of this embodiment by the control unit.
The operation of this embodiment will be described with reference to FIGS. 1 (a), 9, 13, 14, and 15. FIG.
For example, the control unit 160 detects the input of the button shown in FIG. The control unit 160 continues the monitoring process until it is detected (S1301). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, the following description will be given assuming that the button 100-1 is pressed by the operator, but the same applies when other buttons are pressed.
The control unit 160 takes the input of the button 100-1 as an opportunity, and from the port state table 111 stored in the port state storage unit 110, the corresponding port number (for example, port number 1) as the port state of the target port 101-1. The port status 115 is acquired (S1302).
The control unit 160 refers to the action definition description table 131 based on the port number of the target port and the acquired port state, and identifies the corresponding action content 134. Further, the control unit 160 executes the specified action content 134. If the port state of the target port changes accordingly, the control unit 160 updates the port state 113 corresponding to the port number of the target port in the port state storage unit 110. Hereinafter, these processes will be described more specifically.
The control unit 160 loops to the final definition description (final entry) in order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130 (S1303). .
The control unit 160 checks whether there is a configuration description in which the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 matches the port number (for example, 1) corresponding to the pressed button. (S1304). Here, the match of the port status may be checked together. If they match (for example, if the value is 1), the process proceeds to the action execution process (S1305). On the other hand, if they do not match (if other than 1), no process is performed and the process proceeds to S1402. The action execution process (S1305) jumps to the process of the action execution process start (S1500) of FIG. 15, which is a subroutine.

図15を参照して、アクション実行処理を説明する。
該制御部160は、リンクアップアクション構成定義情報135のポート状態133がリンクダウン状態を示すlinkdownであるため、ポート番号1のポート状態115がlinkdownであれば(S1501)、該リンクアップアクション構成定義情報135の該アクション内容134に記述しているfreeコマンドを該ポート101−1に対して実行する(S1502)。また、該制御部160は、ポート状態記憶部110の該ポート番号1のポート状態115について該ポート状態113を、リンクアップ状態であることを示すlinkupに変更する(S1503)。
また、該制御部160は、ノンオペレーション構成定義情報136−2のポート状態133がリンクアップ状態を示すlinkupであるため、該ポート番号1のポート状態115がlinkupであれば(S1504)、該ノンオペレーション構成定義情報136−2のアクション内容134に記述しているnopコマンドを該ポート101−1に対して実行する(S1505)。なお、nopコマンドはポート状態を何も変化させない。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかの該アクション内容134を実行した場合は、さらにアクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S1401)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S1402)、ループ処理(S1303)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113に対応するアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。
The action execution process will be described with reference to FIG.
Since the port state 133 of the link-up action configuration definition information 135 is linkdown indicating the link-down state, the control unit 160 determines that the link-up action configuration definition if the port state 115 of the port number 1 is linkdown (S1501). The free command described in the action content 134 of the information 135 is executed for the port 101-1 (S1502). Further, the control unit 160 changes the port state 113 for the port state 115 of the port number 1 in the port state storage unit 110 to linkup indicating that it is in a link-up state (S1503).
Further, since the port state 133 of the non-operation configuration definition information 136-2 is a linkup indicating the link up state, the control unit 160 indicates that the port state 115 of the port number 1 is a linkup (S1504). The nop command described in the action content 134 of the operation configuration definition information 136-2 is executed for the port 101-1 (S1505). The nop command does not change the port state.
At this time, when any one of the action contents 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131. Is exited (S1401). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S1402). ), The process returns to the loop process (S1303).
In this way, when the button is input, the action information corresponding to the port state 113 of the port state table 111 stored in the port state storage unit 110 is stored in the configuration information storage unit 130. The description table 131 can be searched and specified and executed.

実施例3では、ポートがリンクダウンのまま回線に接続せず未使用の場合に、未使用中に不慮の故障等が発生していないことを確認するために、指示手段の入力により自己診断を開始するセルフテストモード制御を行う通信装置について、指示手段としてボタンを設けた例で説明する。本実施例では、実施例1と同様の通信装置構成を持ち、ポート101−1に自己診断用テスト時に通信データを自己ループするために必要なループコネクタ1600を接続するとともに、該構成情報記憶部130について、セルフテストモード制御をするための構成情報記憶部130に変更する。また、セルフテストの実施中には、ポート状態記憶部110のポート状態113に例えばselftestが記憶される。
図16は、セルフテストモード時の実施の形態を示す図である。構成情報記憶部130は、ポート番号132と、ポート状態133と、ポート番号132とポート状態133がともに一致した時に処理をするアクション内容を定義するアクション内容134とを対応して記憶するアクション定義記述テーブル131を有する。例えば、アクション定義記述テーブル131には、該ポート番号132の内容が全てのポートを対象にすることを示すall、該ポート状態133がリンクダウンであることを示すlinkdown状態140であり、このときの該アクション内容134がtestコマンドであるセルフテストアクション構成定義情報1601が記憶される。また、例えば、該ポート番号132の内容が全てのポートを対象にすることを示すall、該ポート状態133がselftest状態1642であり、このときの該アクション内容134がcloseコマンドであるセルフテストエンドアクション構成定義情報1602が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
該構成情報記憶部130が記憶するアクション定義記述テーブル131には該セルフテストアクション構成定義情報1601と、該セルフテストエンドアクション構成定義情報1602及び、必要であれば他にも該ポート番号132と該ポート状態133が一致したときに処理する該アクション内容134があらかじめ設定されている。
例えば、ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160はポート状態記憶部110に記憶しているポート状態テーブル111について、該ポート101−1に対応するポート番号1のポート状態115を参照してポート番号112、及びポート状態113を取得する。なお、作業者は例えばボタン100−1を押す前など適宜のタイミングでループコネクタ1600をポートに接続する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該ポート状態133と、取得したポート番号及びポート状態がともに一致する該アクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115について、該ポート状態113がリンクダウン状態を示すlinkdownならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140の場合に該アクション内容134がselftestコマンドを実行すると定義した該セルフテストアクション構成定義情報1601が特定されて、selftestコマンドを処理することで該ポート101−1を制御する。一方、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がリンクアップ状態を示すselftestであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該selftest状態1642の場合に該アクション内容134がcloseコマンドを実行すると定義した該セルフテストエンドアクション構成定義情報1602が特定されて該アクション内容134のcloseコマンドを処理することで該ポート101−1を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115について該ポート状態113を変化した内容に変更する。
In the third embodiment, when the port is not connected to the line with the link down and is not used, self-diagnosis is performed by inputting an instruction means in order to confirm that an unexpected failure or the like has not occurred during the use. A communication apparatus that performs self-test mode control to be started will be described with an example in which buttons are provided as instruction means. In the present embodiment, the communication apparatus configuration similar to that of the first embodiment is provided, and a loop connector 1600 necessary for self-looping communication data during a self-diagnosis test is connected to the port 101-1, and the configuration information storage unit About 130, it changes to the structure information storage part 130 for carrying out self-test mode control. During the self test, for example, selftest is stored in the port state 113 of the port state storage unit 110.
FIG. 16 is a diagram showing an embodiment in the self-test mode. The configuration information storage unit 130 stores an action definition description that stores a port number 132, a port state 133, and an action content 134 that defines an action content to be processed when both the port number 132 and the port state 133 match. It has a table 131. For example, the action definition description table 131 includes all indicating that the contents of the port number 132 are for all ports, and a linkdown state 140 indicating that the port state 133 is link-down. Self-test action configuration definition information 1601 in which the action content 134 is a test command is stored. Also, for example, the port number 132 is all indicating that all ports are targeted, the port state 133 is a selftest state 1642, and the action content 134 at this time is a self-test end action. Configuration definition information 1602 is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
The action definition description table 131 stored in the configuration information storage unit 130 includes the self-test action configuration definition information 1601, the self-test end action configuration definition information 1602, and, if necessary, the port number 132 and the The action content 134 to be processed when the port status 133 matches is preset.
For example, when an operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port status stored in the port status storage unit 110 in response to an input notification from the button 100-1. In the table 111, the port number 112 and the port state 113 are acquired by referring to the port state 115 of the port number 1 corresponding to the port 101-1. The worker connects the loop connector 1600 to the port at an appropriate timing, for example, before pressing the button 100-1. In addition, the control unit 160, for the contents of the action definition description table 131 stored in the configuration information storage unit 130, the port number 132 and the port state 133 that match the acquired port number and port state. It is searched whether or not the action content 134 is configured.
If the port state 113 of the port number 1 is linkdown indicating the link down state, the port number 132 is determined from the contents of the action definition description table 131 stored in the configuration information storage unit 130. 1. When the port state 133 is the linkdown state 140, the self-test action configuration definition information 1601 defined that the action content 134 executes the selftest command is specified, and the selftest action processing is performed, so that the port 101- 1 is controlled. On the other hand, if the port state 113 is a selftest indicating the link-up state for the port state 115 of the port number 1, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130. When the port number 132 is 1 and the port state 133 is the selftest state 1642, the self-test end action configuration definition information 1602 defined to execute the close command when the port number 132 is the selftest state 1642 is specified, and the action content The port 101-1 is controlled by processing the 134 close command. If no action definition is found as a result of the search, no control is performed on the port 101-1.
As a result of processing the command and controlling the port, if the port state of the port 101-1 changes, the control unit 160 changes the port state 113 of the port number 1 to the changed content. .

図17は、構成情報記述例を示す図である。
通信装置の運用開始時または運用中に、運用環境に合わせて図16に示す操作端末180から、通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。図17は、この構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
セルフテストモード制御構成定義情報1700は、ポート毎の構成情報記述を含む。図17の例では、全ポートを対象とした構成定義記述1730についての構成情報記述を示す。
該全ポートを対象とした構成定義記述1730には、構成情報が対象とするポートの番号を示す構成定義ポート番号240−2と、ボタンを入力した時の該ポート状態133と、対応する該アクション内容134との組み合わせを指定記述する。例えば、該ポート状態133がリンクダウンであることを示すlinkdownならばコマンドtestを該アクション内容134とした該セルフテストアクション構成定義情報1601と、該ポート状態133がセルフテストであることを示すselftestならばコマンドcloseを該アクション内容134とした該セルフテストエンドアクション構成定義情報1602を記述している。
図18は、セルフテストモード制御をする場合の状態遷移を説明した図である。
例えばポート番号1のポート状態がリンクダウン状態であることを示すlinkdownの場合、ポート番号1に対応するボタンを押したことを契機にして、該linkdown状態140をアクション検索条件にしている該セルフテストアクション構成定義情報1601のアクション内容であるtestコマンドが処理されて、ポート状態がセルフテスト状態であることを示す該selftest状態1642に状態変化する。また、例えばポート番号1のポート状態がセルフテスト状態であることを示すselftestの場合、ボタンを押したことを契機にして、該selftest状態1642をアクション検索条件にしている該セルフテストエンドアクション構成定義情報1602のアクション内容であるcloseコマンドが処理されて、ポート状態がリンクダウン状態であることを示すlinkdown状態140に状態変化する。
制御部160による構成定義設定フローチャート、動作内容の全体フローチャートは実施例1又は2と同様である(例えば図4〜7参照)。
図19は、制御部160によるアクション実行処理のフローチャートである。図6のステップS605、図13のステップS1305の詳細フローチャートに相当する。
図16、図17、図13、図14及び図19を参照して本実施例の動作を説明する。以下に示すステップS1301〜S1304の各処理は、上述と同様である。
901teno
まず、図16に示す該ボタン100−1の入力を該制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S1301)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160は該ボタン100−1の入力を契機に、ポート状態記憶部110に記憶するポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S1302)。
該制御部160は、対象ポートのポート番号と、取得されたポート状態とに基づきアクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、該制御部160は、特定したアクション内容134を実行する。それにより対象ポートのポート状態が変われば、制御部160はポート状態記憶部110の対象ポートのポート番号に対応するポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、最終定義記述(最終エントリ)までループ処理をする(S1303)。
該制御部160は構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が図16の例に示すように例えば、全てのポート番号に対応するallである場合、押されたボタンに対応するポート番号と必ず一致する。一致すればアクション実行処理(S1305)へ進み、一方、該アクション定義記述テーブル131に含まれる該ポート番号132が例えば、ポート番号の範囲指定や1つのポート番号を指定していて一致しなければ何も処理せず処理S1402へ移る。アクション実行処理(S1305)は、サブルーチンである図19のアクション実行処理開始(S1900)の処理へ飛ぶ。
FIG. 17 is a diagram illustrating a configuration information description example.
At the start or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. 16 according to the operation environment. FIG. 17 is a diagram showing an example in which the setting information in this embodiment is described in this configuration information.
Self-test mode control configuration definition information 1700 includes a configuration information description for each port. In the example of FIG. 17, the configuration information description for the configuration definition description 1730 for all ports is shown.
The configuration definition description 1730 for all the ports includes a configuration port number 240-2 indicating the number of the port targeted by the configuration information, the port state 133 when the button is input, and the corresponding action. A combination with the content 134 is specified and described. For example, if the port state 133 is linkdown indicating that the link is down, the self-test action configuration definition information 1601 with the command test as the action content 134 and the selftest indicating that the port state 133 is a self-test For example, the self-test end action configuration definition information 1602 with the command close as the action content 134 is described.
FIG. 18 is a diagram for explaining the state transition when the self-test mode control is performed.
For example, in the case of linkdown indicating that the port state of port number 1 is a link-down state, the self-test that uses the linkdown state 140 as an action search condition when the button corresponding to port number 1 is pressed The test command which is the action content of the action configuration definition information 1601 is processed, and the state changes to the selftest state 1642 indicating that the port state is the self-test state. For example, in the case of selftest indicating that the port state of port number 1 is a self-test state, the self-test end action configuration definition using the self-test state 1642 as an action search condition when a button is pressed. The close command which is the action content of the information 1602 is processed, and the state changes to the linkdown state 140 indicating that the port state is the link down state.
The configuration definition setting flowchart by the control unit 160 and the overall flowchart of the operation contents are the same as those in the first or second embodiment (for example, see FIGS. 4 to 7).
FIG. 19 is a flowchart of action execution processing by the control unit 160. This corresponds to the detailed flowchart of step S605 in FIG. 6 and step S1305 in FIG.
The operation of this embodiment will be described with reference to FIGS. 16, 17, 13, 14, and 19. FIG. Each processing of steps S1301 to S1304 shown below is the same as described above.
901teno
First, the control unit 160 detects the input of the button 100-1 shown in FIG. The control unit 160 continues the monitoring process until it is detected (S1301). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, the following description will be given assuming that the button 100-1 is pressed by the operator, but the same applies when other buttons are pressed.
The control unit 160 takes the input of the button 100-1 as an opportunity, and from the port state table 111 stored in the port state storage unit 110, the corresponding port number (for example, port number 1) as the port state of the target port 101-1. The port status 115 is acquired (S1302).
The control unit 160 refers to the action definition description table 131 based on the port number of the target port and the acquired port state, and specifies the corresponding action content 134. Further, the control unit 160 executes the specified action content 134. If the port state of the target port changes accordingly, the control unit 160 updates the port state 113 corresponding to the port number of the target port in the port state storage unit 110. Hereinafter, these processes will be described more specifically.
The control unit 160 loops to the final definition description (final entry) in order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130 (S1303). .
When the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 is, for example, all corresponding to all port numbers as shown in the example of FIG. It must match the port number corresponding to the selected button. If they match, the process proceeds to action execution processing (S1305). On the other hand, if the port number 132 included in the action definition description table 131 specifies, for example, a port number range or one port number, what does not match? Is not processed, and the process proceeds to step S1402. The action execution process (S1305) jumps to the process of the action execution process start (S1900) of FIG. 19 which is a subroutine.

図19を参照して、アクション実行処理を説明する。
該制御部160は、該ポート状態133に対応する該アクション内容134に記述している内容を取得し(S1901)、該アクション内容134に記述しているコマンドをポート101−1に対して実行する(S1902)。コマンドの実行により、ポート状態が変更になった場合は、該ポート状態記憶部110の該ポート番号1のポート状態115について該ポート状態113を、ポート状態に合わせて変更する(S1903)。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかの該アクション内容134を実行した場合は、さらにアクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S1401)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S1402)、ループ処理(S1303)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113に対応するアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。
The action execution process will be described with reference to FIG.
The control unit 160 acquires the content described in the action content 134 corresponding to the port state 133 (S1901), and executes the command described in the action content 134 for the port 101-1. (S1902). When the port status is changed by execution of the command, the port status 113 of the port status 1 of the port number 1 in the port status storage unit 110 is changed according to the port status (S1903).
At this time, when any one of the action contents 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131. Is exited (S1401). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S1402). ), The process returns to the loop process (S1303).
In this way, when the button is input, the action information corresponding to the port state 113 of the port state table 111 stored in the port state storage unit 110 is stored in the configuration information storage unit 130. The description table 131 can be searched and specified and executed.

実施例4では、ポートに対応するボタンを入力することであらかじめ構成情報に登録したアクション内容を選択する方法とともに、拡張ボタンを押しながら同時にポートに対応するボタンを押すことで、あらかじめ構成情報に登録した先のアクション内容とは別のアクション内容を選択することを可能にする。これによりリンクアップ/リンクダウンとセルフテストモードを選択可能である。
図20(a)は本実施例の通信装置の構成図である。実施例3の図16に示す通信装置構成に対し、ポート状態記憶部110を図21(a)のポート状態記憶部110に変更し、構成情報記憶部130を図21(b)の構成情報記憶部130に変更し、拡張指示手段2000−1〜2000−nをさらに有する。他の装置構成は、例えば上述の実施例3の通信装置と同様である。
図21(a)に、本実施例のポート状態記憶部110の構成例を示す。ポート状態記憶部110は、複数のポート101−1〜101−nに対応する1〜nのポート番号112ごとに、該ポート番号112に対応したポート状態113を記憶するポート状態テーブル111を有する。該ポート状態テーブル111には、例えばポート番号1のポート状態115が記憶される。
図21(b)に、本実施例の構成情報記憶部130の構成例を示す。該構成情報記憶部130は、リンクアップ/リンクダウン及びセルフテストモード制御をする構成情報記憶部130に変更する。ポートのリンクダウンとリンクアップの切り替えと共に、ポートがリンクダウンのまま回線に接続せず未使用の場合に、未使用中に不慮の故障等が発生していないことを確認するために指示手段の入力により自己診断を開始するセルフテストモード制御について、指示手段としてボタン、拡張指示手段として拡張ボタンを設けた例で説明する。
該構成情報記憶部130は、ポート番号132と、ポート状態133と、拡張指示手段2000−1〜2000−nに対応する1〜nの拡張ボタン番号2135と、アクション内容134とを対応して記憶するアクション定義記述テーブル131を有する。アクション内容134は、ポート番号132とポート状態133がともに一致した時に、または、拡張ボタン番号2135に有効な値(例えば1〜n)が設定されていた場合は該ポート番号132と該ポート状態133と該拡張ボタン番号2135がともに一致した時に、処理をするアクション内容を定義する。例えば、アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該ポート状態133がリンクダウンであることを示すlinkdown状態140であり、このときの該アクション内容134がfreeコマンドであるリンクアップアクション構成定義情報2136が記憶される。また、例えば、該ポート状態133がリンクダウンであることを示すlinkdown状態140であっても、拡張ボタン番号2143を指定することで、このときの該アクション内容134がtestコマンドであるセルフテストアクション構成定義情報2137が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該ポート状態133リンクアップであることを示すlinkup状態141であり、このときの該アクション内容134がcloseコマンドであるリンクダウンアクション構成定義情報2138が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該ポート状態133セルフテストであることを示すselftest状態1642であり、このときの該アクション内容134がcloseコマンドであるセルフテストエンドアクション構成定義情報2139が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
該構成情報記憶部130が記憶する該アクション定義記述テーブル131には該リンクアップアクション構成定義情報2136と、該セルフテストアクション構成定義情報2137と、該リンクダウンアクション構成定義情報2138と、該セルフテストエンドアクション構成定義情報2139及び、必要であれば他にも該ポート番号132と該ポート状態133が一致したときに処理する該アクション内容134があらかじめ設定されている。また、必要であれば他にも該ポート番号132と該ポート状態133と該拡張ボタン番号2135が一致したときに処理する該アクション内容134があらかじめ設定されている。
In the fourth embodiment, in addition to selecting the action content registered in the configuration information in advance by inputting a button corresponding to the port, it is registered in the configuration information in advance by pressing the button corresponding to the port while pressing the expansion button. The action content different from the previous action content can be selected. As a result, link up / link down and self-test mode can be selected.
FIG. 20A is a configuration diagram of the communication apparatus of this embodiment. For the communication device configuration shown in FIG. 16 of the third embodiment, the port state storage unit 110 is changed to the port state storage unit 110 in FIG. 21A, and the configuration information storage unit 130 is stored in the configuration information storage in FIG. It changes to the part 130, and has further the expansion instruction | indication means 2000-1 to 2000-n. Other apparatus configurations are the same as those of the communication apparatus of the third embodiment described above, for example.
FIG. 21A shows a configuration example of the port state storage unit 110 of this embodiment. The port state storage unit 110 includes a port state table 111 that stores the port state 113 corresponding to the port number 112 for each of the port numbers 112 of 1 to n corresponding to the plurality of ports 101-1 to 101-n. In the port status table 111, for example, the port status 115 of port number 1 is stored.
FIG. 21B shows a configuration example of the configuration information storage unit 130 of this embodiment. The configuration information storage unit 130 is changed to the configuration information storage unit 130 that performs link-up / link-down and self-test mode control. In addition to switching the link down and link up of the port, when the port is not connected to the line with the link down, it is used to confirm that no unexpected failure has occurred during the use. Self-test mode control for starting self-diagnosis by input will be described with an example in which a button is provided as an instruction unit and an expansion button is provided as an extension instruction unit.
The configuration information storage unit 130 stores a port number 132, a port state 133, 1 to n expansion button numbers 2135 corresponding to the expansion instruction units 2000-1 to 2000-n, and action contents 134 in association with each other. It has an action definition description table 131. The action contents 134 include the port number 132 and the port state 133 when the port number 132 and the port state 133 match or when a valid value (for example, 1 to n) is set in the extended button number 2135. The action content to be processed when the extension button number 2135 and the extension button number 2135 coincide is defined. For example, in the action definition description table 131, the content of the port number 132 is 1 indicating the port number 1, and the port state 133 is the linkdown state 140 indicating that the link is down. The link-up action configuration definition information 2136 that is a free command is stored. Further, for example, even if the port state 133 is the linkdown state 140 indicating that the link is down, by specifying the extended button number 2143, the action content 134 at this time is a self-test action configuration in which it is a test command. Definition information 2137 is stored. Further, for example, the contents of the port number 132 are 1 indicating the port number 1 and the link state 141 indicating that the port state 133 is link-up, and the action content 134 at this time is a link-down action whose close command is Configuration definition information 2138 is stored. Further, for example, the content of the port number 132 is 1 indicating the port number 1, and the selftest state 1642 indicating that the port state 133 is a self-test. Action configuration definition information 2139 is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
The action definition description table 131 stored in the configuration information storage unit 130 includes the link up action configuration definition information 2136, the self test action configuration definition information 2137, the link down action configuration definition information 2138, and the self test. End action configuration definition information 2139 and, if necessary, the action contents 134 to be processed when the port number 132 matches the port state 133 are preset. In addition, if necessary, the action content 134 to be processed when the port number 132, the port state 133, and the extended button number 2135 coincide is preset.

図20(b)に、通信装置150の外観(例えば前面)を示す。
通信装置150の外観には、回線に接続する該ポート101−1〜101−nと、各ポート101−1〜101−nに対になるようにボタン100−1〜100−nが設けられていて、該ポート101−1に自己診断用テスト時に通信データを自己ループするために必要なループコネクタ1600を接続し、どのポートにどのボタンが対になっているか理解しやすくするために、該ポート101−1〜101−nに隣接した場所に該ボタン100−1〜100−nを設置することができる。該ボタン100−1〜100−nは全ての該ポート101−1〜101−nに対になるように1つずつ設置しても良いし、該ポート101−1〜101−nの一部にのみ対になるように該ボタン100−1〜100−m(但しm<n)を設置しても良い。
また、通信装置150には、拡張ボタン2000−1〜2000−nが設けられている。拡張ボタンを押しながら該ボタン100−1〜100−nのいずれかを押すことで、該ボタン100−1〜100−nのみで実行される該アクション内容134とは異なる該アクション内容134を選択可能となる。
FIG. 20B shows the external appearance (for example, the front surface) of the communication device 150.
On the external appearance of the communication device 150, the ports 101-1 to 101-n connected to the line and buttons 100-1 to 100-n are provided so as to be paired with the ports 101-1 to 101-n. In order to make it easy to understand which button is paired with which port, the loop connector 1600 necessary for self-looping communication data during the self-diagnostic test is connected to the port 101-1. The buttons 100-1 to 100-n can be installed at locations adjacent to 101-1 to 101-n. The buttons 100-1 to 100-n may be installed one by one so as to be paired with all the ports 101-1 to 101-n, or a part of the ports 101-1 to 101-n. The buttons 100-1 to 100-m (where m <n) may be installed so that only a pair is formed.
The communication device 150 is provided with expansion buttons 2000-1 to 2000-n. By pressing any of the buttons 100-1 to 100-n while pressing the expansion button, the action content 134 different from the action content 134 executed only by the buttons 100-1 to 100-n can be selected. It becomes.

図20(a)、図20(b)、図21(a)及び、図21(b)を参照して本実施例の動作を説明する。
例えば、ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160はポート状態記憶部110に記憶しているポート状態テーブル111について、該ポート101−1に対応するポート番号1のポート状態115を参照してポート番号112とポート状態113を取得する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該ポート状態133がともに一致する該アクション内容134が構成定義してあるか検索する。また、例えば、該拡張ボタン2000−1を押しながら、該ポート101−1に対応する該ボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160はポート状態記憶部110に記憶しているポート状態テーブル111について、該ポート101−1に対応するポート番号1のポート状態115を参照してポート番号112とポート状態113を取得するとともに、拡張ボタン2000−1〜2000−nの入力通知の有無を確認する。拡張ボタン2000−1からの入力通知がある場合、拡張ボタン番号を取得する(例えば、1)。
そして、該ポート番号1のポート状態115について、該ポート状態113がリンクダウン状態を示すlinkdownで、拡張ボタンからの入力通知が無い場合、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140の場合に該アクション内容134がfreeコマンドを実行すると定義した該リンクアップアクション構成定義情報2136が特定されて、該アクション内容134のfreeコマンドを処理することで該ポート101−1を制御する一方、該制御部160は、拡張ボタン番号(例えば、1)の取得が有る場合は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140及び、拡張ボタン番号2135が1の場合に該アクション内容134がtestコマンドを実行すると定義した該セルフテストアクション構成定義情報2137が特定されて、該アクション内容134のtsetコマンドを処理することで該ポート101−1を制御する。また、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がリンクアップ状態を示すlinkupであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkup状態141の場合に該アクション内容134がcloseコマンドを実行すると定義した該リンクダウンアクション構成定義情報2138が特定されて該アクション内容134のcloseコマンドを処理することで該ポート101−1を制御する。さらに、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がセルフテスト状態を示すselftestであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該selftest状態1642の場合に該アクション内容134がcloseコマンドを実行すると定義した該セルフテストエンドアクション構成定義情報2139が特定されて該アクション内容134のcloseコマンドを処理することで該ポート101−1を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115について該ポート状態113を変化した内容に変更する。
The operation of the present embodiment will be described with reference to FIGS. 20 (a), 20 (b), 21 (a), and 21 (b).
For example, when an operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port status stored in the port status storage unit 110 in response to an input notification from the button 100-1. In the table 111, the port number 112 and the port state 113 are acquired by referring to the port state 115 of the port number 1 corresponding to the port 101-1. In addition, the control unit 160 is configured to define the action content 134 in which the port number 132 and the port state 133 coincide with each other in the content of the action definition description table 131 stored in the configuration information storage unit 130. Or search. Further, for example, when the operator presses the button 100-1 corresponding to the port 101-1 while pressing the expansion button 2000-1, the control unit is triggered by an input notification from the button 100-1. 160 obtains the port number 112 and the port state 113 by referring to the port state 115 of the port number 1 corresponding to the port 101-1 in the port state table 111 stored in the port state storage unit 110, and expands The presence / absence of input notification of the buttons 2000-1 to 2000-n is confirmed. When there is an input notification from the extension button 2000-1, the extension button number is acquired (for example, 1).
Then, for the port state 115 of the port number 1, when the port state 113 is linkdown indicating the link down state and there is no input notification from the expansion button, the action definition description table 131 stored in the configuration information storage unit 130 is stored. The link-up action configuration definition information 2136 defined that the action content 134 executes the free command when the port number 132 is 1 and the port state 133 is the linkdown state 140 is specified from the content of The port 101-1 is controlled by processing the free command of the content 134, while the control unit 160 stores the expansion button number (for example, 1) in the configuration information storage unit 130 when it is acquired. From the content of the action definition description table 131, the port The self-test action configuration definition information 2137 defined to execute the test command when the number 132 is 1, the port state 133 is the linkdown state 140, and the extension button number 2135 is 1 is specified, The port 101-1 is controlled by processing the tset command of the action content 134. In addition, for the port state 115 of the port number 1, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130 if the port state 113 is a linkup indicating a link-up state. From the contents, the link down action configuration definition information 2138 defined to execute the close command when the port number 132 is 1 and the port state 133 is the linkup state 141 is specified, and the action contents 134 are specified. The port 101-1 is controlled by processing the close command. Further, for the port state 115 of the port number 1, if the port state 113 is a selftest indicating the self test state, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130. When the port number 132 is 1 and the port state 133 is the selftest state 1642, the self-test end action configuration definition information 2139 defined to execute the close command when the port content 132 is the selftest state 1642 is specified and the action content The port 101-1 is controlled by processing the 134 close command. If no action definition is found as a result of the search, no control is performed on the port 101-1.
As a result of processing the command and controlling the port, if the port state of the port 101-1 changes, the control unit 160 changes the port state 113 of the port number 1 to the changed content. .

図22は、構成情報記述例を示す図である。
通信装置の運用開始時または運用中に、運用環境に合わせて図20(a)に示す操作端末180から、通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。この構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
リンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200は、ポート毎の構成情報記述を含む。図22の例では、ポート番号1の構成定義記述2210についての構成情報記述を示す。
該ポート番号1の構成定義記述2210には、構成情報が対象とするポートの番号を示す構成定義ポート番号240と、ボタンを入力した時の該ポート状態133と、対応する該アクション内容134との組み合わせを指定記述する。また、拡張ボタンを入力しながらボタンを入力した時の該ポート状態133と、拡張ボタン番号2135に対応する該アクション内容134との組み合わせを指定記述する。なお、図の例では拡張ボタン番号1について示しているが、他の拡張ボタン2〜nを含んでもよい。さらに複数の拡張ボタンの組み合わせ(例えば、拡張ボタン1、2を両方押す)に応じて、アクション内容を変えてもよい。
例えば、該ポート状態133がリンクダウンであることを示すlinkdownならばコマンドfreeを該アクション内容134とした該リンクアップアクション構成定義情報2136と、該拡張ボタン番号2135を指定(例えば、1)し、該ポート状態133がリンクダウンであることを示すlinkdownならばコマンドtestを該アクション内容134としたセルフテストアクション構成定義情報2137と、該ポート状態133がリンクアップであることを示すlinkupならばコマンドcloseを該アクション内容134としたリンクダウンアクション構成定義情報2138と、該ポート状態133がセルフテストであることを示すselftestならばコマンドcloseを該アクション内容134としたセルフテストエンドアクション構成定義情報2139を記述している。
FIG. 22 is a diagram illustrating a configuration information description example.
At the start or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. It is a figure which shows the example at the time of describing the setting information in a present Example in this structure information.
The link up / link down and self test mode control configuration definition information 2200 includes a configuration information description for each port. In the example of FIG. 22, the configuration information description for the configuration definition description 2210 of port number 1 is shown.
The configuration definition description 2210 of the port number 1 includes a configuration definition port number 240 that indicates the number of the target port of the configuration information, the port state 133 when the button is input, and the corresponding action content 134. Specify and describe the combination. Further, a combination of the port state 133 when the button is input and the action content 134 corresponding to the expansion button number 2135 is specified and described while inputting the expansion button. In the example shown in the figure, the extension button number 1 is shown, but other extension buttons 2 to n may be included. Furthermore, the action content may be changed according to a combination of a plurality of expansion buttons (for example, pressing both expansion buttons 1 and 2).
For example, if the port state 133 is linkdown indicating that the link is down, the link up action configuration definition information 2136 with the command free as the action content 134 and the extended button number 2135 are designated (for example, 1), If the port state 133 is linkdown indicating that the link state is down, self-test action configuration definition information 2137 with the command test as the action content 134, and if the port state 133 is linkup indicating that the port state 133 is link-up, the command close. If the link-down action configuration definition information 2138 with the action content 134 and the self-test indicating that the port state 133 is a self-test, the command close is the self with the action content 134. It describes the strike end action configuration definition information 2139.

図23は、拡張ボタンを追加した実施例の状態遷移を示す図の状態遷移を説明した図である。
例えばポート番号1のポート状態がリンクダウン状態であることを示すlinkdownの場合、ポート番号1に対応するボタンを押したことを契機にして、該linkdown状態140をアクション検索条件にしている該リンクアップアクション構成定義情報2136のアクション内容であるfreeコマンドが処理されて、ポート状態がリンクアップ状態であることを示す該linkup状態141に状態変化する。また、例えばポート1のポート状態がリンクアップ状態であることを示すlinkup状態141の場合、ボタンを押したことを契機にして、該linkup状態141をアクション検索条件にしている該リンクダウンアクション構成定義情報2138のアクション内容であるcloseコマンドが処理されて、ポート状態がリンクダウン状態であることを示す該linkdown状態140に状態変化する。また、例えばポート1のポート状態がリンクダウン状態であることを示す該linkdown状態140の場合に、拡張ボタン1を入力しながら、ポート番号1に対応するボタンを押したことを契機にして、拡張ボタン番号(例えば1)と該linkdown状態140をアクション検索条件にしている該セルフテストアクション構成定義情報2137のアクション内容であるtestコマンドが処理されて、ポート状態がセルフテスト状態であることを示す該selftest状態1642に状態変化する。また、例えばポート番号1のポート状態がセルフテスト状態であることを示すselftestの場合、ボタンを押したことを契機にして、該selftest状態1642をアクション検索条件にしている該セルフテストエンドアクション構成定義情報2139のアクション内容であるcloseコマンドが処理されて、ポート状態がリンクダウン状態であることを示す該linkdown状態140に状態変化する。
FIG. 23 is a diagram illustrating the state transition of the diagram illustrating the state transition of the embodiment in which the extension button is added.
For example, in the case of linkdown indicating that the port state of the port number 1 is a link-down state, the link-up that uses the linkdown state 140 as an action search condition when the button corresponding to the port number 1 is pressed. The free command which is the action content of the action configuration definition information 2136 is processed, and the state changes to the linkup state 141 indicating that the port state is the link-up state. For example, when the link state 141 indicates that the port state of the port 1 is a link-up state, the link-down action configuration definition using the link state 141 as an action search condition when a button is pressed. The close command which is the action content of the information 2138 is processed, and the state changes to the linkdown state 140 indicating that the port state is the link down state. For example, when the port state of the port 1 is the linkdown state 140 indicating that the port is in the link down state, the expansion is performed when the button corresponding to the port number 1 is pressed while the expansion button 1 is being input. The test command, which is the action content of the self-test action configuration definition information 2137 using the button number (for example, 1) and the linkdown state 140 as an action search condition, is processed to indicate that the port state is the self-test state. The state changes to the selftest state 1642. For example, in the case of selftest indicating that the port state of port number 1 is a self-test state, the self-test end action configuration definition using the self-test state 1642 as an action search condition when a button is pressed. The close command which is the action content of the information 2139 is processed, and the state changes to the linkdown state 140 indicating that the port state is the link down state.

図24は、制御部による本実施例の構成定義設定フローチャートである。
図20(a)、図21(b)、図22及び図24を参照して本実施例の構成定義設定手順を説明する。
例えば図20(a)に示す操作端末180から図22に示すリンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200を入力したことによって、制御部160は構成定義設定を開始する(S2401)。該リンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S2402)。
該制御部160は、該リンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200内のポート番号i(iは現ループでの対象ポート)の構成定義2210から、構成定義ポート番号240の値を取得し、ポート番号に対応するポート状態133とアクション内容134と拡張ボタン番号2135の記述がある場合にはそれを取得する(S2403)。制御部160は図21(b)に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ、取得された構成定義情報を設定する。ひとつのポートに対して複数の構成定義情報2136〜2139がある場合は各構成定義情報についてアクション定義記述テーブル131に設定する。より具体的には、該制御部160は、取得したポート番号iをアクション定義記述テーブル131のポート番号132へ設定し、リンクアップアクション構成定義情報135のポート状態133とアクション内容134を、アクション定義記述テーブル131のポート状態133とアクション内容134にそれぞれ設定する。もし、拡張ボタン番号2135を取得している場合はそれをアクション定義記述テーブル131の拡張ボタン番号2135へ設定する(S2404)。
該リンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200に記述している次のポートに対応する構成情報を処理するため、該制御部160はリンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200の参照位置iを1ポート分加算して(S2405)、ループ処理(S2402)へ戻る。
このようにして、図22に示す該リンクアップ/リンクダウン及びセルフテストモード制御構成定義情報2200を図21(b)に示す該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ構成定義をする。
FIG. 24 is a configuration definition setting flowchart of this embodiment by the control unit.
The configuration definition setting procedure of this embodiment will be described with reference to FIGS. 20 (a), 21 (b), 22 and 24. FIG.
For example, when the link-up / link-down and self-test mode control configuration definition information 2200 shown in FIG. 22 is input from the operation terminal 180 shown in FIG. 20A, the control unit 160 starts configuration definition setting (S2401). Since the link up / link down and self test mode control configuration definition information 2200 describes a configuration definition for each port, the control unit 160 performs a loop process for each port. When the loop process is executed up to the final port number, the loop process is terminated (S2402).
The control unit 160 obtains the value of the configuration port number 240 from the configuration definition 2210 of the port number i (i is a target port in the current loop) in the link up / link down and self test mode control configuration definition information 2200. If there is a description of the port state 133, action content 134, and extended button number 2135 corresponding to the port number, it is acquired (S2403). The control unit 160 sets the acquired configuration definition information in the action definition description table 131 stored in the configuration information storage unit 130 illustrated in FIG. If there is a plurality of configuration definition information 2136 to 2139 for one port, each configuration definition information is set in the action definition description table 131. More specifically, the control unit 160 sets the acquired port number i to the port number 132 of the action definition description table 131, and sets the port state 133 and the action content 134 of the link-up action configuration definition information 135 to the action definition. They are set in the port state 133 and action content 134 of the description table 131, respectively. If the extended button number 2135 has been acquired, it is set in the extended button number 2135 of the action definition description table 131 (S2404).
In order to process the configuration information corresponding to the next port described in the link up / link down and self test mode control configuration definition information 2200, the control unit 160 performs link up / link down and self test mode control configuration definition. The reference position i of the information 2200 is added by one port (S2405), and the process returns to the loop process (S2402).
In this way, the link up / link down and self test mode control configuration definition information 2200 shown in FIG. 22 is configured in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG. do.

図25、図26は、制御部による本実施例の動作内容フローチャートである。
図20(a)、図21(a)、図21(b)、図25、図26及び図19を参照して本実施例の動作を説明する。
図20(a)に示すボタン100の入力を制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S2501)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、該ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160は該ボタン100−1の入力を契機に、ポート状態記憶部110に記憶するポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S2502)。
該ボタン100−1の入力時に拡張ボタン2000−1〜2000−nのいずれかが入力されているかどうか検知し(S2503)、検知した場合は拡張ボタン番号2135を取得する(S2504)。なお、拡張ボタン2000−1〜2000−nの入力の検知はステップS2501における該ボタン100−1の入力検知と同じ又はその前のタイミングなど、適宜のタイミングでよい。
該制御部160は、対象ポートのポート番号と、取得したポート状態と、拡張ボタン番号とに基づきアクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、該制御部160は、特定されたアクション内容134を実行する。それにより対象ポートのポート状態が変われば、該制御部160は該ポート状態記憶部110のポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、最終定義記述(最終エントリ)までループ処理をする(S2505)。
該制御部160は構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が、押されたボタンに対応するポート番号(例えば1)と一致する構成記述があるか調べる。もし、一致すれば(例えば1の値であれば)アクション実行処理(S2602)へ進み、一方、一致しなければ(1以外であれば)何も処理せず処理S2603へ移る。アクション実行処理(S2602)は、サブルーチンであるのアクション実行処理開始(S1900)の処理へ飛ぶ。
以下、アクション実行処理を説明する本実施例におけるアクション実行処理は、概略、図19のフローチャートと同様であるが、拡張ボタン番号が取得された場合これを加味してアクション内容を特定する。
該制御部160は、ポート状態133と、もしも、拡張ボタン番号を取得していた場合には拡張ボタン番号2135と合わせて対応するアクション内容134に記述している内容を取得し(S1901)、該アクション内容134に記述しているコマンドをポート101−1に対して実行する(S1902)。コマンドの実行により、ポート状態が変更になった場合は、ポート状態記憶部110の該ポート番号1のポート状態115について、ポート状態113を、ポート状態に合わせて変更する(S1903)。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかの該アクション内容134を実行した場合は、さらにアクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S2603)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S2604)、ループ処理(S2505)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113に対応するアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。
25 and 26 are flowcharts showing the operation contents of the present embodiment by the control unit.
The operation of this embodiment will be described with reference to FIGS. 20 (a), 21 (a), 21 (b), 25, 26 and 19. FIG.
The control unit 160 detects the input of the button 100 shown in FIG. The control unit 160 continues the monitoring process until it is detected (S2501). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, although the following description will be given assuming that the button 100-1 is pressed by the operator, the same applies when other buttons are pressed.
The control unit 160 takes the input of the button 100-1 as an opportunity, and from the port state table 111 stored in the port state storage unit 110, the corresponding port number (for example, port number 1) as the port state of the target port 101-1. The port status 115 is acquired (S2502).
It is detected whether any of the expansion buttons 2000-1 to 2000-n is input when the button 100-1 is input (S2503), and if detected, the expansion button number 2135 is acquired (S2504). It should be noted that the input of the extension buttons 2000-1 to 2000-n may be detected at an appropriate timing, such as the same timing as or before the input detection of the button 100-1 in step S2501.
The control unit 160 refers to the action definition description table 131 based on the port number of the target port, the acquired port state, and the extended button number, and specifies the corresponding action content 134. Further, the control unit 160 executes the specified action content 134. If the port state of the target port is thereby changed, the control unit 160 updates the port state 113 of the port state storage unit 110. Hereinafter, these processes will be described more specifically.
The control unit 160 loops to the final definition description (final entry) in order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130 (S2505). .
The control unit 160 checks whether there is a configuration description in which the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 matches the port number (for example, 1) corresponding to the pressed button. . If they match (for example, if the value is 1), the process proceeds to the action execution process (S2602). On the other hand, if they do not match (other than 1), no process is performed and the process proceeds to S2603. The action execution process (S2602) jumps to the process of the action execution process start (S1900) which is a subroutine.
Hereinafter, the action execution process in the present embodiment for explaining the action execution process is roughly the same as the flowchart of FIG. 19, but when the extended button number is acquired, the action content is specified in consideration of this.
The control unit 160 acquires the port state 133 and, if the extension button number has been acquired, the contents described in the corresponding action contents 134 together with the extension button number 2135 (S1901), The command described in the action content 134 is executed for the port 101-1 (S1902). When the port status is changed by executing the command, the port status 113 of the port status 115 of the port number 1 in the port status storage unit 110 is changed according to the port status (S1903).
At this time, when any one of the action contents 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131. Is exited (S2603). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S2604). ), The process returns to the loop process (S2505).
In this way, when the button is input, the action information corresponding to the port state 113 of the port state table 111 stored in the port state storage unit 110 is stored in the configuration information storage unit 130. The description table 131 can be searched and specified and executed.

実施例5では、表示手段を追加し、端末から作業対象になるポートに隣接した位置に設けたLEDを点灯や点滅または消灯させることで、作業が必要なポートを間違いなく選択できるようにする。表示手段を設けることで、作業者に操作対象を目視確認可能として、操作ミスの発生防止を図る。
図27(a)及び図27(b)は、本実施例の通信装置構成図である。図28(a)及び図28(b)は、各記憶部110、130の構成例である。指示手段としてボタンを設け、さらに表示手段としてLEDを設けた例で説明する。
通信装置150は、通信ケーブルを接続するための複数のポート101−1〜101−nと、ボタン(指示手段)100−1〜100−nと、LED(表示手段)2702−1〜2702−nとポート状態記憶部110と、構成情報記憶部130と、制御部160と、スイッチ部170とを備える。
ポート状態記憶部110は、該ポート101−1〜101−nに対応する1〜nのポート番号112ごとに、該ポート番号112に対応したポート状態113を記憶するとともに、操作対象ポートのポート位置を表示するためのLED状態2814を記憶するポート状態テーブル111を有する。ポート状態テーブル111には、例えばポート番号1のポート状態とLED状態115−4が記憶される。
該構成情報記憶部130は、ポート番号132と、ポート状態133と、該ポート番号132と該ポート状態133がともに一致した時に処理をするアクション内容を定義するアクション内容134とを対応して記憶するアクション定義記述テーブル131を持つ。例えば、該アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該ポート状態133がリンクダウンであることを示すlinkdown状態140であり、このときの該アクション内容134がfreeコマンドであるリンクアップアクション構成定義情報135が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該ポート状態133リンクアップであることを示すlinkup状態141であり、このときの該アクション内容134がcloseコマンドであるリンクダウンアクション構成定義情報136が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
該スイッチ部170は、ポート101−1〜101−nの送受信データをスイッチングする。
該制御部160は、例えば、該スイッチ部170を制御し、該ポート状態記憶部110が記憶するポート状態テーブル111を管理する。また、該制御部160は、該構成情報記憶部130の記憶する記述内容を変更するための操作端末180に接続され、該操作端末180からの入力に従い該構成情報記憶部130を設定する。該制御部160は、該構成情報記憶部130の定義内容に従って該ポート101−1〜101−nを制御することで回線と接続する。
In the fifth embodiment, a display unit is added, and an LED provided at a position adjacent to a port to be worked from the terminal is turned on, blinked, or turned off, so that a port that needs work can be selected without fail. By providing the display means, it is possible to visually confirm the operation target for the operator, thereby preventing an operation error.
FIG. 27A and FIG. 27B are communication device configuration diagrams of the present embodiment. FIG. 28A and FIG. 28B are configuration examples of the storage units 110 and 130. An example will be described in which buttons are provided as instruction means and LEDs are provided as display means.
The communication device 150 includes a plurality of ports 101-1 to 101-n for connecting communication cables, buttons (instruction means) 100-1 to 100-n, and LEDs (display means) 2702-1 to 2702-n. A port state storage unit 110, a configuration information storage unit 130, a control unit 160, and a switch unit 170.
The port state storage unit 110 stores the port state 113 corresponding to the port number 112 for each of the port numbers 112 of 1 to n corresponding to the ports 101-1 to 101-n, and the port position of the operation target port. Has a port state table 111 for storing an LED state 2814 for displaying. The port state table 111 stores, for example, the port state of port number 1 and the LED state 115-4.
The configuration information storage unit 130 stores a port number 132, a port state 133, and an action content 134 that defines an action content to be processed when the port number 132 and the port state 133 are matched. It has an action definition description table 131. For example, in the action definition description table 131, the contents of the port number 132 are 1 indicating the port number 1, and the link state 140 indicating that the port state 133 is link down. Is stored as link-up action configuration definition information 135, which is a free command. Further, for example, the contents of the port number 132 are 1 indicating the port number 1 and the link state 141 indicating that the port state 133 is link-up, and the action content 134 at this time is a link-down action whose close command is Configuration definition information 136 is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
The switch unit 170 switches transmission / reception data of the ports 101-1 to 101-n.
For example, the control unit 160 controls the switch unit 170 and manages the port state table 111 stored in the port state storage unit 110. The control unit 160 is connected to an operation terminal 180 for changing the description content stored in the configuration information storage unit 130, and sets the configuration information storage unit 130 in accordance with an input from the operation terminal 180. The control unit 160 connects to the line by controlling the ports 101-1 to 101-n according to the definition contents of the configuration information storage unit 130.

図27(b)に、通信装置150の外観(例えば前面)を示す。
該通信装置150の外観には、回線に接続するポート101−1〜101−nと、各ポート101−1〜101−nに対になるようにボタン100−1〜100−nが設けられている。どのポートにどのボタンが対になっているか理解しやすくするために、該ポート101−1〜101−nに隣接した場所に該ボタン100−1〜100−nを設置することができる。該ボタン100−1〜100−nは全ての該ポート101−1〜101−nに対になるように1つずつ設置しても良いし、該ポート101−1〜101−nの一部にのみ対になるように該ボタン100−1〜100−m(但しm<n)を設置しても良い。
また、各該ポート101−1〜101−nまたは、各該ボタン100−1〜100−nに対になるようにLED2702−1〜2702−nが設けられている。どのポートまたはボタンにどのLEDが対になっているか理解しやすくするために、該ボタン100−1〜100−nに隣接した場所に該LED2702−1〜2702−nを設置することができる。該LED2702−1〜2702−nは全ての該ボタン100−1〜100−nに対になるように1つずつ設置しても良いし、該ボタン100−1〜100−nの一部にのみ対になるように該LED2702−1〜2702−m(但しm<n)を設置しても良い。
構成情報記憶部130が記憶するアクション定義記述テーブル131にはリンクアップアクション構成定義情報135と、リンクダウンアクション構成定義情報136及び、必要であれば他にもポート番号132とポート状態133が一致したときに処理するアクション内容134があらかじめ設定されている。
例えば、ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160はポート状態記憶部110に記憶しているポート状態テーブル111について、ポート101−1に対応するポート番号1のポート状態115を参照してポート番号112とポート状態113を取得する。また、制御部160は、構成情報記憶部130に記憶するアクション定義記述テーブル131の内容について、ポート番号132とポート状態133がともに一致するアクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115について、該ポート状態113がリンクダウン状態を示すlinkdownならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140の場合に該アクション内容134がfreeコマンドを実行すると定義した該リンクアップアクション構成定義135が特定されて、freeコマンドを処理することで該ポート101−1を制御する。一方、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がリンクアップ状態を示すlinkupであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkup状態141の場合に該アクション内容134がcloseコマンドを実行すると定義した該リンクダウンアクション構成定義情報136が特定されて該アクション内容134のcloseコマンドを処理することで該ポート101−1を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115について、該ポート状態113を変化した内容に変更する。
例えば該LED2702−1〜2702−nは該制御部160の指示によって、点灯や消灯ができ、構成情報記憶部130が記憶するアクション定義記述テーブル131にポート毎の構成定義情報を記憶するとともに、該当するポートのLED2702−1〜2702−nを点灯させることで、ポート101−1に対応する該ボタン100−1を作業者が押す場合に、どのボタンを押せば良いのか視覚的に表現することで作業者のボタンの押し間違えを減らす効果が期待できる。
構成情報記述例の説明は実施例1と同様である(例えば、図2参照)。状態遷移の説明は実施例1と同様である(例えば、図3参照)。
FIG. 27B shows the external appearance (for example, the front surface) of the communication device 150.
The external appearance of the communication device 150 is provided with ports 101-1 to 101-n connected to lines and buttons 100-1 to 100-n so as to be paired with the ports 101-1 to 101-n. Yes. In order to make it easy to understand which button is paired with which port, the buttons 100-1 to 100-n can be installed at locations adjacent to the ports 101-1 to 101-n. The buttons 100-1 to 100-n may be installed one by one so as to be paired with all the ports 101-1 to 101-n, or a part of the ports 101-1 to 101-n. The buttons 100-1 to 100-m (where m <n) may be installed so that only a pair is formed.
Further, LEDs 2702-1 to 2702-n are provided so as to be paired with the ports 101-1 to 101-n or the buttons 100-1 to 100-n. In order to easily understand which LED is paired with which port or button, the LEDs 2702-1 to 2702-n can be installed at locations adjacent to the buttons 100-1 to 100-n. The LEDs 2702-1 to 2702-n may be installed one by one so as to be paired with all the buttons 100-1 to 100-n, or only part of the buttons 100-1 to 100-n. You may install this LED2702-1 to 2702-m (however, m <n) so that it may become a pair.
In the action definition description table 131 stored in the configuration information storage unit 130, the link up action configuration definition information 135, the link down action configuration definition information 136, and, if necessary, the port number 132 and the port state 133 match. Action content 134 to be processed sometimes is set in advance.
For example, when an operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port status stored in the port status storage unit 110 in response to an input notification from the button 100-1. For the table 111, the port number 112 and the port state 113 are acquired by referring to the port state 115 of the port number 1 corresponding to the port 101-1. In addition, the control unit 160 searches the action definition description table 131 stored in the configuration information storage unit 130 for whether or not the action content 134 in which the port number 132 and the port state 133 match is defined.
If the port state 113 of the port number 1 is linkdown indicating the link down state, the port number 132 is determined from the contents of the action definition description table 131 stored in the configuration information storage unit 130. 1. When the port state 133 is the linkdown state 140, the link up action configuration definition 135 defined that the action content 134 executes the free command is specified, and the port 101-1 is processed by processing the free command. To control. On the other hand, if the port state 113 is a linkup indicating the link up state for the port state 115 of the port number 1, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130. The link down action configuration definition information 136 defined to execute the close command when the port number 132 is 1 and the port state 133 is the linkup state 141 is specified from the content, and the action content 134 is specified. The port 101-1 is controlled by processing the close command. If no action definition is found as a result of the search, no control is performed on the port 101-1.
When the port state of the port 101-1 changes as a result of processing the command and controlling the port, the control unit 160 changes the port state 113 of the port number 1 to the changed content. To do.
For example, the LEDs 2702-1 to 2702 -n can be turned on and off according to instructions from the control unit 160, and the configuration definition information for each port is stored in the action definition description table 131 stored in the configuration information storage unit 130. By illuminating the LEDs 2702-1 to 2702 -n of the ports to be operated, when the operator presses the button 100-1 corresponding to the port 101-1, it is possible to visually express which button should be pressed. The effect of reducing mistakes in pressing the operator's buttons can be expected.
The description of the configuration information description example is the same as that of the first embodiment (for example, see FIG. 2). The description of the state transition is the same as that in the first embodiment (for example, see FIG. 3).

図29、図30は、制御部による本実施例の構成定義設定フローチャートである。
図2、図27(a)、図28(b)、図29及び図30を参照して本実施例の構成定義設定手順を説明する。
図27(a)に示す操作端末180から図2に示すリンクアップ/リンクダウン制御構成定義情報200を入力したことによって、制御部160は構成定義設定を開始する(S3101)。該リンクアップ/リンクダウン制御構成定義情報200にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S3102)。
該制御部160は、該リンクアップ/リンクダウン制御構成定義情報200内のポート番号i(iは現ループでの対象ポート)の構成定義210から、構成定義ポート番号240の値を取得し、ポート番号に対応するポート状態133とアクション内容134を取得する(S3103)。制御部160は図28(b)に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ、取得した構成定義情報を記憶する(S3104)。
該リンクアップ/リンクダウン制御構成定義情報200に記述している次のポートに対応する構成情報を処理するため、該制御部160はフェイルセーフモード制御構成定義情報1000の参照位置iを1ポート分加算して(S3105)、ループ処理(S3102)へ戻る。
このように、図2に示すリンクアップ/リンクダウン制御構成定義情報200を図27(a)に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ構成定義をすることができる。
さらに、例えば操作端末180から作業対象のポートに対応するLEDの操作指示(例えば点灯や点滅)を該制御部160に指示し、制御部160は対象ポートに対応するLEDを点灯させる(S3201)。これにより、作業者はLED表示を目視確認しながらボタンの入力操作をすることで、操作対象の間違いを防ぐ効果を得ることができる。LEDの操作指示は構成定義情報とともに、又はこれとは別に入力されても良い。構成定義情報が設定されることで自動的にLED表示するようにし、操作指示を省略してもよい。
制御部による動作内容フローチャート及び、動作内容は実施例1と同様である。
29 and 30 are configuration definition setting flowcharts of the present embodiment by the control unit.
The configuration definition setting procedure of this embodiment will be described with reference to FIGS. 2, 27A, 28B, 29, and 30. FIG.
When the link-up / link-down control configuration definition information 200 shown in FIG. 2 is input from the operation terminal 180 shown in FIG. 27A, the control unit 160 starts configuration definition setting (S3101). Since the configuration definition is described for each port in the link-up / link-down control configuration definition information 200, the control unit 160 performs a loop process for each port. If the loop process is executed up to the final port number, the loop process is terminated (S3102).
The control unit 160 acquires the value of the configuration port number 240 from the configuration definition 210 of the port number i (i is a target port in the current loop) in the link up / link down control configuration definition information 200, and The port state 133 and action content 134 corresponding to the number are acquired (S3103). The control unit 160 stores the acquired configuration definition information in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG. 28B (S3104).
In order to process the configuration information corresponding to the next port described in the link-up / link-down control configuration definition information 200, the control unit 160 adds the reference position i of the fail-safe mode control configuration definition information 1000 by one port. The process returns to the loop process (S3102).
As described above, the link up / link down control configuration definition information 200 shown in FIG. 2 can be configured in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG.
Further, for example, the operation unit 180 instructs the control unit 160 to operate the LED corresponding to the work target port (for example, lighting or blinking), and the control unit 160 turns on the LED corresponding to the target port (S3201). Thereby, the operator can acquire the effect which prevents the mistake of an operation target by performing input operation of a button, confirming LED display visually. The LED operation instruction may be input together with the configuration definition information or separately. The LED may be automatically displayed when the configuration definition information is set, and the operation instruction may be omitted.
The operation content flowchart and the operation content by the control unit are the same as those in the first embodiment.

実施例6では、表示手段を追加し、端末から作業対象になるポートに対応する表示手段を点灯、点滅または消灯させることで、作業が必要なポートを間違いなく選択できるようにする。ポート状態によってアクション内容を選択した時に表示手段をあらかじめ構成情報に設定したアクション内容に従い制御する。表示手段を設けることで、作業者に操作対象を目視確認可能として、操作ミスの発生を防止するとともに、対象ポートの制御結果を表示手段で表示する。
本実施例の通信装置の構成は実施例5の図27(a)、図27(b)と同様である。上述と同様に、この図の指示手段としてボタンを設け、表示手段としてLEDを設けている。また、ポート状態記憶部110の構成は図28(a)と同様である。
なお、上述の実施例5に対して構成情報記憶部は、図31の構成情報記憶部130に変更している。
構成情報記憶部130は、ポート番号132と、ポート状態133と、該ポート番号132と該ポート状態133がともに一致した時に処理をするアクション内容を定義するアクション内容134と、アクション内容134を実行後(又は実行中でもよい)、LEDに対するアクション内容を定義するLEDアクション内容3335とを対応して記憶するアクション定義記述テーブル131を有する。例えば、該アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該ポート状態133がリンクダウンであることを示すlinkdown状態140であり、このときの該アクション内容134がfreeコマンド、該LEDアクション内容3335がLEDを点灯するコマンドであるlightであるリンクアップアクション構成定義情報3336が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該ポート状態133リンクアップであることを示すlinkup状態141であり、このときの該アクション内容134がcloseコマンド、該LEDアクション内容3335がLEDを消灯するコマンドであるoffであるリンクダウンアクション構成定義情報3337が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
なお、該通信装置150の外観(例えば前面)は実施例5と同様である。
該構成情報記憶部130が記憶する該アクション定義記述テーブル131には該リンクアップアクション構成定義情報3336と、該リンクダウンアクション構成定義情報3337及び、必要であれば他にも該ポート番号132と該ポート状態133が一致したときに処理する該アクション内容134があらかじめ設定されている。
例えば、ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160は該ポート状態記憶部110に記憶している該ポート状態テーブル111について、該ポート101−1に対応する該ポート番号1のポート状態115を参照して該ポート番号112と該ポート状態113を取得する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該ポート状態133がともに一致する該アクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115−4について、該ポート状態113がリンクダウン状態を示すlinkdownならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkdown状態140の場合に該アクション内容134がfreeコマンドを実行すると定義した該リンクアップアクション構成定義情報3336が特定されて、freeコマンドを処理することで該ポート101−1を制御する。さらにLED2702−1をLEDアクション内容3335に記憶したLED点灯処理コマンドに従い点灯処理する。LEDの点灯処理は、例えば、該リンクアップアクション構成定義情報3336であれば、該制御部160はLEDを点灯させることを示すlightコマンドを実行して、該LED2702−1を点灯する。一方、該制御部160は、該ポート番号1のポート状態115について、該ポート状態113がリンクアップ状態を示すlinkupであるならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該ポート状態133が該linkup状態141の場合に該アクション内容134がcloseコマンドを実行すると定義した該リンクダウンアクション構成定義情報3337が特定されて該アクション内容134のcloseコマンドを処理することで該ポート101−1を制御する。さらに、例えば、該リンクダウンアクション構成定義情報3337であれば、該制御部160はLEDを消灯させることを示すoffコマンドを実行して、LED2702−1を消灯させる。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115−4について、該ポート状態113を変化した内容に変更する。また、該制御部160は該ポート番号1のポート状態115−4について、LEDの点灯状態を変更した結果を該LED状態2814に設定する。
該LED2702−1〜2702−nを点灯させることで、該ポート101−1に対応する該ボタン100−1を作業者が押す場合に、どのボタンを押せば良いのか視覚的に表現することで作業者のボタンの押し間違えを減らす効果が期待できる。
In the sixth embodiment, a display unit is added, and the display unit corresponding to the port to be worked is turned on, blinked, or turned off from the terminal, so that the port that needs work can be selected without fail. When the action content is selected according to the port state, the display means is controlled according to the action content set in the configuration information in advance. By providing the display means, it is possible to visually confirm the operation target for the operator, so that an operation error is prevented and the control result of the target port is displayed on the display means.
The configuration of the communication apparatus of this embodiment is the same as that of FIG. 27A and FIG. 27B of the fifth embodiment. Similarly to the above, a button is provided as the instruction means in this figure, and an LED is provided as the display means. The configuration of the port state storage unit 110 is the same as that shown in FIG.
Note that the configuration information storage unit is changed to the configuration information storage unit 130 in FIG.
The configuration information storage unit 130 executes the port number 132, the port state 133, the action content 134 that defines the action content to be processed when the port number 132 and the port state 133 match, and the execution of the action content 134. An action definition description table 131 that stores LED action contents 3335 that define action contents for LEDs is stored. For example, in the action definition description table 131, the contents of the port number 132 are 1 indicating the port number 1, and the link state 140 indicating that the port state 133 is link down. Is a free command, and the LED action content 3335 is link up action configuration definition information 3336 that is a light that turns on an LED. Further, for example, the contents of the port number 132 are 1 indicating the port number 1, and the link state 141 indicating that the port state 133 is linked up. The action content 134 at this time is the close command, the LED action content The link down action configuration definition information 3337, which is off, which is a command for turning off the LED 3335, is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
The external appearance (for example, the front surface) of the communication device 150 is the same as that of the fifth embodiment.
The action definition description table 131 stored in the configuration information storage unit 130 includes the link-up action configuration definition information 3336, the link-down action configuration definition information 3337, and, if necessary, the port number 132 and the The action content 134 to be processed when the port status 133 matches is preset.
For example, when the operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port state storage unit 110 in response to an input notification from the button 100-1. In the port status table 111, the port number 112 and the port status 113 are acquired by referring to the port status 115 of the port number 1 corresponding to the port 101-1. In addition, the control unit 160 is configured to define the action content 134 in which the port number 132 and the port state 133 coincide with each other in the content of the action definition description table 131 stored in the configuration information storage unit 130. Or search.
If the port state 113 of the port number 1 is linkdown indicating the link-down state, the port number is determined from the contents of the action definition description table 131 stored in the configuration information storage unit 130. When the port status 133 is 1 and the port state 133 is the linkdown state 140, the link-up action configuration definition information 3336 defined that the action content 134 executes the free command is identified, and the port is processed by processing the free command. 101-1 is controlled. Further, the LED 2702-1 is lit according to the LED lighting process command stored in the LED action content 3335. For example, if the LED lighting process is the link-up action configuration definition information 3336, the control unit 160 executes a light command indicating that the LED is to be turned on, and turns on the LED 2702-1. On the other hand, if the port state 113 is a linkup indicating the link up state for the port state 115 of the port number 1, the control unit 160 stores the action definition description table 131 stored in the configuration information storage unit 130. From the contents, the link down action configuration definition information 3337 defined to execute the close command when the port number 132 is 1 and the port state 133 is the linkup state 141 is specified, and the action contents 134 are specified. The port 101-1 is controlled by processing the close command. Further, for example, in the case of the link down action configuration definition information 3337, the control unit 160 executes an off command indicating that the LED is turned off, and turns off the LED 2702-1. If no action definition is found as a result of the search, no control is performed on the port 101-1.
As a result of processing the command and controlling the port, if the port state of the port 101-1 changes, the control unit 160 changes the port state 113 for the port state 115-4 of the port number 1 Change to Further, the control unit 160 sets the LED state 2814 as a result of changing the lighting state of the LED for the port state 115-4 of the port number 1.
By illuminating the LEDs 2702-1 to 2702 -n, when an operator presses the button 100-1 corresponding to the port 101-1, the operator can visually express which button should be pressed. Can be expected to reduce mistakes in pressing the buttons of the person.

図32は、構成情報記述例を示す図である。
該通信装置の運用開始時または運用中に、運用環境に合わせて例えば図27(a)に示す操作端末180から、該通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。図32はこの構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
LEDアクション内容を追加した構成定義情報3400は、ポート毎の構成情報記述を含む。図32の例では、ポート番号1の構成定義記述3410についての構成情報記述を示す。
該ポート番号1の構成定義記述3410には、構成情報が対象とするポートの番号を示す構成定義ポート番号240と、ボタンを入力した時の該ポート状態133と、対応する該アクション内容134及び、アクション実行後のLED点灯状態を指定する該LEDアクション内容3335の組み合わせを指定記述する。例えば、該ポート状態133がリンクダウンであることを示すlinkdownならばコマンドfreeを該アクション内容134とし、LEDを点灯することを示すlightをLEDアクション内容3335とした該リンクアップアクション構成定義情報3336と、該ポート状態133がリンクアップであることを示すlinkupならばコマンドcloseを該アクション内容134とし、LEDを消灯することを示すoffを該LEDアクション内容3335とした該リンクダウンアクション構成定義情報3337を記述している。
図33は、本実施例の状態遷移を説明した図である。
例えば、ポート番号1のポート状態115−4がリンクダウン状態であることを示すlinkdownで、対応するLEDが点滅中を示すflashの場合、ポート番号1に対応するボタンを押したことを契機にして、linkdown状態140をアクション検索条件にしている該リンクアップアクション構成定義情報3336のアクション内容であるfreeコマンドが処理されて、ポート状態がリンクアップ状態であることを示すlinkup状態141になるとともに、LEDアクション内容であるlightコマンドが処理されて、対応するLEDが点灯を示すlightに状態変化する。例えばポート番号1のポート状態がリンクダウン状態であることを示すlinkdownで、対応するLEDが消灯中を示すoffの場合も同様である。また、例えばポート番号1のポート状態がリンクアップ状態であることを示すlinkupの場合、ボタンを押したことを契機にして、該linkup状態141をアクション検索条件にしているリンクダウンアクション構成定義情報3337のアクション内容であるcloseコマンドが処理されて、ポート状態がリンクダウン状態であることを示すlinkdown状態140になるとともにLEDアクション内容であるoffコマンドが処理されて、対応するLEDが消灯を示すoffに状態変化する。
FIG. 32 is a diagram illustrating a configuration information description example.
At the start or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. . FIG. 32 is a diagram showing an example when the setting information in this embodiment is described in this configuration information.
The configuration definition information 3400 to which the LED action content is added includes a configuration information description for each port. In the example of FIG. 32, the configuration information description for the configuration definition description 3410 of port number 1 is shown.
In the configuration definition description 3410 of the port number 1, the configuration port number 240 indicating the number of the target port of the configuration information, the port state 133 when the button is input, the corresponding action content 134, A combination of the LED action contents 3335 for designating the LED lighting state after the execution of the action is designated and described. For example, if the port state 133 is linkdown indicating that the link is down, the command free is the action content 134 and the link up action configuration definition information 3336 is the LED action content 3335 indicating that the LED is lit. If the port state 133 is linkup indicating that the link is up, the link close action configuration definition information 3337 is set with the command close as the action content 134 and the LED action content 3335 as off indicating that the LED is turned off. It is described.
FIG. 33 is a diagram for explaining the state transition of this embodiment.
For example, when the port state 115-4 of the port number 1 is linkdown indicating that the link state is down, and the corresponding LED is flashing indicating blinking, the button corresponding to the port number 1 is pressed. , The free command which is the action content of the link-up action configuration definition information 3336 using the linkdown state 140 as an action search condition is processed, and the link state 141 indicating that the port state is the link-up state is set. The light command that is the action content is processed, and the corresponding LED changes its state to light indicating lighting. For example, the same applies to the case where the port state of port number 1 is linkdown indicating that the link state is link-down, and the corresponding LED is off indicating that the LED is turned off. For example, in the case of a linkup that indicates that the port state of port number 1 is a link-up state, linkdown action configuration definition information 3337 that uses the linkup state 141 as an action search condition when the button is pressed. The close command, which is the action content of, is processed, the link state is changed to the linkdown state 140 indicating that the port state is the link-down state, and the off command, which is the LED action content, is processed to turn off the corresponding LED. The state changes.

図34、図35は、制御部による本実施例の構成定義設定フローチャートである。
図27(a)、図28(a)、図31、図32、図34及び図35を参照して本実施例の構成定義設定手順を説明する。
図27(a)に示す操作端末180から図32に示すLEDアクション内容を追加した構成定義情報3400を入力したことによって、制御部160は構成定義設定を開始する(S3601)。該LEDアクション内容を追加した構成定義情報3400にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S3602)。
該制御部160は、該LEDアクション内容を追加した構成定義情報3400内のポート番号i(iは現ループでの対象ポート)の構成定義3410から、構成定義ポート番号240の値を取得し、ポート番号に対応するポート状態133とアクション内容134と、LEDアクション内容3335を取得する(S3603)。制御部160は、図31に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ、取得した構成定義情報を記憶する(S3604)。より具体的には該制御部160は、取得したポート番号iをアクション定義記述テーブル131のポート番号132へ設定し、ポート番号iの構成定義記述のポート状態133とアクション内容134と該LEDアクション内容3335を、アクション定義記述テーブル131の該ポート状態133と該アクション内容134と該LEDアクション内容3335にそれぞれ記憶する(S3604)。
該LEDアクション内容を追加した構成定義情報3400に記述している次のポートに対応する構成情報を処理するため、該制御部160は該LEDアクション内容を追加した構成定義情報3400の参照位置iを1ポート分加算して(S3605)、ループ処理(S3602)へ戻る。
このように、図32に示す該LEDアクション内容を追加した構成定義情報3400を図34に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ構成定義をすることができる。
さらに、例えば操作端末180から作業対象のポートに対応するLEDの操作指示(例えば点灯や点滅)を該制御部160に指示し(S3701)、制御部160は対象ポートに対応するLEDを点灯させる。これにより、作業者はLED表示を目視確認しながらボタンの入力操作をすることで、操作対象の間違いを防ぐ効果を得ることができる。
制御部160による動作内容の全体フローチャートは実施例4と同様である(図25、26参照)。なお、拡張ボタンに関する処理(S2503、S2504)は省略できる。
34 and 35 are configuration definition setting flowcharts of the present embodiment by the control unit.
With reference to FIGS. 27A, 28A, 31, 32, 34, and 35, the configuration definition setting procedure of the present embodiment will be described.
When the configuration definition information 3400 to which the LED action content shown in FIG. 32 is added is input from the operation terminal 180 shown in FIG. 27A, the control unit 160 starts configuration definition setting (S3601). Since the configuration definition information 3400 to which the LED action content is added describes the configuration definition for each port, the control unit 160 performs a loop process for each port. When the loop process is executed up to the final port number, the loop process is terminated (S3602).
The control unit 160 acquires the value of the configuration port number 240 from the configuration definition 3410 of the port number i (i is a target port in the current loop) in the configuration definition information 3400 to which the LED action content is added, and the port The port state 133, action content 134, and LED action content 3335 corresponding to the number are acquired (S3603). The control unit 160 stores the acquired configuration definition information in the action definition description table 131 stored in the configuration information storage unit 130 illustrated in FIG. 31 (S3604). More specifically, the control unit 160 sets the acquired port number i to the port number 132 of the action definition description table 131, and the port state 133, action content 134, and LED action content of the configuration definition description of the port number i. 3335 is stored in the port state 133, the action content 134, and the LED action content 3335 of the action definition description table 131, respectively (S3604).
In order to process the configuration information corresponding to the next port described in the configuration definition information 3400 to which the LED action content has been added, the control unit 160 sets the reference position i of the configuration definition information 3400 to which the LED action content has been added. Add one port (S3605), and return to the loop processing (S3602).
Thus, the configuration definition information 3400 to which the LED action content shown in FIG. 32 is added can be defined in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG.
Further, for example, the control unit 160 is instructed to operate the LED corresponding to the work target port from the operation terminal 180 (for example, lighting or blinking) (S3701), and the control unit 160 turns on the LED corresponding to the target port. Thereby, the operator can acquire the effect which prevents the mistake of an operation target by performing input operation of a button, confirming LED display visually.
The overall flowchart of the operation contents by the control unit 160 is the same as that of the fourth embodiment (see FIGS. 25 and 26). Note that the processing (S2503, S2504) regarding the extension button can be omitted.

図36は、制御部160によるアクション実行処理のフローチャートである。図26のステップS2602の詳細フローチャートに相当する。
図25、図26、図27(a)、図28(a)、図31及び図36を参照して実施例6の動作を説明する。以下に示すステップS2501〜S2505、S2601の各処理は、上述と同様であり、以下概略を示す。
まず図27(a)に示すボタン100−1の入力を制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S2501)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160はボタン100−1の入力を契機に、ポート状態記憶部110に記憶するポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S2502)。
該制御部160は、対象ポートのポート番号と、取得されたポート状態とに基づきアクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、該制御部160は、特定されたアクション内容134を実行する。それにより対象ポートのポート状態が変われば、制御部160はポート状態記憶部110の対象ポートのポート番号に対応するポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、最終定義記述(最終エントリ)までループ処理をする(S2505)。
該制御部160は構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が、押されたボタンに対応するポート番号(例えば1)と一致する構成記述があるか調べる(S2601)。もし、一致すれば(例えば1の値であれば)アクション実行処理(S2602)へ進み、一方、一致しなければ(1以外であれば)何も処理せず処理S2603へ移る。アクション実行処理(S2602)は、本実施例のサブルーチンである図36のアクション実行処理開始の処理へ飛ぶ。
FIG. 36 is a flowchart of action execution processing by the control unit 160. This corresponds to the detailed flowchart of step S2602 in FIG.
The operation of the sixth embodiment will be described with reference to FIGS. 25, 26, 27 (a), 28 (a), 31 and 36. Each processing of steps S2501 to S2505 and S2601 shown below is the same as described above, and the outline is shown below.
First, the control unit 160 detects the input of the button 100-1 shown in FIG. The control unit 160 continues the monitoring process until it is detected (S2501). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, the following description will be given assuming that the button 100-1 is pressed by the operator, but the same applies when other buttons are pressed.
In response to the input of the button 100-1, the control unit 160 uses the port status table 111 stored in the port status storage unit 110 as the port status of the target port 101-1, for the port number (for example, port number 1). The port status 115 is acquired (S2502).
The control unit 160 refers to the action definition description table 131 based on the port number of the target port and the acquired port state, and specifies the corresponding action content 134. Further, the control unit 160 executes the specified action content 134. If the port state of the target port changes accordingly, the control unit 160 updates the port state 113 corresponding to the port number of the target port in the port state storage unit 110. Hereinafter, these processes will be described more specifically.
The control unit 160 loops to the final definition description (final entry) in order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130 (S2505). .
The control unit 160 checks whether there is a configuration description in which the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 matches the port number (for example, 1) corresponding to the pressed button. (S2601). If they match (for example, if the value is 1), the process proceeds to the action execution process (S2602). On the other hand, if they do not match (other than 1), no process is performed and the process proceeds to S2603. The action execution process (S2602) jumps to the action execution process start process of FIG. 36 which is a subroutine of the present embodiment.

図36を参照して、アクション実行処理を説明する。
該制御部160は、ポート状態133に対応するアクション内容134とLEDアクション内容3335を取得し(S3801)、該アクション内容134に記述しているコマンドをポート101−1に対して実行する(S3802)。コマンドの実行により、ポート状態が変更になった場合は、ポート状態記憶部110の該ポート番号1のポート状態115−4について、該ポート状態113をポート状態に合わせて変更する(S3803)。続けて、制御部160は、取得された該LEDアクション内容3336に記述しているLED設定をポート101−1対応するLED2702−1に対して実行する。該制御部160は、例えばLEDを点灯や消灯、点滅させ(S3804)、そして該LED2702−1の設定状態を該ポート番号1のポート状態115−4について、LED状態2814に設定する(S3805)。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかの該アクション内容134を実行した場合は、さらにアクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S2603)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S2604)、ループ処理(S2505)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113に対応するポートへのアクション内容とLEDへのアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。操作者は、LEDの表示内容によって、通信装置の操作が正しく行われているか確認できる。
The action execution process will be described with reference to FIG.
The control unit 160 acquires the action content 134 and the LED action content 3335 corresponding to the port state 133 (S3801), and executes the command described in the action content 134 for the port 101-1 (S3802). . When the port status is changed by executing the command, the port status 113 of the port status 115-4 of the port number 1 in the port status storage unit 110 is changed according to the port status (S3803). Subsequently, the control unit 160 executes the LED setting described in the acquired LED action content 3336 for the LED 2702-1 corresponding to the port 101-1. For example, the controller 160 turns on / off / flashes the LED (S3804), and sets the setting state of the LED 2702-1 to the LED state 2814 for the port state 115-4 of the port number 1 (S3805).
At this time, when any one of the action contents 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131. Is exited (S2603). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S2604). ), The process returns to the loop process (S2505).
In this way, when the button is input, the action content to the port corresponding to the port state 113 and the action content to the LED of the port state table 111 stored in the port state storage unit 110 are stored in the configuration information. The action definition description table 131 stored in the storage unit 130 can be searched and specified and executed. The operator can confirm whether or not the operation of the communication device is correctly performed based on the display content of the LED.

実施例7では、動作クロック供給部を切り替えることで、ポートとスイッチ部間の通信経路動作クロック速度を変えることが可能で、通信経路動作クロック速度の速さによって消費電力が変わる装置構成にて、切り替えの契機をボタンの入力で制御する第1エコロジーモードを有する。
図37は、本実施例の通信装置構成図である。図38(a)及び図38(b)は、各記憶部110、130の構成例である。指示手段としてボタンを設けた例で説明する。
本実施例の通信装置は、ポート状態記憶部110の構成は図38(a)のポート状態記憶部110に変更し、構成情報記憶部130の構成は図38(b)の構成情報記憶部130に変更する。また、本実施例における通信装置はポート101−1から101−nと通常動作スイッチ部170−1に通常動作クロック(第1クロック)を供給する通常動作クロック供給部3992と、該ポート101−1から101−nと低速動作スイッチ部170−2に低速動作クロック(第2クロック)を供給する低速動作クロック供給部3993をさらに有する。低速動作クロックは、通常動作クロックよりも低いクロック数であり、両者とも予め定められることができる。以下、スイッチ部170−1とスイッチ部170−2をあわせて、単にスイッチ部170と称する場合もある。制御部160の指示によって該ポート101−1から101−nと該スイッチ部170間の経路通信速度について、該通常動作クロック供給部3992と該低速動作クロック供給部3993のどちらを使用するかを選択することが可能になっている。また、制御部160は通常動作用の該スイッチ部170−1と低速動作用の該スイッチ部170−2のどちらを使用するか、ポート毎に選択する。通常動作用スイッチ部170−1と低速動作用スイッチ部170−2はデータを転送するためのデータ線で接続され、例えば、動作クロックの異なるスイッチ部に接続するポート間のデータをスイッチングすることができる。他の構成は実施例1と同様である。
該ポート状態記憶部110は、ポート番号112と、ポート番号に対応するポート状態113(本実施例ではリンク状態4113及び動作クロック4014を含む)を記憶するポート状態テーブル111を有する(図38(a)参照)。例えば、ポート状態テーブル111にはポート番号1のポート状態115−2が記憶される。
該構成情報記憶部130は、ポート番号132と、リンク状態4133及び動作クロック4035を含むポート状態133と、該ポート番号132とリンク状態4133及び、動作クロック4035がともに一致した時に処理をするアクション内容を定義するアクション内容134とを対応して記憶するアクション定義記述テーブル131を有する。例えば、該アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該リンク状態4133がリンクアップであることを示すlinkup状態、動作クロック4035が通常動作クロックであることを示すnormal状態4040であり、このときの該アクション内容134がclockecoコマンドであるエコロジー動作構成定義情報4036が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該リンク状態4133がリンクアップであることを示すlinkup状態、該動作クロック4035が低速動作クロックであることを示すecology状態4041であり、このときのアクション内容134がclocknormalコマンドである通常動作構成定義情報4037が記憶される。
In the seventh embodiment, by switching the operation clock supply unit, it is possible to change the communication path operation clock speed between the port and the switch unit, and in the device configuration in which the power consumption changes depending on the speed of the communication path operation clock speed, It has a first ecology mode that controls the switching opportunity with the input of a button.
FIG. 37 is a configuration diagram of a communication apparatus according to the present embodiment. 38A and 38B are configuration examples of the storage units 110 and 130. FIG. An example in which buttons are provided as instruction means will be described.
In the communication apparatus of this embodiment, the configuration of the port state storage unit 110 is changed to the port state storage unit 110 in FIG. 38A, and the configuration of the configuration information storage unit 130 is changed to the configuration information storage unit 130 in FIG. Change to The communication apparatus according to the present embodiment includes a normal operation clock supply unit 3992 that supplies a normal operation clock (first clock) to the ports 101-1 to 101-n and the normal operation switch unit 170-1, and the port 101-1. 101-n and a low-speed operation clock supply unit 3993 for supplying a low-speed operation clock (second clock) to the low-speed operation switch unit 170-2. The low-speed operation clock has a lower clock number than the normal operation clock, and both can be determined in advance. Hereinafter, the switch unit 170-1 and the switch unit 170-2 may be simply referred to as the switch unit 170. According to an instruction from the control unit 160, it is selected whether to use the normal operation clock supply unit 3992 or the low-speed operation clock supply unit 3993 for the path communication speed between the ports 101-1 to 101-n and the switch unit 170. It is possible to do. Further, the control unit 160 selects, for each port, which one of the switch unit 170-1 for normal operation and the switch unit 170-2 for low-speed operation is to be used. The normal operation switch unit 170-1 and the low speed operation switch unit 170-2 are connected by a data line for transferring data. For example, data can be switched between ports connected to switch units having different operation clocks. it can. Other configurations are the same as those of the first embodiment.
The port state storage unit 110 has a port state table 111 for storing a port number 112 and a port state 113 corresponding to the port number (including a link state 4113 and an operation clock 4014 in this embodiment) (FIG. 38 (a)). )reference). For example, the port state table 111 stores the port state 115-2 of the port number 1.
The configuration information storage unit 130 performs processing when the port number 132, the port state 133 including the link state 4133 and the operation clock 4035, and the port number 132, the link state 4133, and the operation clock 4035 coincide with each other. The action definition description table 131 stores the action contents 134 that define the corresponding information. For example, in the action definition description table 131, the content of the port number 132 is 1 indicating the port number 1, the link state indicating that the link state 4133 is link up, and the operation clock 4035 is the normal operation clock. The ecological operation configuration definition information 4036 in which the action content 134 at this time is a clockco command is stored. Also, for example, the contents of the port number 132 are 1 indicating the port number 1, the link state indicating that the link state 4133 is link up, and the ecology state 4041 indicating that the operation clock 4035 is a low speed operation clock. Yes, normal operation configuration definition information 4037 in which the action content 134 at this time is a clocknormal command is stored.

なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
例えばポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160は該ポート状態記憶部110に記憶している該ポート状態テーブル111について、該ポート101−1に対応する該ポート番号1のポート状態115−2を参照して該ポート番号112と該リンク状態4113と該動作クロック4014を取得する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該リンク状態4133ならびに、該動作クロック4035がともに一致する該アクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115−2について、該ポート状態113の該リンク状態4113がリンクアップ状態を示すlinkup、そして動作クロック4014が通常動作クロックであることを示すnormalならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該リンク状態4133がlinkup、該動作クロック4035が該normal状態4040の場合に該アクション内容134がclockecoコマンドを実行すると定義した該エコロジー動作構成定義情報4036が特定されて、clockecoコマンドを処理することで該ポート101−1と該スイッチ部170を制御する。一方、該制御部160は、該ポート番号1のポート状態115−2について、該ポート状態113の該リンク状態4113がリンクアップ状態を示すlinkup、そして該動作クロック4014が低速動作クロックであることを示すecologyならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該リンク状態4133がlinkup、該動作クロック4035が該ecology状態4041の場合に該アクション内容134がclocknormalコマンド実行すると定義した該通常動作構成定義情報4037が特定されて該アクション内容134のclocknormalコマンドを処理することで該ポート101−1と該スイッチ部170を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1と該スイッチ部170に対して何も制御をおこなわない。
コマンドを処理してポートを制御した結果、該ポート101−1のポート状態が変化した場合は、該制御部160は該ポート番号1のポート状態115−2について、該ポート状態113の該リンク状態4113と該動作クロック4014を変化した内容に変更する。
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
For example, when the operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port stored in the port state storage unit 110 in response to an input notification from the button 100-1. In the state table 111, the port number 112, the link state 4113, and the operation clock 4014 are acquired by referring to the port state 115-2 of the port number 1 corresponding to the port 101-1. Further, the control unit 160 has the action content 134 in which the port number 132, the link state 4133, and the operation clock 4035 coincide with each other in the content of the action definition description table 131 stored in the configuration information storage unit 130. Search whether the configuration is defined.
For the port state 115-2 of the port number 1, if the link state 4113 of the port state 113 is a linkup indicating a link-up state and the operation clock 4014 is normal indicating that it is a normal operation clock, the configuration Based on the content of the action definition description table 131 stored in the information storage unit 130, the action content 134 is a clockco command when the port number 132 is 1, the link state 4133 is linkup, and the operation clock 4035 is the normal state 4040. The ecology operation configuration definition information 4036 defined to execute is specified, and the port 101-1 and the switch unit 170 are controlled by processing a clockco command. On the other hand, for the port state 115-2 of the port number 1, the control unit 160 determines that the link state 4113 of the port state 113 is a linkup indicating a link-up state, and that the operation clock 4014 is a low-speed operation clock. If the port number 132 is 1, the link state 4133 is linkup, and the operation clock 4035 is the ecology state 4041, the content of the action definition description table 131 stored in the configuration information storage unit 130 is The normal operation configuration definition information 4037 defined as the action content 134 executing the clocknormal command is specified and the clock command of the action content 134 is processed to control the port 101-1 and the switch unit 170. If no action definition is found as a result of the search, no control is performed on the port 101-1 and the switch unit 170.
When the port status of the port 101-1 changes as a result of processing the command and controlling the port, the control unit 160 sets the link status of the port status 113 for the port status 115-2 of the port number 1. 4113 and the operation clock 4014 are changed to changed contents.

図39は、構成情報記述例を示す図である。
該通信装置の運用開始時または運用中に、運用環境に合わせて図37に示す操作端末180から、通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。図39は、この構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100は、ポート毎の構成情報記述を含む。図39の例では、ポート番号1の構成定義記述4110の構成情報記述を示す。
該ポート番号1の構成定義記述4110には、構成情報が対象とするポートの番号を示す構成定義ポート番号240と、ボタンを入力した時の該リンク状態4133と、ボタンを入力した時のポート及びとスイッチ部間の動作クロック4035と、対応する該アクション内容134との組み合わせを指定記述する。例えば、該リンク状態4133がリンクアップであることを示すlinkupであり、該動作クロック4035が通常動作クロックであることを示すnormalならばコマンドclockecoをアクション内容134とした該エコロジー動作構成定義情報4036と、該リンク状態4133がリンクアップであることを示すlinkupであり、該動作クロック4035が低速動作クロックであることを示すecologyならばコマンドclocknormalを該アクション内容134とした該通常動作構成定義情報4037を記述している。
FIG. 39 is a diagram illustrating a configuration information description example.
At the start or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. 37 according to the operating environment. FIG. 39 is a diagram showing an example when the setting information in this embodiment is described in this configuration information.
The ecology mode control configuration definition information 4100 by changing the communication path operation clock includes a configuration information description for each port. In the example of FIG. 39, the configuration information description of the configuration definition description 4110 of port number 1 is shown.
In the configuration definition description 4110 of the port number 1, the configuration port number 240 indicating the number of the target port of the configuration information, the link state 4133 when the button is input, the port when the button is input, A combination of the operation clock 4035 between the switch units and the corresponding action content 134 is designated and described. For example, if the link state 4133 is linkup indicating that the link is up, and the operation clock 4035 is normal indicating that it is a normal operation clock, the ecology operation configuration definition information 4036 with the command clockco as the action content 134 and If the link state 4133 is a linkup indicating that the link is up, and the operation clock 4035 is ecological indicating that the operation clock 4035 is a low-speed operation clock, the normal operation configuration definition information 4037 with the command clocknormal as the action content 134 is obtained. It is described.

図40は、本実施例の通信経路動作クロック変更によるエコロジーモード制御をする場合の状態遷移を説明した図である。
例えばポート番号1の動作クロックが通常動作クロック状態であることを示すnormal状態4040の場合、ポート番号1に対応するボタンを押したことを契機にして、該normal状態4040をアクション検索条件にしている該エコロジー動作構成定義情報4036のアクション内容であるclockecoコマンドが処理されて、動作クロックが低速動作状態であることを示す該ecology状態4041に状態変化する。また、例えばポート番号1の動作クロックが低速動作状態であることを示す該ecology状態4041の場合、ボタンを押したことを契機にして、該ecology状態4041をアクション検索条件にしている該通常動作構成定義情報4037のアクション内容であるclocknormalコマンドが処理されて、動作クロックが通常動作クロック状態であることを示すnormal状態4040に状態変化する。
図41は、制御部による本実施例の構成定義設定フローチャートである。
図37、図38(b)、図39及び図41を参照して本実施例の構成定義設定手順を説明する。
図37に示す操作端末180から図39に示す通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100を入力したことによって、制御部160は構成定義設定を開始する(S4301)。該通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S4302)。
該制御部160は、該通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100内のポート番号i(iは現ループでの対象ポート)の構成定義4110から、構成定義ポート番号240の値を取得し、ポート番号に対応するリンク状態4133とアクション内容134及び、動作クロック4035の記述がある場合にはそれを取得する(S4303)。該制御部160は図38(b)に示す該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ、取得された構成定義情報を記憶する(S4304)。より具体的には該制御部160は、取得したポート番号iを該アクション定義記述テーブル131のポート番号132へ設定し、ポート番号iの構成定義記述の該リンク状態4133と該動作クロック4035と該アクション内容134とを、該アクション定義記述テーブル131の該リンク状態4133と該動作クロック4035と該アクション内容134にそれぞれ記憶する。
該通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100に記述している次のポートに対応する構成情報を処理するため、該制御部160は該通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100の参照位置iを1ポート分加算して(S4305)、ループ処理(S4302)へ戻る。
このように、図39に示す該通信経路動作クロック変更によるエコロジーモード制御構成定義情報4100を図37に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ構成定義をすることができる。
制御部160による動作内容の全体フローチャートは例えば実施例2と同様である(図13、14参照)。
FIG. 40 is a diagram for explaining the state transition when the ecology mode control is performed by changing the communication path operation clock according to the present embodiment.
For example, in the normal state 4040 indicating that the operation clock of the port number 1 is the normal operation clock state, the normal state 4040 is used as an action search condition when the button corresponding to the port number 1 is pressed. The clockeco command which is the action content of the ecology operation configuration definition information 4036 is processed, and the state changes to the ecology state 4041 indicating that the operation clock is in the low speed operation state. For example, in the case of the ecology state 4041 indicating that the operation clock of the port number 1 is a low speed operation state, the normal operation configuration in which the ecology state 4041 is set as an action search condition when a button is pressed. The clocknormal command which is the action content of the definition information 4037 is processed, and the state changes to a normal state 4040 indicating that the operation clock is in the normal operation clock state.
FIG. 41 is a configuration definition setting flowchart of this embodiment by the control unit.
The configuration definition setting procedure of this embodiment will be described with reference to FIGS. 37, 38 (b), 39, and 41. FIG.
When the ecology mode control configuration definition information 4100 by changing the communication path operation clock shown in FIG. 39 is input from the operation terminal 180 shown in FIG. 37, the control unit 160 starts configuration definition setting (S4301). Since the configuration definition for each port is described in the ecology mode control configuration definition information 4100 by changing the communication path operation clock, the control unit 160 performs a loop process for each port. When the loop process is executed up to the final port number, the loop process is terminated (S4302).
The control unit 160 obtains the value of the configuration port number 240 from the configuration definition 4110 of the port number i (i is a target port in the current loop) in the ecology mode control configuration definition information 4100 by changing the communication path operation clock. If there is a description of the link state 4133, action content 134, and operation clock 4035 corresponding to the port number, it is acquired (S4303). The control unit 160 stores the acquired configuration definition information in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG. 38B (S4304). More specifically, the control unit 160 sets the acquired port number i to the port number 132 of the action definition description table 131, and the link state 4133, the operation clock 4035, and the operation clock 4035 of the configuration definition description of the port number i. The action content 134 is stored in the link state 4133, the operation clock 4035, and the action content 134 of the action definition description table 131, respectively.
In order to process the configuration information corresponding to the next port described in the ecology mode control configuration definition information 4100 by the communication path operation clock change, the control unit 160 performs the ecology mode control configuration definition information by the communication path operation clock change. The reference position i of 4100 is added by one port (S4305), and the process returns to the loop processing (S4302).
As described above, the ecology mode control configuration definition information 4100 by changing the communication path operation clock shown in FIG. 39 can be defined in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG.
The overall flowchart of the operation contents by the control unit 160 is the same as that of the second embodiment, for example (see FIGS. 13 and 14).

図42は、制御部160によるアクション実行処理のフローチャートである。図13のステップS1305の詳細フローチャートに相当する。
図13、図14、図37、図38(a)、図38(b)及び図42を参照して本実施例の動作を説明する。
まず図42に示すボタン100−1の入力を制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S1301)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160はボタン100−1の入力を契機に、ポート状態記憶部110に記憶するポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S1302)。本実施例でのポート状態は、リンク状態と動作クロックを含む。
該制御部160は、対象ポートのポート番号と、取得されたポート状態とに基づきアクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、該制御部160は、特定されたアクション内容134を実行する。それにより対象ポートのポート状態が変われば、制御部160はポート状態記憶部110の対象ポートのポート番号に対応するポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、最終定義記述(最終エントリ)までループ処理をする(S1303)。
該制御部160は構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が、押されたボタンに対応するポート番号(例えば1)と一致する構成記述があるか調べる。もし、一致すれば(例えば1の値であれば)アクション実行処理(S1305)へ進み、一方、一致しなければ(1以外であれば)何も処理せず処理S1402へ移る。アクション実行処理(S1305)は、本実施例のサブルーチンである図42のアクション実行処理開始(S4400)へ処理を飛ぶ。
図42を参照して、アクション実行処理を説明する。
該制御部160は、該エコロジー動作構成定義情報4036の該動作クロック4035は通常動作クロックを示すnormal状態4040であるため、ポート番号1のポート状態115内の動作クロック4014がnormalであれば(S4401)、該エコロジー動作構成定義情報4036の該アクション内容134に記述しているclockecoコマンドを実行して該ポート101−1と該スイッチ部170を制御する(S4402)。ポート101−1は、例えば、clockecoコマンドが実行されることにより、低速動作クロック供給部3993からのクロックを入力する。また、低速動作スイッチ部170−2と、ポート101−1間で通信可能となる。また、該制御部160は、該ポート状態記憶部110の該ポート番号1のポート状態115内の動作クロック4014を、エコロジー動作状態であることを示すecologyに変更する(S4403)。
また、該制御部160は、該通常動作構成定義情報4037の該ポート状態133はエコロジー動作を示すecology状態4041であるため、該ポート番号1のポート状態115内の動作クロック4014がecologyであれば(S4404)、該通常動作構成定義情報4037の該アクション内容134に記述しているclocknormalコマンドを実行して該ポート101−1と該スイッチ部170を制御する(S4405)。ポート101−1は、例えば、clocknormalコマンドが実行されることにより、通常動作クロック供給部3992からのクロックを入力する。また、通常動作スイッチ部170−1とポート101−1間で通信可能となる。また、該制御部160は、該ポート状態記憶部110の該ポート番号1のポート状態115内の動作クロック4014を、通常動作クロック状態であることを示すnormalに変更する(S4406)。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかの該アクション内容134を実行した場合は、さらにアクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S1401)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S1402)、ループ処理(S1303)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113(リンク状態及び動作クロック)に対応するアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。
FIG. 42 is a flowchart of action execution processing by the control unit 160. This corresponds to the detailed flowchart of step S1305 in FIG.
The operation of this embodiment will be described with reference to FIGS. 13, 14, 37, 38 (a), 38 (b), and 42. FIG.
First, the control unit 160 detects the input of the button 100-1 shown in FIG. The control unit 160 continues the monitoring process until it is detected (S1301). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, the following description will be given assuming that the button 100-1 is pressed by the operator, but the same applies when other buttons are pressed.
In response to the input of the button 100-1, the control unit 160 uses the port status table 111 stored in the port status storage unit 110 as the port status of the target port 101-1, for the port number (for example, port number 1). The port status 115 is acquired (S1302). The port state in this embodiment includes a link state and an operation clock.
The control unit 160 refers to the action definition description table 131 based on the port number of the target port and the acquired port state, and specifies the corresponding action content 134. Further, the control unit 160 executes the specified action content 134. If the port state of the target port changes accordingly, the control unit 160 updates the port state 113 corresponding to the port number of the target port in the port state storage unit 110. Hereinafter, these processes will be described more specifically.
The control unit 160 loops to the final definition description (final entry) in order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130 (S1303). .
The control unit 160 checks whether there is a configuration description in which the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 matches the port number (for example, 1) corresponding to the pressed button. . If they match (for example, if the value is 1), the process proceeds to the action execution process (S1305). On the other hand, if they do not match (if other than 1), no process is performed and the process proceeds to S1402. In the action execution process (S1305), the process jumps to the action execution process start (S4400) in FIG. 42 which is a subroutine of this embodiment.
The action execution process will be described with reference to FIG.
Since the operation clock 4035 of the ecology operation configuration definition information 4036 is the normal state 4040 indicating the normal operation clock, the control unit 160 determines that the operation clock 4014 in the port state 115 of the port number 1 is normal (S4401). ), A clockco command described in the action content 134 of the ecology operation configuration definition information 4036 is executed to control the port 101-1 and the switch unit 170 (S4402). For example, the port 101-1 receives a clock from the low-speed operation clock supply unit 3993 by executing a clockco command. Further, communication is possible between the low-speed operation switch unit 170-2 and the port 101-1. In addition, the control unit 160 changes the operation clock 4014 in the port state 115 of the port number 1 in the port state storage unit 110 to ecology indicating that it is in an ecology operation state (S4403).
Further, since the port state 133 of the normal operation configuration definition information 4037 is the ecology state 4041 indicating the ecological operation, the control unit 160 determines that the operation clock 4014 in the port state 115 of the port number 1 is ecological. (S4404), the clocknormal command described in the action content 134 of the normal operation configuration definition information 4037 is executed to control the port 101-1 and the switch unit 170 (S4405). The port 101-1 receives the clock from the normal operation clock supply unit 3992 by executing, for example, a clocknormal command. Further, communication is possible between the normal operation switch unit 170-1 and the port 101-1. Further, the control unit 160 changes the operation clock 4014 in the port state 115 of the port number 1 in the port state storage unit 110 to normal indicating the normal operation clock state (S4406).
At this time, when any one of the action contents 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131. Is exited (S1401). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S1402). ), The process returns to the loop process (S1303).
In this manner, the action content corresponding to the port state 113 (link state and operation clock) of the port state table 111 stored in the port state storage unit 110 is input to the configuration information storage unit when the button is input. The action definition description table 131 stored in 130 can be searched and specified and executed.

実施例8では、ポートへの供給電圧を切り替えることで、ポート回路の消費電力が変わる装置構成にて、電圧切り替えの契機をボタンの入力で制御する第2エコロジーモードを有する。
図43は、本実施例の通信装置構成図である。図44(a)及び図44(b)は、各記憶部110、130の構成例である。指示手段としてボタンを設けた例で説明する。
通信装置は、実施例1(図1(a)ならびに図1(b))と同様の通信装置構成を持ち、ポート状態記憶部110の構成は図44(a)のポート状態記憶部110に変更し、構成情報記憶部130の構成は図44(b)の構成情報記憶部130に変更する。ポート101−1から101−nに制御部160の指示によって供給する電圧を変更することができる電源部4501−1〜4501−nを接続する。電源部4501は、ポート毎に備えてもよいし、ひとつの電源部がポート毎に供給電圧を制御してもよい。また、電圧以外にも、供給電力など供給される電気エネルギーを変更してもよい。
該ポート状態記憶部110は、ポート番号112と、ポート番号に対応するポート状態113(本実施例ではリンク状態4113及びポートへの供給電圧4614とを含む)とを記憶するポート状態テーブル111を有する(図44(a)参照)。例えば、ポート状態テーブル111にはポート番号1のポート状態115−3が記憶される。
該構成情報記憶部130は、ポート番号132と、リンク状態4133及び供給電圧4635を含むポート状態133と、該ポート番号132とリンク状態4133及び、供給電圧4635がともに一致した時に処理をするアクション内容を定義するアクション内容134とを対応して記憶するアクション定義記述テーブル131を有する。例えば、該アクション定義記述テーブル131には、該ポート番号132の内容がポート番号1を示す1、該リンク状態4133がリンクアップであることを示すlinkup、該供給電圧4635が通常動作であることを示すnormal状態4640であり、このときの該アクション内容134がvoltecoコマンドであるエコロジー動作構成定義情報4636が記憶される。また、例えば、該ポート番号132の内容がポート番号1を示す1、該リンク状態4133がリンクアップであることを示すlinkup状態、該供給電圧4635が低電圧動作であることを示すecology状態4641であり、このときのアクション内容134がvoltnormalコマンドである通常動作構成定義情報4637が記憶される。
なお、該構成情報記憶部130が記憶する該アクション定義記述テーブル131に格納する該ポート番号132の内容は、対応するポート番号1つを指定することも可能であるし、ポート番号の範囲指定や全てのポート番号を同時に指定することも可能である。
ポート101−1に対応するボタン100−1を作業者が押すと、該ボタン100−1からの入力通知を契機にして該制御部160は該ポート状態記憶部110に記憶している該ポート状態テーブル111について、該ポート101−1に対応する該ポート番号1のポート状態115−3を参照して該ポート番号112と該リンク状態4113と該供給電圧4614を取得する。また、該制御部160は、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容について、該ポート番号132と該リンク状態4133ならびに、該供給電圧4635がともに一致する該アクション内容134が構成定義してあるか検索する。
そして、該ポート番号1のポート状態115−3について、該ポート状態113の該リンク状態4113がリンクアップ状態を示すlinkup、そして該供給電圧4614が通常動作であることを示すnormalならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該リンク状態4133がlinkup、該供給電圧4635が該normal状態4640の場合に該アクション内容134がvoltecoコマンドを実行すると定義した該エコロジー動作構成定義情報4636が特定されて、voltecoコマンドを処理することで該ポート101−1を制御する。一方、該制御部160は、該ポート番号1のポート状態115−3について、該ポート状態113の該リンク状態4113がリンクアップ状態を示すlinkup、そして該供給電圧4614が低電圧動作であることを示すecologyならば、該構成情報記憶部130に記憶する該アクション定義記述テーブル131の内容から、該ポート番号132が1、該リンク状態4133がlinkup、該供給電圧4635が該ecology状態4641の場合に該アクション内容134がvoltnormalコマンド実行すると定義した該通常動作構成定義情報4637が特定されて該アクション内容134のvoltnormalコマンドを処理することで該ポート101−1を制御する。もし検索の結果どのアクション定義も見つからなければ該ポート101−1に対して何も制御をおこなわない。
The eighth embodiment has a second ecology mode in which the trigger for voltage switching is controlled by the input of a button in the device configuration in which the power consumption of the port circuit changes by switching the supply voltage to the port.
FIG. 43 is a configuration diagram of a communication apparatus according to the present embodiment. 44A and 44B are configuration examples of the storage units 110 and 130. FIG. An example in which buttons are provided as instruction means will be described.
The communication device has the same communication device configuration as that of the first embodiment (FIGS. 1A and 1B), and the configuration of the port state storage unit 110 is changed to the port state storage unit 110 of FIG. 44A. Then, the configuration of the configuration information storage unit 130 is changed to the configuration information storage unit 130 of FIG. The power supply units 4501-1 to 4501-n that can change the voltage supplied by the instruction of the control unit 160 are connected to the ports 101-1 to 101-n. The power supply unit 4501 may be provided for each port, or one power supply unit may control the supply voltage for each port. In addition to the voltage, supplied electric energy such as supplied power may be changed.
The port state storage unit 110 includes a port state table 111 that stores a port number 112 and a port state 113 corresponding to the port number (including a link state 4113 and a supply voltage 4614 to the port in this embodiment). (See FIG. 44 (a)). For example, the port status table 111 stores the port status 115-3 of port number 1.
The configuration information storage unit 130 performs processing when the port number 132, the port state 133 including the link state 4133 and the supply voltage 4635, and the port number 132, the link state 4133, and the supply voltage 4635 coincide with each other. The action definition description table 131 stores the action contents 134 that define the corresponding information. For example, the action definition description table 131 indicates that the contents of the port number 132 is 1 indicating the port number 1, linkup indicating that the link state 4133 is link-up, and the supply voltage 4635 is a normal operation. The ecological operation configuration definition information 4636 in which the action content 134 is a volteco command is stored. Also, for example, the contents of the port number 132 are 1 indicating the port number 1, the linkup state indicating that the link state 4133 is link up, and the ecology state 4641 indicating that the supply voltage 4635 is a low voltage operation. Yes, normal operation configuration definition information 4637 in which the action content 134 at this time is a voltnormal command is stored.
The contents of the port number 132 stored in the action definition description table 131 stored in the configuration information storage unit 130 can specify one corresponding port number, specify a range of port numbers, It is possible to specify all port numbers at the same time.
When the operator presses the button 100-1 corresponding to the port 101-1, the control unit 160 stores the port state stored in the port state storage unit 110 in response to an input notification from the button 100-1. In the table 111, the port number 112, the link state 4113, and the supply voltage 4614 are acquired with reference to the port state 115-3 of the port number 1 corresponding to the port 101-1. The control unit 160 also includes the action content 134 in which the port number 132, the link state 4133, and the supply voltage 4635 are the same for the content of the action definition description table 131 stored in the configuration information storage unit 130. Search whether the configuration is defined.
Then, for the port state 115-3 of the port number 1, if the link state 4113 of the port state 113 is a linkup indicating a link-up state, and the supply voltage 4614 is normal indicating that the supply voltage 4614 is a normal operation, the configuration Based on the content of the action definition description table 131 stored in the information storage unit 130, the action content 134 is a volteco command when the port number 132 is 1, the link state 4133 is linkup, and the supply voltage 4635 is the normal state 4640. The ecology operation configuration definition information 4636 defined to be executed is specified, and the port 101-1 is controlled by processing the volteco command. On the other hand, for the port state 115-3 of the port number 1, the control unit 160 determines that the link state 4113 of the port state 113 is a linkup indicating a link-up state, and the supply voltage 4614 is a low voltage operation. If the port number 132 is 1, the link state 4133 is linkup, and the supply voltage 4635 is the ecology state 4641, the content of the action definition description table 131 stored in the configuration information storage unit 130 is The normal operation configuration definition information 4637 defined as the action content 134 executing the vault normal command is specified, and the port 101-1 is controlled by processing the vault normal command of the action content 134. If no action definition is found as a result of the search, no control is performed on the port 101-1.

図45は、構成情報記述例を示す図である。
通信装置の運用開始時または運用中に、運用環境に合わせて図43に示す操作端末180から、通信装置150に接続するネットワークの構成及び動作条件等の構成情報を設定する。図45はこの構成情報に、本実施例での設定情報を記述した場合の例を示す図である。
ポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700は、ポート毎の構成情報記述を含む。図45の例では、ポート番号1の構成定義記述4710の構成情報記述を示す。
該ポート番号1の構成定義記述4710には、構成情報が対象とするポートの番号を示す構成定義ポート番号240と、ボタンを入力した時の該リンク状態4133と、ボタンを入力した時の供給電圧4635と、対応する該アクション内容134との組み合わせを指定記述する。例えば、リンク状態4133がリンクアップであることを示すlinkupであり、供給電圧4635が通常動作であることを示すnormalならばコマンドvoltecoをアクション内容134とした該エコロジー動作構成定義情報4636と、リンク状態4133がリンクアップであることを示すlinkupであり、供給電圧4635が低電圧動作であることを示すecologyならばコマンドvoltnormalを該アクション内容134とした該通常動作構成定義情報4637を記述している。
図46は、本実施例のポート回路供給電圧変更によるエコロジーモード制御をする場合の状態遷移を説明した図である。
例えばポート番号1のポート回路供給電圧が通常電圧動作状態であることを示すnormal状態4640の場合、ポート番号1に対応するボタンを押したことを契機にして、該normal状態4640をアクション検索条件にしている該エコロジー動作構成定義情報4636のアクション内容であるvoltecoコマンドが処理されて、供給電圧が低電圧動作状態であることを示す該ecology状態4641に状態変化する。また、例えばポート番号1のポート回路供給電圧が低電圧動作状態であることを示す該ecology状態4641の場合、ボタンを押したことを契機にして、該ecology状態4641をアクション検索条件にしている該通常動作構成定義情報4637のアクション内容であるvoltnormalコマンドが処理されて、ポート回路への供給電圧が通常動作状態であることを示すnormal状態4640に状態変化する。
FIG. 45 is a diagram illustrating a configuration information description example.
At the start of operation or during operation of the communication device, configuration information such as the configuration and operating conditions of the network connected to the communication device 150 is set from the operation terminal 180 shown in FIG. 43 according to the operation environment. FIG. 45 is a diagram showing an example in which setting information in this embodiment is described in this configuration information.
The ecology mode control configuration definition information 4700 by changing the port circuit supply voltage includes a configuration information description for each port. In the example of FIG. 45, the configuration information description of the configuration definition description 4710 of port number 1 is shown.
The configuration definition description 4710 of the port number 1 includes a configuration port number 240 indicating the number of the target port for the configuration information, the link state 4133 when the button is input, and the supply voltage when the button is input A combination of 4635 and the corresponding action content 134 is specified and described. For example, if the link state 4133 is linkup indicating that the link is up, and the supply voltage 4635 is normal indicating that it is a normal operation, the ecology operation configuration definition information 4636 with the command volteco as the action content 134, If 4133 is a linkup indicating that the link is up and the supply voltage 4635 is ecological indicating that the operation is a low voltage operation, the normal operation configuration definition information 4637 with the command “normal” as the action content 134 is described.
FIG. 46 is a diagram for explaining state transitions when ecology mode control is performed by changing the port circuit supply voltage according to this embodiment.
For example, in the normal state 4640 indicating that the port circuit supply voltage of the port number 1 is in the normal voltage operation state, the normal state 4640 is set as an action search condition when the button corresponding to the port number 1 is pressed. The volteco command, which is the action content of the ecology operation configuration definition information 4636, is processed, and the state changes to the ecology state 4641 indicating that the supply voltage is in the low voltage operation state. For example, in the case of the ecology state 4641 indicating that the port circuit supply voltage of the port number 1 is in a low voltage operation state, the ecology state 4641 is set as an action search condition when the button is pressed. The voltnormal command, which is the action content of the normal operation configuration definition information 4637, is processed, and the state changes to a normal state 4640 indicating that the supply voltage to the port circuit is in the normal operation state.

図47は、制御部による本実施例の構成定義設定フローチャートである。
図43、図44(b)、図45及び図47を参照して本実施例の構成定義設定手順を説明する。
図43に示す操作端末180から図45に示すポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700を入力したことによって、制御部160は構成定義設定を開始する(S4901)。該ポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700にはポート毎に構成定義が記述されているため、該制御部160はポート単位でループ処理をする。最終ポート番号までループ処理を実行した場合はループ処理を終了する(S4902)。
該制御部160は、該ポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700内のポート番号i(iは現ループでの対象ポート)の構成定義4710から、構成定義ポート番号240の値を取得し、ポート番号に対応するリンク状態4133とアクション内容134及び、供給電圧4635の記述がある場合にはそれを取得し(S4903)、該制御部160は図44(b)に示す構成情報記憶部130が記憶するアクション定義記述テーブル131へ、取得した構成定義情報を記憶する(S4904)。より具体的には該制御部160は、取得したポート番号iを該アクション定義記述テーブル131のポート番号132へ設定し、ポート番号iの構成定義記述のリンク状態4133と該供給電圧4635とアクション内容134とを、該アクション定義記述テーブル131のリンク状態4133と該供給電圧4635と該アクション内容134にそれぞれ記憶する。
該ポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700に記述している次のポートに対応する構成情報を処理するため、該制御部160は該ポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700の参照位置iを1ポート分加算して(S4905)、ループ処理(S4902)へ戻る。
このように、図45に示す該ポート回路供給電圧変更によるエコロジーモード制御構成定義情報4700を図43に示す該構成情報記憶部130が記憶する該アクション定義記述テーブル131へ構成定義をすることができる。
制御部160による動作内容の全体フローチャートは例えば実施例2と同様である(図13、14参照)。
FIG. 47 is a configuration definition setting flowchart of the present embodiment by the control unit.
The configuration definition setting procedure of this embodiment will be described with reference to FIGS. 43, 44 (b), 45 and 47. FIG.
When the ecology mode control configuration definition information 4700 by changing the port circuit supply voltage shown in FIG. 45 is input from the operation terminal 180 shown in FIG. 43, the control unit 160 starts configuration definition setting (S4901). Since the configuration definition for each port is described in the ecology mode control configuration definition information 4700 by changing the port circuit supply voltage, the control unit 160 performs a loop process for each port. When the loop process is executed up to the final port number, the loop process is terminated (S4902).
The control unit 160 obtains the value of the configuration port number 240 from the configuration definition 4710 of the port number i (i is a target port in the current loop) in the ecology mode control configuration definition information 4700 due to the port circuit supply voltage change. If there is a description of the link state 4133, action content 134, and supply voltage 4635 corresponding to the port number (S4903), the controller 160 obtains the configuration information storage unit shown in FIG. The acquired configuration definition information is stored in the action definition description table 131 stored in 130 (S4904). More specifically, the control unit 160 sets the acquired port number i to the port number 132 of the action definition description table 131, and the link state 4133 of the configuration definition description of the port number i, the supply voltage 4635, and the action content. 134 are stored in the link state 4133, the supply voltage 4635, and the action content 134 of the action definition description table 131, respectively.
In order to process the configuration information corresponding to the next port described in the ecology mode control configuration definition information 4700 by the port circuit supply voltage change, the control unit 160 performs the ecology mode control configuration definition information by the port circuit supply voltage change. The reference position i of 4700 is added by one port (S4905), and the process returns to the loop process (S4902).
As described above, the ecology mode control configuration definition information 4700 by changing the port circuit supply voltage shown in FIG. 45 can be defined in the action definition description table 131 stored in the configuration information storage unit 130 shown in FIG. .
The overall flowchart of the operation contents by the control unit 160 is the same as that of the second embodiment, for example (see FIGS. 13 and 14).

図48は、制御部160によるアクション実行処理のフローチャートである。
図13、図14、図43、図44(a)、図44(b)及び図48を参照して本実施例の動作を説明する。
まず、ボタン100−1の入力を制御部160が検知する。なお、該制御部160は、検知するまで監視処理を続ける(S1301)。ボタンとポートは対になっているため、該制御部160は押されたボタンに対応するポート(以下対象ポートという)のポート番号を取得できる。例えば、ボタン100−1が作業者により押されたとして以下説明するが、他のボタンが押された場合も同様である。
該制御部160はボタン100−1の入力を契機に、ポート状態記憶部110に記憶するポート状態テーブル111から、対象ポート101−1のポート状態として、該当するポート番号(例えばポート番号1)のポート状態115を取得する(S1302)。本実施例でのポート状態は、リンク状態と供給電圧(供給電力情報でもよい)を含む。
該制御部160は、対象ポートのポート番号と、取得されたポート状態とに基づきアクション定義記述テーブル131を参照し、対応するアクション内容134を特定する。また、該制御部160は、特定されたアクション内容134を実行する。それにより対象ポートのポート状態が変われば、該制御部160は該ポート状態記憶部110の対象ポートのポート番号に対応するポート状態113を更新する。以下これらの処理をより具体的に説明する。
該制御部160は、該構成情報記憶部130が記憶する該アクション定義記述テーブル131にあらかじめ記憶された該アクション内容134を検索するため、最終定義記述(最終エントリ)までループ処理をする(S1303)。
該制御部160は構成情報記憶部130が記憶する該アクション定義記述テーブル131に含まれる該ポート番号132が、押されたボタンに対応するポート番号(例えば1)と一致する構成記述があるか調べる。もし、一致すれば(例えば1の値であれば)アクション実行処理(S1305)へ進み、一方、一致しなければ(1以外であれば)何も処理せず処理S1402へ移る。アクション実行処理(S1305)は、本実施例のサブルーチンである図48のアクション実行処理開始(S5000)へ処理を飛ぶ。
図48を参照して、アクション実行処理を説明する。
該制御部160は、該エコロジー動作構成定義情報4636の該供給電圧4635は通常動作を示すnormal状態4640であるため、ポート番号1のポート状態115−3内の供給電圧4614がnormalであれば(S5001)、該エコロジー動作構成定義情報4636の該アクション内容134に記述しているvoltecoコマンドを実行して該ポート101−1を制御する(S5002)。また、該制御部160は、該ポート状態記憶部110の該ポート番号1のポート状態115−3内の供給電圧4614を、エコロジー動作状態であることを示すecologyに変更する(S5003)。
また、該制御部160は、該通常動作構成定義情報4637の該ポート状態133はエコロジー動作を示すecology状態4641であるため、該ポート番号1のポート状態115−3内の供給電圧4614がecologyであれば(S5004)、該通常動作構成定義情報4637の該アクション内容134に記述しているvoltnormalコマンドを実行して該ポート101−1を制御する(S5005)。また、該制御部160は、該ポート状態記憶部110の該ポート番号1のポート状態115−3内の供給電圧4614を、通常動作クロック状態であることを示すnormalに変更する(S5006)。
この時点で該構成情報記憶部130が記憶する該アクション定義記述テーブル131内のいずれかの該アクション内容134を実行した場合は、さらにアクション定義記述テーブル131の検索をする必要が無いため、ループ処理を抜ける(S1401)。一方、まだ該アクション内容134を実行していない場合は、該ポート番号1のポート状態115に対応するアクション内容の検索を続けるため、該アクション定義記述テーブル131参照定義位置を1加算して(S1402)、ループ処理(S1303)に戻る。
このようにして、ボタンの入力を契機に、該ポート状態記憶部110に記憶する該ポート状態テーブル111の該ポート状態113(リンク状態及び供給電圧)に対応するアクション内容を、該構成情報記憶部130が記憶する該アクション定義記述テーブル131を検索して特定し実行することができる。
なお、上述の各実施例を組み合わせても良い。
FIG. 48 is a flowchart of action execution processing by the control unit 160.
The operation of this embodiment will be described with reference to FIGS. 13, 14, 43, 44 (a), 44 (b), and 48. FIG.
First, the control unit 160 detects the input of the button 100-1. The control unit 160 continues the monitoring process until it is detected (S1301). Since the button and the port are paired, the control unit 160 can acquire the port number of the port corresponding to the pressed button (hereinafter referred to as the target port). For example, the following description will be given assuming that the button 100-1 is pressed by the operator, but the same applies when other buttons are pressed.
In response to the input of the button 100-1, the control unit 160 uses the port status table 111 stored in the port status storage unit 110 as the port status of the target port 101-1, for the port number (for example, port number 1). The port status 115 is acquired (S1302). The port state in this embodiment includes a link state and a supply voltage (may be supply power information).
The control unit 160 refers to the action definition description table 131 based on the port number of the target port and the acquired port state, and specifies the corresponding action content 134. Further, the control unit 160 executes the specified action content 134. If the port state of the target port changes accordingly, the control unit 160 updates the port state 113 corresponding to the port number of the target port in the port state storage unit 110. Hereinafter, these processes will be described more specifically.
The control unit 160 loops to the final definition description (final entry) in order to search the action content 134 stored in advance in the action definition description table 131 stored in the configuration information storage unit 130 (S1303). .
The control unit 160 checks whether there is a configuration description in which the port number 132 included in the action definition description table 131 stored in the configuration information storage unit 130 matches the port number (for example, 1) corresponding to the pressed button. . If they match (for example, if the value is 1), the process proceeds to the action execution process (S1305). On the other hand, if they do not match (if other than 1), no process is performed and the process proceeds to S1402. In the action execution process (S1305), the process jumps to the action execution process start (S5000) of FIG. 48 which is a subroutine of the present embodiment.
The action execution process will be described with reference to FIG.
Since the supply voltage 4635 of the ecology operation configuration definition information 4636 is a normal state 4640 indicating normal operation, the control unit 160 determines that the supply voltage 4614 in the port state 115-3 of the port number 1 is normal ( In step S5001, the port 101-1 is controlled by executing the volteco command described in the action content 134 of the ecology operation configuration definition information 4636 (S5002). Further, the control unit 160 changes the supply voltage 4614 in the port state 115-3 of the port number 1 in the port state storage unit 110 to ecology indicating that it is in an ecological operation state (S5003).
Further, the control unit 160 indicates that the port state 133 of the normal operation configuration definition information 4637 is an ecology state 4641 indicating an ecological operation, so that the supply voltage 4614 in the port state 115-3 of the port number 1 is ecological. If there is (S5004), the voltnormal command described in the action content 134 of the normal operation configuration definition information 4637 is executed to control the port 101-1 (S5005). Further, the control unit 160 changes the supply voltage 4614 in the port state 115-3 of the port number 1 in the port state storage unit 110 to normal indicating the normal operation clock state (S5006).
At this time, when any one of the action contents 134 in the action definition description table 131 stored in the configuration information storage unit 130 is executed, it is not necessary to further search the action definition description table 131. Is exited (S1401). On the other hand, if the action content 134 has not yet been executed, 1 is added to the reference definition position of the action definition description table 131 in order to continue searching for the action content corresponding to the port state 115 of the port number 1 (S1402). ), The process returns to the loop process (S1303).
In this way, the action content corresponding to the port state 113 (link state and supply voltage) of the port state table 111 stored in the port state storage unit 110 is input to the configuration information storage unit when the button is input. The action definition description table 131 stored in 130 can be searched and specified and executed.
In addition, you may combine each above-mentioned Example.

(構成例)
[構成例1]
本通信装置は、通信装置のフロントパネルに具備する操作対象の一部または全部に該操作対象に対応する指示手段を備え、該指示手段を入力した際に該指示手段に対応する該操作対象に対して、該操作対象の状態及び該操作対象に対してあらかじめ設定した情報に基づき、あらかじめ設定した動作を起動することで、該操作対象を制御することを特徴のひとつとする。
[構成例2]
上記構成例1の通信装置において、
操作対象の状態及び該操作対象に対してあらかじめ設定する動作について、構成情報に定義記述することが可能で、該構成情報は定義の追加、変更が可能である。
[構成例3]
また、本通信装置は、複数の通信回線との接続を可能とするために複数の通信回線ケーブルを接続できる複数のポート部をもち、該ポート部の付近または該ポート部への指示するものと判断できる位置に、該ポート部の一部または全部に対して、指示を可能とする指示手段をもち、該ポート部の状態を記録し、該ポート部の状態によって処理するアクション内容を設定した構成情報をもつ通信装置において、該ポート部に対応する該指示手段より指示を入力することで、該ポート部に対応する該ポート部の状態を参照し、該ポート部の状態に対応した構成情報に設定されたアクション内容に従い指示対象となる該ポート部に対し制御することを特徴のひとつとする。
[構成例4]
上記構成例3の通信装置において、
通信装置の操作対象の状態を変更しないコマンドをアクション内容として登録する構成情報を設定し、指示手段を複数回入力しても何も状態が変わらず、状態を維持することで、指示手段の機能を限定することができ、作業者の操作ミスを無くすことを目的とした、フェイルセーフモード制御用構成情報を持つことができる。
[構成例5]
上記構成例3の通信装置において、
操作対象が未使用の状態の場合に自己診断のコマンドをアクション内容として登録する構成情報を設定し、未使用部が不慮の故障が発生していないか確認するための自己診断をすることを目的とする、セルフテストモード制御用構成情報を持つことができる。
[構成例6]
上記構成例3の通信装置において、
複数の操作対象が同一のアクション内容を指定可能である場合、構成情報内に1つのアクション指定で全部または一部を範囲選択して操作対象にすることができる、アクションを指定可能な構成情報を持つことができる。
(Configuration example)
[Configuration example 1]
The communication apparatus includes an instruction unit corresponding to the operation target in part or all of the operation target included in the front panel of the communication apparatus, and the operation target corresponding to the instruction unit when the instruction unit is input. On the other hand, one of the features is that the operation target is controlled by activating a preset operation based on the state of the operation target and information set in advance for the operation target.
[Configuration example 2]
In the communication device of the above configuration example 1,
The state of the operation target and the operation set in advance for the operation target can be defined and described in the configuration information, and the configuration information can be added or changed.
[Configuration example 3]
The communication device has a plurality of port portions to which a plurality of communication line cables can be connected in order to enable connection to a plurality of communication lines, and an instruction to the vicinity of the port portion or to the port portion. A configuration in which an instruction means for enabling an instruction is given to a part or all of the port part at a position where it can be determined, the state of the port part is recorded, and the action content to be processed according to the state of the port part is set In a communication apparatus having information, by inputting an instruction from the instruction unit corresponding to the port unit, the state of the port unit corresponding to the port unit is referred to, and configuration information corresponding to the state of the port unit is obtained. One of the features is that control is performed on the port unit to be instructed according to the set action content.
[Configuration Example 4]
In the communication device of the above configuration example 3,
Function of the instruction means by setting the configuration information to register the command that does not change the operation target state of the communication device as the action contents, and maintaining the state without changing the state even if the instruction means is input a plurality of times And can have fail-safe mode control configuration information for the purpose of eliminating operator error.
[Configuration Example 5]
In the communication device of the above configuration example 3,
Set the configuration information to register the self-diagnosis command as the action contents when the operation target is unused, and the purpose of self-diagnosis is to check whether the unused part has an unexpected failure It is possible to have configuration information for self-test mode control.
[Configuration Example 6]
In the communication device of the above configuration example 3,
When multiple operation targets can specify the same action content, configuration information that can specify an action that can be selected as a target by selecting all or a part of the configuration information by specifying one action. Can have.

本発明は、例えば、複数のポートを有する通信装置に利用可能である。   The present invention can be used for a communication device having a plurality of ports, for example.

100−1〜100−n・・・指示手段、
101−1〜101−n・・・ポート、
110・・・ポート状態記憶部、
111・・・ポート状態テーブル、
112・・・ポート番号、
113・・・ポート状態、
115・・・ポート番号1のポート状態、
115−2・・・ポート番号1のポート状態、
115−3・・・ポート番号1のポート状態、
115−4・・・ポート番号1のポート状態、
130・・・構成情報記憶部、
131・・・アクション定義記述テーブル、
132・・・ポート番号、
133・・・ポート状態、
134・・・アクション内容、
135・・・リンクアップアクション構成定義情報、
136・・・リンクダウンアクション構成定義情報、
136−2・・・ノンオペレーションアクション構成定義情報、
140・・・linkdown状態、
141・・・linkup状態、
150・・・通信装置、
160・・・制御部、
170・・・スイッチ部、
170−1・・・スイッチ部、
170−2・・・スイッチ部、
180・・・操作端末、
200・・・リンクアップ/リンクダウン制御構成定義情報、
210・・・ポート番号1の構成定義記述、
220・・・ポート番号2の構成定義記述、
210−2・・・ポート番号1の構成定義記述、
220−2・・・ポート番号2の構成定義記述、
240・・・構成定義ポート番号、
240−2・・・構成定義ポート番号、
1000・・・フェイルセーフモード制御構成定義情報、
1600・・・ループコネクタ
1601・・・セルフテストアクション構成定義情報、
1602・・・セルフテストエンドアクション構成定義情報
1642・・・selftest状態、
1700・・・セルフテストモード制御構成定義情報、
1730・・・全ポートを対象とした構成定義記述、
2000−1〜2000−n・・・拡張指示手段、
2135・・・拡張ボタン番号、
2136・・・リンクアップアクション構成定義情報、
2137・・・セルフテストアクション構成定義情報、
2138・・・リンクダウンアクション構成定義情報、
2139・・・セルフテストエンドアクション構成定義情報、
2143・・・拡張ボタン番号、
2200・・・リンクアップ/リンクダウン及びセルフテストモード制御構成定義情報、
2210・・・ポート番号1の構成定義記述、
2702−1〜2702−n・・・表示手段、
2814・・・LED状態、
2900・・・リンクアップ/リンクダウン制御構成定義情報、
2910・・・ポート番号1の構成定義記述、
3335・・・LEDアクション内容、
3336・・・リンクアップアクション構成定義情報、
3337・・・リンクダウンアクション構成定義情報、
3400・・・LEDアクション内容を追加した構成定義情報、
3410・・・ポート番号1の構成定義記述、
3992・・・通常動作クロック供給部、
3993・・・低速動作クロック供給部、
4014・・・動作クロック、
4035・・・動作クロック、
4036・・・エコロジー動作構成定義情報、
4037・・・通常動作構成定義情報、
4040・・・normal状態、
4041・・・ecology状態、
4100・・・通信経路動作クロック変更によるエコロジーモード制御構成定義情報、
4110・・・ポート番号1の構成定義記述、
4113・・・リンク状態、
4133・・・リンク状態、
4501−1〜4501−n・・・電源部、
4614・・・供給電圧、
4635・・・供給電圧、
4636・・・エコロジー動作構成定義情報、
4637・・・通常動作構成定義情報、
4640・・・normal状態、
4641・・・ecology状態、
4700・・・ポート回路供給電圧変更によるエコロジーモード制御構成定義情報、
4710・・・ポート番号1の構成定義記述
100-1 to 100-n ... indicating means,
101-1 to 101-n ... ports,
110: Port state storage unit,
111 ... Port status table,
112 ... port number,
113 ... Port state,
115: Port state of port number 1
115-2... Port state of port number 1
115-3... Port state of port number 1
115-4... Port state of port number 1
130: Configuration information storage unit,
131 ... Action definition description table,
132: Port number,
133: Port state,
134 ... Action content,
135: Link-up action configuration definition information,
136 ... Link down action configuration definition information,
136-2 ... Non-operation action configuration definition information,
140 ... linkdown state,
141 ... linkup state,
150 ... communication device,
160... Control unit,
170 ... switch part,
170-1... Switch part,
170-2... Switch part,
180 ... operation terminal,
200: Link up / link down control configuration definition information,
210 ... Configuration definition description of port number 1
220 ... Configuration definition description of port number 2
210-2 ... Configuration definition description of port number 1,
220-2 ... Configuration definition description of port number 2,
240: Configuration port number,
240-2 ... Configuration definition port number,
1000: Fail-safe mode control configuration definition information,
1600 ... Loop connector 1601 ... Self-test action configuration definition information,
1602 ... Self-test end action configuration definition information 1642 ... selftest state,
1700 ... Self-test mode control configuration definition information,
1730: Configuration definition description for all ports,
2000-1 to 2000-n ... expansion instruction means,
2135 ... Expansion button number,
2136 ... Link-up action configuration definition information,
2137 ... Self-test action configuration definition information,
2138 ... link down action configuration definition information,
2139 ... Self-test end action configuration definition information,
2143: Expansion button number,
2200 ... Link up / link down and self-test mode control configuration definition information,
2210 ... Configuration definition description of port number 1,
2702-1 to 2702-n ... display means,
2814 ... LED state,
2900: Link-up / link-down control configuration definition information,
2910 ... Configuration definition description of port number 1,
3335 ... LED action content,
3336 ... Link-up action configuration definition information,
3337: Link down action configuration definition information,
3400: Configuration definition information with LED action content added,
3410 ... Configuration definition description of port number 1,
3992 ... Normal operation clock supply unit,
3993... Low-speed operation clock supply unit,
4014... Operation clock,
4035: Operation clock,
4036 ... Ecology operation configuration definition information,
4037 ... Normal operation configuration definition information,
4040 ... normal state,
4041 ... ecology state,
4100: Ecology mode control configuration definition information by changing communication path operation clock,
4110 ... Configuration definition description of port number 1
4113 ... Link status,
4133: Link state,
4501-1 to 4501-n ... power supply unit,
4614 ... supply voltage,
4635 ... supply voltage,
4636 ... Ecology operation configuration definition information,
4637 ... Normal operation configuration definition information,
4640 ... normal state,
4641 ... ecology state,
4700 ... Ecology mode control configuration definition information by changing port circuit supply voltage,
4710 ... Configuration definition description of port number 1

Claims (10)

回線が接続される複数のポートと、
ポート毎に、該ポートの現在の動作状態を管理するポート状態管理部と、
前記複数のポートの全部又は一部に対応する複数の指示入力部と、
ポート毎に、該ポートの動作状態と、該ポートの動作状態にあるポートに対するアクション内容とが対応した構成定義情報を記憶する記憶部と、
ポートの動作状態とアクション内容とが対応した、ポート毎の構成定義情報を端末から入力して前記記憶部に記憶する制御部と、
を備え、
前記制御部は、前記指示入力部のいずれかが操作されると、前記ポート状態管理部及び前記記憶部を参照し、操作された該指示入力部に対応するポートの動作状態に応じたアクション内容を特定して、該アクション内容のコマンドを、操作された前記指示入力部に対応するポートに対して実行する通信装置。
Multiple ports to which the line is connected;
For each port, a port state management unit that manages the current operating state of the port;
A plurality of instruction input units corresponding to all or a part of the plurality of ports;
For each port, a storage unit that stores configuration definition information corresponding to the operation state of the port and the action content for the port in the operation state of the port;
A control unit that inputs the configuration definition information for each port corresponding to the operation state of the port and the action content from the terminal and stores it in the storage unit;
With
When any of the instruction input units is operated, the control unit refers to the port state management unit and the storage unit, and the action content according to the operating state of the port corresponding to the operated instruction input unit The communication device that specifies the action content and executes the command of the action content on the port corresponding to the operated instruction input unit.
前記ポートの動作状態は、リンクアップ状態及びリンクダウン状態を含み、
前記記憶部は、所定のポートに対して、ポートの動作状態がリンクアップ状態であり、かつ、アクション内容がリンクダウン状態に遷移する第1コマンドであるエントリと、ポートの動作状態がリンクダウン状態であり、かつ、アクション内容がリンクアップ状態に遷移する第2コマンドであるエントリとを有し、
ポートに対応する前記指示入力部が操作されることにより、ポートの動作状態に応じたコマンドが実行されて、該指示入力部に対応するポートの動作状態がリンクダウン状態及びリンクアップ状態の間で遷移する請求項1に記載の通信装置。
The operational state of the port includes a link up state and a link down state,
For the predetermined port, the storage unit is an entry that is a first command in which the operation state of the port is a link-up state and the action content is changed to a link-down state, and the operation state of the port is a link-down state And the action content is an entry that is a second command for transitioning to the link-up state,
By operating the instruction input unit corresponding to the port, a command corresponding to the operation state of the port is executed, and the operation state of the port corresponding to the instruction input unit is between the link down state and the link up state. The communication device according to claim 1 which makes a transition.
前記ポートの動作状態は、リンクアップ状態及びリンクダウン状態を含み、
前記記憶部は、所定のポートに対して、ポートの動作状態がリンクアップ状態であり、かつ、アクション内容がポートの動作状態を遷移させない第3コマンドであるエントリと、ポートの動作状態がリンクダウン状態であり、かつ、アクション内容がリンクアップ状態に遷移する第2コマンドであるエントリとを有し、
ポートに対応する前記指示入力部が操作されることにより、ポートの動作状態に応じたコマンドが実行されて、該指示入力部に対応するポートの動作状態が、リンクダウン状態からリンクアップ状態に遷移する請求項1に記載の通信装置。
The operational state of the port includes a link up state and a link down state,
The storage unit is configured such that, for a predetermined port, an entry in which the port operation state is a link-up state and the action content is a third command that does not change the port operation state, and the port operation state is a link-down state. And an entry that is a second command whose action content makes a transition to the link-up state,
By operating the instruction input unit corresponding to the port, a command corresponding to the operation state of the port is executed, and the operation state of the port corresponding to the instruction input unit transitions from the link-down state to the link-up state. The communication device according to claim 1.
前記ポートの動作状態は、リンクダウン状態及びテスト状態を含み、
前記記憶部は、所定のポートに対して、ポートの動作状態がリンクダウン状態であり、かつ、アクション内容がポートのテストを行う第4コマンドであるエントリと、ポートの動作状態がテスト状態であり、かつ、アクション内容がリンクダウン状態に遷移する第1コマンドであるエントリとを有し、
ポートに対応する前記指示入力部が操作されることにより、リンクダウン状態のポートに対しテストが実行される請求項1に記載の通信装置。
The operational state of the port includes a link down state and a test state,
In the storage unit, for a predetermined port, the port operation state is a link-down state, and the action content is a fourth command for testing the port, and the port operation state is a test state And an entry that is a first command whose action content makes a transition to the link-down state,
The communication apparatus according to claim 1, wherein a test is executed for a port in a link-down state by operating the instruction input unit corresponding to the port.
テスト対象のポートに接続されるループコネクタをさらに備える請求項4に記載の通信装置。   The communication device according to claim 4, further comprising a loop connector connected to the port to be tested. 前記指示入力部とともに操作される拡張ボタン
をさらに備え、
前記記憶部は、
ポート毎に、前記ポートの動作状態と、拡張ボタンの識別子と、前記アクション内容が対応した構成定義情報が記憶され、
前記制御部は、前記指示入力部のいずれかと前記拡張ボタンがともに操作されると、前記ポート状態管理部及び前記記憶部を参照し、該指示入力部に対応するポートの動作状態と拡張ボタンの識別子に応じたアクション内容を特定して、該アクション内容のコマンドを実行する請求項1に記載の通信装置。
Further comprising an expansion button operated together with the instruction input unit,
The storage unit
For each port, the operation status of the port, the identifier of the extended button, and the configuration definition information corresponding to the action content are stored,
When either one of the instruction input units and the expansion button are operated, the control unit refers to the port state management unit and the storage unit, and determines the operation state of the port corresponding to the instruction input unit and the expansion button. The communication apparatus according to claim 1, wherein the action content corresponding to the identifier is specified and a command of the action content is executed.
前記ポート及び前記指示入力部と対応する複数の表示部
をさらに備え、
前記制御部は、前記端末から入力された構成定義情報が前記記憶部に記憶されている前記ポートについて、該ポートに対応する表示部に、構成定義情報が設定され、操作対象のポートであることを表示する請求項1に記載の通信装置。
A plurality of display units corresponding to the port and the instruction input unit;
The control unit is a port to be operated for which the configuration definition information is set in a display unit corresponding to the port for which the configuration definition information input from the terminal is stored in the storage unit. The communication device according to claim 1, wherein
前記ポート及び前記指示入力部と対応する複数の表示部
をさらに備え、
前記ポート状態管理部は、ポート毎に、該ポートに対応する前記表示部の表示状態をさらに管理し、
前記記憶部は、ポート毎に、前記ポートの動作状態と、該ポートに対するポートアクション内容と、前記表示部に対する表示部アクション内容とが対応した構成定義情報が記憶され、
前記制御部は、前記指示入力部のいずれかが操作されると、前記ポート状態管理部及び前記記憶部を参照し、該指示入力部に対応するポートの動作状態に応じたポートアクション内容と表示部アクション内容を特定して、該ポートアクション内容のコマンドをポートに対して実行し、及び、表示部アクション内容のコマンドを前記表示部に対して実行する請求項1に記載の通信装置。
A plurality of display units corresponding to the port and the instruction input unit;
The port state management unit further manages, for each port, the display state of the display unit corresponding to the port,
The storage unit stores, for each port, configuration definition information corresponding to the operation state of the port, the port action content for the port, and the display unit action content for the display unit,
When any one of the instruction input units is operated, the control unit refers to the port state management unit and the storage unit, and displays port action contents and display according to the operation state of the port corresponding to the instruction input unit. The communication apparatus according to claim 1, wherein a part action content is specified, a command of the port action content is executed on the port, and a command of the display part action content is executed on the display unit.
前記ポートに速度の異なる複数のクロック信号を供給するクロック供給部
をさらに備え、
前記ポート状態管理部が管理するポートの動作状態は、リンク状態及びポートの動作クロック情報を含み、
前記記憶部は、
ポート毎に、前記リンク状態及びポートの動作クロック情報を含むポートの動作状態と、前記アクション内容とが対応した構成定義情報が記憶され、
前記制御部は、前記指示入力部のいずれかが操作されると、前記ポート状態管理部及び前記記憶部を参照し、該指示入力部に対応するポートのリンク状態と該ポートの動作クロック情報に応じたアクション内容を特定して、該アクション内容に従い前記クロック供給部から前記ポートへのクロックの速度を変更させる請求項1に記載の通信装置。
A clock supply unit for supplying a plurality of clock signals having different speeds to the port;
The port operation state managed by the port state management unit includes a link state and port operation clock information,
The storage unit
For each port, configuration definition information corresponding to the operation status of the port including the link status and the operation clock information of the port and the action content is stored,
When any one of the instruction input units is operated, the control unit refers to the port state management unit and the storage unit, and sets the link state of the port corresponding to the instruction input unit and the operation clock information of the port. The communication apparatus according to claim 1, wherein the content of the corresponding action is specified, and the clock speed from the clock supply unit to the port is changed according to the content of the action.
前記ポートに電力を供給する電源部
をさらに備え、
前記ポート状態管理部が管理するポートの動作状態は、リンク状態及びポートへの供給電力情報を含み、
前記記憶部は、
ポート毎に、前記リンク状態及び該ポートへの供給電力情報を含むポートの動作状態と、前記アクション内容とが対応した構成定義情報が記憶され、
前記制御部は、前記指示入力部のいずれかが操作されると、前記ポート状態管理部及び前記記憶部を参照し、該指示入力部に対応するポートのリンク状態と該ポートへの供給電力情報に応じたアクション内容を特定して、該アクション内容に従い前記電源部から前記ポートへの供給される電力を変更させる請求項1に記載の通信装置。
A power supply for supplying power to the port;
The operation state of the port managed by the port state management unit includes a link state and power supply information to the port,
The storage unit
For each port, configuration definition information corresponding to the action status and the operation status of the port including the link status and power supply information to the port is stored,
When any one of the instruction input units is operated, the control unit refers to the port state management unit and the storage unit, and the link state of the port corresponding to the instruction input unit and the power supply information to the port The communication device according to claim 1, wherein the action content corresponding to is specified, and the power supplied from the power supply unit to the port is changed according to the action content.
JP2011154177A 2011-07-12 2011-07-12 Communication device Withdrawn JP2013021561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011154177A JP2013021561A (en) 2011-07-12 2011-07-12 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011154177A JP2013021561A (en) 2011-07-12 2011-07-12 Communication device

Publications (1)

Publication Number Publication Date
JP2013021561A true JP2013021561A (en) 2013-01-31

Family

ID=47692540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011154177A Withdrawn JP2013021561A (en) 2011-07-12 2011-07-12 Communication device

Country Status (1)

Country Link
JP (1) JP2013021561A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021001867A1 (en) * 2019-07-01 2021-01-07 日本電信電話株式会社 Exchange management device, exchange management method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021001867A1 (en) * 2019-07-01 2021-01-07 日本電信電話株式会社 Exchange management device, exchange management method, and program
JPWO2021001867A1 (en) * 2019-07-01 2021-01-07

Similar Documents

Publication Publication Date Title
JP6380654B2 (en) Modular analysis system
NO324385B1 (en) Control device for a welding apparatus
JP6628775B2 (en) Touch panel switch device
CN102611600B (en) Method and device for locating short circuit position of CAN (Controller Area Network) network
US7069106B2 (en) Sequence circuit display method of injection molding machine
CN105591853A (en) Flexible Scheduling Method And Apparatus In LIN Communication
US20130253667A1 (en) Logic diagram processing device and logic diagram processing method
US9460620B2 (en) Systems and methods for detecting yellow trap sequences
JP2013021561A (en) Communication device
EP3432098B1 (en) Relay device, control method for relay device, control program, and recording medium
CN105955242A (en) EMU MPU offline variable monitoring system and method
JP5054654B2 (en) Plant operation device
CN102782305A (en) Engine controller and method for controlling circuit
AU2015214377A1 (en) Remote monitoring system for handheld electronic devices
US11584548B2 (en) Dynamic fault isolation for aircraft
KR20160074908A (en) Internal wiring monitoring cabinet, monitoring system and cabinet internal wiring monitoring method
US10726646B2 (en) Serial communication system for automotive circuits
US9599970B2 (en) Safety critical control system that includes control logic or machine readable instructions that selectively locks or enables the control system based on one or more machine implemented state machines that includes states associated with detection or matching of one or more predetermined signals on distinct conduction paths between elements of the control system and related methods
JP2014052671A (en) Programmable logic controller
JP2009005225A (en) Multiplex transmission system
JP6275968B2 (en) Lamp unit control system
WO2015198379A1 (en) New-slave-station setting scheme of control/monitor signal transmission system
CN221200732U (en) Vehicle-mounted overturning screen testing system and device
CN115086167B (en) Parameter configuration method, device, computer equipment and storage medium
KR20200065391A (en) Interface apparatus for operating automatic system of vessel applicated collision avodiance technology

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141007