JPH04188250A - Data communication system - Google Patents

Data communication system

Info

Publication number
JPH04188250A
JPH04188250A JP2315995A JP31599590A JPH04188250A JP H04188250 A JPH04188250 A JP H04188250A JP 2315995 A JP2315995 A JP 2315995A JP 31599590 A JP31599590 A JP 31599590A JP H04188250 A JPH04188250 A JP H04188250A
Authority
JP
Japan
Prior art keywords
communication
buffer
buffers
data
communication buffer
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
JP2315995A
Other languages
Japanese (ja)
Inventor
Hideaki Ozawa
秀明 小澤
Akira Sugiyama
杉山 明良
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP2315995A priority Critical patent/JPH04188250A/en
Publication of JPH04188250A publication Critical patent/JPH04188250A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To efficiently use a memory without deteriorating the processing capacity of transmission by providing first and N-numbered communication buffers and plural common communication buffers. CONSTITUTION:An unillustrated application processor processing an application program 11, an unillustrated communication control device controlled by a communication control program 12, a main memory 13 and a communication buffer generation device 14 are provided. The first and the N-numbered communication buffers 31-3N corresponding to first and N-numbered links, and the plural common communication buffers 41 which can correspond to all the first and N-numbered links are provided for the memory 3. When the N-numbered communication buffer is already got at the time of transmitting data to the N- numbered link by a request from the application processor, the communication buffer getting means 15 of the communication control program 12 gets any of the common communication buffers. Thus, the memory 13 is effectively used and data transmission can efficiently be executed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ通信システムに関し、特に、通信管理
装置がアプリケーション処理装置からの送信要求に応じ
て通信バッファをゲットして通信を行なうデータ通信シ
ステムに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data communication system, and particularly to data communication in which a communication management device acquires a communication buffer in response to a transmission request from an application processing device and performs communication. Regarding the system.

[従来の技術] 従来、この種のデータ通信システムでは、データ送信に
必要とされる通信バッファを、予めメモリ内にリンクに
対応させて1つずつ、または、複数個ずつ設けている。
[Prior Art] Conventionally, in this type of data communication system, one or more communication buffers required for data transmission are provided in advance in memory in correspondence with links.

または、全てのリンクに共通の通信バッファを複数設け
、通信バッファブールを構成している。
Alternatively, a plurality of communication buffers common to all links are provided to form a communication buffer Boolean.

アプリケーション処理装置からのデータ送信要求信号を
受けた通信管理装置では、通信バッファゲット手段が通
信バッファをゲットする。ここで、通信バッファが各リ
ンクに対応して設けられている場合にはリンクに対応し
た通信バッファが、通信バッファブールが設けられてい
る場合にはその中の1つがゲットされる。
In the communication management device that receives the data transmission request signal from the application processing device, the communication buffer get means gets the communication buffer. Here, if a communication buffer is provided corresponding to each link, the communication buffer corresponding to the link is obtained, and if a communication buffer boolean is provided, one of the communication buffers is obtained.

[発明が解決しようとする課題] しかしながら、従来のデータ通信システムでは、例えば
、各リンクに対応してそれぞれ1つの通信バッファを設
けた場合は、アプリケーション処理装置から1つのリン
クに対して複数の送信要求信号があったとき、通信バッ
ファが1つしかないので1つのデータ送信しか行うこと
ができず、処理能力が低いという問題点かある。
[Problem to be Solved by the Invention] However, in the conventional data communication system, for example, when one communication buffer is provided corresponding to each link, multiple transmissions from an application processing device to one link are required. When there is a request signal, since there is only one communication buffer, only one data transmission can be performed, which poses a problem in that the processing capacity is low.

また、各リンクにそれぞれ複数の通信バッファを設けた
場合は、常に各リンクに複数のデータ送信要求かあるわ
けではないので、無駄な通信バッファが多く存在しメモ
リの利用効率が悪いという問題点がある。
In addition, if multiple communication buffers are provided for each link, there will not always be multiple data transmission requests for each link, so there will be a problem that there will be many useless communication buffers and memory usage will be inefficient. be.

さらに、通信バッファブールのように全てのリンクに対
応する複数の通信バッファを設けた場合は、ある特定の
リンクへのデータ送信要求が複数あった場合にその特定
のリンクへのデータ送信が通信バッファを独占してしま
い、他のリンクへのデータ送信が不可能になったり、著
しく遅延してしまうという問題点がある。
Furthermore, if multiple communication buffers corresponding to all links are provided, such as a communication buffer boolean, if there are multiple data transmission requests to a specific link, the data transmission to that specific link will be sent to the communication buffer. The problem is that data transmission to other links becomes impossible or is significantly delayed.

本発明は、メモリを有効に利用しつつ、データ伝送を効
率的に行なうことができるデータ通信システムを提供す
ることを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data communication system that can efficiently transmit data while making effective use of memory.

[課題を解決するための手段] 本発明によれば、アプリケーション処理装置が第1乃至
第Nのリンクに接続された通信管理装置を介して通信を
行なうデータ通信システムであって、前記通信管理装置
はメモリ内に設けられた複数の通信バッファの内のいず
れかをゲットする通信バッファゲット手段と、該通信バ
ッファゲット手段がゲットした通信バッファを使用して
データの送信を行なうデータ送信手段と、データ送信終
了後通信バッファを返却する通信バッファ返却手段とを
有するデータ通信システムにおいて、前記メモリには前
記第1乃至第Nのリンクにそれぞれ対応する第1乃至第
Nの通信バッファと、前記第1乃至第Nのリンクの全て
に対応可能な複数の共通通信バッファとが設けられ、前
記通信バッファゲット手段は前記アプリケーション処理
装置からの要求により第n(1≦n≦N)のリンクへデ
ータを送信する際に第nの通信バッファをゲットし、前
記第nの通信バッファがすでにゲットされているときは
前記共通通信バッファの内のいずれかをゲットするよう
にしたことを特徴とするデータ通信システムが一得られ
る。
[Means for Solving the Problems] According to the present invention, there is provided a data communication system in which an application processing device communicates via a communication management device connected to a first to an Nth link, wherein the communication management device includes a communication buffer getting means for getting one of a plurality of communication buffers provided in a memory, a data transmitting means for transmitting data using the communication buffer obtained by the communication buffer getting means, and a data transmitting means for transmitting data using the communication buffer obtained by the communication buffer getting means. In a data communication system having a communication buffer return means for returning a communication buffer after transmission is completed, the memory includes first to Nth communication buffers corresponding to the first to Nth links, respectively, and the first to Nth communication buffers. A plurality of common communication buffers capable of handling all of the N-th links are provided, and the communication buffer getting means transmits data to the n-th (1≦n≦N) link in response to a request from the application processing device. The data communication system is characterized in that when the n-th communication buffer is already obtained, one of the common communication buffers is obtained. can get.

[実施例コ 以下に図面を参照して本発明の詳細な説明する。[Example code] The present invention will be described in detail below with reference to the drawings.

第1図に本発明の一実施例のデータ通信システムのブロ
ック図を示す。
FIG. 1 shows a block diagram of a data communication system according to an embodiment of the present invention.

このデータ通信システムは、アプリケーションプログラ
ム11を処理するアプリケーション処理装置(図示せず
、以下アプリケーションプログラム11)、通信管理プ
ログラム12によって制御される通信管理装置(図示せ
ず、以下通信管理プログラム12)、メインメモリ13
、通信バッファ生成装置14を備えている。
This data communication system includes an application processing device (not shown, hereinafter referred to as application program 11) that processes an application program 11, a communication management device (not shown, hereinafter referred to as communication management program 12) controlled by a communication management program 12, a main memory 13
, a communication buffer generation device 14.

また、通信管理プログラム12は、通信バッファゲット
部15、データ送信部16、及び通信バッファ返却部1
7を有し、データ送信部16は第1乃至第Nのリンクに
接続されている。
The communication management program 12 also includes a communication buffer getter 15, a data transmitter 16, and a communication buffer returner 1.
7, and the data transmitter 16 is connected to the first to Nth links.

次にこのデータ通信システムの動作を説明する。Next, the operation of this data communication system will be explained.

まず、通信バッファ生成装置が起動され、メインメモリ
13上に通信バッファが設けられる。通信バッファは第
1乃至第Nのリンクにそれぞれ対応する第1乃至第Nの
専用通信バッファ31.32.・・、3Nと、通信バッ
ファブール40を構成する複数の共通通信バッファ41
とが設けられる。
First, the communication buffer generation device is activated and a communication buffer is provided on the main memory 13. The communication buffers include first to Nth dedicated communication buffers 31, 32, . . . corresponding to the first to Nth links, respectively. ..., 3N, and a plurality of common communication buffers 41 forming the communication buffer Boolean 40.
and is provided.

以下、第2図をも参照して説明する。This will be explained below with reference to FIG.

上記状態で、アプリケーションプログラム11からデー
タ送信要求信号が出力されると、ステップ521で通信
バッファゲット部15が起動される。
In the above state, when a data transmission request signal is output from the application program 11, the communication buffer get unit 15 is activated in step 521.

起動された通信バッファゲット部15は、ステップS2
2で、例えば、リンク1へのデータ送信要求であった場
合、リンク1にリンク1用通信バッファ31が存在する
か否かを調べる。(ここで、リンク1に通信バッファが
存在するとは、図示しないリンク制御装置にリンク1月
通信バッファのメモリ上の位置が登録されていることを
いう。)そして、リンク1用通信バッファ31かりツク
1に存在すれば通信バッファゲット部15はリンク1用
通信バッファ31をステップ52Bでゲットする。(ゲ
ットされるとリンク制御装置の登録は抹消される。) また、リンク1用通信バッファ31がリンク1に存在し
ない場合は通信バッファブール内の共通通信バッファ4
1のうちのいずれか1つをステップ523でゲットする
The activated communication buffer get unit 15 performs step S2.
In step 2, for example, if it is a data transmission request to link 1, it is checked whether link 1 has a communication buffer 31 for link 1. (Here, the existence of a communication buffer in link 1 means that the memory location of the link January communication buffer is registered in the link control device (not shown).) 1, the communication buffer get unit 15 gets the communication buffer 31 for link 1 in step 52B. (If it is obtained, the registration of the link control device will be deleted.) Also, if the communication buffer 31 for link 1 does not exist in link 1, the common communication buffer 4 in the communication buffer Boolean
1 in step 523.

通信バッファ31または41かゲットされると、ステッ
プS24でデータ送fg部16か起動される。
When the communication buffer 31 or 41 is obtained, the data sending fg section 16 is activated in step S24.

そして、データ送信部16はステップS25で通信バッ
ファ31または41を使用してリンク1ヘデータを送信
する。
Then, the data transmitter 16 transmits data to the link 1 using the communication buffer 31 or 41 in step S25.

次に第3図を参照して動作の説明を行う。Next, the operation will be explained with reference to FIG.

データ送信部16からのデータ送信が終了すると、ステ
ップ531で通信バッファ返却817が起動される。
When the data transmission from the data transmitter 16 is completed, the communication buffer return 817 is activated in step 531.

起動された通信バッファ返却部17は、ステップS32
でリンク1上に通信バッファが存在するか否かを調べる
The activated communication buffer return unit 17 performs step S32.
Check whether a communication buffer exists on link 1.

リンク1上に通信バッファが存在しないときはステップ
833で先程データ送信に使用したバッファ31または
41をリンク1用通信バッファ31として返却する。ま
た、通信バッファが存在したときはバッファブール40
へ共通通信バッファ41として返却する。(即ち、使用
した通信バッファのうち最初に通信を終了した通信バッ
ファを専用通信バッファとしてリンク制御装置に登録し
直す。) 最後に、通信バッファ返却手段からデータ送信が終了し
たことを示す終了信号がアプリケーションプログラム1
1に出力される。
If there is no communication buffer on link 1, the buffer 31 or 41 used for data transmission earlier is returned as the communication buffer 31 for link 1 in step 833. Also, if a communication buffer exists, buffer Boolean 40
The communication buffer 41 is returned to the common communication buffer 41. (In other words, the communication buffer that completed communication first among the used communication buffers is re-registered in the link control device as a dedicated communication buffer.) Finally, the communication buffer return means sends an end signal indicating that data transmission has ended. Application program 1
1 is output.

[発明の効果] 本発明によれば、メモリに、第1乃至第Nのリンクにそ
れぞれ対応する第1乃至第Nの通信バッファと、前記第
1乃至第Nのリンクの全てに対応可能な複数の共通通信
バッファとを設け、通信バッファゲット手段は、アプリ
ケーション処理装置からの要求により第n(1≦n≦N
)のリンクへデータを送信する場合に第nの通信バッフ
ァをゲットし、第nの通信バッファがすでにゲットされ
ているときは共通通信バッファの内のいずれかをゲット
するようにしたことで、アプリケーション処理装置から
第nのリンクへ複数のデータ送信要求かあっても共通通
信バッファを利用してデータ送ずミか行えるので処理能
力が低下しにくい。
[Effects of the Invention] According to the present invention, the memory includes first to Nth communication buffers corresponding to the first to Nth links, respectively, and a plurality of communication buffers that can correspond to all of the first to Nth links. A common communication buffer is provided, and the communication buffer get means receives the nth (1≦n≦N
) when sending data to a link, the n-th communication buffer is obtained, and if the n-th communication buffer has already been obtained, one of the common communication buffers is obtained. Even if there is a plurality of data transmission requests from the processing device to the n-th link, the common communication buffer can be used to send no data, so the processing capacity is unlikely to deteriorate.

また、各リンクに対応する通信バッファをそれぞれ1つ
とし、共通通信バッファの数を適当に選択することて、
メモリ上に無駄な通信バッファを確保しておくようなこ
とかなく、メモリを効率良く使用することができる。
Also, by setting one communication buffer for each link and appropriately selecting the number of common communication buffers,
Memory can be used efficiently without securing unnecessary communication buffers in memory.

さらに、各リンクに対応する通信バッファをそれぞれ1
つ設けであるので、特定のリンクへの複数のデータ送信
要求により通信バッファが占有されるようなことがない
Furthermore, each link has one communication buffer.
Therefore, the communication buffer will not be occupied by multiple data transmission requests to a specific link.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のブロック図、第2図は通信
バッファをゲットするときのフローチャート、第3図は
通信バッファを返却するときのフローチャートである。 11・・・アプリケーションプログラム、12・・・通
信管理プログラム、13・・・メインメモリ、14・・
・通信バッフ7生成装置、15・・・通信バッファゲッ
ト部、16・・・データ送信部、17・、・通信ノ〈、
、ファ返却部、31,32.・・・、3N・・・専用通
信Iくツファ、40・・・通信バッファブール、41・
・・共通通信バッファ0 第1図 第3図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart for getting a communication buffer, and FIG. 3 is a flowchart for returning a communication buffer. 11...Application program, 12...Communication management program, 13...Main memory, 14...
- Communication buffer 7 generation device, 15... Communication buffer get unit, 16... Data transmitting unit, 17... Communication <,
, Fa Return Department, 31, 32. ..., 3N... Dedicated communication Ikufa, 40... Communication buffer boolean, 41.
・・Common communication buffer 0 Figure 1 Figure 3

Claims (1)

【特許請求の範囲】 1、アプリケーション処理装置が第1乃至第N(Nは2
以上の整数)のリンクに接続された通信管理装置を介し
て通信を行なうデータ通信システムであって、 前記通信管理装置はメモリ内に設けられた複数の通信バ
ッファの内のいずれかをゲットする通信バッファゲット
手段と、該通信バッファゲット手段がゲットした通信バ
ッファを使用してデータの送信を行なうデータ送信手段
と、データ送信終了後通信バッファを返却する通信バッ
ファ返却手段とを有するデータ通信システムにおいて、 前記メモリには前記第1乃至第Nのリンクにそれぞれ対
応する第1乃至第Nの通信バッファと、前記第1乃至第
Nのリンクの全てに対応可能な複数の共通通信バッファ
とが設けられ、 前記通信バッファゲット手段は前記アプリケーション処
理装置からの要求により第n(1≦n≦N)のリンクへ
データを送信する際に第nの通信バッファをゲットし、
前記第nの通信バッファがすでにゲットされているとき
は前記共通通信バッファの内のいずれかをゲットするよ
うにしたことを特徴とするデータ通信システム。 2、前記メモリ内に前記前記第1乃至第Nのリンクにそ
れぞれ対応する第1乃至第Nの通信バッファと、前記第
1乃至第Nのリンクの全てに対応可能な複数の共通通信
バッファとを設ける通信バッファ生成手段を有すること
を特徴とする請求項1記載のデータ通信システム。
[Claims] 1. The application processing device is the first to Nth (N is 2
A data communication system that performs communication via a communication management device connected to a link (an integer greater than or equal to A data communication system comprising a buffer getting means, a data transmitting means for transmitting data using the communication buffer obtained by the communication buffer getting means, and a communication buffer returning means for returning the communication buffer after data transmission is completed, The memory is provided with first to Nth communication buffers corresponding to the first to Nth links, respectively, and a plurality of common communication buffers that can correspond to all of the first to Nth links, The communication buffer getting means gets the n-th communication buffer when transmitting data to the n-th (1≦n≦N) link in response to a request from the application processing device;
A data communication system characterized in that when the n-th communication buffer has already been obtained, one of the common communication buffers is obtained. 2. In the memory, first to Nth communication buffers respectively corresponding to the first to Nth links, and a plurality of common communication buffers that can correspond to all of the first to Nth links are provided. 2. The data communication system according to claim 1, further comprising communication buffer generation means provided.
JP2315995A 1990-11-22 1990-11-22 Data communication system Pending JPH04188250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2315995A JPH04188250A (en) 1990-11-22 1990-11-22 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2315995A JPH04188250A (en) 1990-11-22 1990-11-22 Data communication system

Publications (1)

Publication Number Publication Date
JPH04188250A true JPH04188250A (en) 1992-07-06

Family

ID=18072069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2315995A Pending JPH04188250A (en) 1990-11-22 1990-11-22 Data communication system

Country Status (1)

Country Link
JP (1) JPH04188250A (en)

Similar Documents

Publication Publication Date Title
US6578115B2 (en) Method and apparatus for handling invalidation requests to processors not present in a computer system
JPH04188250A (en) Data communication system
JP2943710B2 (en) Buffer busy control method
KR102410024B1 (en) In-vehicle infotainment management system
JPH06197133A (en) Communication system
JPS63132361A (en) Load system for program data in communication equipment
JP2522847B2 (en) Programmable controller system
JP2699604B2 (en) Bus connection device
JP2594313B2 (en) Half-duplex session management processing method
JP2935242B2 (en) Wireless communication system
JPH10233792A (en) Polling system/method
JPH0381852A (en) Connection control system
JP2923992B2 (en) Access Channel Control Method for Demand Assignment Communication System
JPH03143047A (en) Communication control system
JPH0561820B2 (en)
JPH0414339A (en) Terminal equipment
JPS62299139A (en) Multiple address communication system
JPH0477146A (en) Multi cast communication method
JPS61285562A (en) Communication control system
JPS5824254A (en) Packet buffer-free system
JPH0897836A (en) Transmitter
JPH0418652A (en) Data communication system
JPH02217039A (en) Poling/selecting control procedure system
JPS61174852A (en) Data transmission controller
JPH0193236A (en) Communication system