JPS60246152A - Data exchange processing system - Google Patents

Data exchange processing system

Info

Publication number
JPS60246152A
JPS60246152A JP59102890A JP10289084A JPS60246152A JP S60246152 A JPS60246152 A JP S60246152A JP 59102890 A JP59102890 A JP 59102890A JP 10289084 A JP10289084 A JP 10289084A JP S60246152 A JPS60246152 A JP S60246152A
Authority
JP
Japan
Prior art keywords
data
circuit
information
bits
storage device
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
JP59102890A
Other languages
Japanese (ja)
Inventor
Kenichi Akiba
秋葉 賢一
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
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59102890A priority Critical patent/JPS60246152A/en
Publication of JPS60246152A publication Critical patent/JPS60246152A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To improve the processing ability of a central processing unit by allowing a hardware means to analyze immediately control information when the control information included in reception data is stored in a temporary storage circuit and storing event information in a main storage device prior to the storage of content of the received data in place of the control information. CONSTITUTION:A reception circuit 1 transmits data to a buffer memory 2 in the unit of byte at first when a pattern not being a flag sequence in the input is stored in a data storage device. The buffer memory 2 stores the data transmitted sequentially and when the data reaches a designated m bits in advance, a control circuit 6 allows a comparator circuit 4 to read the said m bits immediately and reads sequentially plural pieces of information in the unit of m bits in the storage memory 3 and gives the result to the comparator circuit 4. The comparator circuit 4 compares both inputs of m bits and when they are coincident, the circuit 4 gives the coincidence information to the control circuit 6. Then the control circuit 6 transfers the event information to a prescribed location of a main storage device 8.

Description

【発明の詳細な説明】 (差業上の利用分野) 本発BAF′iデータ交換処理方式、特尺伝送開始フラ
グに続いて制御情報を含むブロック伝送の処理を行なう
データ交換処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Differential Fields of Application) The present invention relates to a BAF'i data exchange processing method, a data exchange processing method that performs block transmission processing including control information following a special length transmission start flag.

(従来の技術) 従来、メツセージ交換やパケット交換のごとく、ブロッ
クにしたデータを取扱うデータ交換においては、受信さ
れる複数のブロックデータをそれぞれ例えば4バイト長
のごとく一定のと、トの蓄積回路に一時的に蓄積し、こ
れらの蓄積回路にデータが満されるごとに例えば王me
憶装置の指定した場所に転送して記憶する。そこで中央
処理装fliViそれぞれの受信データが主記憶装殺の
中で所定量に達すると、受信記憶データの最初の制御情
報を構成している複数ビットを秋出し、入力分析処理を
行なって判定したイベント情報を読出した制御情報に代
えて記憶させ次の処理に備える。
(Prior Art) Conventionally, in data exchanges that handle data in blocks, such as message exchanges and packet exchanges, multiple blocks of received data are stored in storage circuits each having a fixed length, for example, 4 bytes. For example, each time these storage circuits are filled with data,
Transfer and store it in the specified location on the storage device. Therefore, when the received data of each central processing unit fliVi reached a predetermined amount in the main memory, the multiple bits that constitute the first control information of the received stored data were extracted and input analysis processing was performed to determine the amount. The event information is stored in place of the read control information in preparation for the next process.

(発明が解決しようとする問題点) この処理方法は送受信におけるデータの喪失を避けるた
め、前記の俵数の一定ビットの蓄積回路とデータ記憶装
置との間のデータ転送処理を優先的に実行し、その合間
を縫って制御情報の処理を行なっているので、その処理
の中断に遭遇して、記憶装置への退避吟の面倒な処理と
その分の時間を喪すると云う欠点がある。
(Problem to be Solved by the Invention) In order to avoid data loss during transmission and reception, this processing method preferentially executes data transfer processing between the storage circuit for a certain number of bales of bits and the data storage device. Since the control information is processed in between, there is a drawback that if the processing is interrupted, the troublesome process of saving it to the storage device and the corresponding time are lost.

(問題点を解決するための手段) 本発明は上記の問題点を解決するため、受信データに含
まれる制御情報が一時蓄積回路に蓄積されると、ハード
ウェア手段により直ちに制御情報の分析を行ない、この
制御情報の代りにイベント情報を受信データ自答の記憶
に先立って主記憶装置にIC記憶することにより、プロ
グラムによる処理時間を短縮できるデータ交換処理方式
であって、ブロック伝送を行なうデータ交換処理機構に
おいて、複数のmビットからなる情報を記憶する記憶手
段と、受信データをn(05m)ビット単位で一時蓄積
する蓄積手段と、受信されたフラグシーケンス(開始フ
ラグ)に続いて前記蓄積手段に一時蓄積されたmビット
の情報と前記記憶手段のmビットの情報との一致を検出
する比較手段と、この比較手段で一致が得られたときこ
の情報に対応するイベント情報を主記憶装置の所定の位
iiに記憶する書込み手段とを含んで構成される。
(Means for Solving the Problems) In order to solve the above problems, the present invention analyzes the control information by hardware means immediately after the control information included in the received data is stored in the temporary storage circuit. , is a data exchange processing method that can shorten program processing time by storing event information instead of this control information in an IC in the main storage device prior to storing received data self-answers, and is a data exchange method that performs block transmission. In the processing mechanism, a storage means for storing information consisting of a plurality of m bits, an accumulation means for temporarily accumulating received data in units of n (05m) bits, and a storage means following the received flag sequence (start flag). a comparison means for detecting a match between the m-bit information temporarily stored in the storage means and the m-bit information of the storage means; and when a match is obtained by the comparison means, event information corresponding to this information is stored in the main memory. and a writing means for storing data in a predetermined location ii.

(実施例) 第1図は本発明の一実施例を示すプロ、り図で、データ
交換処理方式のうち本発明の説明に必要な機能のみを示
しである。図において、通信回線に接続された受傷回路
(Rh、C)1と、その出力をnビット単位で一時蓄積
するバッファメモ!j(BM)2と、例えば128種の
mビットからなる情報と、この情報に対応する中央処理
装置での処理上のイベント情報とを対にして記憶する保
持メモ!j(HM)3と、バッファメモリ2に蓄積され
た最初のmビットと保持メモリ30mビットとの一致を
検出する比較回路(COMF)4と、この比較回路4で
一致を得た時に、その保持メモリ3の書込まれている位
置からイベント情報を読込み、主記憶装置(MM)8に
このイベント情報を送出するイベント送出回路(gs)
5と、以上の各機能回路を制御する制御回路(CONT
)6とから構成された受信制御系が、中央処理装置it
、(CPU ) 7のバスに接続されている。なお主記
憶装置8もまたこのバスに接続されている。さらに図示
されていないが、複数の前記受信制御系ならびに複数の
送信制御系もまた前記バスに接続される。
(Embodiment) FIG. 1 is a schematic diagram showing an embodiment of the present invention, and shows only the functions necessary for explaining the present invention among the data exchange processing system. In the figure, a damaged circuit (Rh, C) 1 connected to a communication line and a buffer memo that temporarily stores its output in units of n bits! j(BM)2, information consisting of, for example, 128 types of m bits, and event information related to processing in the central processing unit corresponding to this information are stored in pairs! j (HM) 3, a comparison circuit (COMF) 4 that detects a match between the first m bits stored in the buffer memory 2 and the 30m bits of the holding memory; an event sending circuit (gs) that reads event information from the written location in the memory 3 and sends this event information to the main memory (MM) 8;
5, and a control circuit (CONT) that controls each of the above functional circuits.
) 6, the reception control system consists of the central processing unit it
, (CPU) 7 bus. Note that the main storage device 8 is also connected to this bus. Further, although not shown, a plurality of the reception control systems and a plurality of transmission control systems are also connected to the bus.

次にこの実施例の動作について説明を進めると、例えば
フラグシーケンスが1バイトから構成されていると、受
4M回路1は少なくとも1バイト長のデータ蓄積回路を
有していて、経続的に送られてい来る7ラグシーケンス
をこのデータ蓄積回路に読込んで、フラグシーケンスの
同期を取っている。
Next, the operation of this embodiment will be explained. For example, if the flag sequence is composed of one byte, the receiving 4M circuit 1 has a data storage circuit with a length of at least one byte, and the data is continuously transmitted. The incoming 7-lag sequence is read into this data storage circuit to synchronize the flag sequence.

そこで受信回路1は入力がフラグシーケンスである間は
この情報をバッファメモリ2には送らず、フラグシーケ
ンスでないパターン(データ)がデータ蓄積回路VC蓄
積されると初めてこのデータを1バイト単位で、バッフ
ァメモリ2に送る。この時受信回路1は同時圧制御回路
6に、最初のデータが受信されたことを伝える。次いで
バッファメモリ2は順次送られてくるデータを蓄積し、
そのデータが予め指定されているmビット(例えば2バ
イト)になると、制御回路6にmビットの蓄積がなされ
たことを伝える。制御回路6は直ちにこのmビ、トを比
較回路4に胱取らせると共に、保持メモリ3のmビット
単位の複数の情報を順次がし出して、比較回路4に与え
る。比較回路4は両用ビットの入力を比較して、−玖を
見ると匍j御回路6に一致を伝えて、保持メモリ3から
の次の情報の耽出しを停止δせると共に、イベント送出
(ロ)路にも一致したことを伝える。そこでイベント送
出回路5は保持メモリ3から、一致ケ児だmビットの情
報に対応して記憶されているイベント情報を読取る。次
いで制御回路6は予め中央処理装置7から指定されてい
る主me憶装置8の所定の場所に、このイベント情報を
転送する。以上のmビットの蓄@児了からイベント情報
r主記憶装置8に転送するまでの動作は、縦、てハード
ウェアで実施されるので、データ受信速度が例えば48
キロビット/秒であれは、mビットに続く1バイトの到
来を待つことなく終了できる。更にデータ受信速度が高
速になった場合でも、バッファメモリの容ftnをn)
mとすることにより容易に処理できる0さてmビ、ト以
降にバッファメモリ2に蓄積された受信データが、バッ
ファメモlJ2に満杯のnビ。
Therefore, the receiving circuit 1 does not send this information to the buffer memory 2 while the input is a flag sequence, and only when a pattern (data) that is not a flag sequence is accumulated in the data storage circuit VC, this data is sent in 1-byte units to the buffer memory 2. Send to memory 2. At this time, the receiving circuit 1 notifies the simultaneous pressure control circuit 6 that the first data has been received. Next, the buffer memory 2 accumulates the data sent sequentially,
When the data reaches a predetermined m bits (for example, 2 bytes), the control circuit 6 is informed that m bits have been stored. The control circuit 6 immediately transfers these m bits to the comparator circuit 4, and sequentially outputs a plurality of pieces of information in units of m bits from the holding memory 3 and supplies them to the comparator circuit 4. The comparator circuit 4 compares the inputs of the dual-use bits, and when it sees -, it notifies the control circuit 6 of a match, stops the output of the next information from the holding memory 3, and also sends an event (log). ) Tell them that the road also matches. Therefore, the event sending circuit 5 reads the event information stored in the holding memory 3 corresponding to the m-bit information of the matched data. Next, the control circuit 6 transfers this event information to a predetermined location in the main memory device 8 designated in advance by the central processing unit 7. The above operations from storing m bits to transferring the event information r to the main memory 8 are performed vertically by hardware, so the data reception speed is, for example, 48
If it is kilobits/second, it can be finished without waiting for the arrival of 1 byte following m bits. Furthermore, even if the data reception speed becomes faster, the capacity of the buffer memory (ftn)
The received data accumulated in the buffer memory 2 since 0, which can be easily processed by setting it to m, is n bits, so that the buffer memory lJ2 is full.

)K達すると、制御回路6は最初のmビットを除いた残
シのn−mビットを、予め指定されている主記憶装置8
の所定の場&に転送する。このあと制御回路6は従来行
なはれている方法と同じに、バックアメモリ2が満杯に
なる毎に、前に転送したデータに絖けてデータブロック
の終夛まで、主記憶装置8にデータの転送を続ける。
)K, the control circuit 6 stores the remaining n−m bits excluding the first m bits in the main memory 8 specified in advance.
Transfer to the designated location &. Thereafter, the control circuit 6, in the same way as the conventional method, stores the data in the main storage device 8 every time the backup memory 2 becomes full, by filling in the previously transferred data until the end of the data block. Continue forwarding.

なお、以上の実施例では保持メモリ2にmビットの情報
と、この情報に対応するイベント情報を対にして記憶さ
せ、イベント送出回路5でこのイベント情報を読込むも
のとしたが、保持メモリ2にはイベント情報を記憶させ
ず、制御装ai6からアドレスを順次指定して保持メモ
リのmビットの情報を挽出させ、比較回路4で一致を見
た時のアドレスをイベント送出回路に伝えて、との送出
回路でアドレスとイベント情報の対応テーブルからイベ
ント情報を読取らせることもできる。
In the above embodiment, m-bit information and event information corresponding to this information are stored in pairs in the holding memory 2, and this event information is read in the event sending circuit 5. Without storing the event information, the control unit ai6 sequentially specifies addresses to extract m-bit information from the holding memory, and the address when a match is found in the comparison circuit 4 is transmitted to the event sending circuit. It is also possible to have the sending circuit read event information from a correspondence table between addresses and event information.

なおまた、データの最初のmビットの制御情報とイベン
ト情報との対応は、処理プログラム作成時、あるいはそ
の更新時に決められているので、主記憶装置への処理7
′ログラムの格納に続いて、保持メモリまたはイベント
送出回路に中央処理装置から、バス経由でに憶保持させ
ることもできる0(発明の効果) 以上詳細に説明したとおり本発明によれば、全受信ブロ
ックデータの受信が終了した時点には、IkKこのブロ
ックデータに対するイベント情報が入手されているので
、中央処理装置は直ちにイベントで決められているタマ
ク処理を行なうことができ、中央処理′&置の処理能力
を高め、高速データ伝送に有効な処理方式を提供すると
云う効果がある。
Furthermore, since the correspondence between the control information of the first m bits of data and the event information is determined when the processing program is created or updated, processing 7 to the main memory is
'Following the storage of the program, the central processing unit can store the program in the holding memory or event sending circuit via the bus.0 (Effects of the Invention) As described in detail above, according to the present invention, all reception When the reception of the block data is completed, the event information for this block data has been obtained, so the central processing unit can immediately perform the tamak processing determined by the event, and the central processing unit This has the effect of increasing processing capacity and providing a processing method effective for high-speed data transmission.

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

第1図は本発明の一実施例のブロック図である。 1・・・・・・受信回路(几EC)、2・・・・・・バ
ッファメモリ(BM)、3・・・・・・保持メモリ(H
M)、4・・・・・・比較回路(COMF)、5・・・
・・・イベント送出回路(ES)、6・・・・・・制御
回路(CON’J”>、7・・・・・・中央処理装置(
CPU)、8・・・両生記憶装置CMM)。 代理人 弁理士 内 原 普 \/ 第1図
FIG. 1 is a block diagram of one embodiment of the present invention. 1... Receiving circuit (EC), 2... Buffer memory (BM), 3... Holding memory (H
M), 4... Comparison circuit (COMF), 5...
...Event sending circuit (ES), 6...Control circuit (CON'J">, 7...Central processing unit (
CPU), 8...amphibian storage CMM). Agent: Patent attorney Fu Uchihara / Figure 1

Claims (1)

【特許請求の範囲】[Claims] ブロック伝送を行なうデータ交換処理方式において、複
数のmビットからなる情報を記憶する記憶手段と、受信
データをn(n5m)ビット単位で一時蓄積する蓄積手
段と、受信したフラグシーケンス(−始フラグ)K続い
て前記蓄積手段に一時蓄積したmビットの情報と前記記
憶手段のmビットの情報との一致を検出する比較手段と
、この比較手段で一致が得られたときこの情報に対応す
るイベント情報を主記憶装置の所定の位置に記憶する薔
込み手段とを含むことを特徴とするデータ交換処理方式
In a data exchange processing method that performs block transmission, a storage means for storing information consisting of a plurality of m bits, an accumulation means for temporarily storing received data in units of n (n5m) bits, and a received flag sequence (-start flag) Next, comparing means detects a match between the m-bit information temporarily stored in the storage means and the m-bit information of the storage means, and event information corresponding to this information when a match is obtained by the comparing means. a data exchange processing method, comprising: a data exchange means for storing the data at a predetermined location in a main storage device.
JP59102890A 1984-05-22 1984-05-22 Data exchange processing system Pending JPS60246152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59102890A JPS60246152A (en) 1984-05-22 1984-05-22 Data exchange processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59102890A JPS60246152A (en) 1984-05-22 1984-05-22 Data exchange processing system

Publications (1)

Publication Number Publication Date
JPS60246152A true JPS60246152A (en) 1985-12-05

Family

ID=14339454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59102890A Pending JPS60246152A (en) 1984-05-22 1984-05-22 Data exchange processing system

Country Status (1)

Country Link
JP (1) JPS60246152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07221760A (en) * 1994-01-26 1995-08-18 Internatl Business Mach Corp <Ibm> Data capturing device
US6996326B2 (en) 1999-12-22 2006-02-07 Matsushita Electric Industrial Co., Ltd. Data recording apparatus and data recording method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57152752A (en) * 1981-03-18 1982-09-21 Oki Electric Ind Co Ltd Packet editing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57152752A (en) * 1981-03-18 1982-09-21 Oki Electric Ind Co Ltd Packet editing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07221760A (en) * 1994-01-26 1995-08-18 Internatl Business Mach Corp <Ibm> Data capturing device
US6996326B2 (en) 1999-12-22 2006-02-07 Matsushita Electric Industrial Co., Ltd. Data recording apparatus and data recording method

Similar Documents

Publication Publication Date Title
CA1180820A (en) Interface processor unit
US4494190A (en) FIFO buffer to cache memory
US5638515A (en) Method for stripping dataframes from the communicating medium in an FDDI communications network
JPH114279A (en) Method and mechanism for transmission between advanced systems
US6823402B2 (en) Apparatus and method for distribution of signals from a high level data link controller to multiple digital signal processor cores
JP2002050184A (en) Associative memory
JPS60246152A (en) Data exchange processing system
JPS6359042A (en) Communication interface equipment
US5790893A (en) Segmented concurrent receive/transfer interface using shared RAM storage
JPH0267848A (en) Transfer system for variable length data frame
US7054958B2 (en) Apparatus and method for responding to a interruption of a packet flow to a high level data link controller in a signal processing system
JPH0556079A (en) Buffer management method for receiver
JPS6054549A (en) Data transmitting method and device
JP2001202345A (en) Parallel processor
JPS62135038A (en) Data communications system for slave processor
JPS60120450A (en) Controlling system of buffer memory
JPH0218623B2 (en)
JPS6174442A (en) Data buffer system of still picture reception terminal device
JP3463845B2 (en) Data transmission control device
JP2738314B2 (en) Switching system of N + 1 redundant circuit controller
JPS6294042A (en) Communication control equipment
KR100228312B1 (en) Bridge for communication network within inner processor
JPH08328607A (en) Method for updating process computer
JP2602946B2 (en) Data receiving method
JPS61270955A (en) Data compressing and transferring device