JPH05151123A - Transmission data processor - Google Patents

Transmission data processor

Info

Publication number
JPH05151123A
JPH05151123A JP3342192A JP34219291A JPH05151123A JP H05151123 A JPH05151123 A JP H05151123A JP 3342192 A JP3342192 A JP 3342192A JP 34219291 A JP34219291 A JP 34219291A JP H05151123 A JPH05151123 A JP H05151123A
Authority
JP
Japan
Prior art keywords
transmission
data
transmission request
request
operating system
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.)
Withdrawn
Application number
JP3342192A
Other languages
Japanese (ja)
Inventor
Kazuhiro Kimura
一洋 木村
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP3342192A priority Critical patent/JPH05151123A/en
Publication of JPH05151123A publication Critical patent/JPH05151123A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To provide a transmission data processor which can effectively prevent the baffle occurring in the processor and improve the working efficiency of a computer even to many transmission requests. CONSTITUTION:The transmission data processor is equipped with a transmission request part 3 which produces a data transmission request, a request result deciding part 4 which decides the result of the transmission request given from an operating system, an accumulated data length recording part 2 which works before the operation of the part 3 and obtains the length of the transmission data needed for calculation of the transmission time, a necessary transmission time control part 5 which interrupts the processing for the time needed for transmission of the transmission data, and a transmission buffer idle waiting time control part 6 which controls the start time for retrial of the transmission request in regard of the information showing the fault of the data transmission request given from the operating system.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、送信データの処理装置
に係り、特に、アプリケーション電算機プログラムによ
る連続データ送信の処理を行う送信データ処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission data processing device, and more particularly to a transmission data processing device for performing continuous data transmission processing by an application computer program.

【0002】[0002]

【従来の技術】従来の送信データの処理方式は、図2に
示すように送信要求データを入力して電算機のオペレー
ティングシステムにデータの送信要求を行う送信要求部
3と、オペレーティングシステムからのデータの送信要
求の結果を判定する要求結果判定部4を有している。要
求結果判定部4は、データの送信要求がオペレーティン
グシステムから正常として通知を受けた場合、送信要求
データの処理を完了する。そして、異常として通知を受
けた場合、再度送信要求部3にデータの送信要求を行う
ものとなっていた。
2. Description of the Related Art A conventional transmission data processing method is, as shown in FIG. 2, a transmission request unit 3 for inputting transmission request data and requesting the data transmission to an operating system of a computer, and a data from the operating system. The request result determination unit 4 for determining the result of the transmission request is included. The request result determination unit 4 completes the processing of the transmission request data when the data transmission request is notified from the operating system as normal. Then, when the notification is received as an abnormality, the transmission request unit 3 is requested to transmit the data again.

【0003】[0003]

【発明が解決しようとする課題】この従来の送信データ
の処理方式では、送信すべきデータを単純にオペレーテ
ィングシステムに渡している。一方、オペレーティング
システムは、一般的にこの種のデータに関しては要求さ
れたデータを一度バッファに記憶し、その記憶したデー
タを伝送路に出力する。送信すべきデータが一時期に多
数発生した場合、オペレーティングシステムのバッファ
内のデータが送信完了しない状態で次々と送信データを
受領することになり、バッファが送信すべきデータで一
杯の状態(以下、バッファフルという。)となり、それ
以上の送信データを記録できなくなる。この結果、要求
結果判定部4は、オペレーティングシステムからデータ
の送信が異常として通知を受け、再度、送信要求部3に
データの送信要求を行う。このように、バッファフル中
に送信すべきデータが発生するとアプリケーション電算
機プログラムとオペレーティングシステム間で処理上の
ループができ、電算機で無駄な処理時間が発生するとい
う不都合が生じていた。
In this conventional transmission data processing method, the data to be transmitted is simply passed to the operating system. On the other hand, the operating system generally stores the requested data for this kind of data in the buffer once, and outputs the stored data to the transmission line. If a large amount of data to be sent occurs at one time, the data in the buffer of the operating system will be received one after another without being sent, and the buffer will be full of data to be sent. It will be full) and it will not be possible to record any more transmission data. As a result, the request result determination unit 4 is notified by the operating system that the data transmission is abnormal, and again requests the transmission request unit 3 to transmit the data. As described above, when data to be transmitted occurs while the buffer is full, a processing loop is created between the application computer program and the operating system, resulting in inconvenient processing time in the computer.

【0004】[0004]

【発明の目的】本発明は、かかる従来例の有する不都合
を改善し、とくに一時期に多量の送信すべきデータが発
生してもオペレーティングシステムでのバッフルの発生
を有効に防止し電算機の稼働効率の向上図った送信デー
タ処理装置を提供することを、その目的とする。
It is an object of the present invention to improve the inconvenience of the prior art example, particularly to effectively prevent the occurrence of baffles in the operating system even if a large amount of data to be transmitted occurs at one time and to improve the operating efficiency of the computer. It is an object of the present invention to provide a transmission data processing device which is improved.

【0005】[0005]

【課題を解決するための手段】本発明では、入力される
送信要求に従い電算機のオペレーティングシステムにデ
ータの送信要求を行う送信要求部と、オペレーティング
システムから出される送信要求の結果を判定する要求結
果判定部とを備え、この要求結果判定部が、オペレーテ
ィングシステムよりデータの送信要求が正常との通知に
際しては当該送信要求データの処理を完了すると共に、
当該データの送信要求が異常との通知に際しては送信要
求部にデータの送信要求を再度行うデータ処理機能を備
えている。そして、前述した送信要求部の作動に先立っ
て作動し送信時間の算定に要する送信データのデータ長
を求める累積データ長記録部と、この送信データの伝送
に要する時間だけ処理を中断制御する伝送所要時間調整
部と、オペレーティングシステムからのデータ送信要求
が異常との通知に際しては送信要求の再試行の開始時期
を制御する送信バッファ空き待時間調整部とを装備す
る、という構成を採っている。これによって前述した目
的を達成しようとするものである。
According to the present invention, a transmission request unit for making a data transmission request to an operating system of a computer according to an input transmission request, and a request result for judging the result of the transmission request issued from the operating system. The request result determination unit completes processing of the transmission request data when the operating system notifies that the data transmission request is normal, and
When a notification that the data transmission request is abnormal is made, the transmission request unit is provided with a data processing function for making a data transmission request again. A cumulative data length recording unit that operates prior to the operation of the above-described transmission request unit to obtain the data length of the transmission data required to calculate the transmission time, and a transmission requirement that controls the processing for the time required to transmit the transmission data A configuration is provided in which a time adjustment unit and a transmission buffer empty waiting time adjustment unit that controls the start timing of retry of the transmission request when the operating system notifies that the data transmission request is abnormal. This aims to achieve the above-mentioned object.

【0006】[0006]

【実施例】以下、本発明の一実施例を図1に基づいて説
明する。ここで前述した従来例と同一の構成部材につい
ては同一の符号を用いるものとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIG. Here, the same reference numerals are used for the same components as those of the conventional example described above.

【0007】本実施例の構成を示すフローチャートを図
1に示す。図1において、このフローチャートでは、入
力される送信要求に従い電算機のオペレーティングシス
テムにデータの送信要求を行う送信要求部3と、オペレ
ーティングシステムから出される送信要求の結果を判定
する要求結果判定部4とを備え、この要求結果判定部4
が、オペレーティングシステムよりデータの送信要求が
正常との通知に際しては当該送信要求データの処理を完
了すると共に、当該データの送信要求が異常との通知に
際しては送信要求部にデータの送信要求を再度行うデー
タ処理機能を備えている。そして、送信要求部3の作動
に先立って作動し送信時間の算定に要する送信データの
データ長を求める累積データ長記録部2と、この送信デ
ータの伝送に要する時間だけ処理を中断制御する伝送所
要時間調整部5と、オペレーティングシステムからのデ
ータ送信要求が異常との通知に際しては送信要求の再試
行の開始時期を制御する送信バッファ空き待時間調整部
6とを装備している。
FIG. 1 is a flow chart showing the configuration of this embodiment. In FIG. 1, in this flowchart, a transmission request unit 3 that makes a data transmission request to an operating system of a computer according to an input transmission request, and a request result determination unit 4 that determines the result of a transmission request issued from the operating system. And the request result determination unit 4
However, when the operating system notifies that the data transmission request is normal, the processing of the transmission request data is completed, and when notifying that the data transmission request is abnormal, the data transmission request is reissued to the transmission request unit. It has a data processing function. Then, the cumulative data length recording unit 2 which operates prior to the operation of the transmission request unit 3 and calculates the data length of the transmission data required for the calculation of the transmission time, and the transmission requirement for interrupting the process for the time required for the transmission of the transmission data are required. The time adjustment unit 5 and the transmission buffer empty waiting time adjustment unit 6 for controlling the start timing of retry of the transmission request when the data transmission request from the operating system is notified as abnormal are provided.

【0008】これを更に詳述すると、図1において、処
理の開始点1で送信すべきデータを入力し、オペレーテ
ィングシステムのバッファ内に記憶できる最大送信デー
タの数において、累積データ長記録部2で本送信要求デ
ータを含め今までに入力した送信データのデータ長の総
和Lを求める。次に送信要求部3は送信すべきデータを
オペレーティングシステムに渡す。要求結果判定部10
は、データの送信結果がオペレーティングシステムから
正常として通知を受けた場合、伝送所要時間調整部5
は、送信要求データの伝送所要時間を送信データ長と伝
送速度とから求め、一旦、本処理をその時間中断する。
そして、中断解除後に本処理を処理の終了点7で終了す
る。異常として通知を受けた場合、送信バッファ空き待
時間調整部6は、累積データ長記録部2で求めたデータ
長の総和Lと伝送速度とからバッファ内の全てのデータ
の伝送所要時間を求め、一旦本処理をその時間中断す
る。そして、中断解除後再度、送信要求部10にデータ
の送信要求をオペレーティングシステムに行う。
This will be described in more detail. In FIG. 1, the cumulative data length recording section 2 inputs the data to be transmitted at the starting point 1 of the process, and stores the maximum number of transmission data which can be stored in the buffer of the operating system. The sum L of the data lengths of the transmission data input so far including the transmission request data is calculated. Next, the transmission request unit 3 passes the data to be transmitted to the operating system. Request result determination unit 10
When the data transmission result is notified from the operating system as normal, the required transmission time adjusting unit 5
Calculates the required transmission time of the transmission request data from the transmission data length and the transmission speed, and temporarily suspends this processing for that time.
Then, after canceling the interruption, the present process ends at the end point 7 of the process. When notified as an abnormality, the transmission buffer empty waiting time adjustment unit 6 obtains the required transmission time of all the data in the buffer from the sum L of the data lengths obtained by the cumulative data length recording unit 2 and the transmission rate, This process is once interrupted for that time. After canceling the interruption, the transmission request unit 10 is requested to transmit data again to the operating system.

【0009】伝送所要時間調整部5により本処理が中断
中にオペレーティングシステムのバッファ内のデータが
伝送されるため、バッファ内での送信データの累積は基
本的には無くなる。また、データ伝送中のエラー等によ
り一時的にバッファ内の送信データが累積したとして
も、送信バッファ空き待時間調整部6によりバッファ内
の送信データの累積は解除されるものとなる。
Since the data in the buffer of the operating system is transmitted by the transmission time adjustment unit 5 during the interruption of this process, the transmission data is basically accumulated in the buffer. Further, even if the transmission data in the buffer is temporarily accumulated due to an error during data transmission, the accumulation of the transmission data in the buffer is canceled by the transmission buffer free waiting time adjusting unit 6.

【0010】[0010]

【発明の効果】以上説明したように、本発明によると、
送信すべきデータの伝送所要時間の算出を行い、その時
間だけ処理を中断するようにしたので、一時期に多量の
送信すべきデータが発生した場合においてオペレーティ
ングシステムがバッファフルにならないことから、アプ
リケーション電算機プログラムとオペレーティングシス
テム間で処理上のループによる電算機の無駄な処理時間
を削減できるという従来にない優れた送信データ処理装
置を提供することができる。
As described above, according to the present invention,
Since the time required to transmit the data to be transmitted is calculated and the processing is interrupted for that time, the operating system does not become buffer full when a large amount of data to be transmitted occurs at one time. It is possible to provide an unprecedented excellent transmission data processing device that can reduce wasteful processing time of a computer due to a processing loop between a computer program and an operating system.

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

【図1】本発明の一実施例の構成を示すフローチャート
である。
FIG. 1 is a flowchart showing a configuration of an exemplary embodiment of the present invention.

【図2】従来の送信データの処理方式の構成を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing a configuration of a conventional transmission data processing method.

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

2 累積データ長記録部 3 送信要求部 4 要求結果判定部 5 伝送所要時間調整部 6 送信バッファ空き待時間調整部 2 accumulated data length recording unit 3 transmission request unit 4 request result determination unit 5 required transmission time adjustment unit 6 transmission buffer free waiting time adjustment unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力される送信要求に従い電算機のオペ
レーティングシステムにデータの送信要求を行う送信要
求部と、前記オペレーティングシステムから出される前
記送信要求の結果を判定する要求結果判定部とを備え、
この要求結果判定部が、前記オペレーティングシステム
より前記データの送信要求が正常との通知に際しては当
該送信要求データの処理を完了すると共に、当該データ
の送信要求が異常との通知に際しては前記送信要求部に
データの送信要求を再度行うデータ処理機能を備えて成
る送信データ処理装置において、前記送信要求部の作動
に先立って作動し送信時間の算定に要する送信データの
データ長を求める累積データ長記録部と、この送信デー
タの伝送に要する時間だけ処理を中断制御する伝送所要
時間調整部と、前記オペレーティングシステムからのデ
ータ送信要求が異常との通知に際しては前記送信要求の
再試行の開始時期を制御する送信バッファ空き待時間調
整部とを装備したことを特徴とする送信データ処理装
置。
1. A transmission request unit for making a data transmission request to an operating system of a computer according to an input transmission request, and a request result determination unit for determining a result of the transmission request issued from the operating system,
The request result determination unit completes processing of the transmission request data when the operating system notifies that the transmission request of the data is normal, and the transmission request unit when notifying that the transmission request of the data is abnormal. In a transmission data processing device having a data processing function for making a data transmission request again, a cumulative data length recording unit that operates prior to the operation of the transmission requesting unit and obtains the data length of the transmission data required to calculate the transmission time And a transmission required time adjusting unit for controlling the processing to be interrupted only for the time required for transmitting the transmission data, and controlling the start timing of the retry of the transmission request when the data transmission request from the operating system is notified as being abnormal. A transmission data processing device comprising a transmission buffer idle waiting time adjusting unit.
JP3342192A 1991-11-30 1991-11-30 Transmission data processor Withdrawn JPH05151123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3342192A JPH05151123A (en) 1991-11-30 1991-11-30 Transmission data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3342192A JPH05151123A (en) 1991-11-30 1991-11-30 Transmission data processor

Publications (1)

Publication Number Publication Date
JPH05151123A true JPH05151123A (en) 1993-06-18

Family

ID=18351832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3342192A Withdrawn JPH05151123A (en) 1991-11-30 1991-11-30 Transmission data processor

Country Status (1)

Country Link
JP (1) JPH05151123A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259534A (en) * 1999-03-04 2000-09-22 Toshiba Corp Transmission equipment, transmission method, recording medium recording software for transmission and communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259534A (en) * 1999-03-04 2000-09-22 Toshiba Corp Transmission equipment, transmission method, recording medium recording software for transmission and communication system

Similar Documents

Publication Publication Date Title
US5628013A (en) Apparatus and method for allocating processing time in a frame-based computer system
US20080109576A1 (en) Data Transfer Apparatus, Storage Device Control Apparatus and Control Method Using Storage Device Control Apparatus
JPH05151123A (en) Transmission data processor
JP2570847B2 (en) Data transfer method
JPH02129746A (en) Input/output channel equipment
JP2576805B2 (en) Disk controller
JP2865131B2 (en) Data transfer method
JP3898332B2 (en) Timer automatic control device and recording medium
JP2856589B2 (en) Interrupt distribution method
JP3102607B2 (en) Printer device
JP2835487B2 (en) Printer buffer
JPS63118949A (en) Information processor
JP2581558B2 (en) Distributed processing system
JPH07129510A (en) Computer system
JP2001014120A (en) Print system and recording medium
JPH06224970A (en) Communication speed adaptive variable device
JP3324128B2 (en) I / O control device
JPH0675895A (en) Input buffer control system
JPS60126949A (en) Communication controller
JPH064456A (en) Data transfer controller
JPH04372042A (en) Input/output interrupt processing management system
JPH05189265A (en) Maintenance and diagnostic device for information processor
JPH05303542A (en) Command end confirmation control method
JPH1021178A (en) Data transmitter
JPH06297812A (en) Printer device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204