JPH09214584A - Communication control system between communication units - Google Patents

Communication control system between communication units

Info

Publication number
JPH09214584A
JPH09214584A JP8019573A JP1957396A JPH09214584A JP H09214584 A JPH09214584 A JP H09214584A JP 8019573 A JP8019573 A JP 8019573A JP 1957396 A JP1957396 A JP 1957396A JP H09214584 A JPH09214584 A JP H09214584A
Authority
JP
Japan
Prior art keywords
module
communication
transaction
processing
control right
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
Application number
JP8019573A
Other languages
Japanese (ja)
Inventor
Yasunori Nishibe
保則 西部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP8019573A priority Critical patent/JPH09214584A/en
Publication of JPH09214584A publication Critical patent/JPH09214584A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication control system by which the efficiency of a data processing by means of respective modules is improved. SOLUTION: A management module 2 is provided. Function modules 11 -1N generate transactions for the function modules to which the processing is to be requested next when the self processing is completed, registering them to a common transaction queue to transfer control right to the management module 2. Then, the management module 2 transfers necessary data to the other function module described in the transaction registered in the transaction queue when control right is obtained, and transfers control right to the function module.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信機器間のデー
タ転送制御のための通信制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control system for controlling data transfer between communication devices.

【0002】[0002]

【従来の技術】通信機器間のデータ転送は、お互いが決
められた通信プロトコルにしたがって行われるが、通信
プロトコルは図3に示すような階層構造で決定される。
2. Description of the Related Art Data transfer between communication devices is performed according to a communication protocol determined by each other, and the communication protocol is determined by a hierarchical structure as shown in FIG.

【0003】このような階層構造となっている通信プロ
トコルをソフトウェアによって実現する場合、各層の機
能を実現するモジュールを個々に作成し、各モジュール
間でデータを受け渡すことで通信を行わせる。
When the communication protocol having such a hierarchical structure is realized by software, a module for realizing the function of each layer is individually created, and data is transferred between the modules for communication.

【0004】例えば、機器が起動されると、内部のソフ
トウェアは、図4のように、各モジュールに制御権が順
次移って行く状態となり、各モジュールは自分に制御権
があるときに処理すべきデータの有無を調べ、データが
あれば処理を行い、データがなければそのまま次のモジ
ュールへ制御権を移す。
For example, when the device is activated, the internal software enters a state in which the control right is sequentially transferred to each module as shown in FIG. 4, and each module should process when it has the control right. The presence or absence of data is checked, if there is data, the processing is performed, and if there is no data, the control right is transferred to the next module.

【0005】[0005]

【発明が解決しようとする課題】従来の通信制御方式で
は、入出力データが無い場合でも、常に各モジュールが
サイクリックに起動されて行く手順になるため、例え
ば、入力データがあっても制御権がそのモジュールに移
るまでデータ処理が実行されず、通信効率が悪くなる。
According to the conventional communication control method, even if there is no input / output data, the procedure is such that each module is always activated cyclically. Data processing is not executed until the module moves to that module, resulting in poor communication efficiency.

【0006】また、次に処理を依頼したいモジュールが
順番的に離れたモジュールの場合でも、直接に対象モジ
ュールに制御を移すことができず、必ず順番的に間にあ
るモジュールを経なければならないため、通信効率を悪
くする。
Further, even if the next module to be requested for processing is a module which is sequentially separated, it is impossible to directly transfer control to the target module, and it is necessary to always go through a module in between. , Worsens communication efficiency.

【0007】これらは、実装するモジュール数が多くな
るほど、その影響が大きく、通信速度の低下になる。
As the number of modules to be mounted increases, the influence of these increases and the communication speed decreases.

【0008】本発明の目的は、各モジュールによるデー
タ処理の効率を高めた通信制御方式を提供することにあ
る。
An object of the present invention is to provide a communication control system which improves the efficiency of data processing by each module.

【0009】[0009]

【課題を解決するための手段】本発明は、通信機器間の
データ転送制御のため、階層構造となる通信プロトコル
の各層の機能をソフトウェア構成の機能モジュールとし
て個々に作成し、機能モジュール間でデータを受け渡し
て通信処理を行うにおいて、管理モジュールを設け、前
記機能モジュールは、自己の処理が終了したときに次に
処理を依頼しようとする機能モジュールに対するトラン
ザクションを作成して共通のトランザクションキューに
登録して制御権を前記管理モジュールに移し、前記管理
モジュールは、制御権を得たときに前記トランザクショ
ンキューに登録されるトランザクションに記述される他
の機能モジュールに必要なデータを渡して制御権を当該
機能モジュールに移すことを特徴とする。
According to the present invention, in order to control data transfer between communication devices, the function of each layer of a communication protocol having a hierarchical structure is individually created as a function module of software configuration, and data is transferred between the function modules. In delivering and performing communication processing, a management module is provided, and when the processing of its own is completed, the functional module creates a transaction for the functional module to request the next processing and registers it in a common transaction queue. To transfer the control right to the management module, and when the control module obtains the control right, the management module passes the necessary data to another function module described in the transaction registered in the transaction queue to transfer the control right to the function. It is characterized by being transferred to a module.

【0010】[0010]

【発明の実施の形態】図1は、本発明の実施形態を示す
モジュール構成を示し、各機能モジュール11〜1N間の
処理の流れを制御する管理モジュール2を設けている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a module configuration showing an embodiment of the present invention, in which a management module 2 for controlling the flow of processing between the functional modules 1 1 to 1 N is provided.

【0011】この構成において、機能モジュール11
Nは、入力データが到着したなどの事象が起こったと
きに対応した処理を行った後、次に処理を依頼すべき機
能モジュールに対するトランザクションを作成し、これ
を全機能モジュール共通のトランザクションキューに登
録し、制御権を管理モジュール2に移す。
In this configuration, the functional modules 1 1 ...
1 N performs processing corresponding to the occurrence of an event such as arrival of input data, then creates a transaction for the functional module to be requested for the next processing, and stores this in the transaction queue common to all functional modules. Register and transfer control to management module 2.

【0012】トランザクションは、少なくとも、図2の
構造を有し、次に処理を依頼したい相手モジュールの番
号と、自己モジュールの番号と、依頼をしたい処理内容
を示すコード及び処理の対象となるデータが格納される
バッファへのポインタが記述される。処理内容によって
は、発行されるトランザクションは複数になる。また、
トランザクションキューは、トランザクションのFIF
O構造で構成し、先に登録したトランザクションが先に
取り出される。
The transaction has at least the structure shown in FIG. 2, and includes the number of the partner module to be requested for processing next, the number of the self module, the code indicating the processing content to be requested, and the data to be processed. The pointer to the buffer to be stored is described. Depending on the processing content, multiple transactions will be issued. Also,
The transaction queue is the transaction FIF.
It is composed of O structure, and the transaction registered first is taken out first.

【0013】管理モジュール2は、トランザクションキ
ューを参照し、トランザクションが登録されていれば、
そこに記述される相手モジュール番号に対応したモジュ
ールに必要なデータを渡し、制御権を当該モジュールに
移す。このとき、処理の終わったトランザクションを抹
消しておく。
The management module 2 refers to the transaction queue, and if the transaction is registered,
The necessary data is passed to the module corresponding to the partner module number described therein, and the control right is transferred to the module. At this time, the processed transaction is deleted.

【0014】管理モジュール2により起動されたモジュ
ールは制御権を渡されたことで事象が起こったこととし
て上記の同様の処理を行い、処理を終えたときに管理モ
ジュール2へ制御権を移す。
The module activated by the management module 2 performs the same processing as the above, assuming that an event has occurred due to the transfer of the control right, and transfers the control right to the management module 2 when the processing is completed.

【0015】処理すべきトランザクションが無い、すな
わちキューが空きの場合は、管理モジュール2のみが常
にトランザクションキューを参照しておき、次の事象の
発生を待つ。
When there is no transaction to be processed, that is, when the queue is empty, only the management module 2 always refers to the transaction queue and waits for the occurrence of the next event.

【0016】このように、各モジュール11〜1Nは、処
理を依頼するモジュールに対するトランザクションを作
成してキュー登録するとともに制御権を管理モジュール
2に渡し、管理モジュール2は、トランザクションキュ
ーに登録されるトランザクションの順番に、相手モジュ
ールに必要なデータを渡すと共に制御権を移すという、
管理モジュール2によるトランザクションを使った通信
処理の管理を行う。
As described above, each of the modules 1 1 to 1 N creates and queues a transaction for the module requesting the processing and transfers the control right to the management module 2. The management module 2 is registered in the transaction queue. In order of the transaction to be performed, the necessary data is passed to the other module and the control right is transferred.
The management module 2 manages communication processing using transactions.

【0017】これにより、制御権の移行は、各モジュー
ルが作成するトランザクションとその作成順になり、順
番的に離れたモジュールの場合でも任意のモジュール間
の制御権の直接の移行を得ることができ、通信処理の効
率を高くする。
As a result, the transfer of the control right is based on the transaction created by each module and the order in which the transactions are created. Even in the case of the modules which are separated in order, the direct transfer of the control right between the arbitrary modules can be obtained. Increase the efficiency of communication processing.

【0018】なお、実施形態では、トランザクションキ
ューは、FIFOにより制御権の移行を順番とする場合
を示したが、これはトランザクションに優先権を付ける
ことで、より効率のよい処理手順を得ることができる。
In the embodiment, the transaction queue shows the case where the transfer of the control right is performed in the order of the FIFO. However, by giving priority to the transaction, a more efficient processing procedure can be obtained. it can.

【0019】[0019]

【発明の効果】以上のとおり、本発明によれば、管理モ
ジュールにより各機能モジュールによる処理の手順を管
理するようにしたため、制御ロスを少なくして通信効率
を高め、結果的には伝送速度を速くすることができる。
As described above, according to the present invention, since the management module manages the processing procedure by each functional module, the control loss is reduced, the communication efficiency is improved, and the transmission speed is eventually increased. Can be fast.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施形態を示すモジュール構成図。FIG. 1 is a module configuration diagram showing an embodiment of the present invention.

【図2】実施形態におけるトランザクションの構成例。FIG. 2 is a configuration example of a transaction in the embodiment.

【図3】通信プロトコルの階層構造例。FIG. 3 is an example of a hierarchical structure of a communication protocol.

【図4】従来の各モジュールの制御権の流れ。FIG. 4 shows a flow of control right of each conventional module.

【符号の説明】[Explanation of symbols]

1、1N…機能モジュール 2…管理モジュール1 1 , 1 N ... Function module 2 ... Management module

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通信機器間のデータ転送制御のため、階
層構造となる通信プロトコルの各層の機能をソフトウェ
ア構成の機能モジュールとして個々に作成し、機能モジ
ュール間でデータを受け渡して通信処理を行うにおい
て、 管理モジュールを設け、 前記機能モジュールは、自己の処理が終了したときに次
に処理を依頼しようとする機能モジュールに対するトラ
ンザクションを作成して共通のトランザクションキュー
に登録して制御権を前記管理モジュールに移し、 前記管理モジュールは、制御権を得たときに前記トラン
ザクションキューに登録されるトランザクションに記述
される他の機能モジュールに必要なデータを渡して制御
権を当該機能モジュールに移すことを特徴とする通信機
器間の通信制御方式。
1. In order to control data transfer between communication devices, the function of each layer of a communication protocol having a hierarchical structure is individually created as a function module of software configuration, and data is transferred between the function modules to perform communication processing. , A management module is provided, and the function module creates a transaction for a function module to be requested to process next when its own processing is completed and registers it in a common transaction queue to give control right to the management module. The management module transfers the control right to the relevant functional module by passing necessary data to other functional modules described in the transaction registered in the transaction queue when the control right is obtained. Communication control method between communication devices.
JP8019573A 1996-02-06 1996-02-06 Communication control system between communication units Pending JPH09214584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8019573A JPH09214584A (en) 1996-02-06 1996-02-06 Communication control system between communication units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8019573A JPH09214584A (en) 1996-02-06 1996-02-06 Communication control system between communication units

Publications (1)

Publication Number Publication Date
JPH09214584A true JPH09214584A (en) 1997-08-15

Family

ID=12003035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8019573A Pending JPH09214584A (en) 1996-02-06 1996-02-06 Communication control system between communication units

Country Status (1)

Country Link
JP (1) JPH09214584A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094400A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image processor and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094400A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image processor and image processing method

Similar Documents

Publication Publication Date Title
US7225279B2 (en) Data distributor in a computation unit forwarding network data to select components in respective communication method type
US7676588B2 (en) Programmable network protocol handler architecture
US8576864B2 (en) Host ethernet adapter for handling both endpoint and network node communications
KR920018567A (en) Data processing systems
JPH0816540A (en) Message communication system for parallel computer
US6693914B1 (en) Arbitration mechanism for packet transmission
JPH09214584A (en) Communication control system between communication units
JP2993728B2 (en) Protocol high-speed processing unit
US5918011A (en) Method for execution of program steps by a remote CPU in a computer network
US6651083B1 (en) Distributed service request system for providing fair arbitration using token passing scheme to resolve collisions
JPS62172840A (en) Transferring system for data
JP2526399B2 (en) Load balancing method for parallel computers
JPH01305461A (en) Right of using bus control system
JP2867381B2 (en) Transaction processing load balancing method
KR100199021B1 (en) A multi-interrupt control device and method by interrupt order on pci bus
JPH01191967A (en) Data communication processing system
JP3050131B2 (en) Arbitration method
JPH08110894A (en) Parallel computer system
JPH03210654A (en) Distributed control processor
JPH0887477A (en) Service requesting method
JPH04274524A (en) System for controlling inter-process communication
JPH03252847A (en) System bus arbitrating system
JPS62297960A (en) Data transfer system
JPH0697447B2 (en) Communication controller of processing device
JPS63296153A (en) System for controlling command concatenation of inter-program communication processing system