JPH09163467A - Input data status change detector - Google Patents
Input data status change detectorInfo
- Publication number
- JPH09163467A JPH09163467A JP7320263A JP32026395A JPH09163467A JP H09163467 A JPH09163467 A JP H09163467A JP 7320263 A JP7320263 A JP 7320263A JP 32026395 A JP32026395 A JP 32026395A JP H09163467 A JPH09163467 A JP H09163467A
- Authority
- JP
- Japan
- Prior art keywords
- data
- state change
- block
- blocks
- area
- 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
Landscapes
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
(57)【要約】
【課題】繰り返し送信されるブロードキャストデータ等
の状態変化を効率よく且つ高速に検出する。
【解決手段】データ転送制御部44から処理装置18の
メモリ11に通信データを転送するときに、予め任意に
分割したデータブロック毎に転送する。そして、転送時
にデータブロック毎に、このデータブロックに含まれる
通信データに状態変化があるか否かを検出し、状態変化
があった場合にはそのデータブロックのブロック番号を
処理装置に通知する。処理装置では、予めデータ転送制
御部44から通知された各データブロックを特定するブ
ロック番号とその位置情報とからなるデータブロック情
報を参照し、通知されたブロック番号に対応するデータ
ブロックの位置情報を参照し、メモリ11の位置情報で
特定された領域に含まれる通信データについてのみ状態
変化の有無の検索を行う。
(57) Abstract: A change in state of repeatedly transmitted broadcast data or the like is detected efficiently and at high speed. SOLUTION: When communication data is transferred from a data transfer control unit 44 to a memory 11 of a processing device 18, it is transferred for each data block arbitrarily divided in advance. Then, at the time of transfer, it is detected for each data block whether or not the communication data included in this data block has a state change, and if there is a state change, the block number of the data block is notified to the processing device. The processing device refers to the data block information that is previously notified from the data transfer control unit 44 and that includes the block number that identifies each data block and its position information, and determines the position information of the data block corresponding to the notified block number. With reference to this, only the communication data included in the area specified by the position information of the memory 11 is searched for the presence or absence of a state change.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば、ローカル
エリアネットワークを構築する計算機システム等におい
て、繰り返し伝送されるブロードキャストデータ等の通
信データについて、そのデータ内容の差異の有無を検出
する、入力データの状態変化検出装置の改良に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to input data for detecting whether or not there is a difference in the content of communication data such as broadcast data repeatedly transmitted in a computer system for constructing a local area network. The present invention relates to improvement of a state change detection device.
【0002】[0002]
【従来の技術】従来、例えば、電気,照明,空調等のビ
ル管理及び制御を行うビル管理システム等においては、
パーソナルコンピュータ,ワークステーション等の処理
装置を用いてネットワークシステムを構築し、各処理装
置が制御する電気設備,照明設備,空調設備等の制御対
象機器の動作状況等からなる通信データを、例えばブロ
ードキャストによって通信回線を介して伝送することに
よって、各処理装置が制御している制御対象機器の動作
状況等を、各処理装置が認識できるようになっている。2. Description of the Related Art Conventionally, for example, in a building management system for managing and controlling buildings such as electricity, lighting and air conditioning,
A network system is constructed by using processing devices such as personal computers and workstations, and communication data including operating states of controlled equipment such as electric equipment, lighting equipment, and air conditioning equipment controlled by each processing equipment is broadcasted, for example. By transmitting the data via the communication line, each processing device can recognize the operation status of the controlled device controlled by each processing device.
【0003】このとき、通信回線を介して伝送された通
信データは、ブロードキャストによるデータ通信を制御
する通信制御装置に一旦格納され、その後、例えばDM
A伝送等によって処理装置に転送されるようになってい
る。そして、通信制御装置では、DMA伝送時に、処理
装置が保持している前回転送した通信データと、今回転
送する通信データとを比較して、そのデータ内容の差
異、すなわち、状態変化の有無を、例えば比較回路等に
よって検出し、この検出結果を処理装置に通知するよう
にしている。そして、処理装置では、通信データに状態
変化が有ると通知されたときに、今回転送された通信デ
ータと、予め保持している前回転送された通信データと
を比較して状態変化のある通信データを特定し、特定し
た通信データに基づいて所定の処理を実行するようにな
っている。At this time, the communication data transmitted via the communication line is temporarily stored in a communication control device that controls data communication by broadcasting, and then, for example, DM.
The data is transferred to the processing device by A transmission or the like. Then, the communication control device compares the previously transferred communication data held by the processing device with the communication data transferred this time at the time of DMA transmission to determine the difference in the data contents, that is, whether or not there is a state change. For example, it is detected by a comparison circuit or the like, and the detection result is notified to the processing device. When the processing device is notified that the communication data has a state change, the communication data transferred this time is compared with the previously transferred communication data held in advance, and the communication data having the state change Is specified, and predetermined processing is executed based on the specified communication data.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上記従
来のネットワークシステムにおいては、処理装置で全て
の通信データについてデータ内容の状態変化の有無を検
出するようにしているため、メモリ容量に比例して状態
変化の有無の検出に要する時間が増大し、状態変化のあ
る通信データの検出が遅れるという問題がある。また、
処理装置の処理能力によっては、状態変化のある通信デ
ータの検出に関する処理による負荷が大きいため、その
他の処理に対する処理効率が低下するという問題もあ
る。However, in the above-mentioned conventional network system, since the presence or absence of the state change of the data contents of all the communication data is detected by the processing device, the state is proportional to the memory capacity. There is a problem that the time required to detect the presence or absence of a change increases, and the detection of communication data having a state change is delayed. Also,
Depending on the processing capacity of the processing device, there is also a problem that the processing efficiency for other processing is reduced because the processing load related to the detection of communication data having a state change is heavy.
【0005】さらに、例えば、状態変化の発生頻度の低
いデータや、全く変化しないデータについても状態変化
の有無の検索を行うことになるため、効率よく状態変化
のある通信データを検出することができないという未解
決の課題もある。そこで、この発明は、上記従来の未解
決の課題に着目してなされたものであり、データの状態
変化の検出を、効率よく且つ高速に行うことのできる、
入力データの状態変化検出装置を提供することを目的と
している。Further, for example, since the presence / absence of a state change is also searched for in the data in which the state change does not occur frequently or in the data that does not change at all, communication data having a state change cannot be efficiently detected. There are also unsolved issues. Therefore, the present invention has been made by paying attention to the above-mentioned unsolved problems of the related art, and can detect the state change of data efficiently and at high speed.
An object is to provide a state change detection device for input data.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る入力データの状態変化検出
装置は、繰り返し入力される複数の入力データを一旦保
持する保持回路と、当該保持回路で保持する前記各入力
データの状態変化の有無に応じて所定の処理を実行する
処理装置と、を備えた入力データの状態変化検出装置に
おいて、前記保持回路は、前記入力データを保持するデ
ータ保持手段と、当該データ保持手段で保持する入力デ
ータを前記処理装置に転送する転送手段と、前記データ
保持手段のデータ保持領域を任意の領域からなるデータ
ブロックに分割し、当該データブロックに状態変化の有
る前記入力データが含まれるか否かを検出する状態変化
検出手段と、当該状態変化検出手段の検出結果を前記処
理装置に通知する通知手段と、を備え、前記処理装置
は、前記転送手段が転送する前記入力データのうち、前
記状態変化検出手段から通知される前記検出結果に基づ
いて特定されるデータブロック内の入力データそれぞれ
について状態変化の有無を検出する状変データ特定手段
を備えることを特徴としている。To achieve the above object, an input data state change detecting device according to claim 1 of the present invention comprises a holding circuit for temporarily holding a plurality of input data which are repeatedly input, In a state change detecting device for input data, comprising: a processing device that executes a predetermined process depending on whether or not there is a state change in each of the input data held by the holding circuit, the holding circuit holds the input data. Data holding means, transfer means for transferring the input data held by the data holding means to the processing device, and the data holding area of the data holding means is divided into data blocks of arbitrary areas A state change detecting means for detecting whether or not the input data having a state change is included, and a detection result of the state change detecting means is notified to the processing device. And a processing unit for each input data in the data block specified based on the detection result notified from the state change detection unit, among the input data transferred by the transfer unit. It is characterized in that it is provided with state change data specifying means for detecting the presence or absence of a state change.
【0007】また、請求項2に係る入力データの状態変
化検出装置は、前記データ保持領域が、予め設定したデ
ータブロックの最大ブロック数よりも少ない数の初期ブ
ロックに予め分割されているとき、前記状態変化検出手
段は、前記初期ブロック及び当該初期ブロックが分割さ
れて形成されるブロックのうちその領域の広いものから
順に分割し、これを前記データブロックとすることを特
徴としている。According to a second aspect of the present invention, in the input data state change detecting device, when the data holding area is divided into initial blocks of a number smaller than a preset maximum number of data blocks, The state change detecting means is characterized by dividing the initial block and a block formed by dividing the initial block in order from the one having the largest area, and using this as the data block.
【0008】また、請求項3に係る入力データの状態変
化検出装置は、前記データ保持領域が、予め設定したデ
ータブロックの最大ブロック数よりも少ない数の初期ブ
ロックに予め分割されているとき、前記状態変化検出手
段は、予め前記各初期ブロックに対して設定した優先順
位の高い初期ブロックから順に分割し、これを前記デー
タブロックとすることを特徴としている。Further, in the input data state change detecting device according to a third aspect of the present invention, when the data holding area is divided into initial blocks of a number smaller than a preset maximum number of data blocks, The state change detecting means is characterized by dividing the initial blocks in order from the initial block having a higher priority set in advance for each of the initial blocks, and using this as the data block.
【0009】また、請求項4に係る入力データの状態変
化検出装置は、前記データブロックの大きさは、予め設
定したデータブロックの最小値以上であることを特徴と
している。また、請求項5に係る入力データの状態変化
検出装置は、前記データ保持領域が、予め設定したデー
タブロックの最大ブロック数よりも少ない数の初期ブロ
ックに予め分割され、且つ、前記初期ブロックが、デー
タ内容を前記処理装置が認識しているデータを格納する
自局領域とデータ内容を前記処理装置が認識していない
データを格納する他局領域とから形成されるとき、前記
状態変化検出手段は、前記初期ブロックを、当該初期ブ
ロックに含まれる前記自局領域と前記他局領域との境界
を境として分割し、分割したブロックを前記データブロ
ックとすることを特徴としている。Further, the input data state change detecting device according to the present invention is characterized in that the size of the data block is not less than a preset minimum value of the data block. Further, in the input data state change detecting device according to claim 5, the data holding area is divided in advance into a smaller number of initial blocks than a preset maximum number of data blocks, and the initial blocks include: When the data change is formed from the own station area storing the data recognized by the processing apparatus and the other station area storing the data not recognized by the processing apparatus, the state change detection means The initial block is divided at a boundary between the own station area and the other station area included in the initial block, and the divided block is used as the data block.
【0010】また、請求項6に係る入力データの状態変
化検出装置は、前記状態変化検出手段は、前記初期ブロ
ックを分割して形成されるブロックのうち、前記他局領
域で構成されるブロックのみを前記データブロックとす
ることを特徴としている。また、請求項7記載に係る入
力データの状態変化検出装置は、前記状態変化検出手段
は、前記初期ブロックを分割して形成したブロック数が
前記最大ブロック数を越えたとき、前記初期ブロックど
うしの境界を境として連続する2つのブロックを結合し
これを1つのデータブロックとすることを特徴としてい
る。According to a sixth aspect of the present invention, in the input data state change detecting device, the state change detecting means is a block formed by dividing the initial block, and is only a block constituted by the other station area. Is the data block. According to a seventh aspect of the present invention, in the input data state change detecting device, when the number of blocks formed by dividing the initial block exceeds the maximum number of blocks, the state change detecting means determines whether the initial blocks are connected to each other. It is characterized in that two consecutive blocks are combined with each other at a boundary to form one data block.
【0011】また、請求項8に係る入力データの状態変
化検出装置は、前記処理装置は、状態変化検出対象の入
力データを設定する設定手段と、当該設定手段で特定し
た入力データの格納領域を特定領域として検出し、この
特定領域の位置情報と当該特定領域の少なくとも一部を
含む前記データブロックとの対応を管理する特定領域管
理手段と、を備え、前記状変データ特定手段は、前記状
態変化検出手段から前記検出結果が通知されたとき、前
記特定領域管理手段の管理情報をもとに、前記検出結果
に基づき特定されるデータブロックに対応する前記特定
領域の位置情報を検索し、当該位置情報で特定される前
記特定領域内の入力データそれぞれについて状態変化の
有無を検出することを特徴としている。According to an eighth aspect of the present invention, there is provided an input data state change detecting device, wherein the processing device has a setting means for setting the input data of the state change detection target and a storage area for the input data specified by the setting means. A specific area managing unit that detects a specific area and manages correspondence between position information of the specific area and the data block including at least a part of the specific area; When the detection result is notified from the change detection means, based on the management information of the specific area management means, the positional information of the specific area corresponding to the data block specified based on the detection result is searched, It is characterized in that the presence or absence of a state change is detected for each of the input data within the specific area specified by the position information.
【0012】また、請求項9に係る入力データの状態変
化検出装置は、前記特定領域管理手段は、前記特定領域
が複数のデータブロックにわたって設定されるとき、前
記特定領域を当該特定領域が含まれる複数のデータブロ
ック毎に分割し、各データブロック毎に前記特定領域を
管理することを特徴としている。さらに、請求項10に
係る入力データの状態変化検出装置は、前記通知手段
は、前記各データブロックに対応する要素を有する配列
変数を備え、状態変化の有る入力データを含む前記デー
タブロックを検出したとき、当該データブロックに対応
する前記配列変数を所定値に設定し、当該配列変数を前
記検出結果として前記処理装置に送信することを特徴と
している。According to a ninth aspect of the present invention, in the input data state change detecting device, the specific area management means includes the specific area when the specific area is set over a plurality of data blocks. It is characterized in that it is divided into a plurality of data blocks and the specific area is managed for each data block. Further, in the input data state change detecting device according to claim 10, the notifying means includes an array variable having an element corresponding to each of the data blocks, and detects the data block including the input data having a state change. At this time, the array variable corresponding to the data block is set to a predetermined value, and the array variable is transmitted to the processing device as the detection result.
【0013】したがって、請求項1に係る入力データの
状態変化検出装置は、処理装置では、保持回路から通知
される検出結果に基づいて特定されるデータブロック、
つまり、状態変化の有る入力データを含むデータブロッ
クに含まれる入力データについてのみ前回の入力データ
と今回の入力データとのデータ内容の差異を検索するか
ら、処理装置での検索対象となる入力データのデータ量
が削減される。Therefore, in the input data state change detecting device according to the first aspect, in the processing device, the data block specified based on the detection result notified from the holding circuit,
That is, since the difference in the data content between the previous input data and the current input data is searched only for the input data included in the data block including the input data having the state change, the input data to be searched by the processing device The amount of data is reduced.
【0014】また、請求項2に係る入力データの状態変
化検出装置は、初期ブロックの領域が最も広いものを分
割し、さらに、初期ブロックを分割して形成されたブロ
ックと他の初期ブロックとのうち領域が最も広いものを
分割し、というように常に領域の広いものから順に分割
してデータブロックを形成するようにしたから、データ
ブロックの入力データのデータ量が効率よく削減され
る。According to a second aspect of the present invention, the input data state change detecting device divides an initial block having the widest area, and further divides the initial block into a block formed and another initial block. Since the one having the largest area is divided and the one having the largest area is always divided in order to form the data block, the data amount of the input data of the data block is efficiently reduced.
【0015】また、請求項3に係る入力データの状態変
化検出装置は、例えば、状態変化が頻繁に発生するもの
等の優先順位の高い初期ブロックから順に分割してデー
タブロックを形成するようにしたから、優先順位の高い
ブロックほどそのデータブロックに含まれるデータ量が
削減される。また、請求項4に係る入力データの状態変
化検出装置は、1つのデータブロックの大きさを、予め
設定したデータブロックの最小値以上となるようにした
から、各データブロックには少なくともデータブロック
の最小値として設定された領域に含まれる入力データ量
以上の入力データが含まれる。Further, the input data state change detecting apparatus according to the third aspect forms the data block by sequentially dividing the initial block having a higher priority, such as one in which the state change frequently occurs. Therefore, the amount of data included in the data block is reduced as the block has a higher priority. Further, since the input data state change detection device according to claim 4 sets the size of one data block to be equal to or larger than the preset minimum value of the data block, each data block has at least the data block of the data block. Includes input data that is equal to or larger than the amount of input data included in the area set as the minimum value.
【0016】また、請求項5に係る入力データの状態変
化検出装置は、初期ブロックに予め設定されている自局
領域と他局領域との境界を境にして当該初期ブロックを
分割するから、新たなブロックが容易に形成される。ま
た、請求項6に係る入力データの状態変化検出装置は、
処理装置がデータ内容を認識していないデータが格納さ
れる他局領域のみをデータブロックとし、このデータブ
ロック内に含まれる入力データに状態変化が有るか否か
を検出し、検出結果を処理装置に通知する。Since the input data state change detecting device according to the fifth aspect divides the initial block by dividing the initial block by the boundary between the own station area and the other station area set in advance in the initial block. Blocks are easily formed. Further, the input data state change detection device according to claim 6 is
Only the other station area in which the data whose data content is not recognized by the processing device is stored is used as a data block, and it is detected whether or not there is a state change in the input data included in this data block, and the detection result is processed by the processing device. To notify.
【0017】また、請求項7に係る入力データの状態変
化検出装置は、自局領域と他局領域との境界を境として
分割して形成したブロックについて、初期ブロックどう
しの境界を境とする隣り合う2つのブロックを結合しこ
れを1つのデータブロックとするようにしたから、ブロ
ック数が容易に削減される。また、請求項8に係る入力
データの状態変化検出装置は、例えば、状態変化を検出
する必要のある入力データをオペレータが設定し、設定
した入力データが格納される特定領域と、この特定領域
の少なくとも一部を含むデータブロックとの対応を処理
装置が管理するから、処理装置は状態変化が有る入力デ
ータを含むデータブロックが特定されたとき、このデー
タブロックに対応する特定領域を検索し、検出した特定
領域に含まれる入力データについてのみ状態変化の検索
を行う。According to a seventh aspect of the present invention, in the input data state change detecting apparatus, a block formed by dividing a boundary between a local area and a remote area as a boundary is adjacent to a boundary between initial blocks. The number of blocks is easily reduced because the two blocks that fit together are combined to form one data block. Further, in the input data state change detection device according to the present invention, for example, an operator sets input data that needs to detect a state change, and a specific area in which the set input data is stored, and this specific area Since the processing device manages the correspondence with the data block including at least a part, when the processing device specifies the data block including the input data having the state change, the processing device searches for the specific area corresponding to this data block and detects the specific area. The state change is searched only for the input data included in the specified area.
【0018】また、請求項9に係る入力データの状態変
化検出装置は、例えば、オペレータにより設定される、
状態変化を検出すべき入力データを格納する特定領域が
複数のデータブロックにわたって設定されたとき、設定
された特定領域を、この特定領域の少なくとも一部を含
むデータブロック毎に分割し、分割した特定領域をデー
タブロック毎に管理する。The input data state change detecting device according to claim 9 is set by an operator, for example.
When a specific area for storing input data for which a state change should be detected is set over a plurality of data blocks, the set specific area is divided into data blocks including at least a part of the specific area, and the divided identification is performed. The area is managed for each data block.
【0019】さらに、請求項10に係る入力データの状
態変化検出装置は、前記通知手段は、形成した前記各デ
ータブロックに対応する要素を有する配列変数を形成
し、前記要素のデータ内容によって状態変化の有る入力
データを含むデータブロックであるか否かの検出結果を
通知するから、前記処理装置は、各データブロック毎の
検出結果を同時に認識する。Further, in the input data state change detection device according to the tenth aspect, the notifying means forms an array variable having an element corresponding to each of the formed data blocks, and the state change is made according to the data content of the element. Since the detection result indicating whether or not the data block includes the input data having the above is notified, the processing device simultaneously recognizes the detection result for each data block.
【0020】[0020]
【発明の実施の形態】以下に、本発明の実施の形態を説
明する。図1は、本発明の第1の実施の形態を示したも
のであって、本発明による入力データの状態変化検出装
置を、ネットワークシステムを構築する計算機システム
に適用したものである。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below. FIG. 1 shows a first embodiment of the present invention, in which an input data state change detecting device according to the present invention is applied to a computer system for constructing a network system.
【0021】この計算機システムは、例えば、電気,照
明,空調等のビル管理及び制御を行うビル管理システム
であって、例えば、パーソナルコンピュータ,ワークス
テーション等で構成された処理装置1,2,3を用い
て、ネットワークシステムを構築している。そして、例
えば処理装置1では照明設備の制御を行い、処理装置2
では空調設備の制御を行い、処理装置3ではこれら処理
装置1及び2の動作状況を管理するようになっている。This computer system is, for example, a building management system that manages and controls buildings such as electricity, lighting, and air conditioning. For example, the processing units 1, 2 and 3 each composed of a personal computer, a workstation, etc. Is used to build a network system. Then, for example, the processing device 1 controls the lighting equipment, and the processing device 2
Controls the air conditioning equipment, and the processing device 3 manages the operating conditions of these processing devices 1 and 2.
【0022】前記処理装置1は、例えば、シーケンサで
あって、少なくともメモリ11と、当該メモリ11に格
納された処理プログラムに基づいて動作する演算処理部
12と、例えば照明機器等の制御対象機器51との入出
力処理を行う入出力インタフェース部13と、を備えて
いる。そして、これらはバス14を介して接続されてい
る。また、このバス14には、LAN等の通信回線4を
介して他の通信制御装置とのデータ通信を行う通信制御
装置18が接続されている。The processing device 1 is, for example, a sequencer, at least a memory 11, an arithmetic processing unit 12 that operates based on a processing program stored in the memory 11, and a controlled device 51 such as a lighting device. And an input / output interface unit 13 that performs input / output processing with. And these are connected through the bus 14. Further, a communication control device 18 for performing data communication with other communication control devices is connected to the bus 14 via a communication line 4 such as a LAN.
【0023】そして、前記処理装置1は、前記制御対象
機器51を制御すると共に、前記通信制御装置18を介
して通信回線4からの通信データを入力し、通信制御装
置18から入力される、通信データのデータ内容の差異
の有無、すなわち、状態変化の有無を通知する状変通知
に基づいて、入力した通信データのうちの状態変化のあ
る通信データを特定するようになっている。The processing device 1 controls the controlled device 51, inputs communication data from the communication line 4 via the communication control device 18, and inputs the communication data from the communication control device 18. The communication data having the state change of the input communication data is specified based on the presence / absence of the difference in the data content of the data, that is, the state change notification notifying the presence / absence of the state change.
【0024】前記処理装置2は、例えばパーソナルコン
ピュータであって、少なくともメモリ21と、当該メモ
リ21に格納された処理プログラム及び所定のデータに
基づいて処理を実行する演算処理部22とを備えてい
る。そして、これらはバス24を介して接続されてい
る。このバス24には、通信回線4を介して他の通信制
御装置とのデータ通信を行う通信制御装置28及び29
が接続され、処理装置2は通信制御装置28及び29を
介して通信回線4からの通信データを受信すると共に、
通信制御装置28を介してシーケンサ52を駆動制御し
て例えば2系統ある空調系統のうちの一方の空調機器等
の制御対象機器53の制御を行い、同様に、通信制御装
置29を介してシーケンサ54を駆動制御し例えば他方
の空調系統の空調機器等の制御対象機器55を制御する
ようになっている。The processing device 2 is, for example, a personal computer, and is provided with at least a memory 21 and an arithmetic processing unit 22 for executing processing based on a processing program and predetermined data stored in the memory 21. . And these are connected through the bus 24. Communication control devices 28 and 29 for performing data communication with other communication control devices via the communication line 4 are provided on the bus 24.
Is connected, the processing device 2 receives communication data from the communication line 4 via the communication control devices 28 and 29, and
The sequencer 52 is driven and controlled via the communication control device 28 to control the control target device 53 such as one of the two air conditioning systems, and similarly, the sequencer 54 via the communication control device 29. Is controlled to control the control target equipment 55 such as the air conditioning equipment of the other air conditioning system.
【0025】また、前記処理装置3は、例えばワークス
テーションで構成され、少なくとも、メモリ31と、当
該メモリ31に格納された処理プログラムにしたがって
データ収集を行う演算処理部32と、を備えている。そ
して、これらはバス34を介して接続され、このバス3
4には、通信回線4を介して他の通信制御装置とのデー
タ通信を行う通信制御装置38が接続され、演算処理部
32で収集した収集データを例えばデータベース56等
に格納するようになっている。The processing device 3 is composed of, for example, a workstation, and is provided with at least a memory 31 and an arithmetic processing unit 32 for collecting data according to a processing program stored in the memory 31. And these are connected through the bus 34, and this bus 3
4, a communication control device 38 for performing data communication with another communication control device is connected via the communication line 4, and the collected data collected by the arithmetic processing unit 32 is stored in, for example, the database 56 or the like. There is.
【0026】前記通信制御装置(保持回路)18は、通
信回線4を介して他の通信制御装置とのブロードキャス
トによるデータ通信を行うための回線制御処理を行い通
信回線4と通信データ(入力データ)を格納する内部メ
モリ41(データ保持手段)との間でデータ転送を行う
回線制御部42と、内部ROM43に格納された処理プ
ログラムに基づいて内部メモリ41及びメモリ11間で
データ転送を行うデータ転送制御部(転送手段)44
と、を少なくとも備えている。そして、これら各部は内
部バス45を介して接続されている。The communication control device (holding circuit) 18 performs a line control process for performing data communication by broadcasting with another communication control device via the communication line 4, and communication data (input data) with the communication line 4. And a line control unit 42 that transfers data to and from an internal memory 41 (data holding unit) that stores data, and a data transfer that transfers data between the internal memory 41 and the memory 11 based on a processing program stored in the internal ROM 43. Control unit (transfer means) 44
And at least. Then, these respective parts are connected via an internal bus 45.
【0027】なお、各通信制御装置には、それぞれ通信
制御装置を特定する局番が付与されていて、例えば通信
制御装置18には局番“0”,通信制御装置28には局
番“1”,通信制御装置29には局番“2”,通信制御
装置38には局番“3”がそれぞれ付与されている。ま
た、各通信制御装置は、例えば、ボード,カード,アダ
プタ等で形成されている。Each communication control device is provided with a station number for specifying the communication control device. For example, the communication control device 18 has a station number "0", the communication control device 28 has a station number "1", and a communication number. The control device 29 is assigned a station number "2", and the communication control device 38 is assigned a station number "3". Further, each communication control device is formed of, for example, a board, a card, an adapter, or the like.
【0028】前記内部メモリ41には、通信回線4を介
して伝送される通信データ毎に、その格納領域が決めら
れていて、全通信制御装置の内部メモリ41において同
一領域に同一の通信データが格納されるようになってい
る。すなわち、図2に示すように、全通信制御装置の内
部メモリ41において共通に、例えばメモリ領域の0バ
イト目は局番0の通信制御装置の通信データD0 を格納
する領域、1バイト目及び2バイト目は局番1の通信制
御装置の通信データD1 を格納する領域、3バイト目〜
n1 バイト目は局番2の通信制御装置の通信データD2
を格納する領域,というように、決められている。A storage area is determined in the internal memory 41 for each communication data transmitted via the communication line 4, and the same communication data is stored in the same area in the internal memory 41 of all communication control devices. It is supposed to be stored. That is, as shown in FIG. 2, commonly in the internal memory 41 of all communication control devices, for example, the 0th byte of the memory area is the area for storing the communication data D 0 of the communication control apparatus with the station number 0, the 1st byte and the 2nd byte. byte area for storing the communication data D 1 of the communication control device of station 1, 3 byte -
The 1st byte is the communication data D 2 of the communication control device with station number 2.
Is an area for storing, and so on.
【0029】そして、各通信制御装置では自己の通信デ
ータを格納する領域を自局領域41aとし、他の通信制
御装置の通信データを格納する領域を他局領域41bと
している。したがって、例えば、局番0の通信制御装置
18の場合には、自局領域41aは0バイト目となり、
1〜nバイト目が他局領域41bとなる。また、局番1
の通信制御装置28の場合には、自局領域41aは1バ
イト目及び2バイト目、他局領域41bは、0バイト目
及び3〜nバイト目となる。In each communication control device, the area for storing its own communication data is its own station area 41a, and the area for storing the communication data of another communication control apparatus is the other station area 41b. Therefore, for example, in the case of the communication control device 18 with the station number 0, the own station area 41a is the 0th byte,
The 1st to nth bytes become the other station area 41b. Also, the station number 1
In the case of the communication control device 28, the local station area 41a is the first byte and the second byte, and the other station area 41b is the zero byte and the third to nth bytes.
【0030】ここで、前記自局領域41aに対しては、
前記演算処理部12は、データ転送制御部44に対して
書き込み要求又は読み込み要求を行うことによって、書
き込み及び読み込みを行うことができるが、他局領域4
1bに対しては、演算処理部12は読み込みのみを行う
ことができるようになっている。前記回線制御部42
は、通信回線4に接続される前記通信制御装置28,2
9及び38との間で、ブロードキャストによりデータ通
信を行い、空きトークンを捕捉したとき内部メモリ41
の自局領域41aに格納されている通信データに、この
通信データの送信元を特定する局番情報を付与して送信
し、また、ブロードキャストにより伝送される通信デー
タを受信し、通信データに付与された局番情報をもと
に、受信した通信データをそれぞれ他局領域41bの所
定の位置に格納する。Here, for the own station area 41a,
The arithmetic processing unit 12 can perform writing and reading by making a write request or a read request to the data transfer control unit 44, but the other station area 4
The arithmetic processing unit 12 can read only 1b. The line controller 42
Is the communication control device 28, 2 connected to the communication line 4.
When the empty token is captured by performing data communication by broadcasting between 9 and 38, the internal memory 41
The station number information for identifying the transmission source of this communication data is added to the communication data stored in its own station area 41a and transmitted, and the communication data transmitted by broadcast is received and added to the communication data. Based on the station number information, the received communication data is stored in a predetermined position in the other station area 41b.
【0031】前記データ転送制御部44は、内部メモリ
41とメモリ11との間でメモリデータをDMA伝送に
より転送する。このとき、例えば起動時等に、予め内部
ROM43に格納された処理プログラムに基づいて、内
部メモリ41のメモリ領域を任意の範囲からなるデータ
ブロックに分割する。そして、例えば、任意数に等分割
するなどによって分割し、各データブロックに付与した
ブロック番号と当該データブロックに属する領域をその
アドレス等によって特定するブロック領域とからなるデ
ータブロック情報を演算処理部12に通知する。そし
て、この分割したデータブロック毎に、内部メモリ41
のメモリデータをメモリ11に形成されたデータ転送領
域11aに順次転送する。The data transfer control unit 44 transfers memory data between the internal memory 41 and the memory 11 by DMA transmission. At this time, the memory area of the internal memory 41 is divided into data blocks of an arbitrary range based on a processing program stored in advance in the internal ROM 43, for example, at startup. Then, for example, the arithmetic processing unit 12 divides the data block information including the block number assigned to each data block and the block area for specifying the area belonging to the data block by its address, etc. To notify. Then, for each of the divided data blocks, the internal memory 41
The memory data of 1 is sequentially transferred to the data transfer area 11a formed in the memory 11.
【0032】このとき、メモリ11のデータ転送領域1
1aにデータを書き込む際に、格納されている前回転送
時の通信データと、今回転送する通信データとのデータ
内容の差異、すなわち、通信データのデータ内容の状態
変化の有無を、例えば、比較回路等を設けること等によ
って、データブロック単位で検出する(状態変化検出手
段)。そして、通信データに状態変化があった場合に
は、そのデータブロックを特定する情報、例えばブロッ
ク番号を演算処理部12に通知する状変通知をデータブ
ロックを転送する毎に行う(通知手段)。At this time, the data transfer area 1 of the memory 11
When writing data to 1a, the difference in data content between the stored communication data at the time of the previous transfer and the communication data to be transferred this time, that is, whether or not the state of the data content of the communication data has changed is compared with, for example, a comparison circuit. Etc. are provided to detect data in units of data blocks (state change detecting means). Then, when there is a change in the state of the communication data, the state change notification for notifying the arithmetic processing unit 12 of the information specifying the data block, for example, the block number, is performed every time the data block is transferred (notification means).
【0033】また、演算処理部12からの読み込み要求
に応じて内部メモリ41の指定されたメモリデータを読
み出すと共に、演算処理部12からの書き込み要求に応
じて、シーケンサ51を制御する制御信号等からなる指
令データをもとに通信データを形成しこれを内部メモリ
41の所定の領域に書き込む。一方、前記処理装置1の
メモリ11には、通信制御装置18から受信した通信デ
ータを格納する前記データ転送領域11aと、前回受信
した通信データを記憶するデータ記憶領域11bとが形
成されている。In addition, the designated memory data of the internal memory 41 is read in response to the read request from the arithmetic processing unit 12, and the control signal for controlling the sequencer 51 is also transmitted in response to the write request from the arithmetic processing unit 12. The communication data is formed on the basis of the command data and the data is written in a predetermined area of the internal memory 41. On the other hand, in the memory 11 of the processing device 1, the data transfer area 11a for storing the communication data received from the communication control device 18 and the data storage area 11b for storing the communication data received last time are formed.
【0034】そして、前記処理装置1の演算処理部12
では、データ転送制御部44から状変通知が行われたと
き、予め起動時にデータ転送制御部44から通知されて
保持しているブロック番号とブロック領域とからなるデ
ータブロック情報をもとに、データ転送領域11aに転
送された今回受信した通信データのうち、状変通知によ
り通知されたブロック番号に対応するブロック領域内の
通信データについて、データ記憶領域11bに記憶して
いる通信データとデータ内容の比較を行い、状態変化の
あった通信データを特定する(状変データ特定手段)。
そして、この通信データに基づいて所定の処理を実行す
ると共に、データ転送領域11aの通信データをデータ
記憶領域11bに転送する。Then, the arithmetic processing unit 12 of the processing device 1
Then, when the state notification is issued from the data transfer control unit 44, the data is transferred based on the data block information including the block number and the block area which is notified and held in advance from the data transfer control unit 44 at the time of activation. Of the communication data received this time transferred to the transfer area 11a, regarding the communication data in the block area corresponding to the block number notified by the status change notification, the communication data and the data content stored in the data storage area 11b A comparison is made to identify communication data that has changed state (state change data identification means).
Then, a predetermined process is executed based on this communication data, and the communication data in the data transfer area 11a is transferred to the data storage area 11b.
【0035】また、演算処理部12では、入出力インタ
フェース部13に対する制御対象機器51への指令信
号、この指令に対する応答信号等から、通信データを生
成し、これをデータ記憶領域11bに格納すると共にデ
ータ転送制御部44に対して書き込み要求を行い、通信
データを自局領域41aの所定の位置に書き込む。一
方、前記処理装置2のメモリ21には、前記メモリ11
と同様に、データ記憶領域とデータ転送領域とが形成さ
れているが、図1に示すように通信制御装置28用のデ
ータ領域25と通信制御装置29用のデータ領域26と
が形成され、それぞれについてデータ転送領域及びデー
タ記憶領域が設けられている。つまり、通信制御装置2
8用のデータ転送領域25a及びデータ記憶領域25b
と、通信制御装置29用のデータ転送領域26a及びデ
ータ記憶領域26bとが形成されている。Further, the arithmetic processing section 12 generates communication data from a command signal to the controlled device 51 to the input / output interface section 13 and a response signal to this command, and stores the communication data in the data storage area 11b. A write request is issued to the data transfer control unit 44, and communication data is written in a predetermined position in the own station area 41a. On the other hand, in the memory 21 of the processing device 2, the memory 11
Similarly to the above, a data storage area and a data transfer area are formed, but as shown in FIG. 1, a data area 25 for the communication control device 28 and a data area 26 for the communication control device 29 are formed, respectively. A data transfer area and a data storage area are provided. That is, the communication control device 2
8 data transfer area 25a and data storage area 25b
And a data transfer area 26a and a data storage area 26b for the communication control device 29 are formed.
【0036】また、演算処理部22は、前記演算処理部
12と同様の処理を行うが、例えばマルチタスク等によ
って通信制御装置28に対する処理及び通信制御装置2
9に対する処理とを同時に実行している。前記通信制御
装置28及び29は、同一の機能構成を有している。そ
して、これらは、前記通信制御装置18において、入出
力インタフェース部46を新たに設けたこと以外は同一
であるので、同一部には同一符号を付与しその詳細な説
明は省略する。前記入出力インタフェース部46はバス
45に接続され、演算処理部22からの指令情報に基づ
いて制御対象機器53又は55を駆動制御するシーケン
サ52又は54に対する制御信号を出力すると共に、制
御信号に対するシーケンサ52又は54の応答情報を内
部メモリ41の所定領域に格納する。Further, the arithmetic processing unit 22 performs the same processing as the arithmetic processing unit 12, but the processing for the communication control device 28 and the communication control device 2 are performed by, for example, multitasking.
The process for 9 is being executed at the same time. The communication control devices 28 and 29 have the same functional configuration. Since these are the same in the communication control device 18 except that the input / output interface section 46 is newly provided, the same reference numerals are given to the same sections, and detailed description thereof will be omitted. The input / output interface unit 46 is connected to the bus 45, outputs a control signal to the sequencer 52 or 54 that drives and controls the control target device 53 or 55 based on command information from the arithmetic processing unit 22, and a sequencer for the control signal. The response information 52 or 54 is stored in a predetermined area of the internal memory 41.
【0037】前記処理装置3は、接続される通信制御処
理装置が1つになったこと以外は前記処理装置2と同様
であって、演算処理部32では、通信制御装置38を介
して受信した通信データをもとに、シーケンサ,制御対
象機器等の各部の動作状況を監視し、通信制御装置38
を介して必要なデータをデータベース56等に記憶させ
ている。The processing device 3 is the same as the processing device 2 except that only one communication control processing device is connected, and the arithmetic processing section 32 receives it via the communication control device 38. Based on the communication data, the operation status of each part such as the sequencer and the controlled device is monitored, and the communication control device 38
Required data is stored in the database 56 or the like via the.
【0038】そして、前記通信制御装置38は前記通信
制御装置28と同一の機能構成を有しているが、通信デ
ータの送信は行わない。次に、上記第1の実施の形態の
動作を説明する。例えば、処理装置1が制御対象機器5
1に対して指令信号を出力したものとする。処理装置1
では、この指令信号、或いは、これに対する応答情報等
をもとに通信データを生成し、データ転送制御部44に
対して書き込み要求を行い、この通信データを内部メモ
リ41の所定領域に書き込む。これによって、図2に示
すように、例えば0バイト目に通信データが書き込ま
れ、例えば、0バイト目のデータD0 が“0x88”に
変化する。The communication control device 38 has the same functional configuration as the communication control device 28, but does not transmit communication data. Next, the operation of the first embodiment will be described. For example, the processing device 1 is the control target device 5
It is assumed that the command signal is output to 1. Processing device 1
Then, communication data is generated based on this command signal or response information to the command signal, a write request is made to the data transfer control unit 44, and this communication data is written in a predetermined area of the internal memory 41. As a result, as shown in FIG. 2, for example, the communication data is written in the 0th byte, and the data D 0 in the 0th byte changes to “0x88”, for example.
【0039】回線制御部42では、空きトークンがきた
とき、内部メモリ41の自局領域41aの通信データ
に、送信元を特定する局番情報として局番“0”を付与
して通信回線4を介してブロードキャストにより各通信
制御装置に送信する。そして、例えば、処理装置2の通
信制御装置28(局番1)では、その局番情報から、受
信した通信データは局番“0”からの通信データである
ことを認識し、受信した通信データを他局領域41bの
それぞれ所定の位置に通信データのデータ毎に格納す
る。When a free token arrives, the line control unit 42 assigns a station number "0" as station number information for identifying the sender to the communication data in the own station area 41a of the internal memory 41, and sends it via the communication line 4. It is transmitted to each communication control device by broadcasting. Then, for example, the communication control device 28 (station number 1) of the processing device 2 recognizes from the station number information that the received communication data is the communication data from the station number “0”, and the received communication data is transmitted to another station. The communication data is stored for each data in a predetermined position in the area 41b.
【0040】例えば、局番“0”の通信データD0 の場
合には、図2において、局番1の内部メモリ41の0バ
イト目に格納する。同様に、通信制御装置29(局番
2)及び38(局番3)でも、内部メモリ41の0バイ
ト目に通信制御装置18からの通信データD0 として
“0x88”を格納する。よって、各通信制御装置18
の各内部メモリ41の0バイト目には、通信データD0
として“0x88”が格納される。For example, in the case of the communication data D 0 of the station number "0", it is stored in the 0th byte of the internal memory 41 of the station number 1 in FIG. Similarly, the communication control devices 29 (station number 2) and 38 (station number 3) also store “0x88” as the communication data D 0 from the communication control device 18 at the 0th byte of the internal memory 41. Therefore, each communication control device 18
In the 0th byte of each internal memory 41 of the communication data D 0
Is stored as "0x88".
【0041】一方、通信制御装置28のデータ転送制御
部44では、例えば起動時に予め内部メモリ41のメモ
リ領域を任意のデータブロックに分割し、データブロッ
ク毎に順次DMA伝送により、内部メモリ41のメモリ
データをデータ転送領域25aに転送している。そし
て、このとき、データ転送領域25aに格納されている
前回転送時の通信データと今回転送時の通信データとの
状態変化の有無を検出している。On the other hand, in the data transfer control unit 44 of the communication control device 28, for example, the memory area of the internal memory 41 is divided into arbitrary data blocks in advance at the time of activation, and the memory of the internal memory 41 is sequentially DMA-transmitted for each data block. The data is transferred to the data transfer area 25a. At this time, the presence / absence of a state change between the communication data at the previous transfer and the communication data at the current transfer stored in the data transfer area 25a is detected.
【0042】このとき、0バイト目〜3バイト目をデー
タブロックBL1 として分割したものとすると、0バイ
ト目の通信データが変化したから、データ転送領域25
aでは、0バイト目を含むデータブロックBL1 をデー
タ転送領域25aに転送するときに、このデータブロッ
クBL1 に含まれる通信データに状態変化があることを
検出する。これによって、データ転送制御部44が演算
処理部22に、ブロック番号BL1 の通信データに状態
変化があったことを通知する。At this time, assuming that the 0th byte to the 3rd byte are divided as the data block BL 1 , since the communication data of the 0th byte has changed, the data transfer area 25
In a, when the data block BL 1 including the 0th byte is transferred to the data transfer area 25a, it is detected that the communication data included in the data block BL 1 has a state change. As a result, the data transfer control unit 44 notifies the arithmetic processing unit 22 that the communication data of the block number BL 1 has changed state.
【0043】演算処理部22では状変通知を受けたこと
から、予め保持しているブロック番号とブロック領域と
からなるデータブロック情報をもとに、データブロック
BL 1 に対応するブロック領域を特定し、この場合、デ
ータブロックBL1 に対応するのは、0バイト目〜3バ
イト目であるから、データ転送領域11a及びデータ記
憶領域11bの0バイト目〜3バイト目のメモリデータ
について、順次比較を行って状態変化のある通信データ
を特定する。そして、この場合、0バイト目のデータが
状態変化したことを認識し、変化後の通信データ“0x
88”に基づいて所定の処理を実行する。The arithmetic processing unit 22 has received the notification of the state change.
From the block number and block area that are held in advance
Based on the data block information consisting of
BL 1Block area corresponding to
Data block BL1Corresponds to the 0th byte to 3rd byte.
The data transfer area 11a and the data storage area
Memory data of 0th to 3rd bytes of memory area 11b
Communication data with a state change by sequentially comparing
To identify. And in this case, the data of the 0th byte is
Recognizing that the status has changed, the communication data after the change "0x
Predetermined processing is executed based on 88 ".
【0044】通信制御装置29でも同様に処理を行い、
この場合、内部メモリ41の通信データをデータ転送領
域26aに転送し、状態変化の通知を行う。また、通信
制御装置38でも同様に処理を行って、演算処理部32
が状態変化のあるデータを認識し、例えば、この通信デ
ータをデータベース56に格納させる。The communication control unit 29 also performs the same processing,
In this case, the communication data of the internal memory 41 is transferred to the data transfer area 26a, and the state change is notified. Further, the communication control device 38 also performs the same processing, and the arithmetic processing unit 32
Recognizes data whose state has changed, and stores this communication data in the database 56, for example.
【0045】上述のように、各通信制御装置でデータブ
ロック毎にその通信データの状態変化の有無を検出し、
状態変化のあったデータブロックのブロック番号を演算
処理部に通知するようにしたから、各演算処理部では、
通知されたブロック番号に該当するブロック領域の通信
データについてのみ状態変化の検索を行い、状態変化の
あった通信データを特定すればよい。As described above, each communication control device detects, for each data block, whether or not the state of the communication data has changed,
Since the block number of the data block whose state has changed is notified to the arithmetic processing unit, each arithmetic processing unit
Only the communication data in the block area corresponding to the notified block number may be searched for the state change and the communication data having the state change may be specified.
【0046】したがって、各演算処理部では、従来のよ
うに通信データ全てについてその状態変化を検出する必
要がなく、つまり、図2において、例えば、通信制御装
置18では、0〜nバイトの全ての通信データについて
状態変化の検出を行う必要がなく、上述の場合には、0
〜3バイト目までの通信データについてのみ状態変化の
検出を行えばよいから、検索する通信データ量が大幅に
削減でき、よって、通信データの状態変化の検出に要す
る処理時間を大幅に短縮することができる。Therefore, it is not necessary for each arithmetic processing unit to detect the state change of all communication data as in the conventional case. That is, in FIG. 2, for example, in the communication control device 18, all 0 to n bytes are detected. In the above case, it is not necessary to detect the state change of the communication data.
Since it is only necessary to detect the state change of the communication data up to the 3rd byte, the amount of communication data to be searched can be significantly reduced, and thus the processing time required to detect the state change of the communication data can be significantly shortened. You can
【0047】また、演算処理部での検索量が従来に比較
して少なくてすむから、演算処理部での負荷を軽減する
ことができる。また、通信制御装置側、或いは演算処理
部側の何れか一方でのみ状態変化の検出を行わず、通信
制御装置で状態変化の有無を検出し、演算処理部で状態
変化のある通信データの特定を行うようにしたから、一
方の装置にのみ負荷がかかることはなく、計算機システ
ムを効率よく動作させることができる。Further, since the amount of retrieval in the arithmetic processing unit can be smaller than in the conventional case, the load on the arithmetic processing unit can be reduced. Also, the state change is not detected only on either the communication control unit side or the arithmetic processing unit side, the presence or absence of the state change is detected by the communication control unit, and the communication processing unit identifies the communication data having the state change. As a result, the load is not applied to only one device, and the computer system can be operated efficiently.
【0048】また、状態変化の検出に要する処理時間を
短縮できることから、処理性能の多少低い処理装置、或
いは通信制御装置を用いてネットワークシステムを構築
した場合でも所定の処理効率を維持することができ、コ
スト削減を図ることができる。なお、上記第1の実施の
形態においては、各通信制御装置からの通信データを各
通信制御装置において同一の領域に格納するようにした
が、これに限らず、各通信制御装置毎に任意の領域に格
納するようにすることも可能である。Further, since the processing time required for detecting the state change can be shortened, a predetermined processing efficiency can be maintained even when a network system is constructed using a processing device having a slightly low processing performance or a communication control device. Therefore, the cost can be reduced. In the first embodiment described above, the communication data from each communication control device is stored in the same area in each communication control device, but the present invention is not limited to this, and any communication control device may be stored. It is also possible to store in the area.
【0049】また、上記第1の実施の形態においては、
処理装置に対して1つ又は2つの通信制御装置を接続し
た場合について説明したが、3つ以上の通信制御装置を
接続することも可能である。この場合、処理装置のメモ
リには、接続した通信制御装置数分のデータ領域を形成
する必要がある。次に、本発明の第2の実施の形態を説
明する。Further, in the first embodiment,
Although the case where one or two communication control devices are connected to the processing device has been described, it is also possible to connect three or more communication control devices. In this case, it is necessary to form as many data areas in the memory of the processing device as the number of connected communication control devices. Next, a second embodiment of the present invention will be described.
【0050】この第2の実施の形態における入力データ
の状態変化検出装置の機器構成は上記第1の実施の形態
と同様であり、データ転送制御部44の内部メモリ41
のデータ領域のブロック分割時の処理が異なる事以外は
上記第1の実施の形態と同様であるので、その詳細な説
明は省略する。第2の実施の形態における各通信制御装
置の内部メモリ41のメモリ領域は、予めn個のブロッ
ク(以後、初期ブロックという。)に分割され、この初
期ブロックは、各通信制御装置の内部メモリ41におい
て、同一領域からなる初期ブロックに分割されている。
また、このとき、内部メモリ41と処理装置のデータ転
送領域との間でデータ転送制御部44が転送制御可能な
ブロック数(以後、最大ブロック数という。)はm個
(m>n)に制限されている。The device configuration of the input data state change detecting device according to the second embodiment is similar to that of the first embodiment, and the internal memory 41 of the data transfer control unit 44 is the same.
Since the second embodiment is the same as the first embodiment except that the processing when dividing the data area into blocks is different, detailed description thereof will be omitted. The memory area of the internal memory 41 of each communication control device in the second embodiment is divided into n blocks (hereinafter referred to as initial blocks) in advance, and the initial block is the internal memory 41 of each communication control device. In, the initial block is composed of the same area.
At this time, the number of blocks that can be transfer-controlled by the data transfer control unit 44 between the internal memory 41 and the data transfer area of the processing device (hereinafter referred to as the maximum number of blocks) is limited to m (m> n). Has been done.
【0051】データ転送制御部44では、例えば起動時
等に、すでにn個の初期ブロックに分割されているメモ
リ領域をさらに分割し、最大ブロック数m個のブロック
を形成する。すなわち、図3のフローチャートに示すよ
うに、まず、分割した回数を表す分割数iの初期値を0
に設定し(ステップS11)、現在存在するブロック数
n+iが最大ブロック数mより小さいか否か(n<m)
を判定する(ステップS12)。この場合、n<mであ
るから、予め保持している各初期ブロックの初期ブロッ
ク領域情報をもとに、ブロック領域が最大である初期ブ
ロックを検出し、これを二分割する(ステップS1
3)。このとき、均等に二分割し、均等に二分割できな
い場合には、均等に二分割した状態に最も近い状態とな
るように二分割する。これによって、現在のブロック数
はn+1になる。そして、分割数iを1つ更新する(ス
テップS14)。The data transfer control unit 44 further divides the memory area, which has already been divided into n initial blocks, at the time of starting, for example, to form a maximum number m of blocks. That is, as shown in the flowchart of FIG. 3, first, the initial value of the division number i representing the number of divisions is set to 0.
Is set (step S11), and whether the number n + i of currently existing blocks is smaller than the maximum number m of blocks (n <m)
Is determined (step S12). In this case, since n <m, the initial block having the largest block area is detected based on the initial block area information of each initial block held in advance, and this is divided into two (step S1).
3). At this time, it is equally divided into two, and when it cannot be evenly divided into two, it is divided into two so that the state is closest to the evenly divided state. As a result, the current number of blocks becomes n + 1. Then, the number of divisions i is updated by 1 (step S14).
【0052】そして、前記と同様に現在存在するブロッ
ク数がn+i<mであるか、すなわち、分割後のブロッ
ク数が最大ブロック数よりも小さいか否かを判定し(ス
テップS12)、分割後のブロック数が最大ブロック数
よりも小さい場合には、上記と同様にして再度、n+i
個のブロックのうちのブロック領域が最大のブロックを
二分割する。この操作を繰り返し行い、分割後のブロッ
ク数が最大ブロック数以上となったとき処理を終了し、
この時点でのブロックをデータブロックとし、これらに
対してブロック番号及びブロック領域とからなるデータ
ブロックの対応情報を形成し演算処理部に通知する。Then, similarly to the above, it is determined whether the number of blocks currently existing is n + i <m, that is, whether the number of blocks after division is smaller than the maximum number of blocks (step S12), and the number of blocks after division is determined. If the number of blocks is smaller than the maximum number of blocks, n + i
The block having the largest block area among the blocks is divided into two. Repeat this operation, and end the process when the number of blocks after division exceeds the maximum number of blocks,
The block at this point is set as a data block, and corresponding information of the data block including a block number and a block area is formed for these, and the arithmetic processing unit is notified.
【0053】したがって、初期ブロックを分割して最大
ブロック数分のデータブロックを形成するようにしたか
ら、通信データの状態変化検出に関わる演算処理部で検
索すべき通信データ量をより削減することができると共
に、初期ブロックを二分割するときに、ブロック領域の
最大のものから順に分割し、分割後のブロックをさらに
分割する場合にもブロック領域の最大のものから順に分
割するようにしたから、1ブロック当たりに含まれる通
信データ量の最大値が小さくなって、結果的に状態変化
の検出に要する演算処理部での処理時間を短縮すること
ができる。Therefore, since the initial block is divided to form the data blocks corresponding to the maximum number of blocks, it is possible to further reduce the amount of communication data to be searched by the arithmetic processing unit related to the detection of the state change of the communication data. At the same time, when the initial block is divided into two, the largest block area is divided in order, and when the divided block is further divided, the largest block area is divided in order. The maximum value of the amount of communication data included in each block is reduced, and as a result, it is possible to reduce the processing time in the arithmetic processing unit required to detect the state change.
【0054】次に、本発明の第3の実施の形態について
説明する。上記第2の実施の形態では、データ転送制御
部44での転送制御可能なブロック数がm個に制限さ
れ、且つ、内部メモリ41のメモリデータが予めn個
(n<m)の初期ブロックに分割されている場合に、そ
のブロック領域が大きいものから順に二分割して、最大
ブロック数のブロックを形成する場合について説明した
が、この第3の実施の形態では、優先順位の高い初期ブ
ロックから順に二分割するようにしている。Next, a third embodiment of the present invention will be described. In the second embodiment, the number of blocks that can be transfer-controlled by the data transfer control unit 44 is limited to m, and the memory data of the internal memory 41 is preliminarily set to n (n <m) initial blocks. In the case where the blocks are divided, the block area is divided into two in order from the largest block area to form a block having the maximum number of blocks. However, in the third embodiment, from the initial block with the highest priority, It is divided into two parts in order.
【0055】すなわち、予めn個の初期ブロックにはそ
れぞれ優先順位を付けておく。この優先順位は、例え
ば、状態変化が頻繁に起こるブロック、或いは、そのブ
ロックに含まれる通信データを利用する頻度が高いブロ
ック等によって設定されている。今、例えば、図4に示
すように、3つの初期ブロックBLA ,BLB ,BLC
に分割されているものとする。そして、ブロックBLA
は優先順位一位,ブロックBLB は優先順位三位,ブロ
ックBLC は優先順位二位に設定されているものとす
る。That is, a priority is given to each of the n initial blocks in advance. This priority order is set, for example, by a block in which state changes occur frequently, a block in which communication data included in the block is frequently used, or the like. Now, for example, as shown in FIG. 4, three initial blocks BL A , BL B , BL C
It is assumed that it is divided into And block BL A
Is set to the first priority, the block BL B is set to the third priority, and the block BL C is set to the second priority.
【0056】そして、例えば起動時に図5のフローチャ
ートを実行し、まず、初期ブロックを分割した回数を表
す分割数iをi=0に設定する(ステップS21)。次
に、現在存在するブロック数n+iが最大ブロック数m
よりも小さいか否かを判定し(ステップS22)、n+
i<mであるとき、予め設定した優先順位の高いブロッ
クを選択する(ステップS23)。Then, for example, the flowchart of FIG. 5 is executed at the time of activation, and first, the division number i representing the number of divisions of the initial block is set to i = 0 (step S21). Next, the number of currently existing blocks n + i is the maximum number of blocks m
Is smaller than (step S22), n +
When i <m, a block having a preset high priority is selected (step S23).
【0057】そして、選択したブロックを均等に二分割
し、均等に二分割できない場合には、均等に二分割した
状態に最も近い状態に二分割し(ステップS24)、二
分割して新たに形成されたブロックを例えばもとのブロ
ック番号に枝番をつける等によって管理する(ステップ
S25)。そして、分割数iを1つ更新し(ステップS
26)、この操作を繰り返し行って、現在のブロック数
n+iが最大ブロック数m以上となったとき処理を終了
し、分割後のブロックをデータブロックとして上記各実
施の形態と同様に処理を行う。Then, if the selected block is equally divided into two parts and cannot be equally divided into two parts, it is divided into two parts which are closest to the evenly divided part (step S24), and the two parts are newly formed. The created block is managed by, for example, assigning a branch number to the original block number (step S25). Then, the number of divisions i is updated by 1 (step S
26) By repeating this operation, when the current block number n + i becomes equal to or larger than the maximum block number m, the process is terminated, and the block after the division is used as a data block and the process is performed in the same manner as in each of the above embodiments.
【0058】ここで、優先順位の高いブロックを選択す
る場合には、例えば図6のフローチャートに基づいて選
択する。まず、ブロック番号の枝番号等を参照し、二分
割を一度も行っていないブロックがあるか否かを判定し
(ステップS31)、二分割を一度も行っていないブロ
ックがある場合には、そのうちの優先順位の最も高い初
期ブロックを選択する(ステップS32)。図4の場合
には、優先順位一位である初期ブロックBLA を選択
し、これを二分割する。そして、分割後のブロック数が
n+i<mである場合には、この操作を繰り返し行い、
初期ブロックBLC 、初期ブロックBLB の順にそれぞ
れ二分割する。Here, when selecting a block having a high priority, it is selected based on the flowchart of FIG. 6, for example. First, by referring to the branch number of the block number or the like, it is determined whether or not there is a block that has not been divided into two (step S31). The initial block having the highest priority is selected (step S32). In the case of FIG. 4, the initial block BL A having the highest priority is selected and is divided into two. When the number of blocks after division is n + i <m, this operation is repeated,
The initial block BL C and the initial block BL B are each divided into two.
【0059】これによって、図7(a)に示すように、
初期ブロックBLA ,BLB ,BL C がそれぞれ二分割
されて、6個のブロックが形成される。このとき、各初
期ブロックBLA ,BLB ,BLC を二分割することに
よって形成された第一次階層のブロックには、例えば、
もとのブロック名に枝番をつけ、BLA-1 ,BLA-2 ,
BLB-1 ,BLB-2 ,BLC-1 ,BLC-2 としてそれぞ
れを管理する。また、各第一次階層のブロックの優先順
位はそれぞれ二分割する前の初期ブロックの優先順位を
受け継ぎ、BLA-1 ,BLA-2 は優先順位一位,BL
B-1 ,BLB-2 は優先順位三位,BLC-1 ,BLC-2 は
優先順位二位とする。As a result, as shown in FIG.
Initial block BLA, BLB, BL CEach divided into two
As a result, 6 blocks are formed. At this time, each first
Term block BLA, BLB, BLCTo divide into two
Therefore, in the block of the first hierarchical layer formed, for example,
Add a branch number to the original block name, BLA-1, BLA-2,
BLB-1, BLB-2, BLC-1, BLC-2As it is
Manage this. In addition, the priority order of blocks in each primary layer
Rank is the priority of the initial block before it is divided into two
Inheritance, BLA-1, BLA-2Is the highest priority, BL
B-1, BLB-2Is the third highest priority, BLC-1, BLC-2Is
Second priority.
【0060】そして、この状態でさらにブロック数n+
iが最大ブロック数より小さい場合には、次に第一次階
層の各ブロックに対して分割を行う。すなわち、その枝
番を参照して第一次階層のブロックのうち、優先順位の
最も高いものを選択し、これを二分割する。このとき、
優先順位が同一のブロックが複数ある場合には何れか一
方を選択する(ステップS33,S34)。そして、例
えばブロックBLA-1を選択してこれを二分割し、二分
割して新たに形成されたブロックについては、図7
(b)に示すように、第二次階層のブロックとして例え
ばBLA-11,BLA- 12として管理する。In this state, the number of blocks n +
If i is smaller than the maximum number of blocks, then each block in the primary hierarchy is divided. That is, by referring to the branch number, the block having the highest priority order is selected from the blocks in the first hierarchy, and this is divided into two. At this time,
When there are a plurality of blocks having the same priority, one of them is selected (steps S33 and S34). Then, for example, the block BL A-1 is selected, this is divided into two, and the block newly formed by dividing into two is shown in FIG.
As shown in (b), the blocks of the second hierarchy are managed as, for example, BL A-11 and BL A- 12 .
【0061】そして、この操作を繰り返して行い、次に
BLA-2 を二分割し、BLC-1 ,BLC-2 (又はBL
C-2 ,BLC-1 ),BLB-1 ,BLB-2 (又はB
LB-2 ,BL B-1 )の順に、そのブロック数が最大ブロ
ック数m以上となるまで二分割する。よって、図7
(b)に示すように、第二次階層のブロックが形成され
る。そして、このようにして全ての第一次階層のブロッ
クについて二分割した場合には(ステップS33)、次
に、第二次階層のブロックについてその優先順位の高い
ものから順に前記と同様に二分割する(ステップS3
5)。Then, this operation is repeated, and then
BLA-2Is divided into two, and BLC-1, BLC-2(Or BL
C-2, BLC-1), BLB-1, BLB-2(Or B
LB-2, BL B-1), The number of blocks is
It is divided in two until the number of hooks becomes m or more. Therefore, FIG.
As shown in (b), the blocks of the second hierarchy are formed.
You. And, in this way, all the blocks of the first layer are
In case of dividing into two (step S33),
And the priority of the blocks in the second layer is high.
The same is divided into two parts in order from the item (step S3).
5).
【0062】したがって、常に優先順位の高いブロック
から順に二分割するようにし、この優先順位は、このブ
ロック領域に含まれる通信データの状態変化の頻度が高
く、通信データの使用頻度が高いブロックほど高くなる
ように設定したから、状変通知が行われる確率の高いブ
ロックのブロック領域ほど二分割されることになり、処
理装置での状態変化の検索を行う通信データ量が削減さ
れることになる。よって、効率よくブロック分割するこ
とができ、処理装置での状態変化の検出に要する処理時
間の短縮を図ることができる。Therefore, the blocks having the highest priority are always divided into two, and the higher the priority is, the higher the frequency of change of the state of the communication data contained in this block area and the higher the frequency of use of the communication data. Since the setting is made as described above, the block area of the block in which the state change notification has a high probability is divided into two, and the communication data amount for searching the state change in the processing device is reduced. Therefore, the blocks can be efficiently divided, and the processing time required for detecting the state change in the processing device can be shortened.
【0063】なお、上記第1〜第3の実施の形態では、
ブロック数が最大ブロック数と一致するまで分割するよ
うにした場合について説明したが、ブロック領域がある
程度小さくなると、演算処理部での1ブロック当たりの
通信データの状態変化の検索に要する処理時間に比較し
て、データ転送制御部44が内部メモリ41から処理装
置のデータ転送領域に送信する処理に要する時間が長く
なるため、かえって処理効率の低下を招くことがあるの
で、例えば、分割後のブロック領域が予め設定したブロ
ック領域の最小値(データブロックの最小値)よりも小
さいときには、分割を行わないようにすれば、ブロック
分割処理に伴う処理効率の低下を防止することができ
る。In the above first to third embodiments,
The case where the number of blocks is divided until the number of blocks matches the maximum number of blocks has been described. However, when the block area becomes small to some extent, it is compared with the processing time required for searching the state change of communication data per block in the arithmetic processing unit. Then, the time required for the data transfer control unit 44 to transmit from the internal memory 41 to the data transfer area of the processing device becomes long, which may rather lower the processing efficiency. When is smaller than the minimum value of the block area (minimum value of the data block) set in advance, by not performing the division, it is possible to prevent a decrease in processing efficiency due to the block division processing.
【0064】次に、本発明の第4の実施の形態について
説明する。上記第2及び第3の実施の形態では、データ
転送制御部44での転送制御可能なブロック数がm個に
制限され、且つ、内部メモリ41のメモリデータが予め
n個(n<m)の初期ブロックに分割されている場合
に、予め起動時などに、ブロック分割のための処理プロ
グラムを起動して、ブロック分割を行う場合について説
明したが、この第4の実施の形態では、予め設定されて
いる自局領域を基準にして初期ブロックを分割するよう
にしている。Next, a fourth embodiment of the present invention will be described. In the second and third embodiments, the number of blocks that can be transfer-controlled by the data transfer control unit 44 is limited to m, and the number of memory data in the internal memory 41 is n (n <m) in advance. In the case where the block is divided into the initial blocks, the case where the processing program for the block division is started in advance at the time of start-up to perform the block division has been described, but in the fourth embodiment, it is set in advance. The initial block is divided on the basis of the own station area.
【0065】すなわち、例えば、通信制御装置18の場
合、図8に示すように、内部メモリ41において、予
め、3つの初期ブロックに分割され、初期ブロックBL
A は0〜X5 バイト目,初期ブロックBLB はX6 〜X
9 バイト目,初期ブロックBL C はX10〜nバイト目の
ブロック領域に分割されているものとする。そして、自
局領域は、初期ブロックBLA のX2 〜X3 バイト目
と、初期ブロックBLB 及びBLC にわたってX8 〜X
11バイト目に設定されているものとする。That is, for example, in the case of the communication control device 18,
In this case, as shown in FIG.
Therefore, the initial block BL is divided into three initial blocks.
AIs 0 to XFiveByte, initial block BLBIs X6~ X
9Byte, initial block BL CIs XTen~ Nth byte
It is assumed to be divided into block areas. And self
Local area is the initial block BLAXTwo~ XThreeByte
And the initial block BLBAnd BLCAcross X8~ X
11It is assumed that it is set at the byte.
【0066】この状態で、データ転送制御部44では、
例えば起動時等に、各初期ブロック毎に、自局領域と他
局領域との境界を境として自局領域を含まないブロック
と、自局領域からなるブロックとに分割する。したがっ
て、初期ブロックBLA を、0〜X1 バイト目及びX4
〜X5 バイト目の自局領域を含まないブロックB
LA- 1 ,BLA-3 と、自局領域からなるブロックBL
A-2 とに分割し、同様に、初期ブロックBLB を、自局
領域を含まないブロックBLB-1 と、自局領域からなる
ブロックBLB-2 とに分割し、初期ブロックBLC を、
自局領域からなるブロックBLC-1 と、自局領域を含ま
ないブロックBLC-2 とに分割する。In this state, the data transfer control unit 44
For example, at the time of start-up, each initial block is divided into a block that does not include the own station region and a block that includes the own station region with the boundary between the own station region and the other station region as a boundary. Therefore, the initial block BL A is set to the 0th to X 1st bytes and X 4th byte.
~ X Block B that does not include the own station area at the 5th byte
Block BL consisting of L A- 1 , BL A-3 and its own area
Divided into a A-2, similarly, the initial block BL B, a block BL B-1 without the local station area, divided into a block BL B-2 consisting of own station area, the initial block BL C ,
It is divided into a block BL C-1 composed of the own station area and a block BL C-2 not including the own station area.
【0067】そして、これら分割により形成された各ブ
ロックをデータブロックとし、前記各実施の形態と同様
に処理を行う。したがって、各初期ブロックのブロック
領域を、自局領域である領域と、自局領域でない領域と
に分割することによって、ブロック分割を行うようにし
たから容易にブロック分割を行うことができ、より短時
間でブロック分割を行うことができる。Then, each block formed by these divisions is used as a data block, and processing is performed in the same manner as in each of the above embodiments. Therefore, since the block area of each initial block is divided into an area that is the local area and an area that is not the local area, it is possible to easily perform the block partition because the block partition is performed. Block division can be done in time.
【0068】なお、上記第4の実施の形態では、自局領
域についてもデータブロックとして管理するようにして
いるが、自局領域の状態変化は処理装置側で認識してい
るので、通知する必要はないから、例えば、図9に示す
ように、自局領域を含まない領域についてのみデータブ
ロックとして管理し、他局領域の通信データについての
み状変通知を行うようにすることも可能であり、このよ
うにすることによって、より効率よく通信データの状態
変化を検出することができる。In the fourth embodiment described above, the own station area is also managed as a data block, but since the processing device side recognizes the change in the state of the own station area, it is necessary to notify it. Therefore, for example, as shown in FIG. 9, it is possible to manage only an area that does not include the own station area as a data block and to notify the state change only to the communication data of the other station area. By doing so, the state change of the communication data can be detected more efficiently.
【0069】また、例えば、自局領域と他局領域との境
界を境として初期ブロックを分割したとき、分割後のブ
ロック数が最大ブロック数mより多いときには、初期ブ
ロックどうしの境界を境とする連続する二つのブロック
を結合してこれを1つのブロックとするようにすれば、
ブロック数の削減を容易に行うことができる。例えば図
9のブロックBLA-2 及びBLB-1 は、初期ブロックB
LA とBLBとの境界を境にして連続しているから、図
10に示すように、ブロックBLA-2及びBLB-1 を結
合してこれを1つのブロックBLA-B とすれば、ブロッ
ク数を容易に削減することができる。Further, for example, when the initial block is divided at the boundary between the own station area and the other station area as a boundary, and when the number of blocks after the division is larger than the maximum block number m, the boundary between the initial blocks is taken as a boundary. If you combine two consecutive blocks into one block,
The number of blocks can be easily reduced. For example, blocks BL A-2 and BL B-1 in FIG.
Since they are continuous with each other at the boundary between L A and BL B , as shown in FIG. 10, if blocks BL A-2 and BL B-1 are combined to form one block BL AB , The number of blocks can be easily reduced.
【0070】なお、上記第2から第4の実施の形態で
は、全通信処理装置において同一の領域からなる初期ブ
ロックが形成されている場合について説明したが、これ
に限らず、例えば、それぞれの通信処理装置において任
意の領域からなる初期ブロックが形成されている場合で
も適用することができる。次に、本発明の第5の実施の
形態について説明する。In the second to fourth embodiments described above, the case where the initial block composed of the same area is formed in all the communication processing devices has been described. However, the present invention is not limited to this. It can be applied even when an initial block composed of an arbitrary region is formed in the processing apparatus. Next, a fifth embodiment of the present invention will be described.
【0071】上記第1から第4の実施の形態において
は、処理装置側では、通知されたブロック番号に対応す
るブロック領域内の通信データ全てについて検索を行う
ようにしているが、本発明では、特定の通信データにつ
いてのみ検索を行う。すなわち、予め起動時などに通信
回線4を介して伝送される通信データのうち、各処理装
置において、その通信データをもとに処理を行う通信デ
ータ等、状態変化の検出を行う必要のある通信データを
オペレータが特定し(設定手段)、演算処理部では、特
定された通信データの格納領域を検索してこの領域を状
態変化検出領域(特定領域)とし、この状態変化検出領
域を識別する識別番号と、そのアドレス及び大きさとか
らなる領域情報を形成し、予め設定した情報メモリに記
憶する。そして、データブロック毎にキューを作成し、
各状態変化検出領域の情報メモリをリンクする(特定領
域管理手段)。In the first to fourth embodiments described above, the processing device side searches for all communication data in the block area corresponding to the notified block number. However, in the present invention, Search only for specific communication data. That is, among the communication data transmitted through the communication line 4 at the time of startup in advance, the communication data for which processing is to be performed based on the communication data in each processing device, and the communication for which the state change needs to be detected. The operator specifies the data (setting means), and the arithmetic processing unit searches the specified storage area of the communication data and sets this area as the state change detection area (specific area), and identifies the state change detection area. Region information including a number, its address and size is formed and stored in a preset information memory. Then create a queue for each data block,
The information memory of each state change detection area is linked (specific area management means).
【0072】例えば、図11に示すように、内部メモリ
41が3つのデータブロック、BL A ,BLB ,BLC
に分割されているものとする。この状態で、オペレータ
が状態変化の検出を行う必要があるものとして通信デー
タの特定を行うと、演算処理部では、その特定された通
信データが格納される格納領域を特定し、これを状態変
化検出領域として管理する。そして、例えば図11に示
すように、状態変化検出領域としてデータブロックBL
A に含まれる状態変化検出領域E1 と、データブロック
BLB に含まれる状態変化検出領域E2と、データブロ
ックBLC に含まれる状態変化検出領域E3 が設定され
たものとする。For example, as shown in FIG.
41 has three data blocks, BL A, BLB, BLC
It is assumed that it is divided into In this state, the operator
The communication data as if it needs to detect a state change.
After specifying the data, the arithmetic processing unit
Specify the storage area where the received signal data is stored and change this
It manages it as an alteration detection area. Then, for example, as shown in FIG.
As described above, the data block BL is used as the state change detection area.
AState change detection area E included in1And the data block
BLBState change detection area E included inTwoAnd the data block
BLCState change detection area E included inThreeIs set
It shall be assumed.
【0073】演算処理部では、この状態変化検出領域に
ついて、これら状態変化検出領域をの一部を少なくとも
含むデータブロック毎にキューを作成し、例えば、図1
2に示すように、データブロックBLA に対応するキュ
ーには、状態変化検出領域A 1 を特定する管理番号と、
状態変化検出領域E1 のアドレスと、その大きさとから
なる情報メモリMA をリンクする。同様に、データブロ
ックBLB に対応するキューには、状態変化検出領域E
2 を特定する管理番号と、そのアドレスと大きさとから
なる情報メモリMB をリンクし、データブロックBLC
に対応するキューには、状態変化検出領域E3 を特定す
る管理番号と、そのアドレスと大きさとからなる情報メ
モリMC をリンクする。In the arithmetic processing unit, the state change detection area is
Therefore, at least part of these state change detection areas
A queue is created for each data block that includes the data, for example, as shown in FIG.
As shown in 2, the data block BLACu corresponding to
The state change detection area A 1Control number that identifies the
State change detection area E1From the address and its size
Information memory MATo link. Similarly, the data block
BLBThe queue corresponding to the state change detection area E
TwoFrom the management number that identifies the
Information memory MBData blocks BLC
The queue corresponding to the state change detection area EThreeSpecify
Information, which consists of the management number and its address and size.
Mori MCTo link.
【0074】そして、この状態で、上記各実施の形態と
同様に処理が行われ、データ転送制御部44から状変通
知が行われた場合には、演算処理部では、指定されたデ
ータブロックに対応するキューにリンクされている情報
メモリを参照する。例えば、データブロックBLB につ
いて状態変化があったことを通知された場合には、演算
処理部では、データブロックBLB に対応するキューを
参照し、これにリンクされている情報メモリMB を参照
し、この情報メモリMB によって指定されるアドレスの
指定された大きさのメモリ領域についてのみ状態変化の
検出を行う。Then, in this state, the same processing as in each of the above-described embodiments is performed, and when the data transfer control unit 44 issues a status change notification, the arithmetic processing unit writes the specified data block. Refers to the information memory linked to the corresponding queue. For example, when it is notified that the data block BL B has changed state, the arithmetic processing unit refers to the queue corresponding to the data block BL B , and refers to the information memory M B linked to the queue. Then, the state change is detected only in the memory area of the designated size of the address designated by the information memory M B.
【0075】したがって、演算処理部では、演算処理部
で必要とする通信データについてのみ状態変化の検出を
行い、必要のないデータについては状態変化の検出を行
わないから、効率よく状態変化の検出を行うことができ
ると共に、状態変化の検索対象となる通信データ量が削
減されるから処理効率を向上させることができ、処理時
間の短縮を図ることができる。Therefore, the arithmetic processing unit detects the state change only for communication data required by the arithmetic processing unit, and does not detect the state change for unnecessary data, so that the state change can be detected efficiently. In addition to being able to perform the processing, the amount of communication data to be searched for the state change is reduced, so that the processing efficiency can be improved and the processing time can be shortened.
【0076】なお、上記第5の実施の形態において、例
えば、図13に示すように、状態変化検出領域が複数の
データブロックにわたって設定された場合には、状態変
化検出領域に対して、この状態変化検出領域の一部を少
なくとも含むデータブロック毎にキューを作成すると、
図14に示すようになる。すなわち、図13に示すよう
に内部メモリ41のアドレス0〜39がデータブロック
BLA ,アドレス40〜89がデータブロックBLB,ア
ドレス90〜130がデータブロックBLC として分割
され、状態変化検出領域E1 はアドレス20,大きさ3
0,状態変化検出領域E2 はアドレス60,大きさ1
0,状態変化検出領域E3 はアドレス100,大きさ1
0にそれぞれ設定されているものとする。In the fifth embodiment, for example, when the state change detection area is set over a plurality of data blocks, as shown in FIG. If you create a queue for each data block that contains at least part of the change detection area,
As shown in FIG. That is, as shown in FIG. 13, addresses 0 to 39 of the internal memory 41 are divided into data blocks BL A , addresses 40 to 89 are divided into data blocks BL B, addresses 90 to 130 are divided into data blocks BL C , and the state change detection area E is divided. 1 is address 20, size 3
0, state change detection area E 2 has address 60, size 1
0, state change detection area E 3 is address 100, size 1
It is assumed that they are set to 0 respectively.
【0077】これら状態変化検出領域E1 〜E3 に対し
てデータブロック毎にキューを作成すると、状態変化検
出領域の一部を少なくとも含むデータブロック毎にキュ
ーを作成することになるから、図14に示すように、デ
ータブロックBLA に対応するキューには、状態変化検
出領域E1 の情報メモリMA がリンクされ、データブロ
ックBLB に対応するキューには、状態変化検出領域E
1 及び状態変化検出領域E2 からなる情報メモリMB が
リンクされ、データブロックBLC に対応するキューに
は、状態変化検出領域E3 の情報メモリMC がリンクさ
れることになる。When a queue is created for each data block in the state change detection areas E 1 to E 3 , a queue is created for each data block including at least a part of the state change detection area. As shown in, the information memory M A of the state change detection area E 1 is linked to the queue corresponding to the data block BL A, and the queue corresponding to the data block BL B is connected to the state change detection area E 1.
The information memory M B including 1 and the state change detection area E 2 is linked, and the information memory M C of the state change detection area E 3 is linked to the queue corresponding to the data block BL C.
【0078】したがって、状態変化検出領域E1 のよう
に複数のデータブロックにわたって設定された場合に
は、データブロックBLB に対応するキューには、状態
変化検出領域E1 の情報メモリMA がリンクされるか
ら、データブロックBLB に状態変化があると通知され
た場合には、処理装置では、状態変化検出領域E1 の全
ての領域、すなわち、データブロックBLA に含まれる
領域についても状態変化の検出を行うことになる。[0078] Therefore, if it is set over a plurality of data blocks as a state change detection region E 1 is the queue corresponding to the data block BL B, information memory M A state change detection region E 1 links Therefore, when it is notified that the data block BL B has a state change, the processing device also changes the state of all the areas of the state change detection area E 1 , that is, the areas included in the data block BL A. Will be detected.
【0079】よって、状態変化検出領域が複数のデータ
ブロックにわたって設定された場合には、例えば、図1
5に示すように、状態変化検出領域を、この状態変化検
出領域が含まれるデータブロック毎に分割して管理し、
分割した状態変化検出領域についてキューを作成するよ
うにすれば、より効率よく状態変化の検出を行うことが
できる。Therefore, when the state change detection area is set over a plurality of data blocks, for example, as shown in FIG.
As shown in FIG. 5, the state change detection area is divided and managed for each data block including the state change detection area,
If the queue is created for the divided state change detection areas, the state change can be detected more efficiently.
【0080】つまり、図13に示すように、状態変化検
出領域E1 がデータブロックBLA及びBLB にわたっ
て設定された場合には、図15に示すように、状態変化
検出領域E1 をデータブロックBLA 及びBLB の境
界、すなわち、アドレス40で分割し、状態変化検出領
域E11を、アドレス20,大きさ20とし、状態変化検
出領域E12をアドレス40,大きさ10として設定す
る。[0080] That is, as shown in FIG. 13, when the state change detection area E 1 is set for the data blocks BL A and BL B, as shown in FIG. 15, the state change detection region E 1 data block The boundary between BL A and BL B , that is, the address 40 is divided, and the state change detection area E 11 is set to the address 20 and the size 20, and the state change detection area E 12 is set to the address 40 and the size 10.
【0081】そして、前記と同様にして各データブロッ
クに対応するキューを作成すれば、図16に示すよう
に、それぞれ各データブロックに含まれる状態変化検出
領域についてキューを作成するから、例えばデータ転送
制御部44からデータブロックBLB に状態変化がある
と通知された場合には、データブロックBLB のブロッ
ク領域内の状態変化検出領域E12及びE2 についてのみ
状態変化を検出することになって、より効率よく状態変
化の検出を行うことができる。If a queue corresponding to each data block is created in the same manner as described above, a queue is created for each state change detection area included in each data block, as shown in FIG. when the control unit 44 is notified that there is a state change in the data blocks BL B is supposed to detect the state change only the data blocks BL state change detection region E 12 and E 2 in the block area of the B The state change can be detected more efficiently.
【0082】次に、本発明の第6の実施の形態について
説明する。上記第1から第5の実施の形態においては、
データ転送制御部44は、1データブロックを転送する
毎に状態変化の有無を処理装置に通知しているが、この
第6の実施の形態では、全データブロックを転送する
毎、すなわち、内部メモリ41の通信データを全て転送
したときに状変通知を行う。Next explained is the sixth embodiment of the invention. In the first to fifth embodiments described above,
The data transfer control unit 44 notifies the processing device of the presence or absence of a state change each time one data block is transferred. However, in the sixth embodiment, every data block transfer, that is, the internal memory. When all the communication data of 41 are transferred, a state change notification is given.
【0083】すなわち、例えば、データ転送制御部44
では、図17のフローチャートに示すように、データブ
ロック形成時に、形成したデータブロック数と同数の要
素を有する配列変数(以後、状変通知配列という。)を
形成し、各要素を各データブロックに対応させる。そし
て、DMA伝送時に検出したデータブロック毎の状態変
化の有無の検出結果を、それぞれ検出したデータブロッ
クに対応する要素の状態で表し、例えば、状態変化を検
出した場合には、要素を“1”に設定し、状態変化がな
いとき及び状態変化があったことを処理装置に通知した
場合には、要素を“0”に設定する。そして、全データ
ブロックを転送終了したときに、各データブロックの検
出結果を各要素に設定した配列を状変通知配列BLKと
し、これをて処理装置に送信する。That is, for example, the data transfer control unit 44
Then, as shown in the flowchart of FIG. 17, when forming a data block, an array variable (hereinafter referred to as a state change notification array) having the same number of elements as the number of formed data blocks is formed, and each element is assigned to each data block. Correspond. Then, the detection result of the presence or absence of the state change for each data block detected during the DMA transmission is represented by the state of the element corresponding to each detected data block. For example, when the state change is detected, the element is "1". When the status is not changed and when the processor is notified of the status change, the element is set to “0”. Then, when the transfer of all the data blocks is completed, the array in which the detection result of each data block is set in each element is set as the state change notification array BLK, and this is transmitted to the processing device.
【0084】一方、処理装置では、通知された状変通知
配列を参照し、その要素が“1”に設定されているデー
タブロックについて状態変化の検出を行う。例えば、
今、内部メモリ41に2つのデータブロック、BLA 及
びBLB が形成されているものとする。データ転送制御
部44では、起動時にまず、2つの要素からなる状変通
知配列BLKを形成し、一方の要素をデータブロックB
LA の状態変化の有無を表す要素BLK〔A〕,他方を
データブロックBLB の状態変化の有無を表す要素BL
K〔B〕とする。また、初期値として要素BLK〔A〕
=BLK〔B〕=0に設定する(ステップS41)。On the other hand, the processing device refers to the notified state change notification array and detects the state change of the data block whose element is set to "1". For example,
Now, it is assumed that two data blocks BL A and BL B are formed in the internal memory 41. At the time of activation, the data transfer control unit 44 first forms a state change notification array BLK composed of two elements, and one element is set to the data block B.
An element BLK [A] indicating the presence or absence of the state change of L A , and the other element BL indicating the presence or absence of the state change of the data block BL B.
Let K [B]. Also, the element BLK [A] is set as the initial value.
= BLK [B] = 0 is set (step S41).
【0085】そして、この状態で、順次内部メモリ41
の通信データを処理装置に転送する。そして、転送時に
各データブロックの状態変化を検出した場合には(ステ
ップS42)、どのデータブロックで状態変化があった
のかを検出し(ステップS43,S45)、状態変化が
あったデータブロックに対応する配列要素をそれぞれ
“1”に更新する(ステップS44,S46)。Then, in this state, the internal memory 41 is sequentially
Communication data of the above is transferred to the processing device. Then, when a state change of each data block is detected during transfer (step S42), it is detected which data block has a state change (steps S43, S45) and the data block having the state change is dealt with. The array elements to be updated are updated to "1" (steps S44 and S46).
【0086】そして、処理装置側が状変通知を受信可能
な待ち状態であり(ステップS47)、且つ、状変通知
配列の配列要素BLK〔A〕又はBLK〔B〕の少なく
とも何れか一方が“1”であるとき(ステップS4
8)、状変通知配列BLKを処理装置に通知する(ステ
ップS49)。そして、各配列要素配列要素BLK
〔A〕及びBLK〔B〕を初期値“0”にリセットす
る。Then, the processing device side is in a waiting state capable of receiving the state change notification (step S47), and at least one of the array elements BLK [A] or BLK [B] of the state change notification array is "1". "(Step S4
8), notify the processor of the state change notification array BLK (step S49). And each array element array element BLK
[A] and BLK [B] are reset to the initial value "0".
【0087】そして、ステップS47の処理で、例えば
処理装置側で状変通知を受信可能な状態でない場合には
そのままステップS42に戻り、次の通信データ転送時
に各データブロックに状態変化があった場合には対応す
る配列要素を“1”に設定し、処理装置が状態変化を受
信可能な状態であるときにのみ、状変通知を行う。した
がって、データ転送制御部44では、内部メモリ41を
形成する全てのデータブロックの状態変化の有無を、各
データブロックに対応する要素を有する配列を形成する
ことによって同時に処理装置に通知するようにしたか
ら、全データブロックの状態変化の有無を確実に処理装
置に通知することができる。Then, in the processing of step S47, for example, when the processing device side is not in a state in which the state change notification can be received, the process directly returns to step S42, and when there is a state change in each data block at the next communication data transfer. , The corresponding array element is set to "1", and the state change notification is issued only when the processing device is in a state capable of receiving the state change. Therefore, in the data transfer control unit 44, the presence or absence of the state change of all the data blocks forming the internal memory 41 is simultaneously notified to the processing device by forming an array having an element corresponding to each data block. Therefore, it is possible to reliably notify the processing device of the presence or absence of the state change of all data blocks.
【0088】よって、例えば、処理装置が状態変化あり
の状変通知をうけた時点で状態変化のあった通信データ
の検索を開始し、その間は、処理装置が通信制御装置か
らの状態変化の通知を受信することができないような場
合でも、確実に全データブロックについての状変通知を
行うことができる。また、データ転送制御部44では、
処理装置が状変通知を受信可能でない場合にはそのまま
状変通知配列のデータ内容を保持し、この間状態変化が
あった場合には対応する配列要素を更新するようにして
いるから、処理装置に対して確実に状態変化のあったデ
ータブロックを通知することができる。Therefore, for example, when the processing device receives the state change notification indicating that the state has changed, the communication device that has changed the state is started to be searched, and during that time, the processing device notifies the state change from the communication control device. Even when it is impossible to receive, it is possible to reliably notify the status change of all data blocks. Further, in the data transfer control unit 44,
If the processing device cannot receive the status change notification, the data contents of the status change notification array are held as they are, and if there is a status change during this time, the corresponding array element is updated. It is possible to reliably notify the data block of which the state has changed.
【0089】なお、上記各第1から第6の実施の形態に
おいては、データ転送制御部では状態変化のあったデー
タブロック全てについて状変通知を行うようにした場合
について説明したが、例えば、予め状態変化の検出を行
う必要があるデータブロックと必要のないデータブロッ
クとに区分しておき、状態変化の検出を行う必要がある
データブロックについてのみ状態変化の通知を行うよう
にすることも可能である。In each of the above-described first to sixth embodiments, the case has been described in which the data transfer control unit notifies the status change for all the data blocks whose status has changed. For example, in advance, It is also possible to classify into data blocks that need to detect state changes and data blocks that do not need to, and notify the state changes only to the data blocks that need to detect state changes. is there.
【0090】また、上記各第1から第6の実施の形態に
おいては、データ記憶領域11bには、データ転送領域
に転送された全てのデータを保持するようにした場合に
ついて説明したが、例えば、状態変化の検出を行う必要
がある通信データについてのみ記憶するようにすること
も可能であり、このようにすることによって、メモリ容
量を削減することができる。In each of the first to sixth embodiments described above, the case where all the data transferred to the data transfer area is held in the data storage area 11b has been described. It is also possible to store only the communication data that needs to detect the state change, and by doing so, the memory capacity can be reduced.
【0091】[0091]
【発明の効果】以上説明したように、請求項1に係る入
力データの状態変化検出装置によれば、処理装置は全て
の入力データについてデータ内容の差異を検出する必要
はなく、1データブロック内に含まれる入力データにつ
いてのみ検出すればよいから、検索すべきデータ量を大
幅に削減でき、処理効率を向上させることができる。As described above, according to the state change detecting device for input data according to the first aspect, the processing device does not need to detect the difference in the data contents of all the input data, and the processing is performed within one data block. Since it is only necessary to detect the input data included in, it is possible to greatly reduce the amount of data to be searched and improve the processing efficiency.
【0092】また、請求項2に係る入力データの状態変
化検出装置によれば、ブロック内に含まれる入力データ
のデータ量が多いものから順に分割するから、データブ
ロックのデータ量を効率よく削減することができ、結果
的に処理効率を向上させることができる。また、請求項
3に係る入力データの状態変化検出装置によれば、優先
順位の高い初期ブロックから順に分割するようにした
ら、優先順位の高いブロックほどそのデータ量が削減さ
れ、よって、処理効率を向上させることができる。Further, according to the input data state change detecting device of the second aspect, the data amount of the input data contained in the block is divided in descending order, so that the data amount of the data block is efficiently reduced. As a result, the processing efficiency can be improved. Further, according to the input data state change detecting device of the third aspect, if the initial block having a higher priority is divided in order, the data amount is reduced in the block having a higher priority, thus improving the processing efficiency. Can be improved.
【0093】また、請求項4に係る入力データの状態変
化検出装置によれば、各データブロックの大きさの最小
値を設定したから、データブロックが必要以上に狭くな
ることを防止し、装置全体の処理効率の低下を防止する
ことができる。また、請求項5に係る入力データの状態
変化検出装置によれば、初期ブロックに予め設定されて
いる自局領域と他局領域との境界を境にして当該初期ブ
ロックを分割するから、容易にブロック分割を行うこと
ができる。Further, according to the input data state change detecting device of the fourth aspect, since the minimum value of the size of each data block is set, the data block is prevented from becoming unnecessarily narrow, and the entire device is prevented. It is possible to prevent a decrease in the processing efficiency of. Further, according to the input data state change detection device of the fifth aspect, since the initial block is divided at the boundary between the own station area and the other station area set in advance in the initial block, the initial block can be easily divided. Block division can be performed.
【0094】また、請求項6に係る入力データの状態変
化検出装置によれば、処理装置で必要とする他局領域の
みをデータブロックとし、そのデータブロックに状態変
化のある入力データが含まれるか否かを処理装置に通知
するから、より効率よく状態変化の検出を行うことがで
きる。また、請求項7に係る入力データの状態変化検出
装置によれば、初期ブロックどうしの境界を境とする隣
り合う2つのブロックを結合しこれを1つのブロックと
するから、ブロック数を容易に削減することができ、ブ
ロック数の調整を容易に行うことができる。Further, according to the input data state change detecting device of the present invention, only the other station area required by the processing device is set as a data block, and whether the data block includes the input data having the state change. Since the processing device is notified of whether or not it is possible to detect the state change more efficiently. Further, according to the input data state change detecting device of the seventh aspect, two adjacent blocks that are bordered by the boundaries of the initial blocks are combined to form one block. Therefore, the number of blocks can be easily reduced. It is possible to adjust the number of blocks easily.
【0095】また、請求項8に係る入力データの状態変
化検出装置によれば、状態変化を検出する必要のある入
力データを設定し、処理装置では設定した入力データに
ついてのみ状態変化の検出を行うようにしたから、状態
変化の検出対象となる入力データのデータ量をより削減
することができ、処理効率をより向上させることができ
る。Further, according to the input data state change detecting device of the eighth aspect, the input data for which the state change needs to be detected is set, and the processing device detects the state change only for the set input data. By doing so, it is possible to further reduce the data amount of the input data that is the detection target of the state change, and it is possible to further improve the processing efficiency.
【0096】また、請求項9に係る入力データの状態変
化検出装置によれば、特定領域が複数のデータブロック
にわたって設定されたとき、特定領域を、これを少なく
とも一部含むデータブロック毎に分割し、データブロッ
ク毎に特定領域を管理するから、処理装置では通知され
る検出結果に基づき特定されるデータブロック内の特定
領域のみを検索すればよく、処理効率を向上させること
ができる。According to another aspect of the input data state change detecting apparatus of the present invention, when the specific area is set over a plurality of data blocks, the specific area is divided into data blocks including at least a part thereof. Since the specific area is managed for each data block, the processing device only needs to search the specific area in the data block specified based on the detection result notified, and the processing efficiency can be improved.
【0097】さらに、請求項10に係る入力データの状
態変化検出装置によれば、前記保持回路は、形成した前
記各データブロックに対応する要素を有する配列変数を
形成し、前記要素のデータ内容によって各データブロッ
ク毎の検出結果を通知するから、前記処理装置は各デー
タブロック毎の検出結果を同時に認識することができ
る。Further, according to the input data state change detecting device of the tenth aspect, the holding circuit forms an array variable having an element corresponding to each of the formed data blocks, and the holding circuit forms an array variable according to the data content of the element. Since the detection result for each data block is notified, the processing device can simultaneously recognize the detection result for each data block.
【図1】本発明における入力データの状態変化検出装置
を適用した計算機システムの一例である。FIG. 1 is an example of a computer system to which a state change detection device for input data according to the present invention is applied.
【図2】内部メモリの説明図である。FIG. 2 is an explanatory diagram of an internal memory.
【図3】本発明の第2の実施の形態におけるデータブロ
ック形成時の処理手順の一例を示すフローチャートであ
る。FIG. 3 is a flowchart showing an example of a processing procedure when forming a data block according to the second embodiment of the present invention.
【図4】本発明の第3の実施の形態の動作説明に供する
内部メモリの一例である。FIG. 4 is an example of an internal memory provided for explaining the operation of the third embodiment of the present invention.
【図5】本発明の第3の実施の形態におけるデータブロ
ック形成時の処理手順の一例を示すフローチャートであ
る。FIG. 5 is a flowchart showing an example of a processing procedure at the time of forming a data block according to the third embodiment of the present invention.
【図6】分割対象のブロックを選択するときの選択手順
を示すフローチャートである。FIG. 6 is a flowchart showing a selection procedure when selecting a block to be divided.
【図7】本発明の第3の実施の形態の動作説明に供する
内部メモリの一例である。FIG. 7 is an example of an internal memory provided for explaining the operation of the third embodiment of the present invention.
【図8】本発明の第4の実施の形態の動作説明に供する
内部メモリの一例である。FIG. 8 is an example of an internal memory provided for explaining the operation of the fourth embodiment of the present invention.
【図9】本発明の第4の実施の形態の動作説明に供する
内部メモリのその他の例である。FIG. 9 is another example of the internal memory provided for explaining the operation of the fourth embodiment of the present invention.
【図10】本発明の第4の実施の形態の動作説明に供す
る内部メモリのその他の例である。FIG. 10 is another example of the internal memory provided for explaining the operation of the fourth embodiment of the present invention.
【図11】本発明の第5の実施の形態の動作説明に供す
る内部メモリの一例である。FIG. 11 is an example of an internal memory provided for explaining the operation of the fifth embodiment of the present invention.
【図12】本発明の第5の実施の形態におけるキュー作
成時の動作説明に供する説明図である。FIG. 12 is an explanatory diagram for explaining an operation when creating a queue in the fifth embodiment of the present invention.
【図13】本発明の第5の実施の形態の動作説明に供す
る内部メモリのその他の例である。FIG. 13 is another example of the internal memory provided for explaining the operation of the fifth embodiment of the present invention.
【図14】本発明の第5の実施の形態の動作説明に供す
る説明図である。FIG. 14 is an explanatory diagram for explaining the operation of the fifth embodiment of the present invention.
【図15】本発明の第5の実施の形態の動作説明に供す
る内部メモリのその他の例である。FIG. 15 is another example of the internal memory used for explaining the operation of the fifth embodiment of the present invention.
【図16】本発明の第5の実施の形態の動作説明に供す
る説明図である。FIG. 16 is an explanatory diagram for explaining the operation of the fifth embodiment of the present invention.
【図17】本発明の第6の実施の形態における状変通知
配列形成時の処理手順の一例を示すフローチャートであ
る。FIG. 17 is a flowchart showing an example of a processing procedure at the time of forming a state change notification array according to the sixth embodiment of the present invention.
1,2,3 処理装置 4 通信回線 11,21,31 メモリ 12,22,32 演算処理部 18,28,29,38 通信制御装置(保持回路) 41 内部メモリ(データ保持手段) 44 データ転送制御部(転送手段,状態変化検出手
段,通知手段)1, 2, 3 Processor 4 Communication line 11, 21, 31 Memory 12, 22, 32 Arithmetic processing unit 18, 28, 29, 38 Communication control device (holding circuit) 41 Internal memory (data holding means) 44 Data transfer control Parts (transfer means, state change detection means, notification means)
Claims (10)
一旦保持する保持回路と、当該保持回路で保持する前記
各入力データの状態変化の有無に応じて所定の処理を実
行する処理装置と、を備えた入力データの状態変化検出
装置において、前記保持回路は、前記入力データを保持
するデータ保持手段と、当該データ保持手段で保持する
入力データを前記処理装置に転送する転送手段と、前記
データ保持手段のデータ保持領域を任意の領域からなる
データブロックに分割し、当該データブロックに状態変
化の有る前記入力データが含まれるか否かを検出する状
態変化検出手段と、当該状態変化検出手段の検出結果を
前記処理装置に通知する通知手段と、を備え、前記処理
装置は、前記転送手段が転送する前記入力データのう
ち、前記状態変化検出手段から通知される前記検出結果
に基づいて特定されるデータブロック内の入力データそ
れぞれについて状態変化の有無を検出する状変データ特
定手段を備えることを特徴とする入力データの状態変化
検出装置。1. A holding circuit that temporarily holds a plurality of input data that are repeatedly input, and a processing device that executes a predetermined process according to the presence or absence of a state change of each of the input data held by the holding circuit. In the input data state change detection device, the holding circuit includes a data holding unit that holds the input data, a transfer unit that transfers the input data held by the data holding unit to the processing device, and the data holding unit. The data holding area of the means is divided into data blocks composed of arbitrary areas, and the state change detecting means for detecting whether or not the data block includes the input data having the state change, and the detection of the state change detecting means A notification unit that notifies the processing device of the result, wherein the processing device detects the state change in the input data transferred by the transfer unit. An input data state change detection device, comprising state change data identification means for detecting the presence or absence of a state change for each input data in a data block identified based on the detection result notified from the means.
ータブロックの最大ブロック数よりも少ない数の初期ブ
ロックに予め分割されているとき、前記状態変化検出手
段は、前記初期ブロック及び当該初期ブロックが分割さ
れて形成されるブロックのうちその領域の広いものから
順に分割し、これを前記データブロックとすることを特
徴とする請求項1記載の入力データの状態変化検出装
置。2. When the data holding area is previously divided into a smaller number of initial blocks than the preset maximum number of data blocks, the state change detecting means is configured to detect the initial block and the initial block. 2. The input data state change detection device according to claim 1, wherein blocks formed by dividing are divided in order from a block having a wider area and are used as the data blocks.
ータブロックの最大ブロック数よりも少ない数の初期ブ
ロックに予め分割されているとき、前記状態変化検出手
段は、予め前記各初期ブロックに対して設定した優先順
位の高い初期ブロックから順に分割し、これを前記デー
タブロックとすることを特徴とする請求項1記載の入力
データの状態変化検出装置。3. When the data holding area is pre-divided into a smaller number of initial blocks than the preset maximum number of data blocks, the state change detecting means preliminarily sets the initial block for each of the initial blocks. 2. The input data state change detection device according to claim 1, wherein the set initial block having a higher priority is divided in order and the divided blocks are used as the data blocks.
定したデータブロックの最小値以上であることを特徴と
する請求項1乃至3の何れかに記載の入力データの状態
変化検出装置。4. The input data state change detection device according to claim 1, wherein the size of the data block is equal to or larger than a preset minimum value of the data block.
ータブロックの最大ブロック数よりも少ない数の初期ブ
ロックに予め分割され、且つ、前記初期ブロックが、デ
ータ内容を前記処理装置が認識しているデータを格納す
る自局領域とデータ内容を前記処理装置が認識していな
いデータを格納する他局領域とから形成されるとき、前
記状態変化検出手段は、前記初期ブロックを、当該初期
ブロックに含まれる前記自局領域と前記他局領域との境
界を境として分割し、分割したブロックを前記データブ
ロックとすることを特徴とする請求項1記載の入力デー
タの状態変化検出装置。5. The data holding area is divided in advance into a smaller number of initial blocks than a preset maximum number of data blocks, and the initial blocks recognize the data content by the processing device. When it is formed from its own station area for storing data and another station area for storing data whose data contents are not recognized by the processing device, the state change detecting means includes the initial block in the initial block. 2. The input data state change detection device according to claim 1, wherein the input data state change detection device is divided at a boundary between the own station region and the other station region, and the divided block is used as the data block.
ックを分割して形成されるブロックのうち、前記他局領
域で構成されるブロックのみを前記データブロックとす
ることを特徴とする請求項5記載の入力データの状態変
化検出装置。6. The state change detecting means sets only the block formed by the other station area among the blocks formed by dividing the initial block as the data block. A state change detection device for the input data described.
ックを分割して形成したブロック数が前記最大ブロック
数を越えたとき、前記初期ブロックどうしの境界を境と
して連続する2つのブロックを結合しこれを1つのデー
タブロックとすることを特徴とする請求項5又は6記載
の入力データの状態変化検出装置。7. The state change detecting means joins two consecutive blocks with a boundary between the initial blocks as a boundary when the number of blocks formed by dividing the initial block exceeds the maximum number of blocks. 7. The state change detection device for input data according to claim 5, wherein this is one data block.
力データを設定する設定手段と、当該設定手段で特定し
た入力データの格納領域を特定領域として検出し、この
特定領域の位置情報と当該特定領域の少なくとも一部を
含む前記データブロックとの対応を管理する特定領域管
理手段と、を備え、前記状変データ特定手段は、前記状
態変化検出手段から前記検出結果が通知されたとき、前
記特定領域管理手段の管理情報をもとに、前記検出結果
に基づき特定されるデータブロックに対応する前記特定
領域の位置情報を検索し、当該位置情報で特定される前
記特定領域内の入力データそれぞれについて状態変化の
有無を検出することを特徴とする請求項1乃至7の何れ
かに記載の入力データの状態変化検出装置。8. The processing device detects setting means for setting input data of a state change detection target, and a storage area of the input data specified by the setting means as a specific area, and position information of the specific area and A specific area management unit that manages correspondence with the data block including at least a part of a specific area; and the state change data specifying unit, when the detection result is notified from the state change detecting unit, Based on the management information of the specific area management means, the positional information of the specific area corresponding to the data block specified based on the detection result is searched, and each input data in the specific area specified by the positional information is searched. 8. The state change detection device for input data according to claim 1, wherein the presence or absence of state change is detected.
が複数のデータブロックにわたって設定されるとき、前
記特定領域を当該特定領域が含まれる複数のデータブロ
ック毎に分割し、各データブロック毎に前記特定領域を
管理することを特徴とする請求項8記載の入力データの
状態変化検出装置。9. The specific area management unit divides the specific area into a plurality of data blocks including the specific area when the specific area is set over a plurality of data blocks, and for each data block. 9. The state change detection device for input data according to claim 8, wherein the specific area is managed.
クに対応する要素を有する配列変数を備え、状態変化の
有る入力データを含む前記データブロックを検出したと
き、当該データブロックに対応する前記配列変数を所定
値に設定し、当該配列変数を前記検出結果として前記処
理装置に送信することを特徴とする請求項1乃至9の何
れかに記載の入力データの状態変化検出装置。10. The notifying means comprises an array variable having an element corresponding to each of the data blocks, and when the data block containing input data having a state change is detected, the array variable corresponding to the data block. Is set to a predetermined value and the array variable is transmitted to the processing device as the detection result. 10. The input data state change detection device according to claim 1, wherein
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7320263A JPH09163467A (en) | 1995-12-08 | 1995-12-08 | Input data status change detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7320263A JPH09163467A (en) | 1995-12-08 | 1995-12-08 | Input data status change detector |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09163467A true JPH09163467A (en) | 1997-06-20 |
Family
ID=18119559
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7320263A Pending JPH09163467A (en) | 1995-12-08 | 1995-12-08 | Input data status change detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09163467A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008529121A (en) * | 2005-01-24 | 2008-07-31 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | System and method for configuring a control system for a plurality of devices |
-
1995
- 1995-12-08 JP JP7320263A patent/JPH09163467A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008529121A (en) * | 2005-01-24 | 2008-07-31 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | System and method for configuring a control system for a plurality of devices |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7203943B2 (en) | Dynamic allocation of processing tasks using variable performance hardware platforms | |
| JP5088234B2 (en) | Message association processing apparatus, method, and program | |
| US7107323B2 (en) | System and method of file distribution for a computer system in which partial files are arranged according to various allocation rules | |
| JP4469306B2 (en) | Computer system, management server | |
| US7822945B2 (en) | Configuration managing device for a reconfigurable circuit | |
| JP2010287256A (en) | Server system and server arrangement method | |
| US11204799B2 (en) | Semiconductor device and systems using the same | |
| CN111813517A (en) | Task queue allocation method and device, computer equipment and medium | |
| CN109839910A (en) | Control device, control method and computer readable storage medium | |
| CN109361625A (en) | Verify the method, apparatus and controller of forwarding-table item | |
| CN110912967A (en) | Service node scheduling method, device, equipment and storage medium | |
| CN113837382A (en) | Method and system for training graph neural network | |
| JPH09163467A (en) | Input data status change detector | |
| JP4608559B2 (en) | Blade assignment method and blade assignment program | |
| JPH02118756A (en) | Multi-processor system, transfer path control system of message therein and method and data processing therefor | |
| JP2000227872A (en) | Dynamic slot allocation and tracking method for request of plural memories | |
| JPH04288638A (en) | Computer system | |
| WO2024124737A1 (en) | Process switching management method in heterogeneous computing, and computing apparatus | |
| CN110427394A (en) | Data manipulation method and device | |
| CN104937508B (en) | Programable display | |
| RU2571376C1 (en) | Method and apparatus for parallel processing of digital information in computer system | |
| EP0425764A2 (en) | Input data control system and data management apparatus for use therewith | |
| JPH1115526A (en) | Time series data processing apparatus and method, and storage medium recording time series data processing program | |
| CN116166678A (en) | Transportation route data processing method, device, electronic device and storage medium | |
| CN121501786A (en) | Data detection methods, devices, electronic equipment and storage media |