JPH0115100B2 - - Google Patents

Info

Publication number
JPH0115100B2
JPH0115100B2 JP57183475A JP18347582A JPH0115100B2 JP H0115100 B2 JPH0115100 B2 JP H0115100B2 JP 57183475 A JP57183475 A JP 57183475A JP 18347582 A JP18347582 A JP 18347582A JP H0115100 B2 JPH0115100 B2 JP H0115100B2
Authority
JP
Japan
Prior art keywords
data
transmitting
receiving
buffer
queue 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.)
Expired
Application number
JP57183475A
Other languages
Japanese (ja)
Other versions
JPS5972539A (en
Inventor
Kenichi Yukimatsu
Hiroshi Fujitani
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP57183475A priority Critical patent/JPS5972539A/en
Publication of JPS5972539A publication Critical patent/JPS5972539A/en
Publication of JPH0115100B2 publication Critical patent/JPH0115100B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Description

【発明の詳細な説明】[Detailed description of the invention]

〔発明の属する分野〕 本発明はデータ転送方式に係り、詳しくは、複
数回線のデータ送受信を行うデータ送受信装置と
中央制御装置(CC)との間でデータを転送する
方式に関するものである。 〔従来技術〕 一般に、複数回線のデータ送受信を行うデータ
送受信装置とCC間のデータ転送においては、デ
ータ送受信装置内での処理とCCでの処理とに独
立性をもたせるため、データ送受信装置とCCと
の間に送受信キユーバツフアを設け、転送データ
をキユーとして格納する方式が用いられる。この
ような方式において、従来は該キユーバツフアの
書込み/読出し制御を、書込みポインタ、取出し
ポインタ、実行ポインタなどのポインタを用いた
ポインタ制御により行つており、キユーバツフア
の空き状態等をそれぞれのポインタの値を比較す
ることにより判定し制御していた。そのため、キ
ユーバツフアの状態を知るためには、まずポイス
タの読取り処理を行い、ポインタを構成している
カウンタの値を演算して、たとえば書込みポイン
タに1を足したものが取出しポインタの値と等し
い時は、そのキユーバツフアに空きエリアが無い
状態であるというように判定していた。このよう
に、ポインタ制御によるキユー書込み/読取り方
式では、キユーバツフアの状態を読取る処理が複
雑であり、データ転送は非効率的なものであつ
た。 〔発明の目的〕 本発明の目的は、上記キユーバツフアによるデ
ータの転送を効率的に行うことにある。 〔発明の概要〕 上記目的を達成するため、本発明は、CCが読
取るデータに、受信キユーバツフアおよび送信キ
ユーバツフアの状態を表示するビツトを付加し、
受信キユーバツフアに関しては、データが有ると
きは所定周期内でデータを連続的に読取れるよう
にすると共に、送信キユーバツフアに関しては、
当該バツフアが空か否かを送信キユーバツフアに
アクセスすることなくCCで知ることができるよ
うにしたものである。 また、CCが読取るデータに付加される送信キ
ユーバツフアの状態を表示するビツトに、当該バ
ツフアの空きエリアの大きさの程度が区別できる
表示を付与し、ブロツク長の異なるデータの送信
キユーバツフアへの書込みを効率的に行えるよう
にしたものでさる。さらに、データ送受信装置内
で送信処理を行うために送信キユーバツフアのデ
ータを転送して格納しておく回線対応バツフアが
空となつた時点で、当該回線の送出完了を受信キ
ユーバツフアを介してCCへ報告することにより、
データを送出した回線の回線対応バツフアのオー
バーフローを防ぐようにしたものである。 〔発明の実施例〕 第1図は本発明が対象とするシステムの一例
で、1はデータ端末装置、2は交換機の通話路ス
イツチ、3は交換機の中央制御装置(CC)、4は
データ送受信装置、5はSPバスである。データ
端末装置1とデータ送受信装置4とは通話路スイ
ツチ2により接続され、データ送受信装置4と
CC3の間はSPバス5で接続されている。6はデ
ータ送受信装置4の送受信処理回路や回線対応バ
ツフアメモリ等であり、7は送信/受信キユーバ
ツフア、8はSPバスインタフエース回路である。
データ送受信装置4は6,7,8により構成され
る。 データ送受信装置4は、データ端末装置1から
のデータを通話路スイツチ2を通してユニツト6
で受信し、7の受信キユーバツフアに積込むとと
もに、送信キユーバツフアのデータをユニツト6
で送出処理を行つてデータ端末装置1へ送出す
る。7の受信キユーバツフアに積込まれたデータ
はSPバスインタフエース回路8、SPバス5を通
してCC3へ転送され、同様に、CC3からの送出
データはSPバス5を通して7の送信キユーバツ
フアに転送される。 第2図は該キユーバツフアにおける本発明のデ
ータ転送の説明図である。第2図の7,8は第1
図の7,8とそれぞれ同様のものであり、9が送
信キユーバツフア、10が受信キユーバツフアで
ある。11は送信キユーバツフア9を構成してい
るレジスタのデータ格納位置を示すポインタによ
りハードロジツクで求められた該バツフア9の状
態を表示するビツトであり、12は同様に受信キ
ユーバツフアの状態を表示するビツトである。1
3は受信キユーバツフア10の読取りによるアン
サデータである。CC3より受信キユーバツフア
10を周期的にアクセスし、その読取りデータに
受信および送信キユーバツフアの状態表示ビツト
11,12を付加したアンサデータ13がCC3
へ転送される。CC3はこのアンサデータ13に
表示されたキユーバツフア状態表示ビツトによ
り、読取つた受信データの有効性の判断やその後
の読取り制御を行うことができ、また同時に送信
キユーバツフアの状態も知ることができるため、
例えば送信データを送信キユーバツフア9に書込
む際にわざわざ該バツフアにその状態をアクセス
することなく、送出データ書込みの制御を行うこ
とができる。このときのキユーバツフア状態表示
例を表1に示す。
[Field of the Invention] The present invention relates to a data transfer system, and more particularly, to a system for transferring data between a data transmitting/receiving device that transmits and receives data over multiple lines and a central control unit (CC). [Prior Art] Generally, in data transfer between a data transmitting/receiving device that transmits/receiving data over multiple lines and a CC, in order to provide independence between processing within the data transmitting/receiving device and processing at the CC, the data transmitting/receiving device and the CC are A method is used in which a sending/receiving queue buffer is provided between the two and the transferred data is stored as a queue. In such a system, writing/reading of the queue buffer has conventionally been controlled by pointer control using pointers such as a write pointer, fetch pointer, execution pointer, etc., and the free status of the queue buffer is determined by the value of each pointer. It was determined and controlled by comparison. Therefore, in order to know the status of the queue buffer, first read the pointer and calculate the value of the counter that makes up the pointer. It was determined that there was no free area in the queue. As described above, in the queue write/read method based on pointer control, the process of reading the status of the queue buffer is complicated, and data transfer is inefficient. [Object of the Invention] An object of the present invention is to efficiently transfer data using the queue buffer. [Summary of the Invention] In order to achieve the above object, the present invention adds bits indicating the status of the receiving queue buffer and the transmitting queue buffer to the data read by the CC,
Regarding the receiving queue buffer, when there is data, it is possible to read the data continuously within a predetermined cycle, and regarding the transmitting queue,
This allows CC to know whether the buffer is empty or not without accessing the transmitting buffer. In addition, an indication that can distinguish the size of the free area of the buffer is added to the bit added to the data read by the CC that indicates the status of the transmitting buffer, and data with different block lengths can be written to the transmitting buffer. It's designed to be done efficiently. Furthermore, when the line-compatible buffer, which transfers and stores data in the transmitting queue buffer for transmission processing within the data transmitting/receiving device, becomes empty, the completion of transmission for that line is reported to the CC via the receiving queue buffer. By doing so,
This is to prevent overflow of the line-compatible buffer of the line that sent the data. [Embodiment of the Invention] Fig. 1 shows an example of a system to which the present invention is applied, in which 1 is a data terminal device, 2 is a call path switch of an exchange, 3 is a central control unit (CC) of an exchange, and 4 is a data transmission/reception unit. Device 5 is the SP bus. The data terminal device 1 and the data transmitting/receiving device 4 are connected by a communication path switch 2, and the data transmitting/receiving device 4 and
The CCs 3 are connected by an SP bus 5. Reference numeral 6 designates a transmission/reception processing circuit, a line compatible buffer memory, etc. of the data transmission/reception device 4, 7 a transmission/reception queue buffer, and 8 an SP bus interface circuit.
The data transmitting/receiving device 4 is composed of 6, 7, and 8. The data transmitting/receiving device 4 transmits data from the data terminal device 1 to the unit 6 through the communication path switch 2.
unit 6 receives the data and loads it into the receiving buffer of unit 7.
performs sending processing and sends it to the data terminal device 1. The data loaded into the receiving queue buffer No. 7 is transferred to the CC 3 through the SP bus interface circuit 8 and the SP bus 5, and similarly, the data sent from CC3 is transferred through the SP bus 5 to the sending queue buffer No. 7. FIG. 2 is an explanatory diagram of data transfer according to the present invention in the queue buffer. 7 and 8 in Figure 2 are the first
They are similar to 7 and 8 in the figure, with 9 being a transmitting queue buffer and 10 being a receiving queue buffer. Reference numeral 11 is a bit that indicates the state of the transmitting buffer 9 determined by the hardware logic using a pointer indicating the data storage position of the register that constitutes the transmitting buffer 9, and 12 is a bit that similarly indicates the state of the receiving buffer 9. . 1
3 is answer data read from the receiving queue buffer 10. The CC3 periodically accesses the receiving queue buffer 10, and the answer data 13 obtained by adding receiving and transmitting queue buffer status display bits 11 and 12 to the read data is obtained from the CC3.
will be forwarded to. The CC3 can determine the validity of the read received data and control the subsequent reading based on the queue buffer status display bits displayed in the answer data 13, and can also know the status of the transmitting queue buffer at the same time.
For example, when writing transmission data to the transmission queue buffer 9, it is possible to control the writing of transmission data without having to take the trouble to access the status of the buffer. Table 1 shows an example of the queue buffer status display at this time.

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

以上の説明したように、従来のポインタ制御で
はキユーバツフアの状態を知るのに演算をする必
要があつたが、本発明では受信キユーバツフアの
読取りデータに両キユーバツフアの状態表示ビツ
トを設けたため、キユーバツフアの状態を簡易に
CCが知ることができ、したがつてキユー書込
み/読取りの制御も容易となる利点がある。さら
に、送信キユーバツフアの状態を長短データの書
込みが識別できるようにするとともに送信完了報
告を設けたため、複数回線の送信データを非常に
効率よく転送することができる。
As explained above, in conventional pointer control, it was necessary to perform calculations to know the status of the queue buffer, but in the present invention, the read data of the receiving queue buffer is provided with bits indicating the status of both queue buffers, so the status of the queue buffer is easily
This has the advantage that the CC can be known and therefore the queue write/read can be easily controlled. Furthermore, since the state of the transmission queue buffer can be distinguished from the writing of long and short data, and a transmission completion report is provided, transmission data of multiple lines can be transferred very efficiently.

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

第1図は本発明で対象とするシステム例のブロ
ツク図、第2図は第1図における本発明のデータ
転送の説明図、第3図および第4図は本発明によ
るキユーデータの書込み/読取りの概念図であ
る。 1……データ端末装置、2……交換機の通話路
スイツチ、3……交換機の中央制御装置、4……
データ送受信装置、5……SPバス、6……送受
信処理回路、回線対応バツフアメモリ等、7……
キユーバツフア、8……SPバスインタフエース
回路、9……送信キユーバツフア、10……受信
キユーバツフア、11……送信キユーバツフア状
態表示ビツト、12……受信キユーバツフア状態
表示ビツト、13……受信キユーバツフア読取り
のアンサデータ、14……回線対応バツフアメモ
リ、15……送信処理回路、16……受信処理回
路。
FIG. 1 is a block diagram of an example of a system targeted by the present invention, FIG. 2 is an explanatory diagram of data transfer of the present invention in FIG. 1, and FIGS. 3 and 4 are diagrams of writing/reading of queue data according to the present invention. It is a conceptual diagram. 1...Data terminal device, 2...Call path switch of the exchange, 3...Central control device of the exchange, 4...
Data transmitting/receiving device, 5... SP bus, 6... Transmitting/receiving processing circuit, line compatible buffer memory, etc., 7...
Q buffer, 8...SP bus interface circuit, 9...Transmit buffer, 10...Receive buffer, 11...Transmit buffer status display bit, 12...Receive buffer status display bit, 13...Answer data for receiving buffer read , 14...Line compatible buffer memory, 15...Transmission processing circuit, 16...Reception processing circuit.

Claims (1)

【特許請求の範囲】 1 複数回線のデータ送受信を行うデータ送受信
装置と中央制御装置(CC)との間で送信/受信
キユーバツフアを介してデータを転送する方式に
おいて、CCから受信キユーバツフアのデータ読
取り指令を受け取ると、データ送受信装置は、受
信キユーバツフアの読取りデータに受信キユーバ
ツフアおよび送信キユーバツフアの状態を示すビ
ツトを付加してCCへ転送することを特徴とする
データ転送方式。 2 送信キユーバツフアの状態を示すビツトに、
送信キユーバツフアの空きエリアの大きさの程度
が区別できる表示を付与し、送信キユーバツフア
へデータを書込む際に、十分な大きさの空きがあ
る時は長いブロツク長のデータが書込み可能であ
ることを判別できるようにすることにより、ブロ
ツク長の異なるデータの送信キユーバツフアへの
書込みを効率的に行えるようにしたことを特徴と
する特許請求の範囲第1項記載のデータ転送方
式。 3 複数回線のデータ送受信を行うデータ送受信
装置と中央制御装置(CC)との間で送信/受信
キユーバツフアを介してデータを転送する方式に
おいて、データ送受信装置は、該データ送受信装
置内で送信処理を行うために送信キユーバツフア
のデータを転送して格納しておく回線対応バツフ
アが空となつた時点で、該当回線の送出完了を受
信キユーバツフアの読取りデータによりCCへ報
告し、CCでは、該報告を受けてから該当回線へ
の送信データを送信キユーバツフアへ書込み、該
報告を受ける前に該送信キユーバツフアがデータ
書込み可能の状態となれば、他回線のデータを書
込むことを特徴とするデータ転送方式。
[Claims] 1. In a method of transferring data between a data transmitting/receiving device that transmits/receives data over multiple lines and a central control unit (CC) via a transmitting/receiving queue buffer, a command to read data from the receiving buffer from the CC is provided. When receiving the data, the data transmitting/receiving device adds bits indicating the status of the receiving queue buffer and the transmitting queue buffer to the data read from the receiving queue buffer, and transfers the data to the CC. 2 The bit indicating the status of the transmit queue buffer is
An indication is given to distinguish the size of the free area of the transmitting buffer, and when writing data to the transmitting buffer, it is possible to write data with a long block length if there is sufficient free space. 2. The data transfer method according to claim 1, wherein data having different block lengths can be efficiently written to the transmission queue buffer by making the data discrimination possible. 3. In a method of transferring data between a data transmitting/receiving device that transmits/receiving data over multiple lines and a central control unit (CC) via a transmitting/receiving queue buffer, the data transmitting/receiving device performs transmission processing within the data transmitting/receiving device. When the line corresponding buffer, which is used to transfer and store the data of the transmitting queue buffer, becomes empty, the transmission completion of the corresponding line is reported to the CC using the read data of the receiving queue buffer, and the CC receives the report. A data transfer method characterized in that the transmission data for the corresponding line is written to the transmission queue after receiving the report, and if the transmission queue becomes ready for data writing before receiving the report, data of another line is written.
JP57183475A 1982-10-18 1982-10-18 Data transfer system Granted JPS5972539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57183475A JPS5972539A (en) 1982-10-18 1982-10-18 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57183475A JPS5972539A (en) 1982-10-18 1982-10-18 Data transfer system

Publications (2)

Publication Number Publication Date
JPS5972539A JPS5972539A (en) 1984-04-24
JPH0115100B2 true JPH0115100B2 (en) 1989-03-15

Family

ID=16136441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57183475A Granted JPS5972539A (en) 1982-10-18 1982-10-18 Data transfer system

Country Status (1)

Country Link
JP (1) JPS5972539A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62120761A (en) * 1985-11-20 1987-06-02 Fujitsu Ltd Data transmission and reception control system
EP0273083B1 (en) * 1986-12-30 1993-10-06 International Business Machines Corporation Non-locking queueing mechanism
JP2807010B2 (en) * 1988-01-27 1998-09-30 ストレイジ テクノロジー コーポレイション Tape drive control unit for interconnection between host computer and tape drive and method of operating the same

Also Published As

Publication number Publication date
JPS5972539A (en) 1984-04-24

Similar Documents

Publication Publication Date Title
US4419728A (en) Channel interface circuit providing virtual channel number translation and direct memory access
CA1227879A (en) Buffer system for input/output portion of digital data processing system
US4521850A (en) Instruction buffer associated with a cache memory unit
EP0412268A2 (en) Apparatus for interconnecting a control unit having a parallel bus with a channel having a serial link
EP0239937A2 (en) Serial communications controller
JPH0115100B2 (en)
US5432910A (en) Coupling apparatus and method for increasing the connection capability of a communication system
JPH0744567B2 (en) Communication interface device
JP2859178B2 (en) Data transfer method between processors and ring buffer memory for data transfer between processors
KR950009763B1 (en) A method of data transmission and synchronization between two cpu's
US7051148B2 (en) Data transmission sequencing method associated with briding device and application system
US6345332B1 (en) Bus interchange apparatus and dual system for accessing a fault information register without regard to buffer conditions
EP0789363B1 (en) Memory system and data communications system
JPH087738B2 (en) Endian conversion method
JP2505298B2 (en) Variable bus width designation method and variable bus width information reception method in split bus
US5799158A (en) adapter for transferring blocks of data having a variable size to other adapters via a main system bus
JP2576236B2 (en) Communication method of programmable controller
JPH0476148B2 (en)
JPS5920130B2 (en) Excess data transfer restriction method
JPH04163664A (en) Distributed memory type parallel computer system
JPS6143366A (en) Data transfer system
JPH0120774B2 (en)
JPS6240558A (en) Communication processor
JPH0525215B2 (en)
JPH0459820B2 (en)