JPH02120956A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH02120956A
JPH02120956A JP63273697A JP27369788A JPH02120956A JP H02120956 A JPH02120956 A JP H02120956A JP 63273697 A JP63273697 A JP 63273697A JP 27369788 A JP27369788 A JP 27369788A JP H02120956 A JPH02120956 A JP H02120956A
Authority
JP
Japan
Prior art keywords
communication control
transmission
data
communication
firmware
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
JP63273697A
Other languages
Japanese (ja)
Inventor
Kozo Tamaru
田丸 康三
Akira Kamoshita
鴨志田 章
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 JP63273697A priority Critical patent/JPH02120956A/en
Publication of JPH02120956A publication Critical patent/JPH02120956A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To improve the performance of the whole communication processor by returning only a transmission completion interruption when a firmware in a communication control equipment DMA-transfers data to a buffer secured to store data. CONSTITUTION:At the time of receiving a transmission request from a operation program 4, a communication control program 5 generates a transmission request and a firmware 3 executes the DMA transfer of data to the buffer 30. At the end of the DMA transfer, an transmission completion interruption is returned to the program 5, and after returning the interruption, the transmission of data to a communication line l is started. Thereby, processing time required from the transmission request of the communication control program up to the information of the transmission completion interruption is shortened only by a time length obtained by dividing data length by a transmission speed on the communication line l. Consequently, the capacity of the communication control equipment 1 can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信制御方式に関し、通信制御プログラムから
の送信要求に対し、送信データをファームウェア内部に
確保しているバッファにDMA転送しそれが終了した時
点で送信完了の割込みを返す通信制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a communication control system, in which, in response to a transmission request from a communication control program, the transmission data is transferred by DMA to a buffer secured within firmware, and the process is completed. This invention relates to a communication control method that returns an interrupt indicating the completion of transmission when the transmission is completed.

〔従来の技術〕[Conventional technology]

一般に、通信制御装置と中央処理装置とから構成される
通信処理装置において、業務プログラムから送信要求が
出されると、通信制御プログラムは、通信制御装置に対
して送信要求を出す、送信要求が出されると、通信制御
装置内のブアームウエアは、送信データを一度フアーム
ウェア内部に確保しているバッファに転送する。それが
終わるとデータを通信回線上に送信し、送信が終了して
から送信完了の割込みを返すことになっていた。
In general, in a communication processing device consisting of a communication control device and a central processing unit, when a business program issues a transmission request, the communication control program issues a transmission request to the communication control device. Then, the firmware within the communication control device transfers the transmission data to a buffer secured within the firmware. Once that was completed, the data was sent over the communication line, and an interrupt indicating the completion of the transmission was to be returned after the transmission was completed.

すなわち、第5図(b)を見るに、業務プログラムから
送信要求を受は付けると通信制御プログラムは送信要求
9を発行する。次にファームウェアはデータのDMA転
送92を行い、DMA転送92が終了すると今度は通信
回線に対してデータの送信開始93を行う。ファームウ
ェアは送信終了94を確認した上で通信制御プログラム
に対して送信完了95の割込みを返していた。
That is, as shown in FIG. 5(b), upon receiving a transmission request from the business program, the communication control program issues a transmission request 9. Next, the firmware performs a DMA transfer 92 of data, and when the DMA transfer 92 is completed, it starts transmitting data 93 to the communication line. After confirming the completion of transmission 94, the firmware returned an interrupt indicating completion of transmission 95 to the communication control program.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の方式は、通信制御プログラムが通信制御
装置に対して送信要求を出してから、送信完了の割込み
が返るまでには実際の処理時間の他に、通信回線上へデ
ータを送信する時間を要する。そのなめ、通信処理装置
全体のスルーブツトの低下を招くという問題を生じる。
In the conventional method described above, in addition to the actual processing time, it takes time to send data onto the communication line after the communication control program issues a transmission request to the communication control device until the transmission completion interrupt returns. It takes. Therefore, a problem arises in that the throughput of the entire communication processing device decreases.

また、LAN系回線の場合ファームウェアがデータを通
信回線上に送信する時に、もし回線が混んでいてデータ
を流せない状態であったならば、通信回線が空きになる
まで処理を中断しなければならないことになっている。
Additionally, in the case of a LAN line, when the firmware sends data over the communication line, if the line is busy and the data cannot be sent, the process must be interrupted until the communication line becomes free. It is supposed to be.

すると、この通信回線の空くまでの待ち時間も処理時間
に加算されてしまうという欠点がある。
Then, there is a drawback that the waiting time until the communication line becomes available is also added to the processing time.

このような問題は、データ通信が頻繁に行われるシステ
ムにおいては、顕著なものとなってくる。
Such problems become noticeable in systems where data communication is frequently performed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の通信制御装置は、通信制御装置と中央処理装置
とから構成されている通信処理装置の前記中央処理装置
上で動作する通信制御プログラムから、前記通信制御装
置に対して送信要求を出した時に、前記通信制御装置内
のファームウェアが前記ファームウェア内に確保してい
るバッファに送信データをDMA転送した時点で、前記
通信制御プログラムに対して送信完了の割込みを返して
構成される。
The communication control device of the present invention issues a transmission request to the communication control device from a communication control program running on the central processing unit of a communication processing device constituted by a communication control device and a central processing unit. At times, when the firmware in the communication control device transfers the transmission data to a buffer reserved in the firmware by DMA, an interrupt indicating the completion of transmission is returned to the communication control program.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の構成を示すブロック図であり、回線l
に接続された通信制御装置1と、中央処理装置2とから
構成される通信処理装置を示す。通信制御装置1にはフ
ァームウェア3が、中央処理装置2には業務プログラム
4と通信制御プログラム5がそれぞれ含まれている。フ
ァームウェア3の内部には、ファームウェア本体にあっ
てデータを格納するためのバッファ3oと、そのバッフ
ァの管理を行うバッファ管理手段31と、データをバッ
ファに転送する転送手段32と、通信回線の管理を行う
回線管理33とから構成されている。
FIG. 1 is a block diagram showing the configuration of the present invention.
1 shows a communication processing device comprising a communication control device 1 and a central processing device 2 connected to the communication control device 1 and the central processing device 2. The communication control device 1 includes firmware 3, and the central processing unit 2 includes a business program 4 and a communication control program 5. Inside the firmware 3, there is a buffer 3o in the firmware body for storing data, a buffer management means 31 for managing the buffer, a transfer means 32 for transferring data to the buffer, and a communication line management. It consists of a line management 33 that performs.

第2図はバッファ管理手段の処理の流れ図、第3図は転
送手段の処理の流れ図、第4図は回線管理手段の処理の
流れ図、第5図は本発明の作動の流れ図を示す。
FIG. 2 is a flowchart of the processing of the buffer management means, FIG. 3 is a flowchart of the processing of the transfer means, FIG. 4 is a flowchart of the processing of the line management means, and FIG. 5 is a flowchart of the operation of the present invention.

以下に各図を参照して、業務プログラムがら通信制御プ
ログラムを経由して出された送信要求に対して、通信制
御装置からの送信完了割込みが通信制御プログラムに返
され、それを業務プログラムに完了通知するまでを例に
して本実施例の動作を説明する。
Referring to the figures below, in response to a transmission request issued from the business program via the communication control program, a transmission completion interrupt from the communication control device is returned to the communication control program, and the business program completes the request. The operation of this embodiment will be explained using an example up to notification.

最初に第5図を参照して送信要求から完了割込みまでの
流れを簡単に説明すると、次のようになる。業務プログ
ラムから送信要求を受は付けると、通信制御プログラム
は送信要求51を発行する。
First, the flow from the transmission request to the completion interrupt will be briefly explained with reference to FIG. 5 as follows. Upon accepting a transmission request from the business program, the communication control program issues a transmission request 51.

続いてファームウェアはデータのDMA転送52を行う
。DMA転送52が終了するとその時点で通信制御プロ
グラムに対して送信完了53の割込みを返す。割込みを
返した後、通信回線に対してデータの送信開始54を行
う。
The firmware then performs a DMA transfer 52 of the data. When the DMA transfer 52 is completed, a transmission completion 53 interrupt is returned to the communication control program at that point. After returning the interrupt, data transmission starts 54 to the communication line.

次にもう少しくわしく説明をする。Next, I will explain it in more detail.

まず、業務プログラム4は送信データを用意し、データ
の入っているバッファのアドレスをパスaを使って通信
制御プログラム5に通知するとともに送信要求を出す。
First, the business program 4 prepares data to be transmitted, uses path a to notify the communication control program 5 of the address of the buffer containing the data, and issues a transmission request.

すると通信制御プログラム5は、業務プログラム4から
の要求を基にして通信制御装置1に対してバスbを通し
て送信の命令を発行する。
Then, based on the request from the business program 4, the communication control program 5 issues a transmission command to the communication control device 1 through the bus b.

通信制御プログラム5から送信の命令が発行されると通
信制御装置1内のファームウェア3は最初バッファ管理
手段31の処理を起動する。バッファ管理手段31は、
起動すると第2図に示す処理を開始し、データを説明す
るためのバッファ30の状態を確認する(ステップ61
)。もしバッファが空いていれば、DMA転送許可通知
をする(ステップ63)。そうでなければバッファが空
きになるまでタイマをスタートする(ステップ62)。
When a transmission command is issued from the communication control program 5, the firmware 3 in the communication control device 1 first activates the processing of the buffer management means 31. The buffer management means 31 is
When started, the process shown in FIG. 2 is started, and the state of the buffer 30 for explaining data is checked (step 61).
). If the buffer is empty, a DMA transfer permission notification is sent (step 63). Otherwise, a timer is started until the buffer becomes empty (step 62).

次にファームウェア3はバッファ管理からのDMA転送
許可通知を確認した上、転送手段32に処理を渡す。
Next, the firmware 3 confirms the DMA transfer permission notification from the buffer management, and then passes the process to the transfer means 32.

処理を渡された転送手段32は、第3図に示すように、
パスbにより通信制御プログラムらから通知されている
送信データのバッファアドレスを使って、直ちにファー
ムウェア3内のデータを格納するためのバンファ30に
、データをDMA転送する(ステップ71)。DMA転
送が正常に終わるとDMA転送終了通知をして処理を戻
ずくステ・ツブ72)。ここでファームウェア3は、D
Mノ〜転送が正常に終了している場合、通信制御プロク
ラム5に対して送信正常完了をパスCによって通知する
。送信正常完了を通知された通信制御プロクラム5は、
パスdによって業務プログラム4に送信完了を返す。
As shown in FIG. 3, the transfer means 32 to which the processing has been passed,
Using the buffer address of the transmission data notified from the communication control program through path b, the data is immediately transferred by DMA to the buffer 30 for storing the data in the firmware 3 (step 71). When the DMA transfer ends normally, the step 72) notifies the end of the DMA transfer and returns the process. Here, firmware 3 is D
If the transfer has been completed normally, the communication control program 5 is notified of the normal completion of the transmission via path C. The communication control program 5 that has been notified of the successful completion of the transmission,
A transmission completion message is returned to the business program 4 through path d.

通信制御プログラム5に送信完了を通知した後、ファー
ムウェア3は次に回線管理手段33を起動する。これが
起動すると、第4図に示すように回線処理手段33は、
回線の状態を確認しくステップ83)。回線の空きを確
認した上で、データを格納しているバンファ30からデ
ータを通信回線上に送り始める(ステップ85)。デー
タを正常に送り終ったところで実質上の送信か終了する
(ステップ86)。もし回線に空きのないときは、通信
回線に空きが生じるまでタイマーをスタートして待って
いる(ステップ84)。
After notifying the communication control program 5 of the completion of transmission, the firmware 3 next activates the line management means 33. When this starts, the line processing means 33 as shown in FIG.
Check the line status (step 83). After confirming that the line is free, data is started to be sent onto the communication line from the buffer 30 storing the data (step 85). Once the data has been sent normally, the actual transmission ends (step 86). If there is no free line, a timer is started and waits until the communication line becomes free (step 84).

ここで、通信制御プログラムの送信要求から送信完了の
割り込みと通知されるまでの処理時間について、第5図
を参照して説明する。これによれは、従来の処理時間は
DMA転送時間と通信回線上へのデータを送信する時間
とからなるが、本発明では後者が不要となったので、デ
ータの長さを通信回線上の伝送速度で除した分だけ短か
くなり、通信制御装置の能力が向上する。別の見方をす
れば、本発明は、データ長が長い程、通信回線のデータ
伝送速度が遅い程、能力の向上効果が大きいことかわか
る。
Here, the processing time from the transmission request of the communication control program to the notification of transmission completion interrupt will be explained with reference to FIG. This is because the conventional processing time consists of the DMA transfer time and the time to transmit data over the communication line, but in the present invention, the latter is no longer necessary, so the length of the data is It becomes shorter by the amount divided by the speed, and the capability of the communication control device improves. From another perspective, it can be seen that in the present invention, the longer the data length and the slower the data transmission speed of the communication line, the greater the effect of improving performance.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、通信制御プログラムから
の送信要求に対する送信完了の割込みを、通信制御装置
内のファームウェアがデータを格納するために確保して
いるバッファに、データをDMA転送した時点で返すこ
とにより、ファームウェアが送信データを通信回線上に
流している間の時間を削減し通信処理装置全体の性能向
上に役立てるという効果がある。
As explained above, the present invention responds to a transmission completion interrupt in response to a transmission request from a communication control program at the time when data is transferred by DMA to a buffer reserved for storing data by firmware within a communication control device. By returning the data, the time spent by the firmware transmitting data on the communication line is reduced, which helps improve the overall performance of the communication processing device.

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

第1図は本発明の構成を示すブロック図、第2図はバッ
ファ管理手段の処理の流れ図、第3図は転送手段の処理
の流れ図、第4図は回線管理手段の処理の流れ図、第5
図は本発明の作動の流れ図、第6図は従来の技術による
作動の流れ図。 1・・通信制御装置、2・・・中央処理装置、3・・・
ファームウェア本体、4・・・業務プログラム、5・・
・通信制御プログラム、30・・・バッファ、31・・
・バッファ管理手段、32・・・転送手段、33・・・
回線管理手段。
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a flowchart of the processing of the buffer management means, FIG. 3 is a flowchart of the processing of the transfer means, FIG. 4 is a flowchart of the processing of the line management means, and FIG.
The figure is a flowchart of the operation of the present invention, and FIG. 6 is a flowchart of the operation of the conventional technique. 1...Communication control device, 2...Central processing unit, 3...
Firmware body, 4... Business program, 5...
・Communication control program, 30...Buffer, 31...
- Buffer management means, 32...Transfer means, 33...
Line management means.

Claims (1)

【特許請求の範囲】[Claims] 通信制御装置と中央処理装置とから構成されている通信
処理装置の前記中央処理装置上で動作する通信制御プロ
グラムから、前記通信制御装置に対して送信要求を出し
た時に、前記通信制御装置内のファームウェアが前記フ
ァームウェア内に確保しているバッファに送信データを
DMA転送した時点で、前記通信制御プログラムに対し
て送信完了の割込みを返して成ることを特徴とする通信
制御方式。
When a transmission request is issued to the communication control device from a communication control program running on the central processing unit of a communication processing device configured of a communication control device and a central processing device, A communication control system characterized in that, at the time when firmware transfers transmission data to a buffer secured within the firmware by DMA, a transmission completion interrupt is returned to the communication control program.
JP63273697A 1988-10-28 1988-10-28 Communication control system Pending JPH02120956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63273697A JPH02120956A (en) 1988-10-28 1988-10-28 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63273697A JPH02120956A (en) 1988-10-28 1988-10-28 Communication control system

Publications (1)

Publication Number Publication Date
JPH02120956A true JPH02120956A (en) 1990-05-08

Family

ID=17531294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63273697A Pending JPH02120956A (en) 1988-10-28 1988-10-28 Communication control system

Country Status (1)

Country Link
JP (1) JPH02120956A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57185533A (en) * 1981-05-11 1982-11-15 Hitachi Ltd Interruption method for transmission control
JPS62204354A (en) * 1986-03-05 1987-09-09 Fujitsu Ltd Control system for input/output instruction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57185533A (en) * 1981-05-11 1982-11-15 Hitachi Ltd Interruption method for transmission control
JPS62204354A (en) * 1986-03-05 1987-09-09 Fujitsu Ltd Control system for input/output instruction

Similar Documents

Publication Publication Date Title
US5878217A (en) Network controller for switching into DMA mode based on anticipated memory overflow and out of DMA mode when the host processor is available
NZ235002A (en) Data processing system with asynchronous delivery of control elements through distributed pipe
JPH117434A (en) System for processing quick arrival message in ansyncronous data communication system for plural nodes
JPH02120956A (en) Communication control system
JPH09204311A (en) Information processing system
JPH02207364A (en) Data transfer system
JPH054040Y2 (en)
JPH09269936A (en) Remote reading processing method and device therefor
JPS5921051B2 (en) Communication control device
JPS59146347A (en) Communication system between processes
JPS61264829A (en) Control system for interruption of network controller
JP2833782B2 (en) Communication control device
JP3594952B2 (en) A link between the central system and the satellite system to perform operations of the central system
JP2961542B2 (en) Data processing system
JPH04274524A (en) System for controlling inter-process communication
JPH01147763A (en) Input/output control system for terminal concentrator
JPH0511339B2 (en)
JPH05173926A (en) Peripheral device connection system
JPH10320345A (en) Bus controller
JPS6245575B2 (en)
JPH07319802A (en) Data transfer system
JPH03212752A (en) Data communication system
JPS5969827A (en) Data processor
JPH077954B2 (en) Control device
JPS63164552A (en) Packet exchanging system