JPH08181715A - Transmitter-receiver - Google Patents

Transmitter-receiver

Info

Publication number
JPH08181715A
JPH08181715A JP32416594A JP32416594A JPH08181715A JP H08181715 A JPH08181715 A JP H08181715A JP 32416594 A JP32416594 A JP 32416594A JP 32416594 A JP32416594 A JP 32416594A JP H08181715 A JPH08181715 A JP H08181715A
Authority
JP
Japan
Prior art keywords
packet
unit
type
storage unit
reception
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
JP32416594A
Other languages
Japanese (ja)
Inventor
Susumu Ito
享 伊藤
Katsuhiko Kimura
克彦 木村
Kiyotaka Takehara
清隆 竹原
Koichi Okada
晃一 岡田
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP32416594A priority Critical patent/JPH08181715A/en
Publication of JPH08181715A publication Critical patent/JPH08181715A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a transmitter-receiver capable of efficient transmission and reception by extracting a packet at a rate according to a selection condition for each packet class. CONSTITUTION: This transmitter-receiver provided with a reception section 1 receiving a packet, a central processing unit section 6 in change of processing the packet received by the reception section, and a transmission section 7 sending a packet includes a packet analysis distribute section 2 discriminating a class of the packet received by the reception section and distribution the packet according to the class, plural class packet storage sections 3a-3h storing the distributed packet according to the class by the packet analysis distribution section and a selection section 5 deciding from which class packet storage sections a packet is to be extracted based on a prescribed selection condition.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワーク上でパケ
ットの送受信処理を行う送受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission / reception device for transmitting / receiving packets on a network.

【0002】[0002]

【従来の技術】従来の送受信装置は、受信部が通信回線
からパケットを受信し、パケットの優先度を判断して、
該判断による優先度に基づいてパケットを優先度別に設
けられた複数のパケット記憶部のいずれかに格納し、受
信パケット量が増加して、パケット処理が間に合わずに
パケット記憶部に輻輳が発生した場合、中央処理部では
優先度の高いパケット記憶部から優先的に受信パケット
を取り出してパケット処理を行うという構成になってい
た。
2. Description of the Related Art In a conventional transmitter / receiver, a receiver receives a packet from a communication line, judges the priority of the packet,
A packet is stored in one of a plurality of packet storage units provided for each priority based on the priority determined by the judgment, the amount of received packets increases, and packet processing is delayed in time and congestion occurs in the packet storage unit. In this case, the central processing unit is configured to preferentially take out the received packet from the packet storage unit having a high priority and perform the packet processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
ような送受信装置にあっては、受信パケット量が増加し
て、パケット処理が間に合わずにパケット記憶部の輻輳
が発生した場合、パケット処理部は優先度の高いパケッ
ト記憶部に格納されている優先度の高いパケットから順
次取り出して処理するので、パケット記憶部の輻輳が解
消しない限り優先度の低いパケット記憶部にはパケット
が累積的に蓄積され、優先度の低いパケット記憶部ばか
りがパケット記憶部の溢れを生じ、累積的に蓄積された
パケットも処理されることがない。
However, in the transmission / reception apparatus as described above, when the amount of received packets increases and packet processing cannot be completed in time and congestion occurs in the packet storage unit, the packet processing unit Since packets with higher priority stored in the packet storage with higher priority are sequentially extracted and processed, packets are cumulatively accumulated in the packet storage with lower priority unless congestion in the packet storage is eliminated. However, only the packet storage unit with a low priority causes the packet storage unit to overflow, and cumulatively accumulated packets are not processed.

【0004】パケット記憶部の輻輳が短時間に解消され
る場合には、優先度の低いパケット記憶部が溢れを生じ
ても、パケットの優先度が低いので一時的には許容され
るが、パケット記憶部から溢れた優先度の低いパケット
は処理されるまで繰り返し送信されてくるで、いかにパ
ケットの優先度が低いものといえどもいずれは処理する
必要がある。従って、パケット記憶部の輻輳が長時間解
消されない場合に、パケット記憶部の輻輳が解消される
まで優先度の高いパケットばかりを処理していたのでは
優先度の低いパケットは全く処理できず、優先度の低い
パケットにあっては大きな送信遅延を生じ、また、優先
度の低いパケットは処理されるまで繰り返し送信される
のでネットワーク全体の通信量が増大しネットワークが
混雑するという問題点があった。
When the congestion of the packet storage unit is resolved in a short time, even if the packet storage unit of low priority overflows, the packet priority is low because it is low, but Packets with low priority overflowing from the storage unit are repeatedly transmitted until they are processed, so it is necessary to process any packet with low priority. Therefore, if congestion in the packet storage unit is not resolved for a long time, if only high priority packets are processed until the congestion in the packet storage unit is resolved, low priority packets cannot be processed at all. A packet with a low frequency causes a large transmission delay, and a packet with a low priority is repeatedly transmitted until it is processed, so that there is a problem that the communication amount of the entire network increases and the network becomes congested.

【0005】本発明は、上記問題点を改善するために成
されたもので、その目的とするところは、いわゆる優先
度の低いとされるパケットについても大きな送信遅延を
生じることなく、またパケットの再送信によってネット
ワークが混雑することなく、従って効率的に送受信を行
うことのできる送受信装置を提供することにある。
The present invention has been made in order to solve the above problems, and an object of the present invention is to prevent a so-called low priority packet from causing a large transmission delay and to reduce a packet transmission error. It is an object of the present invention to provide a transmission / reception device which can efficiently perform transmission / reception without congestion of the network due to retransmission.

【0006】[0006]

【課題を解決するための手段】本発明は上記の問題を解
決するために、請求項1記載の発明にあっては、パケッ
トの受信を行う受信部と、受信部の受信するパケットの
データ処理を行う中央処理部と、パケットの送信を行う
送信部とを有する送受信装置において、前記受信部が受
信するパケットの種別を判断し種別に従って分配するパ
ケット解析分配部と、該パケット解析分配部が種別に従
って分配するパケットを記憶する複数の種別パケット記
憶部と、所定の選択条件に基づきパケットをどの種別パ
ケット記憶部から取り出すかを決定する選択部とを備え
て成ることを特徴とするものである。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides a receiver for receiving a packet and data processing of a packet received by the receiver. In a transmission / reception device having a central processing unit for performing a packet transmission and a transmission unit for transmitting a packet, a packet analysis distribution unit that determines the type of a packet received by the reception unit and distributes the packet according to the type, and the packet analysis distribution unit It is characterized by comprising a plurality of type packet storage units for storing packets to be distributed according to the above, and a selection unit for determining from which type packet storage unit a packet should be taken out based on a predetermined selection condition.

【0007】また、請求項2記載の発明にあっては、パ
ケットの受信を行う受信部と、受信部の受信するパケッ
トのデータ処理を行う中央処理部と、パケットの送信を
行う送信部とを有する送受信装置において、前記受信部
が受信するパケットの種別を判断するパケット解析部
と、該パケット解析部が判断した種別を記憶するパケッ
ト情報記憶部と、前記受信部が受信するパケットを記憶
するパケット記憶部と、所定の選択条件とパケット情報
記憶部に記憶されるパケット情報とに基づき処理するパ
ケットを決定するパケット決定部とを備えて成ることを
特徴とするものである。
According to the second aspect of the invention, there are provided a receiving unit for receiving the packet, a central processing unit for processing data of the packet received by the receiving unit, and a transmitting unit for transmitting the packet. In the transmission / reception device having the packet analysis unit that determines the type of packet received by the reception unit, the packet information storage unit that stores the type determined by the packet analysis unit, and the packet that stores the packet received by the reception unit. It is characterized by comprising a storage unit and a packet determination unit that determines a packet to be processed based on predetermined selection conditions and packet information stored in the packet information storage unit.

【0008】[0008]

【作用】以上のように構成したことにより、請求項1記
載の発明にあっては、パケット解析分配部は受信部の受
信するパケットの種別を判断し種別に従って分配し、複
数の種別パケット記憶部はパケット解析分配部が種別に
従って分配するパケットを記憶し、選択部が所定の選択
条件に基づきパケットを取り出す種別パケット記憶部を
決定するので、複数の種別パケット記憶部間では相互に
輻輳の発生等の影響を受けず、選択条件に従った割合で
種別パケット記憶部からパケットを取り出すことができ
る。
With the above configuration, in the invention according to claim 1, the packet analysis distribution unit determines the type of the packet received by the reception unit and distributes it according to the type, and a plurality of types of packet storage units are provided. The packet analysis distribution unit stores packets to be distributed according to the type, and the selection unit determines the type packet storage unit that extracts the packet based on a predetermined selection condition. Therefore, congestion occurs among multiple type packet storage units. It is possible to retrieve packets from the type packet storage unit at a rate according to the selection condition without being affected by.

【0009】また、請求項2記載の発明にあっては、パ
ケット解析部は受信部の受信するパケットの種別を判断
して、パケット情報記憶部はパケット解析部の判断した
種別の情報を記憶し、パケット記憶部は受信部の受信す
るパケットを記憶し、パケット決定部が所定の選択条件
とパケット情報記憶部に記憶されるパケットの種別の情
報とに基づき処理するパケットを決定するので、選択条
件とパケットの種別の情報とに従った割合で種別毎にパ
ケットを取り出すことができる。
According to the second aspect of the invention, the packet analysis unit determines the type of the packet received by the reception unit, and the packet information storage unit stores the information of the type determined by the packet analysis unit. The packet storage unit stores the packet received by the reception unit, and the packet determination unit determines the packet to be processed based on the predetermined selection condition and the packet type information stored in the packet information storage unit. Packets can be extracted for each type at a ratio according to the information of the type of the packet and the information of the type of the packet.

【0010】[0010]

【実施例】本発明にかかる送受信装置の第一実施例を図
1に基づいて、第二実施例を図2に基づいて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of a transmitting / receiving apparatus according to the present invention will be described with reference to FIG. 1, and a second embodiment will be described with reference to FIG.

【0011】〔第一実施例〕本発明の第一実施例を図1
を用いて説明する。図1は、送受信装置のブロック図で
ある。
First Embodiment FIG. 1 shows a first embodiment of the present invention.
Will be explained. FIG. 1 is a block diagram of a transmission / reception device.

【0012】図1において、1は受信部を示す。受信部
1は通信回線からパケットを受信し、受信したパケット
をパケット解析分配部2に出力するものである。
In FIG. 1, reference numeral 1 indicates a receiving section. The receiving unit 1 receives a packet from a communication line and outputs the received packet to the packet analysis / distribution unit 2.

【0013】パケット解析分配部2は、パケットのアド
レスとパケットの内容とを解析して、パケットの種別を
判断し、該種別に従って対応する種別パケット記憶部3
a〜3hに出力する。
The packet analysis / distribution unit 2 analyzes the address of the packet and the contents of the packet to determine the type of the packet, and the corresponding type packet storage unit 3 according to the type.
a to 3h.

【0014】本実施例ではパケットの種別を、どこから
送信されたかを表す「パケットの送信元」、パケットを
処理することにより再びパケットを生成して送信する必
要があるか否かを表す「パケット再発生性」、送受信の
データが大きいために複数のパケットに分割する場合の
「パケットの連続性」、いつまでにパケットの処理がな
されるべきかを表す「許容遅延時間」等の種類に分類し
ている。
In the present embodiment, the type of packet is "packet source" indicating from where it is transmitted, and "packet re-transmission" indicating whether it is necessary to generate a packet again by processing the packet. Occurrence "," packet continuity "when dividing into multiple packets due to large amount of transmitted / received data, and" allowable delay time "indicating when the packet should be processed. There is.

【0015】例えば図1に示す送受信装置においては種
別を、「端末Aから送信されたパケット」(種別A
1)、「端末Bから送信されたパケット」(種別A
2)、「端末Cから送信されたパケット」(種別A
3)、「パケット再発生性のあるパケット」(種別B
1)、「連続性のあるパケット」(種別C1)、「許容
遅延時間が20秒のパケット」(種別D1)、「許容遅
延時間が60秒のパケット」(種別D2)、「許容遅延
時間が60秒以上のパケット」(種別D3)としてい
る。
For example, in the transmitting / receiving apparatus shown in FIG. 1, the type is "packet transmitted from terminal A" (type A
1), "packet transmitted from terminal B" (type A
2), "Packet transmitted from terminal C" (type A
3), "Packet with packet reoccurrence" (Type B)
1), "packet with continuity" (type C1), "packet with allowable delay time of 20 seconds" (type D1), "packet with allowable delay time of 60 seconds" (type D2), "allowable delay time" A packet of 60 seconds or more ”(type D3).

【0016】種別パケット記憶部3a〜3hは、パケッ
ト解析分配部2が種別毎に分類して分配するパケットを
記憶するものでありパケットの種別の数だけ設けられて
おり、先に記憶されたものが先に取り出され、後から記
憶されたものは後で取り出されるようにされている。パ
ケット記憶部3aは種別A1、パケット記憶部3bは種
別A2、パケット記憶部3cは種別A3、パケット記憶
部3dは種別B1、パケット記憶部3eは種別C1、パ
ケット記憶部3fは種別D1、パケット記憶部3gは種
別D2、パケット記憶部3hは種別D3のパケットをそ
れぞれ記憶するようにしている。
The type packet storage units 3a to 3h are for storing the packets that the packet analysis / distribution unit 2 classifies and distributes according to the type, and is provided by the number of packet types and is stored in advance. Are taken out first, and those stored later are taken out later. The packet storage unit 3a is of type A1, the packet storage unit 3b is of type A2, the packet storage unit 3c is of type A3, the packet storage unit 3d is of type B1, the packet storage unit 3e is of type C1, and the packet storage unit 3f is of type D1. The unit 3g stores the type D2, and the packet storage unit 3h stores the type D3 packet.

【0017】パケット記憶監視部4は、パケット記憶部
3a〜3hのパケットの記憶状況を監視するものであ
り、各パケット記憶部3a〜3hについてどれだけの記
憶容量が使用されているかを選択部5に出力する。
The packet storage monitoring unit 4 monitors the storage condition of the packets in the packet storage units 3a to 3h, and the selection unit 5 determines how much storage capacity is used for each packet storage unit 3a to 3h. Output to.

【0018】選択部5は選択条件に基づきパケットを取
り出す種別パケット記憶部3a〜3hを決定するもので
ある。
The selection unit 5 determines the type packet storage units 3a to 3h from which packets are extracted based on the selection conditions.

【0019】選択条件は、あらかじめ決めておくもので
あり、時間帯、特定の時期(システム立ち上げ時、終了
時等)、種別パケット記憶部3a〜3hの記憶容量の状
態等が選択条件の要素となる。
The selection condition is determined in advance, and the time period, a specific time (when the system is started up, when the system is finished, etc.), the state of the storage capacity of the type packet storage units 3a to 3h, and the like are elements of the selection condition. Becomes

【0020】本実施例では選択条件は、 [条件1] システム立ち上げ時から所定時間は、種別
A1「端末Aから送信されたパケット」に対応する種別
パケット記憶部3aのみを選択する(端末Aを親機と想
定しており、初期化のための情報を親機から受信するた
めである)。例えば、種別パケット記憶部3a〜3hの
各々に10個のパケットが分配されて記憶されている場
合でも、種別パケット記憶部3b〜3hは選択されるこ
となく、種別パケット記憶部3aのみを選択するので種
別パケット記憶部3aに記憶される10個のパケットが
優先的に処理される。従って、立ち上げ時に必要な親機
(端末A)からの情報を漏らすことなく受信して処理で
きるので、迅速、確実に立ち上げ処理ができる。
In the present embodiment, the selection conditions are as follows: [Condition 1] Only a type packet storage unit 3a corresponding to the type A1 "packet transmitted from terminal A" is selected for a predetermined time from system startup (terminal A). Is assumed to be the base unit, because it receives information for initialization from the base unit). For example, even when 10 packets are distributed and stored in each of the type packet storage units 3a to 3h, the type packet storage units 3b to 3h are not selected and only the type packet storage unit 3a is selected. Therefore, the 10 packets stored in the type packet storage unit 3a are preferentially processed. Therefore, since the information from the parent device (terminal A) required at the time of startup can be received and processed without leakage, the startup process can be performed quickly and reliably.

【0021】[条件2] パケット記憶監視部4からの
情報に基づき、種別パケット記憶部3a〜3hの内でい
ずれかが輻輳状態にある場合、該種別パケット記憶部を
選択する割合を高くし、輻輳状態が解消するまでその割
合を維持する(割合を高くするとは、例えば一定のサイ
クルにおいて種別パケット記憶部3a〜3hから1回づ
つ選択していたところを、種別パケット記憶部3aにつ
いては3回選択することにすると、種別パケット記憶部
3aは他の種別パケット記憶部に比べて2回多く選択す
ることになることをいう)。
[Condition 2] Based on the information from the packet storage monitoring unit 4, if any of the type packet storage units 3a to 3h is in a congestion state, the ratio of selecting the type packet storage unit is increased, The ratio is maintained until the congestion state is resolved (increasing the ratio means, for example, that the selected packet storage units 3a to 3h are selected once in a certain cycle, and the selected packet storage unit 3a is selected three times. If the selection is made, it means that the type packet storage unit 3a selects twice more than the other type packet storage units).

【0022】[条件3] 時間帯が朝(午前8時から午
前10時)の場合は種別A2「端末Bから送信されたパ
ケット」に対応する種別パケット記憶部3bと種別A3
「端末Cから送信されたパケット」に対応する種別パケ
ット記憶部3cとを選択する割合を高くして、夜間(午
後8時から午前7時)は種別A1「端末Aから送信され
たパケット」に対応する種別パケット記憶部3aと種別
B1「パケット再発生性のあるパケット」種別パケット
記憶部3dとを選択する割合を高くする。朝の時間帯に
処理が必要なパケットを優先的に取り出して処理し、特
定の端末からのパケットやパケットを再発生させてネッ
トワークに負荷をかけるパケットの処理を、ネットワー
クが混雑していない夜間に行うためである。
[Condition 3] When the time zone is in the morning (8 am to 10 am), the type A2 "packet transmitted from the terminal B" and the type A3 corresponding to the "packet transmitted from the terminal B"
By increasing the selection rate of the type packet storage unit 3c corresponding to the "packet transmitted from the terminal C", the type A1 "packet transmitted from the terminal A" is selected at night (8 pm to 7 am). The rate of selecting the corresponding type packet storage unit 3a and the type B1 "packet with packet reoccurrence" type packet storage unit 3d is increased. During the night when the network is not congested, packet processing that preferentially extracts and processes packets that need to be processed during the morning hours and regenerates packets from specific terminals and loads the network This is to do it.

【0023】[条件4] 種別C1「連続性のあるパケ
ット」に対応する種別パケット記憶部3eは、連続する
パケットが全て種別パケット記憶部3eに記憶されてい
るときに選択可能とする。そして、一旦種別パケット記
憶部3eを選択すれば連続するパケットを全て取り出す
まで連続して種別パケット記憶部3eを選択する。
[Condition 4] The type packet storage unit 3e corresponding to the type C1 "packet with continuity" is selectable when all consecutive packets are stored in the type packet storage unit 3e. Then, once the type packet storage unit 3e is selected, the type packet storage unit 3e is continuously selected until all continuous packets are extracted.

【0024】[条件5] 種別パケット記憶部3f>種
別パケット記憶部3g>種別パケット記憶部3h、の関
係を満たす割合で選択する。としており、全ての条件を
総合的に考慮してパケットを取り出す種別パケット記憶
部3a〜3hを決定する。
[Condition 5] Selection is made at a rate satisfying the relation of type packet storage section 3f> type packet storage section 3g> type packet storage section 3h. Therefore, the type packet storage units 3a to 3h for extracting the packets are determined in consideration of all the conditions in a comprehensive manner.

【0025】中央処理部6は、選択部5の決定した種別
パケット記憶部3a〜3hからパケットを一つ取り出し
て、取り出したパケットに対応した処理を行うものであ
る。パケットに対応した処理とは、例えば、パケットの
指示する内容の表示、パケットの指示する内容の演算、
送出するための新たなパケットの生成等である。
The central processing unit 6 extracts one packet from the type packet storage units 3a to 3h determined by the selection unit 5 and performs a process corresponding to the extracted packet. The processing corresponding to the packet includes, for example, displaying the content instructed by the packet, calculating the content instructed by the packet,
This is, for example, generation of a new packet for sending.

【0026】送信部7は、中央処理部6が新たなパケッ
トを生成する場合に、該パケットを通信回線へ送出する
ものである。
When the central processing unit 6 creates a new packet, the sending unit 7 sends the packet to the communication line.

【0027】次に、以上のようにして構成された送受信
装置の動作を説明する。まず、受信部1は通信回線から
パケットを受信して、パケット解析分配部2に出力し、
パケット解析分配部2は、パケットのアドレスとパケッ
トの内容とを解析して、パケットの種別を判断し、対応
する種別パケット記憶部3a〜3hに出力する。
Next, the operation of the transmitter / receiver configured as above will be described. First, the receiving unit 1 receives a packet from the communication line and outputs it to the packet analysis / distribution unit 2,
The packet analysis / distribution unit 2 analyzes the address of the packet and the contents of the packet, determines the type of the packet, and outputs it to the corresponding type packet storage units 3a to 3h.

【0028】例えば、端末Aからパケットが送信されて
きた場合、パケット解析分配部2が種別A1であると判
断し、種別パケット記憶部3aに出力する。次に、端末
Bからパケットが送信されてきた場合、パケット解析分
配部2が種別A2であると判断し、種別パケット記憶部
3bに出力する。
For example, when a packet is transmitted from the terminal A, the packet analysis / distribution unit 2 determines that it is of type A1 and outputs it to the type packet storage unit 3a. Next, when the packet is transmitted from the terminal B, the packet analysis distribution unit 2 determines that the packet is the type A2, and outputs it to the type packet storage unit 3b.

【0029】以上の動作を繰り返して、パケット解析分
配部2は順次受信したパケットを解析し判断して、種別
に対応する種別パケット記憶部3a〜3hに出力する。
By repeating the above operation, the packet analysis / distribution unit 2 analyzes and judges the sequentially received packets and outputs them to the type packet storage units 3a to 3h corresponding to the type.

【0030】一方、選択部5は、前述の各選択条件に基
づき種別パケット記憶部3a〜3hからパケットを取り
出すべき種別パケット記憶部を一つ選択する。例えば、
送受信装置が立ち上げ時の場合は、選択部5は条件1に
より、種別パケット記憶部3aのみを選択する。
On the other hand, the selecting section 5 selects one type packet storage section from which the packet should be extracted from the type packet storage sections 3a to 3h based on the above selection conditions. For example,
When the transmission / reception apparatus is started up, the selection unit 5 selects only the type packet storage unit 3a according to the condition 1.

【0031】中央処理部6は、選択部5の決定した種別
パケット記憶部3a〜3hからパケットを一つ取り出し
て、該パケットの処理を行い、必要があれば送出するた
めのパケットを生成して送信部7に出力し、送信部7は
該パケットを通信回線に送出する。前述の例のように送
受信装置の立ち上げ時の場合は、中央処理部6は種別パ
ケット記憶部3aからのみパケットを取り出して処理を
行う。従って、端末Aから送信されたパケットは処理さ
れるが、端末Bから送信されたパケットは処理されな
い。
The central processing unit 6 takes out one packet from the type packet storage units 3a to 3h determined by the selection unit 5, processes the packet, and generates a packet to be sent if necessary. The packet is output to the transmitter 7, and the transmitter 7 sends the packet to the communication line. When the transceiver is started up as in the above example, the central processing unit 6 takes out the packet only from the type packet storage unit 3a and processes it. Therefore, the packet transmitted from terminal A is processed, but the packet transmitted from terminal B is not processed.

【0032】〔第二実施例〕本発明の第二実施例を図2
を用いて説明する。図2は、送受信装置のブロック図で
ある。
[Second Embodiment] A second embodiment of the present invention is shown in FIG.
Will be explained. FIG. 2 is a block diagram of the transmission / reception device.

【0033】図2において、1は受信部を示す。受信部
は通信回線からパケットを受信し、受信したパケットを
パケット解析分配部2に出力するものである。
In FIG. 2, reference numeral 1 indicates a receiving section. The receiving unit receives a packet from the communication line and outputs the received packet to the packet analysis / distribution unit 2.

【0034】パケット解析部8は、パケットのアドレス
とパケットの内容とを解析して、パケットの種別を判断
し、パケットに通し番号(送受信装置を起動して最初に
受け取ったパケットを「1」とする)である受け付け番
号を付与して、該受け付け番号と種別とをパケット情報
記憶部10に出力する。なお、1つのパケットが複数の
種別を有する場合は、全ての種別をパケット情報記憶部
10に出力する。なお、種別は第一実施例で説明したと
ころのものと同等であるので説明は省略する。
The packet analysis unit 8 analyzes the address of the packet and the contents of the packet, determines the type of the packet, and assigns a serial number to the packet (the packet received first by activating the transmitting / receiving apparatus is "1"). ), And outputs the acceptance number and the type to the packet information storage unit 10. When one packet has a plurality of types, all types are output to the packet information storage unit 10. Note that the types are the same as those described in the first embodiment, so description will be omitted.

【0035】更に、パケット解析部8は、受け付け番号
とともにパケット自体をパケット記憶部9に出力する。
Further, the packet analysis section 8 outputs the packet itself together with the acceptance number to the packet storage section 9.

【0036】パケット記憶部9は、受け付け番号とパケ
ットとを記憶する。従って、パケット記憶部9が記憶す
るパケットと、パケット情報記憶部10が記憶するパケ
ットの種別とは、パケット解析部8で付与した受け付け
番号を通じて対応づけられている。
The packet storage unit 9 stores the acceptance number and the packet. Therefore, the packet stored in the packet storage unit 9 and the type of packet stored in the packet information storage unit 10 are associated with each other through the acceptance number given by the packet analysis unit 8.

【0037】パケット決定部11は、パケット情報記憶
部10が記憶するパケットの種別の情報と選択条件とか
ら、中央処理部6がパケット記憶部9から取り出すパケ
ットの受け付け番号を決定し、該受け付け番号を中央処
理部6に出力する。
The packet deciding unit 11 decides the acceptance number of the packet extracted from the packet storage unit 9 by the central processing unit 6 from the packet type information stored in the packet information storage unit 10 and the selection condition, and the acceptance number is decided. Is output to the central processing unit 6.

【0038】選択条件は、あらかじめ決めておくもので
あり、時間帯、特定の時期(システム立ち上げ時等が選
択条件の要素となる。
The selection condition is determined in advance, and the time zone, a specific time (when the system is started, etc.) are the elements of the selection condition.

【0039】本実施例では選択条件は、 [条件1] システム立ち上げ時には、種別A1のパケ
ットに対応する受け付け番号のみを選択する(端末Aを
親機と想定しており、初期化のための情報を親機から受
信するためである)。
In the present embodiment, the selection conditions are as follows: [Condition 1] When the system is started up, only the acceptance number corresponding to the type A1 packet is selected (the terminal A is assumed to be the master unit, and is used for initialization). It is for receiving information from the base unit).

【0040】[条件2] 時間帯が朝(午前8時から午
前10時)の場合は種別A2のパケットに対応する受け
付け番号と種別A3のパケットに対応する受け付け番号
とを選択する割合を高くして、夜間(午後8時から午前
7時)は種別A1のパケットに対応する受け付け番号と
種別B1のパケットに対応する受け付け番号とを選択す
る割合を高くする。
[Condition 2] When the time zone is in the morning (8 am to 10 am), the ratio of selecting the reception number corresponding to the type A2 packet and the reception number corresponding to the type A3 packet is increased. Then, at night (8:00 pm to 7:00 am), the ratio of selecting the reception number corresponding to the type A1 packet and the reception number corresponding to the type B1 packet is increased.

【0041】[条件3] 種別C1のパケットに対応す
る受け付け番号は、連続するパケットが全てパケット記
憶部9に記憶されているときに選択可能とする。そし
て、一旦種別C1のパケットに対応する受け付け番号を
選択すれば連続するパケットに対応する受け付け番号を
全て選択するまで連続して種別C1を選択する。
[Condition 3] The acceptance number corresponding to the type C1 packet can be selected when all the consecutive packets are stored in the packet storage unit 9. Then, once the acceptance number corresponding to the type C1 packet is selected, the type C1 is continuously selected until all the acceptance numbers corresponding to the consecutive packets are selected.

【0042】[条件4] 種別D1>種別D2>種別D
3、の関係を満たす割合でパケットに対応する受け付け
番号を選択する。としており、全ての条件を総合的に考
慮して取り出すべきパケットに対応する受け付け番号を
決定する。
[Condition 4] Type D1> Type D2> Type D
The acceptance number corresponding to the packet is selected at a rate satisfying the relationship of 3. Therefore, the acceptance number corresponding to the packet to be extracted is determined by comprehensively considering all the conditions.

【0043】中央処理部6は、パケット決定部11の決
定した受け付け番号に対応するパケットをパケット記憶
部9から取り出して、取り出したパケットに応じた処理
を行うものである。パケットに応じた処理とは、例え
ば、パケットの指示する内容の表示、パケットの指示す
る内容の演算、送出するための新たなパケットの生成等
である。
The central processing unit 6 retrieves the packet corresponding to the acceptance number determined by the packet determining unit 11 from the packet storage unit 9 and performs the process according to the retrieved packet. The processing according to the packet includes, for example, displaying the content instructed by the packet, calculating the content instructed by the packet, and generating a new packet for transmission.

【0044】送信部7は、中央処理部6が新たなパケッ
トを生成する場合に、該パケットを通信回線へ送出する
ものである。
When the central processing unit 6 creates a new packet, the sending unit 7 sends the packet to the communication line.

【0045】次に、以上のようにして構成された送受信
装置の動作を説明する。まず、端末Aから送信されたパ
ケットを受信部1が受信した場合は、受信部1がパケッ
トをパケット解析部8に出力し、パケット解析部8は、
パケットのアドレスとパケットの内容とを解析して、パ
ケットの種別をA1と判断し、パケットに通し番号であ
る受け付け番号「1」(送受信装置を起動して最初に受
け取ったパケットだからである)を付与して、該受け付
け番号「1」と種別A1とをパケット情報記憶部10に
出力する。
Next, the operation of the transmitter / receiver configured as described above will be described. First, when the receiving unit 1 receives the packet transmitted from the terminal A, the receiving unit 1 outputs the packet to the packet analysis unit 8, and the packet analysis unit 8
The packet address and the packet contents are analyzed, the packet type is determined to be A1, and the packet is given a reception number "1" (because it is the first packet received by activating the transceiver). Then, the acceptance number “1” and the type A1 are output to the packet information storage unit 10.

【0046】更に、パケット解析部8は、受け付け番号
「1」とパケット自体をパケット記憶部9に出力し、パ
ケット記憶部9は受け付け番号「1」とパケットを記憶
する。
Further, the packet analysis unit 8 outputs the reception number "1" and the packet itself to the packet storage unit 9, and the packet storage unit 9 stores the reception number "1" and the packet.

【0047】次に、連続性のあるパケットを受信部1が
受信した場合は、パケット解析部8は、パケットのアド
レスとパケットの内容とを解析して、パケットの種別を
C1と判断し、パケットに通し番号である受け付け番号
「2」を付与して、該受け付け番号「2」と種別C1と
をパケット情報記憶部10に出力する。
Next, when the receiving unit 1 receives continuous packets, the packet analysis unit 8 analyzes the packet address and the packet contents, determines that the packet type is C1, and A reception number "2", which is a serial number, is given to the packet information storage unit 10, and the reception number "2" and the type C1 are output to the packet information storage unit 10.

【0048】更に、パケット解析部8は、受け付け番号
「2」とパケット自体をパケット記憶部9に出力し、パ
ケット記憶部9は受け付け番号「2」とパケットを記憶
する。
Further, the packet analysis unit 8 outputs the reception number "2" and the packet itself to the packet storage unit 9, and the packet storage unit 9 stores the reception number "2" and the packet.

【0049】以上の動作を繰り返して、パケット解析部
8は順次受信したパケットを解析して種別の情報をパケ
ット情報記憶部10に記憶させ、パケット自体をパケッ
ト記憶部9に記憶させていく。
By repeating the above operation, the packet analysis unit 8 analyzes the sequentially received packets, stores the type information in the packet information storage unit 10, and stores the packet itself in the packet storage unit 9.

【0050】一方、パケット決定部11は、前述した各
選択条件に基づき取り出すべきパケットの受け付け番号
を決定し、中央処理部6は受け付け番号に対応するパケ
ットをパケット記憶部9から取り出す。
On the other hand, the packet deciding unit 11 decides the acceptance number of the packet to be taken out based on the above selection conditions, and the central processing unit 6 takes out the packet corresponding to the acceptance number from the packet storage unit 9.

【0051】例えば、起動時であれば、パケット決定部
11は条件1より種別A1のパケットの受け付け番号を
パケット情報記憶部10から取り出す。前述の例では受
け付け番号「1」のパケットが種別A1であったので、
パケット決定部11は受け付け番号「1」を中央処理部
6に出力する。
For example, at the time of start-up, the packet determination unit 11 extracts the acceptance number of the packet of type A1 from the packet information storage unit 10 according to the condition 1. In the above example, the packet with the acceptance number “1” was of type A1, so
The packet determination unit 11 outputs the acceptance number “1” to the central processing unit 6.

【0052】中央処理部6は、受け付け番号「1」と対
応するパケットをパケット記憶部9から取り出し、パケ
ットに応じた処理を行う。そして、処理によって必要が
有れば送出するためのパケットを生成して送信部7に出
力し、送信部7は該パケットを通信回線に送出する。
The central processing unit 6 takes out the packet corresponding to the acceptance number "1" from the packet storage unit 9 and performs the processing according to the packet. Then, if necessary by processing, a packet to be transmitted is generated and output to the transmission unit 7, and the transmission unit 7 transmits the packet to the communication line.

【0053】なお、種別は前述の「パケットの送信
元」、「パケットの再発生性」等に限定されるものでは
なく、例えばパケットが誰から送信されたかを示す「パ
ケットの送信人」や、パケットを誰に送信するのかを示
す「パケットの受信人」等のパケットの属性を表すもの
であればよい。
The type is not limited to the above-mentioned "packet transmission source", "packet reoccurrence", and the like. For example, "packet sender" indicating who sent the packet, Any attribute may be used as long as the attribute of the packet, such as “receiver of the packet” indicating who the packet is transmitted to.

【0054】そして、第一実施例では種別A1は種別パ
ケット記憶部3aに記憶するというように、種別パケッ
ト記憶部は一つの種別に対応して設けているが、種別A
1かつ種別C1のパケットは種別パケット記憶部3iに
記憶するといった具合に複数の種別を有するパケットを
記憶する種別パケット記憶部を設けても良い。この場合
は、複数種別を同時に指定するような選択条件を設定す
ることにより、該選択条件に適合する種別パケット記憶
部からパケットを取り出すことができるので、より効率
的に送受信を行うことができる。
In the first embodiment, the type A1 is stored in the type packet storage unit 3a, so that the type packet storage unit is provided corresponding to one type.
A type packet storage unit may be provided for storing packets having a plurality of types, such as storing packets of type 1 and type C1 in the type packet storage unit 3i. In this case, by setting a selection condition that designates a plurality of types at the same time, the packet can be retrieved from the type packet storage unit that matches the selection condition, so that transmission / reception can be performed more efficiently.

【0055】また、第一実施例ではパケットを種別毎に
種別パケット記憶部3a〜3hに分配しているが、パケ
ットの有する種別の数は前述の如く必ずしも一つではな
く、複数の場合もあるので、パケット解析分配部2はパ
ケットの有する種別の数に従って分配するようにしても
良い。
Further, in the first embodiment, the packets are distributed to the type packet storage units 3a to 3h for each type, but the number of types included in the packet is not necessarily one as described above, and may be plural. Therefore, the packet analysis / distribution unit 2 may perform distribution according to the number of types of packets.

【0056】また、第一実施例における選択部5の種別
パケット記憶部を選択する選択条件および第二実施例に
おけるパケット決定部11のパケットを選択する選択条
件は、両実施例において説明したものに限定されるもの
ではなく、例えば月日に応じた条件等の時間その他の種
々の要因を考慮した条件を設けても良く、選択条件を加
重することにより、種々の要因に従ってその時々に応じ
て最適な種別パケット記憶部あるいはパケットを選択す
ることができるので、より効率的な送受信を行うことが
できるようになる。そして、第二実施例におけるパケッ
ト決定部11のパケットを選択する選択条件は、複数の
種別を有するパケットを選択するような選択条件を設け
ても良く、そのような選択条件を設けることにより、よ
り詳細な選択条件の下にパケットを選択することができ
る。
The selection condition for selecting the type packet storage unit of the selection unit 5 in the first embodiment and the selection condition for selecting the packet of the packet determination unit 11 in the second embodiment are the same as those described in both embodiments. The present invention is not limited to this. For example, conditions such as conditions according to the date and time may be set in consideration of various factors such as time, and by weighting selection conditions, it is possible to optimize according to various factors according to various factors. Since various types of packet storage units or packets can be selected, more efficient transmission / reception can be performed. The selection condition for selecting a packet of the packet determination unit 11 in the second embodiment may be a selection condition for selecting a packet having a plurality of types. By providing such a selection condition, Packets can be selected under detailed selection conditions.

【0057】[0057]

【発明の効果】本発明の送受信装置は上述のように構成
してあるから、請求項1記載の発明にあっては、パケッ
ト解析分配部は受信部の受信するパケットの種別を判断
し種別に従って分配し、種別パケット記憶部はパケット
解析分配部の分配するパケットをパケットの種別毎に記
憶し、選択部が所定の選択条件に基づきパケットを取り
出す種別パケット記憶部を決定するので、種別パケット
記憶部間で相互に輻輳の発生の影響を受けず、種別毎に
選択条件に従った割合でパケットを取り出すので、時間
帯や種別パケット記憶部の状態等の条件に適合するパケ
ットを処理することにより効率的な送受信を行う送受信
装置を提供できるという効果を奏する。
Since the transmitting / receiving apparatus of the present invention is configured as described above, in the invention of claim 1, the packet analysis / distribution unit determines the type of packet received by the receiving unit and follows the type. The type packet storage unit stores the packets to be distributed by the packet analysis distribution unit for each packet type, and the selection unit determines the type packet storage unit to extract the packet based on a predetermined selection condition. Since packets are extracted at a rate according to the selection conditions for each type without being affected by the occurrence of congestion between each other, it is possible to improve efficiency by processing packets that meet conditions such as the time zone and the state of the type packet storage section. The present invention has the effect of providing a transmitting / receiving device that performs automatic transmission / reception.

【0058】請求項2記載の発明にあっては、パケット
解析部は受信部の受信するパケットの種別を判断して、
パケット情報記憶部がパケット解析部の解析した情報を
記憶し、パケット記憶部が受信部が受信するパケットを
記憶し、パケット決定部が所定の選択条件とパケット情
報記憶部に記憶されるパケット情報とに基づき処理する
パケットを決定するので、時間帯や特定の時期等の条件
に適合するパケットを処理することにより効率的な送受
信を行う送受信装置を提供できるという効果を奏する。
According to the second aspect of the invention, the packet analysis section determines the type of packet received by the reception section,
The packet information storage unit stores information analyzed by the packet analysis unit, the packet storage unit stores packets received by the reception unit, and the packet determination unit stores predetermined selection conditions and packet information stored in the packet information storage unit. Since the packet to be processed is determined based on the above, there is an effect that it is possible to provide a transmission / reception device that performs efficient transmission / reception by processing a packet that meets conditions such as a time zone and a specific time.

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

【図1】本発明の第一実施例にかかる送受信装置のブロ
ック図である。
FIG. 1 is a block diagram of a transmission / reception device according to a first embodiment of the present invention.

【図2】本発明の第二実施例にかかる送受信装置のブロ
ック図である。
FIG. 2 is a block diagram of a transmission / reception device according to a second embodiment of the present invention.

【符号の説明】 1 受信部 2 パケット解析分配部 3a 種別パケット記憶部 3b 種別パケット記憶部 3c 種別パケット記憶部 3d 種別パケット記憶部 3e 種別パケット記憶部 3f 種別パケット記憶部 3g 種別パケット記憶部 3h 種別パケット記憶部 5 選択部 6 中央処理部 7 送信部 8 パケット解析部 9 パケット記憶部 10 パケット情報記憶部 11 パケット決定部[Explanation of Codes] 1 Receiver 2 Packet Analysis Distributor 3a Type Packet Memory 3b Type Packet Memory 3c Type Packet Memory 3d Type Packet Memory 3e Type Packet Memory 3f Type Packet Memory 3g Type Packet Memory 3h Type Packet storage unit 5 Selection unit 6 Central processing unit 7 Transmission unit 8 Packet analysis unit 9 Packet storage unit 10 Packet information storage unit 11 Packet determination unit

フロントページの続き (72)発明者 岡田 晃一 大阪府門真市大字門真1048番地松下電工株 式会社内Front page continuation (72) Inventor Koichi Okada 1048, Kadoma, Kadoma, Osaka Prefecture Matsushita Electric Works Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 パケットの受信を行う受信部と、受信部
の受信するパケットの処理を行う中央処理部と、パケッ
トの送信を行う送信部とを有する送受信装置において、
前記受信部が受信するパケットの種別を判断し種別に従
って分配するパケット解析分配部と、該パケット解析分
配部が種別に従って分配するパケットを記憶する複数の
種別パケット記憶部と、所定の選択条件に基づきパケッ
トをどの種別パケット記憶部から取り出すかを決定する
選択部とを備えて成ることを特徴とする送受信装置。
1. A transmission / reception device comprising a receiving unit for receiving a packet, a central processing unit for processing a packet received by the receiving unit, and a transmitting unit for transmitting a packet,
A packet analysis distribution unit that determines the type of packet received by the reception unit and distributes the packet according to the type, a plurality of type packet storage units that stores packets distributed by the packet analysis distribution unit according to the type, and based on predetermined selection conditions A transmission / reception apparatus, comprising: a selection unit that determines from which type packet storage unit a packet should be extracted.
【請求項2】 パケットの受信を行う受信部と、受信部
の受信するパケットの処理を行う中央処理部と、パケッ
トの送信を行う送信部とを有する送受信装置において、
前記受信部が受信するパケットの種別を判断するパケッ
ト解析部と、該パケット解析部が判断した種別を記憶す
るパケット情報記憶部と、前記受信部が受信するパケッ
トを記憶するパケット記憶部と、所定の選択条件とパケ
ット情報記憶部に記憶されるパケット情報とに基づき処
理するパケットを決定するパケット決定部とを備えて成
ることを特徴とする送受信装置。
2. A transmission / reception device having a receiving unit for receiving a packet, a central processing unit for processing a packet received by the receiving unit, and a transmitting unit for transmitting a packet,
A packet analysis unit that determines the type of packet received by the receiving unit; a packet information storage unit that stores the type determined by the packet analysis unit; a packet storage unit that stores the packet received by the receiving unit; And a packet determination unit that determines a packet to be processed based on the packet selection information stored in the packet information storage unit.
JP32416594A 1994-12-27 1994-12-27 Transmitter-receiver Pending JPH08181715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32416594A JPH08181715A (en) 1994-12-27 1994-12-27 Transmitter-receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32416594A JPH08181715A (en) 1994-12-27 1994-12-27 Transmitter-receiver

Publications (1)

Publication Number Publication Date
JPH08181715A true JPH08181715A (en) 1996-07-12

Family

ID=18162835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32416594A Pending JPH08181715A (en) 1994-12-27 1994-12-27 Transmitter-receiver

Country Status (1)

Country Link
JP (1) JPH08181715A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10224361A (en) * 1997-02-07 1998-08-21 Oki Electric Ind Co Ltd Cell assembler
JP2007028491A (en) * 2005-07-21 2007-02-01 Noritsu Koki Co Ltd Communications system
JP2007028132A (en) * 2005-07-15 2007-02-01 Noritsu Koki Co Ltd Communications system
WO2010087421A1 (en) * 2009-01-28 2010-08-05 株式会社日立製作所 Transmission-reception apparatus and data processing method
WO2015198545A1 (en) * 2014-06-24 2015-12-30 株式会社ソシオネクスト Interface device and reception device comprising same

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10224361A (en) * 1997-02-07 1998-08-21 Oki Electric Ind Co Ltd Cell assembler
JP2007028132A (en) * 2005-07-15 2007-02-01 Noritsu Koki Co Ltd Communications system
JP2007028491A (en) * 2005-07-21 2007-02-01 Noritsu Koki Co Ltd Communications system
WO2010087421A1 (en) * 2009-01-28 2010-08-05 株式会社日立製作所 Transmission-reception apparatus and data processing method
JP2010177849A (en) * 2009-01-28 2010-08-12 Hitachi Ltd Frame transmission-reception device and communication data processing method
CN106471761A (en) * 2014-06-24 2017-03-01 株式会社索思未来 Interface arrangement and the reception device possessing this interface arrangement
WO2015198545A1 (en) * 2014-06-24 2015-12-30 株式会社ソシオネクスト Interface device and reception device comprising same
JPWO2015198545A1 (en) * 2014-06-24 2017-06-01 株式会社ソシオネクスト Interface device and receiving device having the same
CN106471761B (en) * 2014-06-24 2019-05-21 株式会社索思未来 Interface arrangement and the reception device for having the interface arrangement
CN110071785A (en) * 2014-06-24 2019-07-30 株式会社索思未来 Interface method
JP2020102862A (en) * 2014-06-24 2020-07-02 株式会社ソシオネクスト Interface method
US10715642B2 (en) 2014-06-24 2020-07-14 Socionext Inc. Interface device and receiver including the same
CN110071785B (en) * 2014-06-24 2021-10-26 株式会社索思未来 Interface method
US11212376B2 (en) 2014-06-24 2021-12-28 Socionext Inc. Method of transmitting a data signal in sync with a clock signal

Similar Documents

Publication Publication Date Title
US5920701A (en) Scheduling data transmission
US4692761A (en) Adaptive communication network and method
US4500987A (en) Loop transmission system
KR20000023741A (en) Method of congestion control for wireless messaging systems
US4504946A (en) Time division multiple access communication systems
EP0905943A2 (en) Broadcast communication system using electronic mail system and electronic mail distribution method thereof
US4199662A (en) Hybrid control of time division multiplexing
US6751234B1 (en) Packet data transfer apparatus
US4502137A (en) Digital signal transmitting method
CN104936156B (en) Note transmission method and device
JPH06224904A (en) Test cell generator for asynchronous-transfer mode (atm) transmission
CN105812492B (en) A kind of method of data synchronization and system
JPH08181715A (en) Transmitter-receiver
KR100465362B1 (en) Transmission control method between a plurality of stations and corresponding communication stations
CN101695049A (en) Method and device for processing businesses in monitoring system
JPH0595373A (en) Multi-link control system
JPH08102755A (en) Method for monitoring station to be controlled
CN114615337A (en) Equipment scheduling method, system, server and storage medium
US9307509B1 (en) Transmitting radio signals using simultaneous retransmission
JP2004104438A (en) Base station repeating apparatus
CN114390006B (en) Data packet transmission method, device, equipment and storage medium
JP2888112B2 (en) Satellite communication slot allocation device and satellite communication system
JPH07226773A (en) Packet transmission system
JP3503471B2 (en) Data distribution device
WO1991009366A1 (en) Method and apparatus for dispersed end-entity flow control in computer networks