JP2005057566A - Communication control processor and program - Google Patents
Communication control processor and program Download PDFInfo
- Publication number
- JP2005057566A JP2005057566A JP2003287541A JP2003287541A JP2005057566A JP 2005057566 A JP2005057566 A JP 2005057566A JP 2003287541 A JP2003287541 A JP 2003287541A JP 2003287541 A JP2003287541 A JP 2003287541A JP 2005057566 A JP2005057566 A JP 2005057566A
- Authority
- JP
- Japan
- Prior art keywords
- reset
- processing
- communication
- processing unit
- communication control
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、階層化された複数の通信処理部を持つ機器が、ネットワークを介して制御のやり取りを行うシステムにおいて、動作中の機器のリセットを行う為の通信制御処理装置及びプログラムに関するものである。 The present invention relates to a communication control processing apparatus and program for resetting an operating device in a system in which devices having a plurality of hierarchical communication processing units exchange control over a network. .
従来、通信アダプタを外部配置したものを含む通信機能を持つ機器(以下、通信制御処理装置とも呼ぶ)のリセット処理としては、異常等検出時などリセットが必要となった場合には機器全体のリセットを行う構成や、通信処理部が物理的に機器本体と分離された構成での、それぞれの物理的に分離された部位毎にリセット処理を行うなどの構成となっている。また、通常、通信によるリセット処理としては、個々の機器内部の特定部位のリセット処理というものではなく、システム全体として各機器をどのようにリセット処理するかというものであった(例えば、特許文献1参照)。 Conventionally, as a reset process for devices with communication functions (hereinafter also referred to as communication control processing devices), including those with externally arranged communication adapters, the entire device is reset when a reset is required, such as when an abnormality is detected. In the configuration in which the communication processing unit is physically separated from the device main body, the reset processing is performed for each physically separated part. Further, the reset process by communication is not a reset process of a specific part inside each device, but is a method of resetting each device as a whole system (for example, Patent Document 1). reference).
図10〜図12は、本発明の適用されるシステム及び従来の一般的な通信制御処理装置の構成を示すものである。図10〜図12を用いて、本発明の適用されるシステム及び従来の技術について説明する。図10は、本発明が適用される通信システムの1構成例を、図11は、従来の通信制御処理装置の一構成例を、図12は、外部から通信を介して通信制御処理装置をリセットする場合のシーケンスの一例を示す。 10 to 12 show a configuration of a system to which the present invention is applied and a conventional general communication control processing apparatus. The system to which the present invention is applied and the prior art will be described with reference to FIGS. FIG. 10 shows a configuration example of a communication system to which the present invention is applied, FIG. 11 shows a configuration example of a conventional communication control processing device, and FIG. 12 resets the communication control processing device via communication from the outside. An example of a sequence in the case of
図10において、100はECHONET(http://www.echonet.gr.jp/参照)等のネットワークを示し、101〜104はネットワーク100に接続され情報や制御のやり取りを行う機器(ネット対応エアコンや、ネット対応冷蔵庫など)を示す。
In FIG. 10,
図11において、111はネットワーク90上の通信の為の信号の送受信処理を行う送受信回路部を示し、112は主に通信のレイヤ1〜3の処理を実現する下位通信制御処理部を示し、113は主に通信のレイヤ4〜7の処理を実現する上位通信制御処理部を示し、114は機器本来の機能の制御処理を行い機器制御処理部を示し、115は機器のイニシャル処理を行うリセット処理部を示す。
In FIG. 11,
図12において、121は外部からの電文を示し、122は外部からの電文121に対する応答の電文を示し、123はリセット処理を示す。
In FIG. 12, 121 indicates a message from the outside, 122 indicates a message in response to the
本発明の適用されるネットワーク100において、図11のように、機器A101がネットワーク100を介して他の機器(例えば機器B102)からリセットの制御を受けるような場合、まず機器A101の送受信回路部111で信号を受け、下位通信制御処理部112で電文構成の確認や自己宛の確認などの主に通信のレイヤ1〜3に関る通信処理を行い、自己宛と判断した電文を上位通信制御処理部113へ渡す。前記電文を渡された上位通信制御処理部113では、主に通信のレイヤ4〜7に関る通信処理を行い、電文の制御内容の解析等を行ない、機器の制御の要求であれば、機器制御処理部114へその旨と通知するなどの処理を行う。
In the
前記上位通信制御処理部113で解析した電文の内容が、リセットの要求であった場合には、リセット処理部115へその旨を通知し、リセット処理部115では、下位通信制御処理部112と上位通信制御処理部113と機器制御処理部114を含めた機器A101のイニシャル処理を行っていた。
If the contents of the message analyzed by the higher-level communication
リセットの制御をうけた場合の処理シーケンスを図12を中心として示す。ネットワーク上の他の機器からのリセット制御要求電文(121)を受け取った上位通信処理部113では、受理した旨の電文を返信(122)する。その後、リセット処理部115を介して、下位通信処理部112、機器制御処理部114及び上位通信処理部113が一斉にリセット処理を行う(123)。
A processing sequence when the reset control is performed is shown mainly in FIG. Upon receiving the reset control request message (121) from another device on the network, the higher-level
本発明の適用されるシステムにおけるこれらの処理において、図11に示す従来の機器A101の構成では、以下のような場合にも機器全体としてのリセットを実施するしか汎用的な復旧方法が無く、機器の設定を再度実施する必要があった。 In these processes in the system to which the present invention is applied, with the configuration of the conventional device A101 shown in FIG. 11, there is only a general recovery method in which the entire device is reset even in the following cases. It was necessary to carry out the setting again.
(1)下位通信上の不具合が検出され、下位のみイニシャル処理したい場合
例えば、下位のアドレスがダブって付与されてしまい、下位のアドレスのみ再付与したい場合。例えば、下位の通信媒体に異常が発生し、解決したがそれぞれの状態を初期に戻したい場合など。
(1) When a malfunction in lower-order communication is detected and it is desired to perform initial processing only for the lower order. For example, when a lower address is doubled and given, only the lower order address is given again. For example, when an error has occurred in a lower-level communication medium and it has been resolved, but you want to return each state to its initial state.
(2)上位通信上の不具合が検出され、上位のみイニシャル処理したい場合
例えば、上位のアドレスがダブって付与されてしまい、上位のアドレスのみ再付与したい場合。例えば、上位の状態の関連付けされた機器間での不一致が起こり、関連機器間において状態を初期に戻して再関連付けをしたい場合など。
(2) When a malfunction in upper communication is detected and only initial processing is desired. For example, when an upper address is doubled and given, only the upper address is given again. For example, when a mismatch occurs between devices associated with a higher-level state, and it is desired to re-associate the related devices by returning the state to the initial state.
また、特許文献1に記載されたように、機器に異常が発生した場合に、特定のリセット信号線を用意することなくリセットがかけれるようにするというものであり、シリアル通信手段を具備するといった構成をとっているが、これもリセットする対象の部位の詳細を指定してリセットするというものではなく、システム全体をリセットするというものであった。
前記従来の方法及び構成では、対象機器の他と切り離せる特定の部位での異常検出時やシステムとしての異常検出時に、部分的にイニシャル処理(以下リセット処理と呼ぶ)したいとしても、機器全体としてリセットする必要があり、機器の再起動やシステムの復旧において多大な手間がかかるといった課題を有していた。 In the conventional method and configuration, even when it is desired to partially perform initial processing (hereinafter referred to as reset processing) at the time of detecting an abnormality at a specific part that can be separated from the target device or when detecting an abnormality as a system, There is a problem that it is necessary to reset, and it takes a lot of trouble in restarting the device and restoring the system.
本発明は、前記従来の課題を解決するもので、通信に関る処理部を部分的にリセット処理することを可能とする通信制御処理装置及びプログラムを提供することを目的とする。 The present invention solves the above-described conventional problems, and an object of the present invention is to provide a communication control processing device and a program capable of partially resetting a processing unit related to communication.
前記従来の課題を解決するために、本発明の通信制御処理装置及びプログラムは、通信制御処理装置の機器の制御処理部も含めた各通信処理部毎にリセット処理が可能なリセット処理部を具備し、外部或いは内部からの要求に対して必要な部位を個別にリセット処理できる構成としたものである。 In order to solve the above-described conventional problems, the communication control processing device and the program of the present invention include a reset processing unit capable of performing reset processing for each communication processing unit including the control processing unit of the device of the communication control processing device. However, it is possible to individually reset a necessary part in response to a request from the outside or the inside.
これによって、機器内部或いはシステムとして不具合が発生した時に、機器全体をリセット処理することなく、必要な部位のみのリセット処理ができ、機器或いはシステムの復旧をはやめることができるようになる。 As a result, when a malfunction occurs in the device or in the system, only the necessary part can be reset without resetting the entire device, and recovery of the device or system can be stopped.
また、本発明の通信制御処理装置及びプログラムは、個々のリセット処理のために、リセット要求を受けてからリセット処理を開始するまでの時間情報を保持する構成としたものである。 In addition, the communication control processing device and the program of the present invention are configured to hold time information from when a reset request is received until the reset processing is started for each reset processing.
これによって、特に複数の機器を要するシステムでの複数の機器のリセット処理においては、リセット処理の要求側で、それぞれのリセット処理の開始時間等タイミングの把握や制御ができ、システム管理効率をあげることができるようになる。 As a result, especially in the reset processing of multiple devices in a system that requires multiple devices, the reset processing request side can grasp and control the timing, such as the start time of each reset processing, and increase system management efficiency. Will be able to.
また、本発明の通信制御処理装置及びプログラムは、個々のリセット処理要求が外部からもできるように構成したものである。 The communication control processing apparatus and program of the present invention are configured so that individual reset processing requests can be made from the outside.
これによって、遠隔でのリセット処理が可能となり、特に複数の機器を要するシステムでは、いちいち個別に機器の個別リセットを設定していくということが必要なくなる。 As a result, remote reset processing can be performed, and in particular, in a system that requires a plurality of devices, it is not necessary to individually set individual device resets.
また、本発明の通信制御処理装置及びプログラムは、リセット制御要求受理後は、実際のリセット要求が完了するまでは、別の制御要求は受け付けない構成としたものである。 In addition, the communication control processing device and the program of the present invention are configured such that after receiving a reset control request, another control request is not accepted until the actual reset request is completed.
これによって、リセットを行っている途中で受け付けた別の制御要求がリセット処理の影響で無くなってしまい、制御を行った側での認識(別の制御要求が受けとられ、実施されるという認識)と実際の動作(別の制御要求が途中で廃棄され、実施されない)と異なってしまうということがなくなる。 As a result, another control request received during the resetting process is lost due to the reset process, and the control side recognizes (recognition that another control request is received and executed). And the actual operation (another control request is discarded and not executed) is eliminated.
また、本発明の通信制御処理装置及びプログラムは、リセット制御要求の為の電文の構成として、制御要求であることを指定する部分と指定した制御がリセット要求であることを示す部分とリセットを行う部位を示す部分とを少なくとも含む構成としたものである。 In addition, the communication control processing device and the program according to the present invention, as a message structure for a reset control request, perform a reset with a part designating that it is a control request and a part indicating that the designated control is a reset request. It is set as the structure containing at least the part which shows a site | part.
これによって、リセットをかけたい機器の部位の指定ができるようになる。 As a result, it is possible to specify the part of the device to be reset.
また、本発明の通信制御処理装置及びプログラムは、リセット制御要求の為の電文の構成として、制御要求であることを指定する部分と指定した制御がリセット要求であることを示す部分とリセットを行う部位を示す部分と要求したリセットの開始時間を指定する部分とを少なくとも含む構成としたものである。 In addition, the communication control processing device and the program according to the present invention, as a message structure for a reset control request, perform a reset with a part designating that it is a control request and a part indicating that the designated control is a reset request. It is configured to include at least a part indicating a part and a part for specifying a requested reset start time.
これによって、リセットをかけたい機器の部位毎に、リセット処理の開始時間の指定ができるようになる。 As a result, the reset process start time can be specified for each part of the device to be reset.
本発明の通信制御処理装置及びプログラムは、部分的なリセットで普及するような不具合発生時には、機器全体をイニシャル処理することなく、機器内部の部分リセットができる。 The communication control processing device and program according to the present invention can perform a partial reset inside the device without initial processing of the entire device when a malfunction that becomes widespread by partial reset occurs.
第1の発明は、通信ネットワークに接続され、階層構造化された複数の通信処理部を有する機器(通信制御処理装置)において、それぞれの通信処理部のリセット処理を個別に実現可能な複数のリセット処理部を具備することにより、機器(通信制御処理装置)を構成する複数の通信処理部を個別にリセット処理できるようになり、機器及びシステムにおける不具合発生時の復旧期間の短縮を行うことができる。 A first invention is a device (communication control processing device) connected to a communication network and having a plurality of hierarchical communication processing units, and a plurality of resets capable of individually realizing reset processing of each communication processing unit By providing the processing unit, a plurality of communication processing units constituting the device (communication control processing device) can be individually reset, and the recovery period when a failure occurs in the device and the system can be shortened. .
第2の発明は、特に、第1の発明の通信処理部として、下位メディアの通信にかかわる主に通信のレイヤ1〜3の通信処理部と、下位メディアに関係無く共通な処理となる主に通信のレイヤ4〜7の通信処理部とを含んで構成し、それぞれのリセット処理部を設けることにより、機器及びシステムにおける不具合発生時の復旧がより効率的に行うことができる。 In particular, the second invention is mainly a communication processing unit of the first invention, which is mainly involved in communication of the lower layer media and the communication processing units of the communication layers 1 to 3 that are not related to the lower level media. By including the communication processing units of the communication layers 4 to 7 and providing the respective reset processing units, it is possible to more efficiently perform recovery when a failure occurs in the device and the system.
第3の発明は、特に、第1または第2の発明の個々のリセット処理部のリセット処理を開始する時間を保持しておくリセット開始時間保持部を含んで構成することにより、リセット処理の要求側で、それぞれのリセット処理の開始時間等タイミングの把握や制御ができ、システム管理効率をあげることができるようになる。 In particular, the third invention includes a reset start time holding unit that holds a time for starting the reset process of each reset processing unit of the first or second invention, thereby requesting the reset process. On the other hand, it is possible to grasp and control the timing such as the start time of each reset process, and to improve the system management efficiency.
第4の発明は、特に、第1〜3のいずれか一つの発明のリセット処理要求をネットワークの他の機器から行えるように構成することにより、ネットワーク上の通信機能を具備した機器からリセットの要求が行えることになり、不具合を検出して部分的なリセット処理が必要となった場合でも、離れた場所から制御ができ、システムの管理効率をあげることができる。 According to the fourth aspect of the invention, in particular, the reset processing request according to any one of the first to third aspects can be made from another device on the network, thereby requesting a reset from the device having the communication function on the network. Therefore, even if a malfunction is detected and partial reset processing is required, control can be performed from a remote location, and the management efficiency of the system can be improved.
第5の発明は、特に、第1〜4のいずれか一つの発明のリセット処理要求の処理中の、その他別の制御要求は受け付けないように構成することにより、その他別の制御要求を行った相手の認識と機器の実際の動作の同期を取ることができ、システム上の機器の状態把握の不具合解消となる。 In the fifth aspect of the invention, in particular, another control request is made by not accepting another control request during the processing of the reset process request of any one of the first to fourth aspects of the invention. It is possible to synchronize the recognition of the other party and the actual operation of the device, and solve the problem of grasping the status of the device on the system.
第6の発明は、特に、第1〜5のいずれか一つの発明のリセット処理要求の電文を、リセット処理実施の指定情報とリセット処理実施の通信処理部の指定情報とを少なくとも含み、リセット処理実施の応答電文は、リセット処理実施の応答情報とリセット処理実施の通信処理部の指定情報とを少なくとも含むように構成することにより、リセットをかけたい機器の部位の指定ができ、また、処理部も階層構造化した構成とでき、将来拡張性に富んだ通信仕様となる。 The sixth invention, in particular, includes a reset processing request message according to any one of the first to fifth inventions, at least including reset processing execution designation information and communication processing unit designation information for reset processing execution. The implementation response message includes at least the response information for executing the reset process and the designation information for the communication processing unit for executing the reset process, so that the part of the device to be reset can be specified. Can be configured in a hierarchical structure, and the communication specification will be rich in future expansion.
第7の発明は、特に、第1〜5のいずれか一つの発明のリセット処理要求の電文を、リセット処理実施の指定情報とリセット処理実施の通信処理部の指定情報とリセット処理開始までの時間情報とを少なくとも含むように構成することにより、リセットをかけたい機器の部位の指定と共に、リセットを開始して欲しい時間の指定ができ、また、処理部も階層構造化した構成とでき、システムとしての機器制御のバリエーションの拡大となるとともに、将来拡張性に飛んだ通信仕様となる。 In the seventh invention, in particular, the reset processing request message according to any one of the first to fifth inventions, the reset processing execution specification information, the communication processing unit specification information of the reset processing execution, and the time until the reset processing start. By configuring it to include at least information, you can specify the part of the device you want to reset, specify the time you want to start resetting, and the processing unit can also be configured in a hierarchical structure, as a system In addition to the expansion of device control variations, it will become a communication specification that has jumped to expandability in the future.
第8の発明は、第1〜第7のいずれか1項記載の通信制御処理装置の機能の少なくとも一部をコンピュータに実行させるためのプログラムである。そして、プログラムであるので汎用コンピュータやマイコンを用いて本発明の通信制御処理装置の少なくとも一部を容易に実現することができる。また記録媒体に記録したり通信回線を用いてプログラムを配信したりすることでプログラムの配布やインストール作業が簡単にできる。 An eighth invention is a program for causing a computer to execute at least part of the functions of the communication control processing device according to any one of the first to seventh aspects. And since it is a program, at least one part of the communication control processing apparatus of this invention is easily realizable using a general purpose computer or a microcomputer. Also, program distribution and installation can be simplified by recording on a recording medium or distributing a program using a communication line.
以下、本発明の実施の形態について、図面を参照しながら説明する。なお、この実施の形態によって本発明が限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the present invention is not limited to the embodiments.
(実施の形態1)
図1は、本発明の第一の実施の形態における通信制御処理装置の本発明にかかわる機能ブロック図を示すものである。
(Embodiment 1)
FIG. 1 is a functional block diagram related to the present invention of the communication control processing apparatus in the first embodiment of the present invention.
図1において、ネットワーク100は本発明が適用されるシステムを構成する通信系であり、機器A(以下、通信制御処理装置と呼ぶ)101は、前記ネットワーク100と物理的に接続する為の送受信回路部111と下位通信制御処理部14と上位通通信制御処理部15と機器制御処理部16を有している。前記下位通信制御処理部14は、主に通信のレイヤ1〜3の処理を実現し、その処理のイニシャル処理を行うリセット処理部A11を有している。前記上位通信制御処理部15は、主に通信のレイヤ4〜7の処理を実現し、その処理のイニシャル処理を行うリセット処理部B12を有してる。前記機器制御処理部16は、機器本来の機能の制御処理を行い、その処理のイニシャル処理を行うリセット処理部C13を有している。
In FIG. 1, a
以上のように構成された通信制御処理装置について、図1、図6、図10を用いて、その動作、作用を説明する。 About the communication control processing apparatus comprised as mentioned above, the operation | movement and an effect | action are demonstrated using FIG.1, FIG.6, FIG.10.
図6は、図12の従来のリセットケースにおける本発明の動作の一例を示す図である。矢印61a、65aは外部からの通信制御処理装置101へのリセット要求の為の電文の受け渡しを示し、61b、65bはそれぞれの電文の応答電文を示し、63、64、66、68、69は機器A101内部のそれぞれの処理部間での制御の流れを示し、62、67はそれぞれの処理部での処理を示す。
FIG. 6 is a diagram showing an example of the operation of the present invention in the conventional reset case of FIG.
図1のように、まず、本発明による通信制御処理装置101を構成する送受信回路部111は、ネットワーク100上の物理的な信号を下位通信処理部14へ渡し、下位通信制御処理部14からの送信データをネットワーク上へ物理的信号として送信する。下位通信制御処理部14は、送受信回路部111からの信号を解析して電文としての組み立てや、自分宛かどうかの判断や電文のエラー検出を行うなどの主に通信レイヤの1〜3の受信処理と、上位通信制御処理部15からの送信要求電文をネットワーク100の下位通信の電文として組み立て等の処理を行うなどの主に通信レイヤ1〜3の送信処理を行う。
As shown in FIG. 1, first, the transmission /
リセット処理部A11は、ネットワーク100により接続された他の機器からの要求や上位通信制御処理部15からの要求などによりリセット処理の実施を要求された場合、及び、下位通信制御処理部14が自信でリセットする必要があると判断した場合などに下位通信制御処理部14のみのリセット処理を実施する。
The reset processing unit A11 is confident that the lower-level communication
リセット処理部B12は、ネットワーク100により接続された他の機器からの要求や下位通信制御処理部14、及び、機器制御処理部16からの要求などによりリセット処理の実施を要求された場合、及び、上位通信制御処理部15が自信でリセットする必要があると判断した場合などに上位通信制御処理部15のみのリセット処理を実施する。
The reset processing unit B12 is requested to perform reset processing by a request from another device connected by the
リセット処理部C13は、ネットワーク100により接続された他の機器からの要求を上位通信制御処理部15経由で受け取った場合、機器制御処理部16が自信でリセットする必要があると判断した場合などに機器制御処理部16のみのリセット処理を実施する。
The reset processing unit C13 receives a request from another device connected via the
なお、本実施例の形態では、個々のリセット処理部をそれぞれの処理対象となる処理部内に設けた例を示したが、リセット対象となる処理部の外に位置してもよい。 In addition, although the example which provided each reset process part in the process part used as each process object was shown in the form of a present Example, you may be located outside the process part used as a reset object.
本発明による通信制御処理装置101では、図6(1)に示すように、ネットワーク100上の他の機器から上位通信処理部のリセット要求の電文を受信(61a)した場合には、受理の応答を返信(61b)後に、リセット処理部B12へリセット処理要求を通知しリセットを行う(62)。
In the communication
リセット要求の受信電文(61a)が、下位通信制御処理部14のリセット要望であった場合には、図6(2)に示すように、受理応答を返信(65b)後、下位通信制御処理部14のリセット要求を下位通信制御処理部14へ行う(66)。下位通信制御処理部14では、前記下位通信制御処理部への要求(66)を受け取り、下位通信制御処理部のリセット処理を実施(67)する。
When the received message (61a) of the reset request is a reset request of the lower-level communication
上位通信制御処理部15では、リセット処理(62)完了後には機器制御処理部16と下位通信制御処理部14へそれぞれリセットを行った旨の通知を行う(63、64)。
The host communication
同様に、下位通信制御処理部14では、リセット処理(67)完了後には機器制御処理部16と上位通信制御処理部15へそれぞれリセットを行った旨の通知を行う(68、69)。
Similarly, the lower communication
ここで下位通信制御処理部14からの通知は、上位通信制御処理部15へのみとしても構わない。その場合、上位通信制御処理部15で必要性を判断し、機器制御処理部16へ通知するかどうかを判断することができる。
Here, the notification from the lower communication
以上のように、本実施の形態においては、階層化された複数の通信処理部それぞれのリセット処理を行うリセット処理部をもつ構成とすることにより、部分的なリセット処理が実現でき、機器及びシステムにおける不具合発生時の復旧期間の短縮を行うなど、システム動作の効率化がはかれる。 As described above, in the present embodiment, by having a reset processing unit that performs reset processing for each of a plurality of hierarchical communication processing units, partial reset processing can be realized, and the device and system The system operation efficiency can be improved by shortening the recovery period when a problem occurs in the system.
また、本実施の形態において、上位通信処理部で上位通信処理部及び下位通信処理部のリセットを判断するとしたことにより、機器制御処理部の負荷の軽減が行える。 Further, in the present embodiment, it is possible to reduce the load on the device control processing unit by determining that the upper communication processing unit and the lower communication processing unit are reset in the upper communication processing unit.
また、本実施の形態において、それぞれの処理部でリセット処理実行後に、他の処理部に部分リセットを行った旨を通知するとしたことにより、関連する他の処理部ではリセット状況を把握でき、必要に応じてそれぞれの部位にてリセットが発生した際に必要となる処理を行うことができる。 In this embodiment, after executing the reset process in each processing unit, the other processing units are notified that the partial reset has been performed. Accordingly, processing required when a reset occurs in each part can be performed.
(実施の形態2)
図2は、本発明の第二の実施の形態における通信制御処理装置の本発明にかかわる機能ブロック図を示すものである。図2において、通信制御処理装置101は、図1の構成に加え、リセット処理部A11に、下位通信制御処理部14のリセットの要求が発生した際のリセットを実施するまでの時間を保持するリセット開始時間保持部21を有し、リセット処理部B12に、上位通信制御処理部15のリセットの要求が発生した際のリセットを実施するまでの時間を保持するリセット開始時間保持部22を有し、リセット処理部C13に、機器制御処理部16のリセットの要求が発生した際のリセットを実施するまでの時間を保持するリセット開始時間保持部23を有している。
(Embodiment 2)
FIG. 2 is a functional block diagram relating to the present invention of the communication control processing device in the second embodiment of the present invention. 2, in addition to the configuration of FIG. 1, the communication
以上のように構成された通信制御処理装置について、図2、図7、図10を用いて、その動作、作用を説明する。 About the communication control processing apparatus comprised as mentioned above, the operation | movement and an effect | action are demonstrated using FIG.2, FIG.7, FIG.10.
図7は、図12の従来のリセットケースにおける本発明の動作の一例を示す図である。矢印71aは外部からの通信制御処理装置101へのリセット要求の為の電文の受け渡しを示し、71bは前記電文の応答電文を示し、72、73、74は上位通信制御処理部15での処理を示し、75、76は通信制御処理装置101内部のそれぞれの処理部間での制御の流れを示す。
FIG. 7 is a diagram showing an example of the operation of the present invention in the conventional reset case of FIG. An
まず、図2にように、本発明による通信制御処理装置101を構成する送受信回路部111は、ネットワーク100上の物理的な信号を下位通信処理部14へ渡し、下位通信制御処理部14からの送信データをネットワーク上へ物理的信号として送信する。下位通信制御処理部14は、送受信回路部111からの信号を解析して電文としての組み立てや、自分宛かどうかの判断や電文のエラー検出を行うなどの主に通信レイヤの1〜3の受信処理と、上位通信制御処理部15からの送信要求電文をネットワーク100の下位通信の電文として組み立て等の処理を行うなどの主に通信レイヤ1〜3の送信処理を行う。
First, as shown in FIG. 2, the transmission /
リセット処理部A11は、ネットワーク100により接続された他の機器からの要求があった場合や上位通信制御処理部15からの要求があった場合、及び、下位通信制御処理部14が自身でリセットする必要があると判断した場合などでリセット処理の実施を要求された場合などに、要求されたリセットを開始する時間情報も合わせて取得し、前記情報をリセット開始時間保持部21に設定し、リセット開始までの時間カウントを開始し、時間が経過した段階で下位通信制御処理部14のリセット処理を実施する。
The reset processing unit A11 resets itself when there is a request from another device connected by the
リセット処理部B12は、ネットワーク100により接続された他の機器からの要求があった場合、下位通信制御処理部14や機器制御処理部16からの要求があった場合、及び上位通信制御処理部15が自身でリセットする必要があると判断した場合などに、要求されたリセットを開始する時間情報も合わせて取得し、前記情報をリセット開始時間保持部22に設定し、リセット開始までの時間カウントを開始し、時間が経過した段階で上位通信制御処理部15のリセット処理を実施する。
The reset processing unit B12 receives a request from another device connected via the
リセット処理部C13は、ネットワーク100により接続された他の機器からの要求を上位通信制御処理部15経由で受け取った場合、機器制御処理部16が自身でリセットする必要があると判断した場合などに、要求されたリセットを開始する時間情報も合わせて取得し、前記情報をリセット開始時間保持部23に設定し、リセット開始までの時間カウントを開始し、時間が経過した段階で機器制御処理部16のリセット処理を実施する。
なお、本実施例の形態では、個々のリセット開始時間保持部をリセット処理部内に設けた例を示したが、リセット処理部外に配置してもよい。
The reset processing unit C13 receives a request from another device connected via the
In addition, although the example which provided each reset start time holding | maintenance part in the reset process part was shown in the form of a present Example, you may arrange | position outside a reset process part.
本発明による通信制御処理装置101では、図7に示すように、ネットワーク100上の他の機器から上位通信処理部14のリセット要求の電文を受信(71a)した場合には、受理の応答を返信(71b)後に、リセット処理部B12へリセット処理要求を通知し、リセット処理部B12では、内部で保持しているか或いは前記受信した電文に指定されたリセット開始までの時間をリセット開始時間保持部21に設定し、リセット開始待ちのタイマを起動(72)する。リセット処理部B12では、リセット待ち時間が経過した段階でリセット待ちタイマを停止(73)し、リセットを行う(74)。リセット処理(74)完了後には機器制御処理部16と下位通信制御処理部14へそれぞれリセットを行った旨の通知を行う(75、76)。下位通信制御処理部14、機器制御処理部15のリセット要求の場合も同様の処理となる。
In the communication
以上のように、本実施の形態においては、第1の実施の形態の効果に加え、階層化された複数の通信処理部それぞれのリセット処理を行うリセット処理部にさらにリセット開始時間保持部をもつ構成とすることにより、部分的なリセット処理が指定の待ち時間にて実現でき、機器及びシステムにおける不具合発生時の制御の拡張性がはかれる。 As described above, in this embodiment, in addition to the effects of the first embodiment, the reset processing unit that performs reset processing for each of the plurality of hierarchical communication processing units further includes a reset start time holding unit. With this configuration, a partial reset process can be realized with a specified waiting time, and the expandability of control when a malfunction occurs in the device and system can be achieved.
(実施の形態3)
図3は、本発明の第三の実施の形態における通信制御処理装置の本発明にかかわる機能ブロック図を示すものである。
(Embodiment 3)
FIG. 3 is a functional block diagram related to the present invention of the communication control processing device in the third embodiment of the present invention.
図3において、通信制御処理装置101は、図2の構成に加え、リセット処理中かどうかを示すリセット処理中指示部31を有している。
3, the communication
以上のように構成された通信制御処理装置について、図3、図8、図9を用いて、その動作、作用を説明する。 About the communication control processing apparatus comprised as mentioned above, the operation | movement and an effect | action are demonstrated using FIG.3, FIG.8, FIG.9.
図8は、図2に示した実施の形態2における動作の一例を示す図である。図8は、図7と同様の処理ケースにおける本発明の動作の一例を示す図である。 FIG. 8 is a diagram showing an example of the operation in the second embodiment shown in FIG. FIG. 8 is a diagram showing an example of the operation of the present invention in the same processing case as FIG.
矢印81a、外部からの通信制御処理装置101へのリセット要求の為の電文の受け渡しを示し、81bは前記電文の応答電文を示し、83aはリセットに関らない通常の機器制御処理部15への制御の要求電文を示し、83bは83aの受理応答を示し、82、85、86は、上位通信制御処理部15での処理を示し、87、88は、通信制御処理装置101内部のそれぞれの処理部間での制御の流れを示す。
An
まず、本発明による通信制御処理装置101を構成する上位通信制御処理部15は、第二の発明の動きに加え、処理すべきリセット処理要求電文を受信時には、リセット処理中指示部31にリセット処理中となった旨の情報を保持し、リセット処理終了時点で前記リセット処理部31の情報をクリアする処理を行う。
First, the host communication
本実施例では、上位通信制御処理部15にリセット処理中表示部31を持たせる構成として示したが、リセット処理中指示部31は、下位通信制御処理部14に持たせる構成としてもよい。
In the present embodiment, the upper communication
第二の実施例においては、本発明による通信制御処理装置101では、図8に示すように、ネットワーク100上の他の機器から上位通信処理部14のリセット要求の電文を受信(81a)した場合には、受理の応答を返信(81b)後に、リセット処理部B12へリセット処理要求を通知し、リセット処理部B12では、内部で保持しているか或いは前記受信した電文に指定されたリセット開始までの時間をリセット開始時間保持部21に設定し、リセット開始待ちのタイマを起動(82)する。その後、第二の実施例においては、前記リセット開始待ちタイマがリセット待ち時間経過85となる前に、ネットワーク100上の他の機器からリセット処理に無関係な機器の制御の要求電文(83a)した場合には、応答電文を返信(83b)し、機器制御処理部16へ要求を渡前にリセット待ち時間が経過した(85)場合には、機器制御処理部16へ要求を渡すことなくリセット処理を実施(86)し、その結果を下位通信制御処理部14と機器制御処理部へ通知することとなる。この場合、制御要求電文を送信(83a)してきた機器においては、応答電文の返信(83b)を受け取っており、本通信制御処理装置101が処理を実施していると判断してしまう。
In the second embodiment, the communication
本発明による通信制御処理装置101では、図9に示すように、ネットワーク100上の他の機器から上位通信処理部14のリセット要求の電文を受信(91a)した場合には、受理の応答を返信(91b)後に、リセット処理部B12へリセット処理要求を通知し、リセット処理部B12では、内部で保持しているか或いは前記受信した電文に指定されたリセット開始までの時間をリセット開始時間保持部21に設定し、リセット開始待ちのタイマを起動(92)し、且つ、リセット処理中指示部31にリセット処理中であることを示す情報を蓄積する(93)。
In the communication
その後、前記リセット開始待ちタイマがリセット待ち時間経過95となる前に、ネットワーク100上の他の機器からリセット処理に無関係な機器の制御の要求電文(94a)した場合には、処理不可を示す応答を返信(94b)し、処理は行わない。その後、リセット待ち時間が経過した(95)段階で、リセット処理を実施(96)し、合わせてリセット処理中指示部31の処理中解除とし(97)、その結果を下位通信制御処理部14と機器制御処理部へ通知する。
Thereafter, if a request message (94a) for controlling the device unrelated to the reset processing is sent from another device on the
本件は、リセット待ち時間がある場合を例にとり説明したが、第一の実施例のように特にリセット待ち時間を有さない場合であっても、リセット処理が完了するまでは、電文を受け付けない構成としてもよい。 In this case, the case where there is a reset waiting time has been described as an example. However, even if there is no reset waiting time as in the first embodiment, a message is not accepted until the reset process is completed. It is good also as a structure.
以上のように、本実施の形態においては、第1の実施の形態及び第2の実施の形態の効果に加え、リセット処理中であることを示す情報をもち、リセット処理中である場合には、外部からの制御を受け付けないようにすることにより、システム上で同じ機器に対して異なる情報が保持される状況をふせぐことができる。 As described above, in the present embodiment, in addition to the effects of the first embodiment and the second embodiment, there is information indicating that the reset process is being performed, and the reset process is being performed. By not accepting external control, it is possible to prevent a situation where different information is held for the same device on the system.
(実施の形態4)
図4は、本発明の第一及び第三の実施の形態において、ネットワークに接続された機器間でリセット制御を行う為の電文の構成例を示すものである。
(Embodiment 4)
FIG. 4 shows a configuration example of a message for performing reset control between devices connected to a network in the first and third embodiments of the present invention.
図4において、電文の構成としては、読み出しの要求か応答かを指定する要求応答指定部40(サービスコード=SV)と読み出し対象とする情報を示す情報種別指定部41(プロパティコード=PC)と、情報種別指定部41で示された情報がリセット部位を指定する情報43であった場合にはリセット部位を示すデータ部42を構成要素として持つ。43a〜43dは、具体的なリセット部位の指定例を示すものである。
In FIG. 4, as the configuration of the message, a request response designating unit 40 (service code = SV) for designating whether it is a read request or a response, and an information type designating unit 41 (property code = PC) indicating information to be read. When the information indicated by the information
図4ように構成された電文について、例えば、通信制御処理装置101がネットワーク100上の他の機器からの下位通信制御処理部を指定(43a)した電文を受け取った場合には、通信制御処理部101の各部位は、図6の(1)に示した処理を実施する。
For a message configured as shown in FIG. 4, for example, when the communication
図4では、要求応答指定部40と情報種別指定部41とデータ部42が連続して構成された形となっているが、実際の電文上は、各部の配置位置は、連続していなくてもよい。
In FIG. 4, the request
以上のように、本発明によれば、複数のリセット処理部の処理要求の為の電文を、リセット処理情報であることの指定情報と、リセット部位の指定情報とを含むように構成することにより、ネットワークを介してのリセット処理要求が容易におこなえるようになる。 As described above, according to the present invention, a message for processing requests of a plurality of reset processing units is configured so as to include designation information indicating reset processing information and designation information of a reset part. The reset processing request via the network can be easily performed.
(実施の形態5)
図5は、本発明の第二及び第三の実施の形態において、ネットワークに接続された機器間でリセット制御を行う為の電文の構成例を示すものである。
図5において、電文の構成としては、実施の形態4に加え、データ部にリセット開始時間指定情報部51を構成要素として持つ。
(Embodiment 5)
FIG. 5 shows a configuration example of a message for performing reset control between devices connected to a network in the second and third embodiments of the present invention.
5, in addition to the fourth embodiment, the data structure includes a reset start time
図5ように構成された電文について、例えば、通信制御処理装置101がネットワーク100上の他の機器からの下位通信制御処理部を指定(43a)し、リセット開始時間を指定(51a)した電文を受け取った場合には、通信制御処理部101の各部位は、図7〜9に示した処理を実施する。
For the message configured as shown in FIG. 5, for example, the communication
図5では、要求応答指定部40と情報種別指定部41とデータ部50が連続して構成された形となっているが、実際の電文上は、各部の配置位置は、連続していなくてもよい。
In FIG. 5, the request
以上のように、本発明によれば、複数のリセット処理部の処理とあわせ、要求の為の電文を、リセット処理情報であることの指定情報と、リセット部位の指定情報と、リセット開始までの時間情報を含むように構成することにより、ネットワークを介してのリセット処理要求で細かな制御ができるようになり、例えば、全ての機器の下位通信処理部をリセットした場合に、立ち上げ処理でネットワーク上の通信トラフィックが増大するような場合には、制御を要求する側で時間制御することで、通信トラフィックを分散させることが容易におこなえるようになる。 As described above, according to the present invention, together with the processing of a plurality of reset processing units, the message for request includes the designation information indicating that it is reset processing information, the designation information of the reset part, and the reset start. By configuring it to include time information, it becomes possible to perform fine control with a reset processing request via the network. For example, when the lower communication processing unit of all devices is reset, the network is started up. When the above communication traffic increases, it is possible to easily distribute the communication traffic by performing time control on the side requesting the control.
以上のように本発明にかかわる通信制御処理装置及びプログラムは、機器の特定の部位での異常検出時やシステムとしての異常検出時に、機器内部を部分的にイニシャル処理することができるようになるもので、機器やシステムの異常検出時の復旧に限らず、メンテナンスなどの用途にも適用できる。 As described above, the communication control processing device and the program according to the present invention are capable of partially initializing the inside of a device when an abnormality is detected in a specific part of the device or when an abnormality is detected as a system. Thus, the present invention can be applied not only to recovery when an abnormality of a device or system is detected, but also to a purpose such as maintenance.
11 リセット処理部A(下位通信制御処理部のリセット処理部)
12 リセット処理部B(上位通信制御処理部のリセット処理部)
13 リセット処理部C(機器制御処理部のリセット処理部)
14 本発明による下位通信制御処理部
15 本発明による上位通信制御処理部
16 本発明による機器制御処理部
21 リセット開始時間保持部(下位通信制御処理部のリセット開始時間保持部)
22 リセット開始時間保持部(上位通信制御処理部のリセット開始時間保持部)
23 リセット開始時間保持部(機器制御処理部のリセット開始時間保持部)
31 リセット処理中指示部
40 要求応答指定部(サービスコード=SV)
41 情報種別指定部(プロパティコード=PC)
42、50 データ部(DT)
43 リセット部位指定コード部
51 リセット開始時間指定コード部
61a、61b、65a、65b ネットワーク上の他の機器との間の電文の遣り取り
62 上位通信制御処理部内処理
63、64、65、68、69 通信制御装置内各処理部間の制御の遣り取り
67 下位通信制御処理部内処理
71a、71b ネットワーク上の他の機器との間の電文の遣り取り
72、73、74 上位通信制御処理部内処理
75、76 通信制御装置内各処理部間の制御の遣り取り
91a、91b、94a、94b ネットワーク上の他の機器との間の電文の遣り取り
92、93、95、96、97 上位通信制御処理部内処理
98、99 通信制御装置内各処理部間の制御の遣り取り
100 対象とする通信ネットワーク
101、102、103、104 通信制御処理装置(通信機器)
111 送受信回路部
112 下位通信制御処理部
113 上位通信制御処理部
114 機器制御処理部
115 リセット処理部
11 Reset processing unit A (reset processing unit of lower communication control processing unit)
12 Reset processing unit B (reset processing unit of host communication control processing unit)
13 Reset processing unit C (reset processing unit of device control processing unit)
14 Lower communication control processing unit according to the
22 Reset start time holding unit (reset start time holding unit of host communication control processing unit)
23 Reset start time holding unit (reset start time holding unit of device control processing unit)
31 Reset
41 Information type specification part (property code = PC)
42, 50 Data part (DT)
43 Reset part
111 Transmission /
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003287541A JP2005057566A (en) | 2003-08-06 | 2003-08-06 | Communication control processor and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003287541A JP2005057566A (en) | 2003-08-06 | 2003-08-06 | Communication control processor and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005057566A true JP2005057566A (en) | 2005-03-03 |
Family
ID=34366496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003287541A Pending JP2005057566A (en) | 2003-08-06 | 2003-08-06 | Communication control processor and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005057566A (en) |
-
2003
- 2003-08-06 JP JP2003287541A patent/JP2005057566A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4658122B2 (en) | DMA controller, node, data transfer control method, and program | |
JP2019074800A (en) | Information update device and information update method | |
JP2010500673A (en) | Storage management system for maintaining consistency of remote copy data (storage management system, storage management method, and computer program) | |
CN104977875B (en) | Controller system with redundancy between peer and the method for operating the system | |
WO2017179537A1 (en) | Software update control device, software update control system, software update control method, and recording medium having software update control program stored thereon | |
JP2007172334A (en) | Method, system and program for securing redundancy of parallel computing system | |
TWI528155B (en) | Reset of processing core in multi-core processing system | |
US20110179307A1 (en) | Failover method and system for a computer system having clustering configuration | |
US7499987B2 (en) | Deterministically electing an active node | |
CN104683486A (en) | Method and device for processing synchronous messages in distributed system and distributed system | |
JP3748232B2 (en) | Data transmission device, display device, and control system | |
JP2007280313A (en) | Redundant system | |
JP2005057566A (en) | Communication control processor and program | |
JP2008021059A (en) | Information processor and processor function change method | |
JP4479564B2 (en) | Channel control method, program, and computer system during network system initialization | |
JP2008117268A (en) | Information management system | |
JP2008009518A (en) | Dual operation system | |
WO2012127629A1 (en) | Server system and method of executing maintenance of crossbar board in hot-line state | |
JP2006309292A (en) | Server device, server system, and method of switching system in server system | |
JP2008225745A (en) | Process control device, method, and program | |
JP4432975B2 (en) | Packet communication device, packet communication method, and packet communication program | |
JP5262492B2 (en) | Cluster system and command conflict control method | |
JP4193754B2 (en) | Data duplication method and program | |
JP2006072880A (en) | Information processing method, program, and system | |
JP2001256071A (en) | Redundant system |