JPS63180245A - Communication processor - Google Patents

Communication processor

Info

Publication number
JPS63180245A
JPS63180245A JP62011688A JP1168887A JPS63180245A JP S63180245 A JPS63180245 A JP S63180245A JP 62011688 A JP62011688 A JP 62011688A JP 1168887 A JP1168887 A JP 1168887A JP S63180245 A JPS63180245 A JP S63180245A
Authority
JP
Japan
Prior art keywords
data
time
cpu
communication
processing
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
JP62011688A
Other languages
Japanese (ja)
Inventor
Akira Handa
明 半田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62011688A priority Critical patent/JPS63180245A/en
Publication of JPS63180245A publication Critical patent/JPS63180245A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To shorten the overall data processing time by reading and processing the header part of a data after the lapse of a prescribed time with a monitor set at the starting time of incoming data from a communication line. CONSTITUTION:If data start to come-in to a communication controller 5a from the communication line 6a, a data detector 18a detects the data, and a CPU 1 sets a time t1 necessary for the transmission of the header part of it in a timer 7. Thereafter, the controller 5a transmits data to a RAM 3 through a DMAC 4 at every time when a prescribed quantity of data is accumulated in an internal buffer register. If the incoming signals of the header part ends, the timer 7 informs the CPU 1 of the time out, and the CPU 1 starts processing the header part in the RAM 3. When the incoming of data ends, the CPU 1 starts to transmit the content in the RAM 3 through the communication controller 5a to the communication line 6b.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は計算機ネットワークのノードとして、ヘッダ
部を有するメツセージの伝送を処理する通信処理装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication processing device that processes the transmission of a message having a header section as a node of a computer network.

〔従来の技術〕[Conventional technology]

パケット通信方式等では一つの/ンケットの先頭にヘッ
ダが置かれ、このヘッダは・2ケラト区切符号、宛先局
番、発信者局番等を含んでいる。一つノ/母ケットはヘ
ッダ、メツセージ、トレーラから構成され、トレーラに
は誤りチェック符号、パケット区切符号などが入りてい
る。
In packet communication systems, etc., a header is placed at the beginning of one packet, and this header includes a two-kerato delimiter code, a destination station number, a caller station number, and the like. One/mother packet consists of a header, a message, and a trailer, and the trailer contains an error check code, a packet delimiter code, etc.

第3図は従来の通信ネットワークのノードの構成を示す
ブロック図で、図において(1)はCPU (中央処理
装! ) 、+21は当該ノードの内部機器間でデータ
及び制御信号を転送する内部バス、(3)は処理プログ
ラム及び通信データを格納するランダムアクセスメモリ
(以下RAMと略記する)、(4)はCPU11)の指
示に従いCPU(1)を介することなく直接データ転送
を制御するDMA(direct memory ac
cess)コントローラ(以下DMACと略記する)、
(5α)。
Figure 3 is a block diagram showing the configuration of a node in a conventional communication network. In the figure, (1) is a CPU (central processing unit!), and +21 is an internal bus that transfers data and control signals between the internal devices of the node. , (3) is a random access memory (hereinafter abbreviated as RAM) that stores processing programs and communication data, and (4) is a DMA (direct) that controls data transfer directly without going through the CPU (1) according to instructions from the CPU (11). memory ac
cess) controller (hereinafter abbreviated as DMAC),
(5α).

(5b)はそれぞれ通信回線を制御する通信制御装置(
以下SCCと略記する)、(67Z) 、 (6b)は
そレ−t’れ通信回線である。
(5b) is a communication control device (
(hereinafter abbreviated as SCC), (67Z), and (6b) are communication lines.

第3図に示すノードに通信回線(6α)から・ぐケラト
が伝送され、そのヘッダにある宛先局番をCPU 11
1で認識した結果、当該・9ケラト冬通信回線(6b)
から送出することになった場合の動作を第4図に示す。
The communication line (6α) sends the message to the node shown in FIG.
As a result of recognition in step 1, the relevant 9kerat winter communication line (6b)
FIG. 4 shows the operation when it is decided to send data from.

第4図の縦軸は下方に向けて時間を示す。符号(8)で
示す時点で通信回線(6α)を経てSCC(5α)が/
々チケット信を開始し、受信したデーfi ヲSCC(
5α)内のバッファレジスタに一時記憶し、所定量のデ
ータを蓄積するごとにSCC(5α)からDMAC(4
1にデータ受信通知を送り、DMAC141はこの通知
を受けると、CPU 11+から内部パス(2)の使用
権を獲得してSCC(5α)のバッファレジスタのデー
タをRAM [31に転送する、ヘッダ部の受信が終る
とデータ部の受信が開始されるが符号(15)で示す時
点でノクケットの受信が終了するまでこの転送が繰返さ
れ、時点(15)でSCC(5α)はCPU illに
着信終了通知(16)を出す。CPU 111はこの着
信終了通知(16)により受信データの処理を開始し、
符号(17)で示す時点でこの処理が終了し、この−9
ケツトは通信回線(6b)へ送出すべきものと知り、R
AM+31の内容をSCC(5b)を経て通信回線(6
b)へ送出する。
The vertical axis in FIG. 4 indicates time downward. At the point indicated by code (8), the SCC (5α) is transmitted via the communication line (6α).
Start sending tickets and send the received data to SCC (
5α), and every time a predetermined amount of data is accumulated, data is transferred from SCC (5α) to DMAC (4
When the DMAC 141 receives this notification, it acquires the right to use the internal path (2) from the CPU 11+ and transfers the data in the buffer register of the SCC (5α) to the RAM [31. When the reception of the data part is completed, the reception of the data part is started, but this transfer is repeated until the reception of the packet is completed at the time indicated by code (15), and at the time (15), the SCC (5α) informs the CPU ill that the reception has ended Issue notice (16). The CPU 111 starts processing the received data based on this incoming call end notification (16),
This process ends at the point indicated by code (17), and this -9
Knowing that the packet should be sent to the communication line (6b), R
The contents of AM+31 are sent via the SCC (5b) to the communication line (6
b).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上のように従来の装置では一つのパケットのデータが
すべて腸I (31に蓄積された時点(15)からCP
U illがそのパケットに対する処理を開始していた
。しかし、ヘッダを有する通信手順においてCPU (
11の処理の大部分はヘッダ部だけを調べてみれば処理
可能なものであり、ヘッダ部以外の部分がわからねば決
定できない処理は一部分だけである。したがりてDMA
C[41がデータ部を転送中にCPUにおいて並列にヘ
ッダ部の内容だけを先行処理しておけば綜合的なデータ
処理時間を短縮できるにかかわらず、従来の装置ではこ
の時間短縮を実現できないという所に問題点があった。
As mentioned above, in the conventional device, all the data of one packet is stored in the intestine I (31) from the time (15) to the CP
U ill had started processing on the packet. However, in a communication procedure with a header, the CPU (
Most of the processing in No. 11 can be performed by examining only the header part, and only some of the processing cannot be determined unless the parts other than the header part are understood. Therefore DMA
Although it is possible to shorten the overall data processing time by pre-processing only the contents of the header part in parallel in the CPU while C[41 is transferring the data part, it is said that this time reduction cannot be achieved with conventional equipment. There was a problem there.

この発明は上記のような問題点を解決するためになされ
たもので、綜合的なデータ処理時間を短縮することがで
きる通信処理装置を得ることを、目的としている。
The present invention was made to solve the above-mentioned problems, and an object of the present invention is to obtain a communication processing device that can shorten the overall data processing time.

〔問題点を解決するための手段〕[Means for solving problems]

この発明の装置では各SCCに通信回線からのデータの
着信開始を検出するデータ検出装置を設け、このデータ
検出装置の検出信号によりてタイマをセットした。デー
タの着信開始時点からそのデータの先頭部に置かれたヘ
ッダ部の受信が終了するまでの時間t0は既知であるか
らデータ検出装置の検出信号によってタイマに時間t1
  をセットし、このセット時点から時間tl  後に
タイマが出力する信号によってCPUはRAMに格納さ
れているヘッダ部を読出して処理することにした。
In the apparatus of this invention, each SCC is provided with a data detection device for detecting the start of data arrival from a communication line, and a timer is set by a detection signal from this data detection device. Since the time t0 from the start of data arrival to the end of reception of the header section placed at the beginning of the data is known, the timer is set to time t1 by the detection signal of the data detection device.
is set, and the CPU reads and processes the header part stored in the RAM in response to a signal output by the timer after a time tl from the setting point.

〔作用〕[Effect]

CPUがヘッダ部を処理している間にもDMACによる
データ転送を並行して行うことができるので、通信処理
に要する綜合時間を上述の並行処理の間だけ短縮するこ
とができる。
Since data transfer by DMAC can be performed in parallel while the CPU is processing the header section, the total time required for communication processing can be shortened only during the above-mentioned parallel processing.

〔実施例〕〔Example〕

以下この発明の実施例を図面について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図で、第3
図と同一符号は同−又は相当部分を示し、(7)はタイ
マ、(18α)、(186)はそれぞれ通信回線(6α
)。
FIG. 1 is a block diagram showing one embodiment of the present invention.
The same reference numerals as in the figure indicate the same or equivalent parts, (7) is a timer, (18α) and (186) are communication lines (6α), respectively.
).

(6b)に設けられ回線からのデータの着信開始を検出
するデータ検出装置(以下DDと略記する)である。
(6b) is a data detection device (hereinafter abbreviated as DD) for detecting the start of data arrival from the line.

第2図は第1図の装置の動作を示す動作時間図で、第2
図において第4図と同一符号は同−又は相当部分を示し
、+91. (11) 、 (12) 、 (13) 
Figure 2 is an operating time chart showing the operation of the device in Figure 1;
In the figure, the same reference numerals as in FIG. 4 indicate the same - or corresponding parts, +91. (11), (12), (13)
.

(14)はそれぞれ時点を、(10)はデータ着信開始
時点(8)からヘッダ部の受信終了時点(12)までの
時間、すなわち前節で説明した時間11  を示す。
(14) indicates each time point, and (10) indicates the time from the data arrival start time (8) to the header part reception end time (12), that is, time 11 explained in the previous section.

以下、第2図を用いて第1図の回路の動作を説明する。The operation of the circuit shown in FIG. 1 will be explained below using FIG. 2.

通信回線(6α)から時点(8)でSCC(5α)K着
信が開始されるとDD(18α)はこれを検出し、内部
バス(2)を経てCPU 111に着信開始を通知する
(9)。
When the SCC (5α)K incoming call starts from the communication line (6α) at time (8), the DD (18α) detects this and notifies the CPU 111 of the start of incoming call via the internal bus (2) (9). .

CPU 111はこの着信開始通知(9)によってタイ
マ(7)に時間t1  をセットする(11)。時間t
l はヘッダ部の転送に必要な時間(10)である。こ
れ以後scc < sα)は内部のバッファレジスタに
データが所定量蓄積されるごとにDMAC+41を通じ
てそのデータをRAM +31に転送する。時点(L2
)でヘッダ部の着信は終了するが、それから少し遅れて
(回路の動作時間の遅れだけの場合もあるが、時間t1
(10)にマージンを加えてタイマ(7)に設定しても
よい)時点(13)でタイマ(7)からCPU 111
にタイムアウト通知(14)が送られ、これによりCP
U illはRAM 13+内のヘッダ部の処理を開始
する。CPU 11+がヘッダ部の処理を行っている間
もDMA +41はSCC(5α)からRAM +31
へのデータの転送を行りている。時点(15)において
データの着信が終了し、5CC(5α)はCPU 11
1に着信終了通知を出す(16)。時点(16)ではC
PU tll Kよるヘッダ部に関する処理は既に終っ
ているので、CPU 111はヘッダ部以外の部分によ
る一部の処理を行なった後、RAM (31の内容を5
CC(5b)を経て通信回線(6b)への送出を開始す
る(時点(17))。
The CPU 111 sets a time t1 in the timer (7) in response to this incoming call start notification (9) (11). time t
l is the time (10) required to transfer the header part. Thereafter, scc < sα) transfers the data to RAM +31 via DMAC+41 every time a predetermined amount of data is accumulated in the internal buffer register. Time point (L2
), the reception of the header part ends, but there is a slight delay (sometimes it is just a delay in circuit operation time, but at time t1
A margin may be added to (10) and set in timer (7)).
A timeout notification (14) is sent to the CP.
U ill starts processing the header section in RAM 13+. Even while CPU 11+ is processing the header part, DMA +41 is transferred from SCC (5α) to RAM +31
Data is being transferred to. At time (15), the data reception ends, and 5CC (5α) is sent to CPU 11.
1 to issue an incoming call termination notification (16). At time (16), C
Since the processing related to the header section by PU tll K has already been completed, the CPU 111 performs some processing on the section other than the header section, and then transfers the contents of RAM (31 to 5
Sending to the communication line (6b) via CC (5b) is started (time point (17)).

時点(13)から時点(15)までの間にCPU il
lによる主要な処理は済んでいるので時点(15)から
時点(17)までの時間は短い時間となる。
Between time (13) and time (15), CPU il
Since the main processing by l has been completed, the time from time point (15) to time point (17) is short.

なお、上記実施例ではタイマ(7)により時間t1を計
測したが、時間t1のかわりにSCC(5α)からRA
M 131へ転送するデータ量を計測してもよい。した
がってこの明細書でいうタイマ装置とは時間計測に代え
ることのできる量を計測する装置をも含むものとする。
In the above embodiment, time t1 was measured by the timer (7), but instead of time t1, SCC (5α) to RA
The amount of data transferred to M 131 may be measured. Therefore, the term "timer device" as used in this specification includes a device that measures a quantity instead of measuring time.

また、上記実施例の説明では通信ネットワークのノード
としてノ々ケット交換機を考え、O8I(OpgfLS
yaLsm lntgrconnection)の第3
層すなわちネットワーク層においてパケットにヘッダが
付属されている場合の処理について説明したが、O8I
の第2層すなわちデータリンク層あるいはO8I第4層
以上に対する処理であってもパケットのヘッダに相当す
るヘッダ部を有するデータの転送処理についてはこの発
明の装置を用いることができる。
In addition, in the explanation of the above embodiment, a Nonoket switch is considered as a node of a communication network, and O8I (OpgfLS
yaLsm lntgrconnection)
We have explained the processing when a header is attached to a packet at the network layer, but O8I
The apparatus of the present invention can be used for transfer processing of data having a header portion corresponding to a packet header, even in processing for the second layer, that is, the data link layer, or the fourth or higher O8I layer.

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

以上のようにこの発明によれば、ヘッダ部の処理をデー
タ受信と並行して行うことができるので処理に要する時
間を綜合的に短縮することができる。
As described above, according to the present invention, since header processing can be performed in parallel with data reception, the time required for processing can be reduced overall.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は第1図の装置の動作を示す動作時間図、第3図は従来
の装置を示すブロック図、第4図は第3図の装置の動作
を示す動作時間図。 (1)はCPU、+21は内部バス、(3)はシW、[
41はDMAC。 (5α)、(56)はそれぞれ通信制御装置、(6α)
、(6b)はそれぞれ通信回線、(7)はタイマ、(1
8α) 、 (186)はそれぞれデータ検出装置(D
D)。 尚、各図中同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an operation time diagram showing the operation of the device shown in FIG. 1, FIG. 3 is a block diagram showing a conventional device, and FIG. FIG. 3 is an operation time chart showing the operation of the device shown in the figure. (1) is CPU, +21 is internal bus, (3) is SiW, [
41 is DMAC. (5α) and (56) are the communication control device and (6α), respectively.
, (6b) are communication lines, (7) are timers, (1
8α) and (186) are the data detection device (D
D). Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 通信ネットワークのノードを構成し、ヘッダ(head
er)部を有するメッセージの伝送を処理する通信処理
装置において、 当該ノードの各通信制御装置にそれぞれ設けられ、当該
通信制御装置が接続される通信回線からのデータの着信
開始時点を検出して当該ノードに共通に設けられるCP
U(中央処理装置)に通知するデータ検出装置、 このデータ検出装置からの検出信号によってタイマ装置
を設定し、着信データの先頭部に置かれたヘッダ部の受
信完了時点を計測する手段、上記タイマ装置の計測した
時点から上記CPUにおいて上記ヘッダ部の内容の処理
を開始する手段を備えたことを特徴とする通信処理装置
[Claims] A node of a communication network is constituted by a header (head).
In a communication processing device that processes the transmission of a message having an er) section, a communication processing device is provided in each communication control device of the node, and detects the start point of data arrival from the communication line to which the communication control device is connected. CP commonly provided to nodes
a data detection device that notifies the U (central processing unit); a means for setting a timer device based on the detection signal from the data detection device to measure the time when the reception of the header section placed at the beginning of the incoming data is completed; and the above-mentioned timer device. A communication processing device characterized by comprising means for starting processing of the contents of the header part in the CPU from the time point when the device measures.
JP62011688A 1987-01-21 1987-01-21 Communication processor Pending JPS63180245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62011688A JPS63180245A (en) 1987-01-21 1987-01-21 Communication processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62011688A JPS63180245A (en) 1987-01-21 1987-01-21 Communication processor

Publications (1)

Publication Number Publication Date
JPS63180245A true JPS63180245A (en) 1988-07-25

Family

ID=11784965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62011688A Pending JPS63180245A (en) 1987-01-21 1987-01-21 Communication processor

Country Status (1)

Country Link
JP (1) JPS63180245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07321877A (en) * 1994-05-30 1995-12-08 Nec Corp Packet transmitting method and layer 2 transmitter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07321877A (en) * 1994-05-30 1995-12-08 Nec Corp Packet transmitting method and layer 2 transmitter

Similar Documents

Publication Publication Date Title
US4707830A (en) Token passing LAN using a plurality of tokens
JPS63180245A (en) Communication processor
US6178177B1 (en) Data-processing network having non-deterministic access, but having deterministic access time
JPS6213706B2 (en)
JPH055418B2 (en)
JPS5818727A (en) Method and apparatus for self-control of dispersion type priority competition
JP2758752B2 (en) Common bus contention arbitration method
JPS63284941A (en) Terminal equipment
JP2923992B2 (en) Access Channel Control Method for Demand Assignment Communication System
JP2917369B2 (en) Line network controller
JPS6222296B2 (en)
JPS6337448A (en) Up-line dump system
JPS63263851A (en) Local area network system
JPS63198445A (en) Data transmission control system
JPH03250832A (en) Packet transfer device
JPH08149148A (en) Loop shaped serial communication procedure and loop shaped serial communication network
JPS6255172B2 (en)
JPS62142433A (en) Self-registration type sequential communication method
JPS63219248A (en) Packet relay and transfer equipment
JPS63267038A (en) Communication system
JPS59119439A (en) Buffer busy avoiding system
JPS60117846A (en) Data transmission system
JPH0748756B2 (en) Link layer control method
JPS60114048A (en) Data transfer method
JPS6243932A (en) Daisy chain system