JPH0973388A - Data converting device with priority - Google Patents

Data converting device with priority

Info

Publication number
JPH0973388A
JPH0973388A JP22628395A JP22628395A JPH0973388A JP H0973388 A JPH0973388 A JP H0973388A JP 22628395 A JP22628395 A JP 22628395A JP 22628395 A JP22628395 A JP 22628395A JP H0973388 A JPH0973388 A JP H0973388A
Authority
JP
Japan
Prior art keywords
data
memory
length
stored
reading
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
JP22628395A
Other languages
Japanese (ja)
Inventor
Toshinaka Suzuki
敏中 鈴木
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP22628395A priority Critical patent/JPH0973388A/en
Publication of JPH0973388A publication Critical patent/JPH0973388A/en
Pending legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To multiplex data of arbitrary length into a limited part like a header part by storing a memory with arriving parallel data of arbitrary length, and reading them out in predetermined order and outputting them as serial data. SOLUTION: A multiplexing circuit 1 inputs transmitted data A from an input terminal 3 and information data C outputted from a data control circuit 2 and multiplexes the information data C into the header part of each frame. A data control circuit 2 stores a previously allocated memory with arriving parallel data E1, E2Rv of arbitrary length and monitors whether or not the data are stored in the memory. When the data are stored in the memory, the data are read out of the memory in predetermined order (in preferential order), and outputs them as serial data and deletes the data having being sent from the memory. The data of the arbitrary data when stored in the memory are adjusted to specific data length and they are read out sequentially and transmitted as the serial data, so that the data are multiplexed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、到来する任意長の
パラレルデータに優先順位をつけてシリアルデータとし
て出力するデータ伝送方式に関し、特に、ヘッダ部とデ
ータ部から構成されるフレーム形式を持つ伝送方式にお
いて、ヘッダ部に伝送データ以外の情報を多重化して伝
送する技術に係る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system for prioritizing incoming parallel data of arbitrary length and outputting it as serial data, and more particularly to a transmission having a frame format composed of a header section and a data section. In the method, the present invention relates to a technique of multiplexing information other than transmission data in a header part and transmitting the same.

【0002】[0002]

【従来の技術】フレーム内のヘッダ部のような限られた
部分を使用し、データを多重化して伝送する場合には、
ヘッダ部のデータ伝送能力があまり大きくない(一般的
には数ビット以下)ことから、予め伝送する情報の種類
を限定し、更にその限定した情報を数ビットの固定長の
ビットパタンに変換して、そのビットパタンで多重化し
伝送する方式をとっているのが通常である。
2. Description of the Related Art When data is multiplexed and transmitted by using a limited portion such as a header portion in a frame,
Since the data transmission capacity of the header part is not so large (generally less than several bits), the type of information to be transmitted is limited in advance, and the limited information is converted into a bit pattern with a fixed length of several bits. Generally, a method of multiplexing and transmitting with the bit pattern is adopted.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の技術で
は、予め想定されたデータ、すなわちビットパタンとし
て規定された情報しか伝送できない問題があり、また、
多重化する領域が固定長の場合、他種類のデータを伝送
しようとするとより多くのビットからなるビットパタン
を用意しなければならない等の問題点があった。
However, in the conventional technique, there is a problem that only the data assumed in advance, that is, the information defined as the bit pattern can be transmitted, and
When the area to be multiplexed has a fixed length, there is a problem that a bit pattern composed of more bits must be prepared when transmitting other types of data.

【0004】本発明の課題は、かかる問題点に鑑み、任
意の長さを持つデータを伝送データのヘッダ部のような
限られた部分に多重化することが可能であり、且つ多種
類の情報を伝送することが可能なデータ変換装置を提供
することにある。
In view of the above problems, an object of the present invention is to allow data having an arbitrary length to be multiplexed into a limited portion such as a header portion of transmission data, and various kinds of information. It is to provide a data conversion device capable of transmitting data.

【0005】[0005]

【課題を解決するための手段】本発明が提供する優先順
位付データ変換装置は、到来する任意長のパラレルデー
タを予め割り当てられたメモリに格納する第1の手段
と、前記メモリにデータが格納されたか否かを監視する
第2の手段と、前記メモリにデータが格納された場合
は、予め定められた順序(優先順位)で前記メモリから
データを読み出し、シリアルデータとして出力するとと
もに読出が完了したデータをメモリから削除する第3の
手段とを有することを特徴とする。また、前記任意長の
パラレルデータを前記メモリに格納する際に前記任意長
のデータを所定のデータ長に調整して格納し、これを逐
次読み出しシリアルデータとして送信し所定の領域の多
重化する手段を更に有することを特徴とする。なお、好
ましくは、前記シリアルデータを多重化する領域を、ヘ
ッダ部とデータ部とから構成される伝送データの前記ヘ
ッダ部とする。
The prioritized data converter provided by the present invention stores first incoming parallel data of arbitrary length in a pre-allocated memory, and data stored in the memory. Second means for monitoring whether or not the data is stored, and when the data is stored in the memory, the data is read from the memory in a predetermined order (priority order), output as serial data, and the reading is completed. And a third means for deleting the stored data from the memory. Further, when storing the parallel data of the arbitrary length in the memory, the data of the arbitrary length is stored after being adjusted to a predetermined data length, which is sequentially read out and transmitted as serial data to multiplex a predetermined area. Is further included. In addition, preferably, the area for multiplexing the serial data is the header portion of the transmission data including a header portion and a data portion.

【0006】[0006]

【発明の実施の形態】次に、図面を参照して本発明の実
施の形態を詳細に説明する。図1は、本発明の優先順位
付データ変換装置の一実施形態を示すブロック図であ
る。図1において、符号1は多重化回路であり、入力端
3からの伝送データAとデータ制御回路2から出力され
る情報データCとが入力されるようになっている。伝送
データAのデータは、図3(a)及びその詳細を示した
同図(b)のように、ヘッダ部とデータ部とを含む周期
的なフレーム構成になっている。
Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a prioritized data conversion device of the present invention. In FIG. 1, reference numeral 1 is a multiplexing circuit, to which the transmission data A from the input terminal 3 and the information data C output from the data control circuit 2 are input. The data of the transmission data A has a periodic frame structure including a header part and a data part, as shown in FIG. 3A and FIG. 3B showing the details thereof.

【0007】多重化回路1は、各フレームのヘッダ部に
データ制御回路2から出力される情報データCを多重化
する。多重化のタイミングは、制御信号入力端6から入
力される制御信号Dによって制御される。多重化後のデ
ータは、多重化データBとして、出力端4より出力され
る。
The multiplexing circuit 1 multiplexes the information data C output from the data control circuit 2 into the header portion of each frame. The timing of multiplexing is controlled by the control signal D input from the control signal input terminal 6. The multiplexed data is output as multiplexed data B from the output terminal 4.

【0008】図2は、データ制御回路2の詳細構成図で
ある。この図2を参照して、データ制御回路2から出力
される情報データCについて説明する。データ制御回路
2は、情報入力端5から入力される入力データE1〜E
n(nは自然数)を一時保持する複数のバッファFl〜
Fnと、各バッファF1〜Fnが保持するデータを読み
出すバッファ読出回路21とから構成される。
FIG. 2 is a detailed configuration diagram of the data control circuit 2. The information data C output from the data control circuit 2 will be described with reference to FIG. The data control circuit 2 receives input data E1 to E input from the information input terminal 5.
A plurality of buffers Fl that temporarily hold n (n is a natural number)
Fn and a buffer read circuit 21 for reading the data held in each of the buffers F1 to Fn.

【0009】以下、便宜上、バッファの数を3、バッフ
ァの優先順位を「E>E2>E3」として説明する。バ
ッファFl〜F3には、データEl〜E3が非同期で入
力している。バッファ読出回路21は、この3つのバッ
ファF1〜F3を常時監視し、入力があったバッファの
データを読み出す。読出は常に優先順位の高いバッファ
から行い、低いバッファに格納されたデータは読出が行
われているデータの読出が終了するまで待機している。
なお、読出が完了した時点でそのデータはクリアされ、
次の入カデータが待機になる。
For the sake of convenience, the following description will be given assuming that the number of buffers is 3 and the priority of the buffers is "E>E2>E3". Data El to E3 are asynchronously input to the buffers Fl to F3. The buffer read circuit 21 constantly monitors the three buffers F1 to F3 and reads the data of the buffer to which the input has been made. The reading is always performed from the buffer having the higher priority, and the data stored in the buffer having the lower priority is on standby until the reading of the data being read is completed.
The data will be cleared when the reading is completed.
The next input data will be on standby.

【0010】図4は、バッファ制御回路21によりデー
タE1〜E3の読出が制御されている状態を示したタイ
ムチャートである。図4を参照すると、先ず、優先順位
の最も高いデータE1−1が読み出される。この読出が
終了する前に、次のデータE2−1がバッファF2に入
力されている。このため、データE1−1の読出が完了
した時点でデータE2−1の読出が開始される。この読
出の間に、バッファF3にデータE3−1の入力があ
り、また、バッファF1にデータE1−2の入力があ
る。かかる場合には、優先順位の高いデータE1−2が
先に読み出され、その読出が完了した時点でデータE3
−1が読みだされる。以降、同様の読出制御のもとで、
データ制御回路2から情報データCが出力される。
FIG. 4 is a time chart showing a state in which the reading of the data E1 to E3 is controlled by the buffer control circuit 21. Referring to FIG. 4, first, the data E1-1 having the highest priority is read. Before this reading is completed, the next data E2-1 is input to the buffer F2. Therefore, the reading of the data E2-1 is started when the reading of the data E1-1 is completed. During this reading, the data E3-1 is input to the buffer F3, and the data E1-2 is input to the buffer F1. In such a case, the data E1-2 having the higher priority is read first, and the data E3 is read when the reading is completed.
-1 is read out. After that, under the same read control,
Information data C is output from the data control circuit 2.

【0011】図5は、図1の多重化回路1により伝送デ
ータAと情報データCとが多重化され、これにより出力
された多重化データBの構成を示した図である。図5を
参照すると、最初のフレームのヘッダ部にデータE1−
1が、次のフレームのヘッダ部にデータE2−1(デー
タE2−1’、データE2−1''・・・)が多重化され
ている。ここで、データE2−1はヘッダ部の領域より
も大きいため次のフレームのヘッダ部にも記録される。
データE2−1が全て記録されると、次のデータE1−
2(データE1−2’、データE1−2''・・・)が同
様に記録される。
FIG. 5 is a diagram showing the structure of the multiplexed data B output by the multiplexing of the transmission data A and the information data C by the multiplexing circuit 1 of FIG. Referring to FIG. 5, the data E1- is added to the header part of the first frame.
1 has data E2-1 (data E2-1 ', data E2-1''...) Multiplexed in the header of the next frame. Here, since the data E2-1 is larger than the area of the header part, it is also recorded in the header part of the next frame.
When all the data E2-1 is recorded, the next data E1-
2 (data E1-2 ′, data E1-2 ″ ...) Are recorded in the same manner.

【0012】ここで、データE1〜E3は、任意長のデ
ータであるため、各データの区切りが受信側において把
握できない。しかし、例えば、図2の情報入力端5とバ
ッファF1〜F3間にデータ長調整回路を設け、ヘッダ
部に可変長のダミービット(ダミー部)を追加形成する
ことによりヘッダ部のビットの倍数値となるようにデー
タE1〜E3の長さを調整する。これにより、一つのデ
ータの長さは必ずヘッダ部の領域の整数倍となるので、
受信側でヘッダ部を展開する際に、一つのヘッダ部にお
いてデータとしての意味を持たないものは、次のヘッダ
部を連結して展開したり、ヘッダ部に挿入されたダミー
ビットを検出した場合は該ヘッダ部がひとつのデータの
区切りであるとして再生等することによって対応する。
Here, since the data E1 to E3 are data of arbitrary length, the delimiter of each data cannot be grasped on the receiving side. However, for example, by providing a data length adjusting circuit between the information input terminal 5 and the buffers F1 to F3 of FIG. 2 and additionally forming a variable length dummy bit (dummy portion) in the header portion, a multiple value of the bit in the header portion is formed. The lengths of the data E1 to E3 are adjusted so that As a result, the length of one data is always an integral multiple of the header area,
When the header part is expanded on the receiving side, if one header part has no meaning as data, the next header part is concatenated and expanded, or a dummy bit inserted in the header part is detected. Corresponds by reproducing the header section as one data delimiter.

【0013】バッファ読出制御の手順を図6に示す。各
バッファF1〜F3からのデータの読出制御は、先ず、
優先順位の最も高いバッファF1にデータが格納されて
いるか否かを確認し、データが存在すれば該データを出
力し、データがバッファF1にない場合は、次のバッフ
ァF2からのデータ読出処理に移行する(S1)。ここ
でバッファF2にデータが存在するか否かを確認し、存
在すれば該データを出力し、ない場合は次のバッファF
3のデータ読出処理に移行する(S2)。そして同様に
バッファF3にデータが存在するか否かを確認し、存在
すれば該データを出力し、ない場合は再度バッファF1
からのデータ読出処理に戻る(S3)。この間、データ
制御回路2から出力される情報を常時監視し(S4)、
各バッファF1〜F3に新たなデータが格納されてきた
ときは上記S1〜S3の処理を繰り返す。データの出力
が完了した場合は、該当するバッファに格納されている
データを削除する(S5)。
FIG. 6 shows the procedure of buffer read control. To control the reading of data from each of the buffers F1 to F3, first,
It is confirmed whether or not the data is stored in the buffer F1 having the highest priority. If the data exists, the data is output. If the data is not in the buffer F1, the data reading process from the next buffer F2 is performed. Transfer (S1). Here, it is confirmed whether or not the data exists in the buffer F2, and if the data exists, the data is output.
The process moves to the data reading process of No. 3 (S2). Similarly, it is confirmed whether or not the data exists in the buffer F3, and if the data exists, the data is output.
The process returns to the data reading process from (S3). During this time, the information output from the data control circuit 2 is constantly monitored (S4),
When new data is stored in each of the buffers F1 to F3, the processes of S1 to S3 are repeated. When the data output is completed, the data stored in the corresponding buffer is deleted (S5).

【0014】次に、データ出力中に監視していた情報に
基づいて、新たなデータをバッファから読み出し(S
6)、読出が完了(S8)した場合は、読み出したデー
タを出力する(S8)。なお、本発明の特徴は、可変長
のデータを優先順位をつけてシリアルなデータとして出
力することにあり、受信側において如何なる方式により
展開するかについては特に問題としていない。
Next, new data is read from the buffer based on the information monitored during the data output (S
6) If the reading is completed (S8), the read data is output (S8). The feature of the present invention is that variable-length data is prioritized and output as serial data, and there is no particular problem as to how the receiving side develops.

【0015】このように、本実施形態によれば、任意長
でデータ制御回路2に入力する複数のパラレルデータが
読出の優先順位に並べ替えたシリアルな情報データCと
して出力されるので、情報データCをデータAのヘッダ
部に容易に多重化できる。
As described above, according to the present embodiment, a plurality of parallel data input to the data control circuit 2 with an arbitrary length are output as the serial information data C rearranged in the reading priority order. C can be easily multiplexed in the header part of the data A.

【0016】[0016]

【発明の効果】以上の説明から明らかなように、本発明
の優先順位付データ変換装置を利用することにより、任
意の長さを持つデータを伝送データのヘッダ部のような
限られた部分に多重化することが可能となり、伝送路を
より効率的に利用することができる。また、従来よりも
多種類の情報を伝送できるようになるため、へッダ部の
用途を広げることが可能になる。
As is apparent from the above description, by using the prioritized data conversion device of the present invention, data having an arbitrary length can be converted into a limited portion such as a header portion of transmission data. It becomes possible to multiplex, and the transmission path can be used more efficiently. Further, since it becomes possible to transmit more kinds of information than before, it is possible to expand the use of the header section.

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

【図1】本発明の一実施形態を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本実施形態によるデータ制御回路の詳細構成
図。
FIG. 2 is a detailed configuration diagram of a data control circuit according to the present embodiment.

【図3】本実施形態による伝送データAの構成例を示す
説明図。
FIG. 3 is an explanatory diagram showing a configuration example of transmission data A according to the present embodiment.

【図4】本実施形態のバッファ制御回路によりデータE
1〜E3の読出が制御されている状態を示したタイムチ
ャート。
FIG. 4 is a block diagram showing data E by the buffer control circuit of the present embodiment.
The time chart which showed the state where reading of 1-E3 is controlled.

【図5】本実施形態の多重化回路により伝送データAと
情報データCとが多重化され、これにより出力された多
重化データBの構成例を示した説明図。
FIG. 5 is an explanatory diagram showing a configuration example of multiplexed data B output by the multiplexing of transmission data A and information data C by the multiplexing circuit of the present embodiment.

【図6】本実施形態によるバッファ読出制御の手順説明
図。
FIG. 6 is an explanatory diagram of a procedure of buffer read control according to the present embodiment.

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

1 多重化回路 2 データ制御回路 3 伝送データ入力端 4 多重化データ出力端 5 情報入力端 6 制御信号入力端 21 バッファ読出回路 A伝送データ B 多重化データ C 情報データ D制御信号 El〜En データ Fl〜Fn バッファ 1 Multiplexing Circuit 2 Data Control Circuit 3 Transmission Data Input Terminal 4 Multiplexing Data Output Terminal 5 Information Input Terminal 6 Control Signal Input Terminal 21 Buffer Reading Circuit A Transmission Data B Multiplexing Data C Information Data D Control Signal El to En Data Fl ~ Fn buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 到来する任意長のパラレルデータを予め
割り当てられたメモリに格納する第1の手段と、 前記メモリにデータが格納されたか否かを監視する第2
の手段と、 前記メモリにデータが格納された場合は、予め定められ
た順序で前記メモリからデータを読み出してシリアルデ
ータとして出力するとともに読出が完了したデータをメ
モリから削除する第3の手段とを有することを特徴とす
る優先順位付データ変換装置。
1. A first means for storing incoming parallel data of arbitrary length in a pre-allocated memory, and a second means for monitoring whether or not the data is stored in the memory.
And a third means for reading data from the memory in a predetermined order and outputting as serial data when the data is stored in the memory, and for deleting the read data from the memory. A prioritized data conversion device having.
【請求項2】 前記任意長のパラレルデータを前記メモ
リに格納する際に、前記任意長のデータを所定のデータ
長に調整して格納する手段を更に有することを特徴とす
る請求項1記載の優先順位付データ変換装置。
2. The method according to claim 1, further comprising means for adjusting the arbitrary-length data to a predetermined data length and storing it when storing the arbitrary-length parallel data in the memory. Prioritized data converter.
【請求項3】 前記所定のデータ長は、前記シリアルデ
ータを多重化する領域のn倍(nは自然数)であること
を特徴とする請求項1又は2記載の優先順位付データ変
換装置。
3. The prioritized data converter according to claim 1, wherein the predetermined data length is n times (n is a natural number) the area in which the serial data is multiplexed.
【請求項4】 前記シリアルデータを多重化する領域
は、ヘッダ部とデータ部とから構成される伝送データの
前記ヘッダ部であることを特徴とする請求項1ないし3
のいずれかの項記載の優先順位付データ変換装置。
4. The area for multiplexing the serial data is the header portion of transmission data composed of a header portion and a data portion.
The data conversion device with priorities according to any one of 1.
JP22628395A 1995-09-04 1995-09-04 Data converting device with priority Pending JPH0973388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22628395A JPH0973388A (en) 1995-09-04 1995-09-04 Data converting device with priority

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22628395A JPH0973388A (en) 1995-09-04 1995-09-04 Data converting device with priority

Publications (1)

Publication Number Publication Date
JPH0973388A true JPH0973388A (en) 1997-03-18

Family

ID=16842792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22628395A Pending JPH0973388A (en) 1995-09-04 1995-09-04 Data converting device with priority

Country Status (1)

Country Link
JP (1) JPH0973388A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577956B2 (en) * 2001-02-22 2009-08-18 International Business Machines Corporation Method, system and program storage device for accessing memory to perform messaging using a channel coupled to a sender and a receiver
US10257795B2 (en) 2014-05-28 2019-04-09 Kabushiki Kaisha Toshiba Signal conversion apparatus, signal restoration apparatus and information processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577956B2 (en) * 2001-02-22 2009-08-18 International Business Machines Corporation Method, system and program storage device for accessing memory to perform messaging using a channel coupled to a sender and a receiver
US10257795B2 (en) 2014-05-28 2019-04-09 Kabushiki Kaisha Toshiba Signal conversion apparatus, signal restoration apparatus and information processing apparatus

Similar Documents

Publication Publication Date Title
US4885744A (en) Apparatus for reconstructing and multiplexing frames of various origins made up of a variable number of packets of fixed length
KR920007096B1 (en) Fast circuit switching system
US6404770B1 (en) Data communication interface with adjustable-size buffer
JPH024193B2 (en)
JP2628701B2 (en) Switch for prioritized information packets
US6775294B2 (en) Time slot assigner for communication system
US5654967A (en) Delay-in-frames correcting system in a PCM transmission line
JPH0973388A (en) Data converting device with priority
JPH0326120A (en) Multiple stuff processing circuit
JPH08298516A (en) Digital data transmission method and its application
US4099029A (en) Asynchronous pcm common decoding apparatus
JP2746061B2 (en) Voice packet switching equipment
JPH10145433A (en) Data transfer rate converter and communication network system
KR100335692B1 (en) Method for multiplexing in asynchronous transfer mode cell by using first in first out
JPH02280439A (en) Data conversion circuit from time division system into packet system using first-in first-out memory
JPS6394730A (en) Split multiplex packet signal decoding device
JP3097545B2 (en) Traffic shaper and shaping method
JP2000036798A (en) Method and device for accessing memory buffer in time division multiplex system
JP2005286845A (en) System for synchronously operating a plurality of apparatuses
JPS61285850A (en) Slot ring type communicating control system
JPH05167617A (en) Method for identifying frame length and device therefor
JPH06268709A (en) Transmission/reception circuit for high-speed hdlc framing processing
JPH05257865A (en) Descriptor control system
JPH0779255A (en) Packet priority controller
JPH081630B2 (en) Data transceiver