JPH0897848A - Transfer data order aligning system - Google Patents

Transfer data order aligning system

Info

Publication number
JPH0897848A
JPH0897848A JP6229345A JP22934594A JPH0897848A JP H0897848 A JPH0897848 A JP H0897848A JP 6229345 A JP6229345 A JP 6229345A JP 22934594 A JP22934594 A JP 22934594A JP H0897848 A JPH0897848 A JP H0897848A
Authority
JP
Japan
Prior art keywords
data signal
data
order
sequence number
received
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.)
Granted
Application number
JP6229345A
Other languages
Japanese (ja)
Other versions
JP3409073B2 (en
Inventor
Shinichiro Kikuchi
慎一郎 菊地
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 JP22934594A priority Critical patent/JP3409073B2/en
Publication of JPH0897848A publication Critical patent/JPH0897848A/en
Application granted granted Critical
Publication of JP3409073B2 publication Critical patent/JP3409073B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: To provide a transfer data order aligning system capable of shortening order aligning processing time in an exchange node with less storage capacity of order standby. CONSTITUTION: A data recording part 3 is provided with an order standby table 7 for storing the order number of a data signal scheduled to be received next in a series of transferred data signals as an expected order number. At the time of receiving the data signal provided with the order number other than the expected order number, a data storage part 2 stores the received data signal in the data signal area [N] of a number difference N from the expected order number. At the time of receiving the data signal provided with the expected order number, a data take-out part 4 driven from the data storage part 2 successively transmits the data signals stored in the order standby table 7. Also, when the disturbance of the order is generated during transmission, a procedure until then is repeated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、端末間で転送されるデ
ータ信号の順序性が乱れたとき、着信側で正しい順序に
並び替える転送データ順序整列方式に関し、特に、デー
タ信号の格納領域を拡大せず、且つ、転送データの順序
整列の処理時間を短縮させる転送データ順序整列方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transfer data order alignment system for rearranging data signals transferred between terminals in a correct order on the receiving side, and more particularly, to a data signal storage area. The present invention relates to a transfer data order arrangement method that does not expand and shortens the processing time of order arrangement of transfer data.

【0002】[0002]

【従来の技術】一般に、図5に示されるように、発信加
入者11から発信されたデータ信号は交換機12を介し
て、直接、他の交換機14に着信するか、または、交換
機13を中継して交換機14に着信し、次いで交換機1
4から着信加入者15に転送される。換言すれば、交換
機12は、交換機13に中継回線16を介して接続され
ており、交換機14に中継回線17を介して接続されて
いる。他方、交換機13は交換機14に中継回線18を
介して接続されている。
2. Description of the Related Art Generally, as shown in FIG. 5, a data signal transmitted from a calling subscriber 11 arrives at another exchange 14 directly via an exchange 12 or is relayed to the exchange 13. Arrives at the exchange 14, and then the exchange 1
4 to the called subscriber 15. In other words, the exchange 12 is connected to the exchange 13 via the trunk line 16 and is connected to the exchange 14 via the trunk line 17. On the other hand, the exchange 13 is connected to the exchange 14 via a relay line 18.

【0003】このような場合、中継回線を選択するに際
して、システムデータ上に予め定義された複数中継ルー
トに対するデータ信号の送出比率によってデータ信号単
位に中継回線を選択する、所謂、比率選択方式が各交換
機で採用されている。この方式では、ネットワーク内の
負荷集中ノードを考慮したシステムデータを予め用意す
ることにより、ネットワーク内のノード輻輳の回避が可
能になる。
In such a case, when selecting a trunk line, there is a so-called ratio selection method in which the trunk line is selected in data signal units according to the transmission ratio of data signals to a plurality of relay routes defined in advance in the system data. It is used in exchanges. In this method, it is possible to avoid node congestion in the network by preparing system data in consideration of load concentration nodes in the network in advance.

【0004】図5において、交換機12は、上記比率選
択方式に従って、データ信号を中継回線16と中継回線
17とに振分けて送出している。この結果、中継回線1
6から交換機13及び中継回線18を介して転送される
データ信号は、中継回線17を介して直接転送されるデ
ータ信号に対し、伝送遅延を有する。
In FIG. 5, the exchange 12 distributes and transmits the data signal to the relay line 16 and the relay line 17 according to the ratio selection method. As a result, the trunk line 1
The data signal transferred from 6 via the exchange 13 and the relay line 18 has a transmission delay with respect to the data signal transferred directly via the relay line 17.

【0005】この状態では、順序において先に送出され
たデータ信号が交換機13を経由したため、順序におい
て後のデータ信号より後に交換機14に到着し、データ
信号の順序性が乱れることがある。このため、交換機1
4、即ち、着信側の交換機は、着信加入者15に、受信
したデータ信号の順序性を保証して送信している。
In this state, since the data signal transmitted earlier in the sequence passes through the exchange 13, it may arrive at the exchange 14 after the later data signal in the sequence, and the order of the data signals may be disturbed. Therefore, the exchange 1
4, that is, the exchange on the called side transmits to the called subscriber 15 while guaranteeing the order of the received data signals.

【0006】従来、この種の転送データ順序整列方式で
は、図6に示されるように、データ格納部22が、着信
のデータ信号を所定の記憶領域26に順次記憶し、デー
タ信号を取出すとき、データ取出部24が、データ信号
が有する順序番号の順序によって、各デ−タ信号を取出
し順序性を保証している。記憶領域26は、通信パスに
対応する情報毎、または、メッセージ情報毎に設けら
れ、受信データ信号を一時的に格納するキューを形成し
ている。
Conventionally, in this type of transfer data order alignment method, as shown in FIG. 6, when the data storage unit 22 sequentially stores incoming data signals in a predetermined storage area 26 and retrieves the data signals, The data fetching section 24 guarantees the fetching order of each data signal according to the order of the sequence numbers of the data signals. The storage area 26 is provided for each information corresponding to the communication path or each message information, and forms a queue for temporarily storing the received data signal.

【0007】データ信号受信部21が受信したデータ信
号は、データ格納部22によって、データ記録部23に
備えられ、m個のデータ信号領域を有する記憶領域26
に、データ信号領域[1]から順次、格納記録される。
データ取出部24は、記憶領域26のm個のデータ信号
領域に記録された中から最も若い番号(最若番)を有す
るデータ信号を取出し、データ信号送信部25を介して
送出する動作を繰返すことにより、送出するデータ信号
の順序性を保証している。
The data signal received by the data signal receiving section 21 is provided in the data recording section 23 by the data storing section 22 and has a storage area 26 having m data signal areas.
The data signal area [1] is sequentially stored and recorded.
The data fetching section 24 fetches the data signal having the smallest number (the smallest number) recorded in the m data signal areas of the storage area 26 and repeats the operation of sending it through the data signal transmitting section 25. As a result, the order of the data signals to be sent is guaranteed.

【0008】ここで、データ格納部22が、メッセージ
情報毎に受信するデータ信号を記憶領域26に、データ
信号領域[1]からデータ信号領域[m]まで順次、格
納記録したものとする。この場合におけるデータ取出部
24のデータ取出しの動作手順について、図6及び図7
を併せ参照して説明する。尚、記憶されたメッセージ情
報は、データ信号毎に順序番号を有しているものとす
る。
Here, it is assumed that the data storage unit 22 sequentially stores and records the data signal received for each message information in the storage area 26 from the data signal area [1] to the data signal area [m]. Regarding the operation procedure of the data fetching of the data fetching section 24 in this case, FIG. 6 and FIG.
Will also be described. The stored message information has a sequence number for each data signal.

【0009】図7に示されるように、まず、データ信号
取出部24は、第1番目のデータ信号領域[1]のデー
タ信号を調査(手順151)し、順序番号を検出して最
若番として記録(手順152)すると共に、カウンタの
計数値を“1”に歩進(手順153)させる。次いで、
次のデータ信号領域[2]のデータ信号を検索し、順序
番号を検出して最若番とした第1番目の記録と比較(手
順154)する。比較した結果、データ信号取出部24
は、第2番目の方が若い順序番号であった場合(手順1
55のYES)、最若番の記録をこの順序番号によって
更新(手順156)すると共に、計数値を一歩進する。
手順155で“NO”の場合は、直ちに手順157に進
む。
As shown in FIG. 7, first, the data signal extracting section 24 investigates the data signal in the first data signal area [1] (procedure 151), detects the sequence number, and detects the smallest number. Is recorded (procedure 152) and the count value of the counter is incremented to “1” (procedure 153). Then
The data signal in the next data signal area [2] is searched, the sequence number is detected, and the sequence number is compared with the first record that is the lowest number (procedure 154). As a result of comparison, the data signal extraction unit 24
If the second one has a smaller sequence number (step 1
(YES of 55), the youngest record is updated by this sequence number (procedure 156), and the count value is advanced one step.
If “NO” in step 155, the process immediately proceeds to step 157.

【0010】手順157の歩進の結果、この計数値が、
データ信号の格納数mより小さい場合(手順158のN
O)、手順は手順154に戻り、次のデータ信号領域
[3]のデータ信号を調査し比較する。この手順をデー
タ信号領域[m]まで繰返すことによって、最若番のデ
ータ信号を記録された番号から取出すことが出来る。
As a result of the step 157, the count value is
If the number of stored data signals is smaller than m (N in step 158)
O), the procedure returns to procedure 154, and the data signal in the next data signal area [3] is investigated and compared. By repeating this procedure up to the data signal area [m], the youngest data signal can be taken out from the recorded number.

【0011】即ち、この手順をデータ信号領域[m]ま
で繰返すと、手順158で歩進数と格納数mとが等しく
なるので、手順158は“YES”となる。この結果、
データ信号取出部24は、記録番号のデータ信号をデー
タ記録部23の記憶領域26から取出(手順159)
し、格納数を“m”から“m−1”に逓減(手順16
0)する。
That is, when this procedure is repeated up to the data signal area [m], the step number becomes equal to the stored number m in step 158, so step 158 becomes "YES". As a result,
The data signal extraction unit 24 extracts the data signal of the recording number from the storage area 26 of the data recording unit 23 (procedure 159).
Then, the stored number is gradually reduced from "m" to "m-1" (procedure 16
0)

【0012】この結果、格納無し(m=0)(手順16
1のYES)で全ての手順が終了するまで、手順161
の“NO”から、最初の手順151に進み、格納数“m
−1”に対する手順、次いで格納数“m−2”、……
…、のそれぞれの手順と続く。
As a result, there is no storage (m = 0) (procedure 16
Step 161 until all steps are completed with YES of 1).
From “NO” of No., the procedure proceeds to the first step 151, and the stored number “m
-1 ”, then the stored number“ m-2 ”, ...
..., and then follow each procedure.

【0013】この状態でのソート処理時間Tは、データ
信号1個の検索時間を“t”とすると、次のようにな
る。
The sort processing time T in this state is as follows, where "t" is the search time for one data signal.

【0014】 T=mt+(m−1)t+(m−2)t+………+2t+t =m(m+1)t/2 上式から、格納数mが大きくなると、ソート処理時間
は、2次曲線状態で増加してしまう。
T = mt + (m-1) t + (m-2) t + ... + 2t + t = m (m + 1) t / 2 From the above equation, when the number m of storages becomes large, the sorting processing time is a quadratic curve state. Will increase.

【0015】特に、手順154で次のデータ信号領域の
データを検索する場合、ソフトウェア上では次の位置と
はならず、ポインタが指示するアドレスをソートしなけ
ればならない。即ち、このこともソート処理時間増大の
大きな原因になっている。
In particular, when the data in the next data signal area is searched in step 154, the next position is not reached by software, and the address designated by the pointer must be sorted. That is, this is also a major cause of an increase in sort processing time.

【0016】[0016]

【発明が解決しようとする課題】上述した従来の転送デ
ータ順序整列方式は、受信した順序でデータ信号を一時
記憶し、取出すときには、順序番号が最若番のデータ信
号を探し出し、このデータ信号を順次、取出すという構
成を有している。この構成では、長いメッセージ情報に
対して全ての順序性を正しくするためには、データ信号
の格納許容数を大きくする必要がある。一方では、最若
番のデータ信号を取出す、ソート処理時間が、データ信
号の格納数に対して2次曲線状態で増加する。この結
果、データ信号の転送処理時間が増加して、負荷を増大
させ、トラヒックの輻輳を招くという問題点がある。
In the above-mentioned conventional transfer data order alignment method, the data signals are temporarily stored in the order in which they are received, and when the data signals are taken out, the data signal with the smallest sequence number is searched for, and this data signal is stored. It has a structure of taking out sequentially. With this configuration, in order to correct all the ordering for long message information, it is necessary to increase the number of data signals that can be stored. On the other hand, the sort processing time for taking out the youngest data signal increases in a quadratic curve state with respect to the number of stored data signals. As a result, there is a problem that the transfer processing time of the data signal is increased, the load is increased, and traffic congestion is caused.

【0017】本発明の課題は、次に受信する予定の期待
順序番号を記録し、実際に受信したデータ信号の順序番
号と期待順序番号とが相違するとき、このデータ信号を
記憶格納し、期待順序番号を受信したとき、期待順序番
号から順次、格納されたデータ信号を送出することによ
って、データ信号の格納許容量を減少出来ると共に、デ
ータ信号の転送処理時間も短縮してトラヒックの輻輳を
避けることが出来る転送データ順序整列方式を提供する
ことである。
An object of the present invention is to record the expected sequence number to be received next, and when the sequence number of the actually received data signal and the expected sequence number are different, store this data signal and store the expected sequence number. When a sequence number is received, the stored data signals can be sent out sequentially from the expected sequence number to reduce the storage capacity of the data signal, and also shorten the data signal transfer processing time to avoid traffic congestion. It is an object of the present invention to provide a transfer data order alignment method that can be performed.

【0018】[0018]

【課題を解決するための手段】本発明による転送データ
順序整列方式は、端末間で転送されるデータ信号の順序
性が乱れたとき、着信側で正しい順序に並び替える転送
データ順序整列方式において、データ信号を受信したと
き当該データ信号が有する順序番号を調査し、順序性に
乱れがあった場合、当該順序番号より若い番号を有する
データ信号の受信を待ち、受信したデータ信号の順序番
号に対応した記憶領域に格納し、この格納したデータ信
号を順次、取出して転送するデータ格納取出手段を備え
ている。前記データ格納取出手段は、次に受信する予定
の期待順序番号を記憶し、且つ、当該期待順序番号受信
までに受信するデータ信号を記憶する順序待合せテーブ
ルを備えるデータ記録部と、データ信号を受信したとき
当該データ信号が有する順序番号が前記期待順序番号と
一致しない場合、当該順序番号と期待順序番号との差の
数値を示す前記順序待合せテーブルの格納位置に当該デ
ータ信号を格納記録するデータ格納部とを備えている。
A transfer data ordering method according to the present invention is a transfer data ordering method for rearranging data signals transferred between terminals in a correct order when the order of data signals is disturbed. When a data signal is received, the sequence number of the data signal is checked, and if there is a disorder in the order, it waits for the reception of a data signal having a number smaller than the sequence number and corresponds to the sequence number of the received data signal. And a data storage / extraction means for sequentially extracting and transferring the stored data signals. The data storage / extraction means stores an expected sequence number to be received next, and a data recording unit having an order waiting table for storing a data signal received by the time the expected sequence number is received, and a data signal receiving unit. When the sequence number of the data signal does not match the expected sequence number, the data storage for storing and recording the data signal in the storage position of the sequence waiting table showing the numerical value of the difference between the sequence number and the expected sequence number. And a section.

【0019】更に具体的な手段は、前記データ格納取出
手段が、データ信号を受信したとき当該データ信号が有
する順序番号が前記期待順序番号と一致し、且つ、前記
順序待合せテーブルにデータ信号が格納記録されていな
い場合、受信した前記データ信号を送出のため取出すと
共に、前記期待順序番号を次の番号に更新記録してお
り、また、前記データ格納取出手段が、データ信号を受
信したとき当該データ信号が有する順序番号が前記期待
順序番号と一致し、且つ、前記順序待合せテーブルにデ
ータ信号が格納記録されていることを確認した前記デー
タ格納部からデータ信号の取出し要請を受けたとき、前
記順序待合せテーブルから当該データ信号を順次取出
し、取出したデータ信号の順序番号の次の順序番号を前
記順序待合せテーブルの前記期待順序番号に更新記録す
るデータ取出部を備えている。
More specifically, when the data storing and extracting means receives a data signal, the sequence number of the data signal matches the expected sequence number, and the data signal is stored in the sequence waiting table. If not recorded, the received data signal is taken out for transmission, the expected sequence number is updated and recorded to the next number, and the data storing and extracting means receives the data signal when the data signal is received. When a sequence number included in a signal matches the expected sequence number, and a data signal extraction request is received from the data storage unit that confirms that the data signal is stored and recorded in the sequence waiting table, the sequence is performed. The data signal is sequentially taken out from the waiting table, and the sequence number next to the sequence number of the taken out data signal is the sequence waiting table. And a data extraction unit that updates recorded in the expected sequence number.

【0020】[0020]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0021】図1は本発明の一実施例を示す機能ブロッ
ク図である。図1に示された転送データ順序整列方式で
は、データ記録部3の記憶領域に、期待順序番号、格納
数、データ信号領域[1]〜[m]を含む順序待合せテ
ーブル7を備えている点が、従来と相違している。
FIG. 1 is a functional block diagram showing an embodiment of the present invention. In the transfer data order arrangement method shown in FIG. 1, the storage area of the data recording unit 3 is provided with an order waiting table 7 including an expected order number, the number of stored data, and data signal areas [1] to [m]. However, it is different from the conventional one.

【0022】図1に示されるように、転送データ順序整
列方式は、データ信号受信部1、データ格納部2、デー
タ記録部3、データ取出部4、データ信号送信部5、及
び格納監視部6を備えている。データ記録部3は、期待
順序番号、タイマ計数、格納数、データ信号領域
[0]、[1]、………、[N]等を記憶領域に有する
順序待合せテーブル7を、メッセージ情報毎に備えてい
る。
As shown in FIG. 1, according to the transfer data order alignment method, the data signal receiving unit 1, the data storing unit 2, the data recording unit 3, the data extracting unit 4, the data signal transmitting unit 5, and the storage monitoring unit 6 are used. Is equipped with. The data recording unit 3 has, for each message information, an order waiting table 7 having an expected sequence number, a timer count, a stored number, a data signal area [0], [1], ... I have it.

【0023】データ信号受信部1は受信したデータ信号
をデータ格納部2に送る。データ格納部2は、受けたデ
ータ信号をメッセージ情報毎に振分け、データ記録部3
に通知して、順序待合せテーブル7に格納するが、正し
い順序性を有するデータ信号の場合には、順序待合せテ
ーブル7の期待順序番号を更新すると共に、このデータ
信号を直接、データ取出部4に送出する。データ格納部
2の動作手順は、後で、図2の格納手順図を参照して説
明する。
The data signal receiving section 1 sends the received data signal to the data storing section 2. The data storage unit 2 sorts the received data signal for each message information, and the data storage unit 3
Is stored in the order waiting table 7, and when the data signal has the correct order, the expected order number of the order waiting table 7 is updated and this data signal is directly sent to the data fetching section 4. Send out. The operation procedure of the data storage unit 2 will be described later with reference to the storage procedure diagram of FIG.

【0024】データ取出部4は、後で、図3を参照して
説明するように、データ格納部2、及び格納監視部6か
ら駆動されてデ−タ信号をデータ記録部3から取出し、
データ信号送信部5から送出させる。格納監視部6は、
後で図4を参照して説明するように、順序待合せテーブ
ル7を監視して、所定時期にデータ取出部4を駆動す
る。
As will be described later with reference to FIG. 3, the data extracting section 4 is driven by the data storage section 2 and the storage monitoring section 6 to extract a data signal from the data recording section 3,
The data signal transmitting unit 5 sends it. The storage monitoring unit 6
As will be described later with reference to FIG. 4, the order waiting table 7 is monitored and the data fetching unit 4 is driven at a predetermined time.

【0025】順序待合せテーブル7の期待順序番号は、
次に受信する予定のデータ信号に含まれる順序番号であ
る。タイマ計数はデータ信号の順序待合せの際の、異常
な長時間の待合わせを監視するための時間である。格納
数はその時点でのデータ信号の格納数を表わしている。
データ信号領域は、データ信号の待合せが発生した場合
にデータ信号を格納する領域である。尚、データ信号領
域[0]には、期待順序番号に等しい順序番号を有する
データ信号が格納される。データ信号領域[N]には、
期待順序番号との差の数値Nを有する順序番号のデータ
信号が格納される。このように、この数値Nは二つの番
号の引き算という単純演算で求めることが出来る。
The expected sequence number of the sequence waiting table 7 is
The sequence number is included in the data signal to be received next. The timer count is a time for monitoring an abnormally long waiting time at the time of waiting the order of the data signals. The stored number represents the stored number of data signals at that time.
The data signal area is an area for storing the data signal when the waiting of the data signal occurs. The data signal area [0] stores a data signal having a sequence number equal to the expected sequence number. In the data signal area [N],
A sequence number data signal having a numerical value N that is the difference from the expected sequence number is stored. Thus, this numerical value N can be obtained by a simple operation of subtraction of two numbers.

【0026】次に、図1に図2を併せ参照して、データ
格納部2の格納の動作手順について説明する。
Next, referring to FIG. 1 and FIG. 2 together, an operation procedure for storing data in the data storage unit 2 will be described.

【0027】まず、データ格納部2は、データ信号を受
信(手順101)すると、受信したデータ信号からメッ
セージ番号、及び順序番号を調査(手順102)する。
メッセージ番号は順序待合せテーブル7に対応するもの
とする。順序番号が“0”の場合(手順103のYE
S)、データ記録部3の順序待合せテーブル7の新しい
領域で、期待順序番号の領域にメッセージ番号と共に、
期待順序番号“0”が設定(手順104)された後、受
信した順序番号が順序待合せテーブル7の期待順序番号
と比較(手順105)される。手順103で“NO”の
場合、手順は直ちに、手順105に進む。
First, when the data storage unit 2 receives a data signal (procedure 101), it examines the message number and sequence number from the received data signal (procedure 102).
The message number corresponds to the order waiting table 7. When the sequence number is "0" (YE in step 103)
S), in a new area of the order waiting table 7 of the data recording unit 3, in the area of the expected order number together with the message number,
After the expected sequence number “0” is set (procedure 104), the received sequence number is compared with the expected sequence number of the sequence waiting table 7 (procedure 105). If “NO” in step 103, the procedure immediately proceeds to step 105.

【0028】受信した順序番号が順序待合せテーブル7
の期待順序番号と一致していない場合(手順106のN
O)、順序待合せテーブル7の格納数が調査(手順10
7)される。手順107が“YES”で格納数が“0”
の場合、順序待合せテーブル7のタイマ計数の領域に所
定のタイマ値が設定(手順108)されると共に、格納
数の領域の格納数が一つ歩進(手順109)され、受信
したデータ信号が所定のデータ信号領域[N]に格納
(手順110)される。
The received order number is the order waiting table 7
If the sequence number does not match the expected sequence number of
O), the number stored in the order waiting table 7 is checked (procedure 10
7) Is done. If step 107 is "YES" and the stored number is "0"
In the case of, the predetermined timer value is set in the timer count area of the order waiting table 7 (procedure 108), the stored number in the storage number area is incremented by 1 (procedure 109), and the received data signal is It is stored in a predetermined data signal area [N] (procedure 110).

【0029】手順107が“NO”で格納されたデータ
信号がある場合、手順は手順109に直接進む。手順1
10の所定の格納領域[N]は、前述のように、受信し
た順序番号と期待順序番号との差の演算数値Nによって
決定される。こうして格納されたデータ信号は、後続の
順序で受信されるデータ信号の順序番号が期待順序番号
と一致した時点、即ち、手順106の“YES”の時点
から続く手順によって送出される。
If step 107 is "NO" and there is a stored data signal, the procedure proceeds directly to step 109. Step 1
The predetermined storage area [N] of 10 is determined by the calculated numerical value N of the difference between the received sequence number and the expected sequence number, as described above. The data signal stored in this way is sent out by the procedure following from the time when the sequence number of the data signal received in the subsequent sequence matches the expected sequence number, that is, the "YES" time of the process 106.

【0030】受信した順序番号が順序待合せテーブル7
の期待順序番号と一致した場合(手順106のYE
S)、上記同様、順序待合せテーブル7の格納数が調査
(手順111)される。手順111が“YES”で格納
数が“0”の場合、受信したデータ信号はデータ取出部
4を介して送出(手順112)されると共に、順序待合
せテーブル7の期待順序番号は次の番号に更新(手順1
13)される。
The received order number is the order waiting table 7
If it matches the expected sequence number of
S) Similarly to the above, the stored number of the order waiting table 7 is investigated (procedure 111). When the procedure 111 is "YES" and the stored number is "0", the received data signal is transmitted through the data extracting unit 4 (procedure 112), and the expected sequence number of the sequence waiting table 7 is set to the next number. Update (Procedure 1
13) is performed.

【0031】手順111が“NO”で格納されたデータ
信号がある場合、格納数領域の格納数が一歩進(手順1
14)され、期待順序番号を有するデータ信号は、デー
タ信号領域[0]に格納(手順115)されたのち、手
順は図3に示されている取出手順(手順116)に進
む。
If there is a data signal stored as "NO" in step 111, the stored number in the stored number area is advanced (step 1).
14) and the data signal having the expected sequence number is stored in the data signal area [0] (procedure 115), and then the procedure proceeds to the extraction procedure (procedure 116) shown in FIG.

【0032】次に、図1に図3を併せ参照して順序待合
せテーブル7に格納されたデータ信号を取出す手順につ
いて説明する。
Next, the procedure for extracting the data signal stored in the order waiting table 7 will be described with reference to FIG. 3 and FIG.

【0033】まず、データ取出部4は、備えられたカウ
ンタの取出数値を零復帰(手順121)する。次いで、
順序待合せテーブル7の格納数が取出され、この格納数
と取出数値との一致が調査(手順122)される。手順
122の“YES”で、格納数と取出数とが一致の場
合、順序待合せテーブル7は初期化され、計数値も零復
帰(手順123)される。この後、最後に送信したデー
タ信号の順序番号の次の番号が、メッセージ番号と共
に、順序待合せテーブル7の期待順序番号に設定(手順
124)され、次のデータ信号の受信、格納の手順に続
く。一つのメッセージの最後のデータ信号が送出された
場合には、次のデータ信号の受信がないので、手順12
4は削除される。
First, the data fetching section 4 resets the fetched numerical value of the counter provided to zero (step 121). Then
The stored number of the order waiting table 7 is taken out, and the coincidence between the stored number and the taken out numerical value is investigated (procedure 122). If the stored number and the taken-out number match in "YES" in step 122, the order waiting table 7 is initialized and the count value is also reset to zero (step 123). After this, the number next to the sequence number of the last transmitted data signal is set to the expected sequence number of the sequence waiting table 7 together with the message number (procedure 124), and the procedure for receiving and storing the next data signal is continued. . If the last data signal of one message is sent, there is no reception of the next data signal, so the procedure 12
4 is deleted.

【0034】手順122の“NO”で、格納数と取出数
値とが一致しない場合、順序待合せテーブル7に格納さ
れたデータ信号が取出され、送出(手順131)される
と共に、取出数値は一歩進(手順132)され、手順1
22に戻る。次のデータ信号の送出手順の手順131、
132は手順122が“YES”になるまで順次、繰返
される。
If "NO" in step 122 and the stored number and the fetched numerical value do not match, the data signal stored in the order waiting table 7 is fetched and sent (procedure 131), and the fetched numerical value advances one step. (Procedure 132) and procedure 1
Return to 22. Step 131 of the next data signal transmission procedure,
132 is sequentially repeated until the procedure 122 becomes “YES”.

【0035】次に、図1に図4を併せ参照して順序待合
せテーブル7の監視手順について説明する。
Next, the procedure for monitoring the order waiting table 7 will be described with reference to FIG. 1 and FIG.

【0036】格納監視部6は定期的に時期が到来(手順
141)したとき、順序待合せテーブル7の格納数を調
査(手順142)する。手順142で“NO”の場合、
格納数0のため、動作は何もない。手順142で“YE
S”の場合、格納されたデータ信号があるため、順序待
合せテーブル7のタイマ計数が逓減(手順143)さ
れ、計数値が“0”(手順144のYES)になったと
き、図3に示される取出手順(手順145)に進む。
The storage monitoring unit 6 periodically checks the number of stored items in the order waiting table 7 (procedure 142) when the time comes (procedure 141). If "NO" in step 142,
Since the stored number is 0, there is no operation. In step 142, click "YE
In the case of S ", since there is a stored data signal, the timer count of the sequence waiting table 7 is gradually decreased (procedure 143), and when the count value becomes" 0 "(YES in procedure 144), it is shown in FIG. Proceed to the take-out procedure (procedure 145).

【0037】手順144で“NO”の場合、格納された
データ信号が存在するため、タイマ計数値が“0”にな
るまで、手順141の定時の到来を待つ。
If "NO" in the procedure 144, there is a stored data signal, and therefore the routine arrival of the procedure 141 is waited until the timer count value becomes "0".

【0038】上記説明では、順序待合せテーブルをメッ
セージ毎に設けるように説明したが、着信側の交換機で
は、着信加入者毎に設けてもよい。
In the above description, the order waiting table is provided for each message, but the exchange on the receiving side may be provided for each called subscriber.

【0039】更に、図2の手順106と手順111とで
順序待合せテーブルに格納された期待順序番号を有する
データ信号を受信したとき、図3の手順によって、順序
待合せテーブルに格納された全てのデータ信号が送出さ
れるように図示して説明した。この場合、期待順序番号
のデータ信号を受信したとき後続のデータ信号は一連の
順序で揃っていることが条件である。しかし、順序待合
せテーブルのデータ信号領域に歯抜け状態でデータ信号
が記憶されている場合がある。
Further, when the data signal having the expected sequence number stored in the order waiting table in steps 106 and 111 of FIG. 2 is received, all the data stored in the order waiting table is processed by the procedure of FIG. It has been shown and described that signals are delivered. In this case, when the data signal of the expected sequence number is received, the following data signals are arranged in a series of orders. However, there is a case where the data signal is stored in the data signal area of the order waiting table in a missing state.

【0040】この状態では、図3の取出手順で、手順1
31の“YES”に次いで、順序待合せテーブルで次の
データ信号領域にデータ信号の格納の有無を調べる手順
が設けられる。この手順で、データ信号が格納されてい
ない場合、この領域に格納される予定のデータ信号の順
序番号を順序待合せテーブルの期待順序番号の領域に格
納し、データ信号領域では順次若番に詰め、且つ、タイ
マ計数、格納数等も更新して、新たな順序待合せテーブ
ルを形成する手順が追加される。
In this state, the step 1
Subsequent to “YES” in 31, a procedure for checking whether or not a data signal is stored in the next data signal area in the order waiting table is provided. In this procedure, if the data signal is not stored, store the sequence number of the data signal to be stored in this region in the expected sequence number region of the sequence waiting table, and in the data signal region, move it to the younger sequence. In addition, a procedure for updating the timer count, the stored number, etc. to form a new order waiting table is added.

【0041】上記では、図を参照して説明したが、機能
ブロックは一例であり、ブロックの併合、分割があって
もよいことは明白である。また、手順104は削除して
も所定の機能を発揮出来るほか、手順の並列動作、逆手
順等があっても、上記機能を損なうものでなければ問題
はない。即ち、上記説明が本発明を限定するものではな
い。
Although the above description has been made with reference to the drawings, the functional blocks are merely examples, and it is obvious that blocks may be merged or divided. Further, even if the procedure 104 is deleted, a predetermined function can be exerted, and even if there is a parallel operation of the procedure or a reverse procedure, there is no problem as long as the above function is not impaired. That is, the above description does not limit the present invention.

【0042】[0042]

【発明の効果】以上説明したように本発明によれば、転
送される一連のデータ信号において、次に受信する予定
データ信号の順序番号を期待順序番号として格納する順
序待合わせテーブルがデータ記録部に設けられ、この期
待順序番号以外の順序番号を有するデータ信号を受信し
たとき、これら順序番号の番号差の番号領域に受信デー
タ信号が格納され、期待順序番号を有するデータ信号を
受信したとき、格納されたデータ信号が順次送出されて
いる。
As described above, according to the present invention, in a series of data signals to be transferred, an order waiting table for storing the order number of the next data signal to be received as an expected order number is a data recording unit. When a data signal having a sequence number other than the expected sequence number is received, the received data signal is stored in the number area of the difference between these sequence numbers, and when the data signal having the expected sequence number is received, The stored data signals are sequentially transmitted.

【0043】この構成では、期待順序番号ではない順序
番号を有するデータ信号を受信した時点で、データ信号
の順序が乱れたと認識し、この時点から、期待順序番号
を有するデータ信号の到着まで待合わせを行うことによ
って、データ信号の順序性が保証されている。
In this configuration, when a data signal having a sequence number other than the expected sequence number is received, it is recognized that the order of the data signals is out of order, and from this time, the data signal having the expected sequence number is waited for. By doing so, the order of the data signals is guaranteed.

【0044】この結果、期待順序番号を有するデータ信
号の到着までの待合わせが、少数のデータ信号の待合わ
せにしかならず、順序待合わせテーブルの記憶容量が少
ないため、記憶装置の小形化が出来ると共に、交換網に
おける交換ノードでの順序整列処理時間が短縮出来る。
As a result, the waiting until the arrival of the data signal having the expected sequence number is only waiting for a small number of data signals, and the storage capacity of the sequence waiting table is small, so that the storage device can be downsized. , The ordering processing time at the switching node in the switching network can be shortened.

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

【図1】本発明の一実施例を示す機能ブロック図であ
る。
FIG. 1 is a functional block diagram showing an embodiment of the present invention.

【図2】図1による格納手順の一実施例を示す流れ図で
ある。
FIG. 2 is a flow chart showing an example of a storage procedure according to FIG.

【図3】図1による取出手順の一実施例を示す流れ図で
ある。
FIG. 3 is a flow chart showing an embodiment of the extraction procedure according to FIG.

【図4】図1による監視手順の一実施例を示す流れ図で
ある。
4 is a flow chart showing an embodiment of the monitoring procedure according to FIG.

【図5】一般の交換機ネットワークの一例を示すブロッ
ク図である。
FIG. 5 is a block diagram showing an example of a general exchange network.

【図6】従来の一例を示す機能ブロック図である。FIG. 6 is a functional block diagram showing a conventional example.

【図7】図6による動作手順の一例を示す流れ図であ
る。
FIG. 7 is a flowchart showing an example of an operation procedure according to FIG.

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

1 データ信号受信部 2 データ格納部 3 データ記録部 4 データ取出部 5 データ信号送信部 6 格納監視部 7 順序待合わせテーブル 11 発信加入者 12、13、14 交換機 15 着信加入者 16、17、18 中継回線 1 Data Signal Receiving Section 2 Data Storage Section 3 Data Recording Section 4 Data Extracting Section 5 Data Signal Transmitting Section 6 Storage Monitoring Section 7 Order Waiting Table 11 Originating Subscriber 12, 13, 14 Exchange 15 Receiving Subscriber 16, 17, 18 Relay line

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 端末間で転送されるデータ信号の順序性
が乱れたとき、着信側で正しい順序に並び替える転送デ
ータ順序整列方式において、データ信号を受信したとき
当該データ信号が有する順序番号を調査し、順序性に乱
れがあった場合、受信したデータ信号の順序番号に対応
した記憶領域に格納し、この格納したデータ信号を順
次、取出して転送するデータ格納取出手段を備えること
を特徴とする転送データ順序整列方式。
1. A transfer data order alignment method in which when a data signal transferred between terminals is out of order, a transfer data order alignment method that rearranges data signals in a correct order on a receiving side is used to determine the order number of the data signal when the data signal is received. If there is a disorder in the order, the data storage means for storing in the storage area corresponding to the sequence number of the received data signal, sequentially extracting and transferring the stored data signal is provided. Transfer data order alignment method.
【請求項2】 請求項1において、前記データ格納取出
手段が、次に受信する予定の期待順序番号を記憶し、且
つ、当該期待順序番号受信までに受信するデータ信号を
記憶する順序待合せテーブルを備えるデータ記録部と、
データ信号を受信したとき当該データ信号が有する順序
番号が前記期待順序番号と一致しない場合、当該順序番
号と期待順序番号との差の数値を示す前記順序待合せテ
ーブルの格納位置に当該データ信号を格納記録するデー
タ格納部とを備えることを特徴とする転送データ順序整
列方式。
2. The order queuing table according to claim 1, wherein said data storing / extracting means stores an expected sequence number to be received next, and stores a data signal received by the time the expected sequence number is received. A data recording unit provided,
When the sequence number included in the data signal does not match the expected sequence number when the data signal is received, the data signal is stored in the storage position of the sequence waiting table indicating the numerical value of the difference between the sequence number and the expected sequence number. A transfer data order aligning method, comprising: a data storage unit for recording.
【請求項3】 請求項2において、前記データ格納取出
手段が、データ信号を受信したとき当該データ信号が有
する順序番号が前記期待順序番号と一致し、且つ、前記
順序待合せテーブルにデータ信号が格納記録されていな
い場合、受信した前記データ信号を送出のため取出すと
共に、前記期待順序番号を次の番号に更新記録すること
を特徴とする転送データ順序整列方式。
3. The data storing / extracting means according to claim 2, wherein the sequence number of the data signal when the data signal is received matches the expected sequence number, and the data signal is stored in the sequence waiting table. If not recorded, the received data signal is taken out for transmission, and the expected sequence number is updated and recorded to the next number.
【請求項4】 請求項2において、前記データ格納取出
手段が、データ信号を受信したとき、当該データ信号が
有する順序番号が前記期待順序番号と一致し、且つ、前
記順序待合せテーブルにデータ信号が格納記録されてい
ることを確認した前記データ格納部からデータ信号の取
出し要請を受けたとき、前記順序待合せテーブルから当
該データ信号を取出し、取出したデータ信号の順序番号
の次の順序番号を前記順序待合せテーブルの前記期待順
序番号に更新記録するデータ取出部を備えることを特徴
とする転送データ順序整列方式。
4. The data storing and extracting device according to claim 2, when the data storing and extracting means receives a data signal, the sequence number of the data signal matches the expected sequence number, and the data signal is stored in the sequence waiting table. When receiving a request to take out a data signal from the data storage unit which has been confirmed to be stored and recorded, the data signal is taken out from the order waiting table and the order number next to the order number of the taken out data signal is the order. A transfer data order arrangement method, comprising: a data extracting unit for updating and recording the expected order number of the waiting table.
JP22934594A 1994-09-26 1994-09-26 Transfer data order alignment method Expired - Fee Related JP3409073B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22934594A JP3409073B2 (en) 1994-09-26 1994-09-26 Transfer data order alignment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22934594A JP3409073B2 (en) 1994-09-26 1994-09-26 Transfer data order alignment method

Publications (2)

Publication Number Publication Date
JPH0897848A true JPH0897848A (en) 1996-04-12
JP3409073B2 JP3409073B2 (en) 2003-05-19

Family

ID=16890714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22934594A Expired - Fee Related JP3409073B2 (en) 1994-09-26 1994-09-26 Transfer data order alignment method

Country Status (1)

Country Link
JP (1) JP3409073B2 (en)

Also Published As

Publication number Publication date
JP3409073B2 (en) 2003-05-19

Similar Documents

Publication Publication Date Title
EP0704125B1 (en) A method and a device for resequencing
EP0376542B1 (en) Improved telecommunications database accessing method
US5535214A (en) Timely processing of transmission and reception requests in a multi-node communication network
EP0336401A2 (en) Method and system for packet exchange
CA2015514C (en) Packet switching system having bus matrix switch
US5638515A (en) Method for stripping dataframes from the communicating medium in an FDDI communications network
US5642483A (en) Method for efficiently broadcast messages to all concerned users by limiting the number of messages that can be sent at one time
US6976256B2 (en) Pipeline processing type shaping apparatus and its method
US4901313A (en) A-point to multi-points communication system
US20040218592A1 (en) Method and apparatus for fast contention-free, buffer management in a multi-lane communication system
JP2000196672A (en) Inter-network repeater
NL192070C (en) Telecommunication switching system with a number of modular function units.
AU600408B2 (en) Network management
JP3409073B2 (en) Transfer data order alignment method
CN100361480C (en) Method and system for transmitting chain of messages for database
US7843829B1 (en) Detection and recovery from control plane congestion and faults
CN100450050C (en) Efficient packet processing pipeline device and method
JPH05227211A (en) Packet switching system
JP3313655B2 (en) Data transmission / reception method, data transmission / reception method, and recording medium
JPH0666983B2 (en) Routing control system
JP4048037B2 (en) Data writing program and recording medium
JPS6017278B2 (en) Selection signal transmission method in electronic exchange
JP3610843B2 (en) Signal relay system having global title translation function, signal relay method, and recording medium
JPH08251179A (en) Connection identifying method
JPS62185435A (en) Transmission control system for network

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030204

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees