JPH0993626A - Path selection method for exchange - Google Patents
Path selection method for exchangeInfo
- Publication number
- JPH0993626A JPH0993626A JP24285695A JP24285695A JPH0993626A JP H0993626 A JPH0993626 A JP H0993626A JP 24285695 A JP24285695 A JP 24285695A JP 24285695 A JP24285695 A JP 24285695A JP H0993626 A JPH0993626 A JP H0993626A
- Authority
- JP
- Japan
- Prior art keywords
- route
- selection
- numerical value
- trunk
- route selection
- 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
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 8
- 238000000034 method Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
Landscapes
- Telephonic Communication Services (AREA)
- Exchange Systems With Centralized Control (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、交換機およびその
接続経路選択方法に関し、特に受信した選択信号に基づ
いてこれに対応する経路を選択する交換網接続方法に関
するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exchange and a connection route selection method therefor, and more particularly to a switching network connection method for selecting a route corresponding to the exchange based on a received selection signal.
【0002】[0002]
【従来の技術】一般に、交換網は、図5に示すように、
トランク経路53により相互に接続された複数の交換機
51と、交換機51の配下に加入者線54を介して収容
される電話機などの加入者端末設備52とから構成され
ている。各交換機51では、発呼側の加入者端末設備5
2から被呼側の加入者端末設備52まで回線を接続する
という呼の中継処理が実施される。実際に、発呼側の交
換機あるいは加入者端末設備から回線接続要求を受信し
た場合、交換機51は、この回線接続要求とともに発呼
側から受信した選択信号に基づいて、自局に接続されて
いる複数のトランク経路53のうちのいずれかを選択す
る。2. Description of the Related Art In general, a switching network, as shown in FIG.
It is composed of a plurality of exchanges 51 connected to each other by a trunk path 53, and subscriber terminal equipment 52 such as telephones accommodated under the exchange 51 via a subscriber line 54. At each exchange 51, the calling subscriber's terminal equipment 5
A call relay process for connecting a line from 2 to the subscriber terminal equipment 52 on the called side is executed. When the line connection request is actually received from the calling side exchange or the subscriber terminal equipment, the exchange 51 is connected to its own station based on the selection signal received from the calling side together with the line connection request. Any one of the plurality of trunk routes 53 is selected.
【0003】交換機51に接続されている各トランク経
路53には、それぞれ固有の経路選択番号が付与されて
おり、これら対応関係は、図6に示すような経路選択情
報として、予め交換機51に登録されている。ここで
は、各トランク経路53がそれぞれ固有の接続トランク
番号62により管理されており、この接続トランク番号
62と文字情報からなる選択経路番号61とが対応づけ
られて登録されている。A unique route selection number is given to each trunk route 53 connected to the exchange 51, and the correspondence relationship between them is registered in advance in the exchange 51 as route selection information as shown in FIG. Has been done. Here, each trunk route 53 is managed by a unique connection trunk number 62, and the connection trunk number 62 and the selected route number 61 consisting of character information are registered in association with each other.
【0004】したがって、交換機51は、受信した選択
信号から所定桁数の文字情報からなる選択番号を導出し
て各経路選択情報と比較し、その比較結果に応じて対応
するトランク経路53を選択するものとなる。従来、こ
のような経路選択情報を用いた接続先経路の選択処理で
は、発呼側から通知された選択番号と、経路選択情報と
して登録されている複数の経路選択番号61とを、それ
ぞれ1桁(1文字)づつ順次比較して、一致あるいは部
分一致するものを検出し、検出された経路選択番号61
に対応する接続トランク番号62に基づいて接続先経路
を選択するものとなっていた。Therefore, the exchange 51 derives a selection number consisting of character information of a predetermined number of digits from the received selection signal, compares it with each route selection information, and selects the corresponding trunk route 53 according to the comparison result. Will be things. Conventionally, in the process of selecting a connection destination route using such route selection information, the selection number notified from the calling side and the plurality of route selection numbers 61 registered as the route selection information each have one digit. (1 character) is sequentially compared to detect a match or a partial match, and the detected route selection number 61
The connection destination route is selected based on the connection trunk number 62 corresponding to.
【0005】[0005]
【発明が解決しようとする課題】したがって、このよう
な従来の接続経路選択方法では、発呼側から通知された
選択番号と経路選択情報として登録されている複数の経
路選択番号とを、1桁(1文字)づつ順次比較するもの
となっているため、発呼側からの選択信号受信から所定
の経路を選択して接続するまでに要する時間が大きく、
特に、選択番号の桁数の増加し、あるいは接続先トラン
ク経路53が増加した場合には、より顕著なものとなる
という問題点があった。例えば、トランク経路53を選
択するために選択番号の桁数が7桁必要な場合には、7
桁分の数字文字を順次比較する必要があるとともに、経
路選択情報として10個のトランク経路が登録されてい
る場合には、最大7×10回分の数字文字の比較を行う
必要があった。Therefore, in such a conventional connection route selection method, the selection number notified from the calling side and the plurality of route selection numbers registered as the route selection information are digitized by one digit. Since the comparison is performed one by one (one character), it takes a long time from receiving the selection signal from the calling side to selecting and connecting a predetermined route,
In particular, when the number of digits of the selection number increases or the number of connection destination trunk routes 53 increases, there is a problem that it becomes more remarkable. For example, if 7 digits are required for the selection number to select the trunk route 53, 7
It is necessary to sequentially compare the digit characters for digits, and when 10 trunk routes are registered as the route selection information, it is necessary to compare the numeric characters for a maximum of 7 × 10 times.
【0006】また、交換機51に予め登録しておく経路
選択情報が増加すると、これに要する記憶媒体も増加す
るという問題点があった。経路選択情報は、交換機内の
呼制御部に組み込まれているメモリが使用されるが、経
路接続情報として前述の図6に示すように、経路選択番
号の各桁を文字として登録する場合には、一般に1文字
につき2バイトの記憶容量を必要とすることから、1つ
の接続トランク番号に対応して必要な記憶容量が増加
し、さらにトランク経路数が多い場合には、使用可能な
記憶容量に限界があることから、すべての経路選択情報
を登録することができないという問題点があった。本発
明はこのような課題を解決するためのものであり、経路
選択処理を高速で実施できるとともに、経路接続情報に
要する記憶容量を削減することができる交換機およびそ
の経路選択方法を提供することを目的としている。Further, when the route selection information registered in advance in the exchange 51 increases, the storage medium required for this also increases. As the route selection information, the memory built in the call control unit in the exchange is used. However, when each digit of the route selection number is registered as a character as the route connection information as shown in FIG. Generally, since 2 bytes of storage capacity are required for each character, the required storage capacity increases corresponding to one connection trunk number, and if the number of trunk routes is large, the available storage capacity increases. Since there is a limit, there is a problem that it is not possible to register all route selection information. The present invention is intended to solve such a problem, and provides a switch and a route selection method thereof capable of performing a route selection process at high speed and reducing a storage capacity required for route connection information. Has an aim.
【0007】[0007]
【課題を解決するための手段】このような目的を達成す
るために、本発明による交換機の経路選択方法は、所定
の番号列を数値に変換する数値化手段を設けて、この数
値化手段により、各トランク経路に固有の経路選択番号
をそれぞれ数値に変換して経路選択情報として記憶手段
に予め登録し、発呼側から選択番号が通知された場合に
は、この選択番号を数値化手段により第1の数値に変換
し、記憶手段に登録されている経路選択情報から経路選
択番号を示す第2の数値を順次読出して、第1の数値と
第2の数値とを比較し、その比較結果に応じて経路選択
番号に対応するトランク経路を接続先経路として選択す
るようにしたものである。したがって、発呼側から通知
された選択番号が数値化手段により第1の数値に変換さ
れるとともに、記憶手段に登録されている経路選択情報
から経路選択番号を示す第2の数値が順次読出されて、
これら第1の数値と第2の数値とが比較され、その比較
結果に応じて経路選択番号に対応するトランク経路が接
続先経路として選択される。In order to achieve such an object, the route selection method for an exchange according to the present invention is provided with a digitizing means for converting a predetermined number sequence into a numeric value, and the digitizing means is used. , The route selection number unique to each trunk route is converted into a numerical value and registered in advance in the storage means as route selection information, and when the selection number is notified from the calling side, this selection number is converted by the digitizing means. Converted to the first numerical value, the second numerical value indicating the route selection number is sequentially read from the route selection information registered in the storage means, the first numerical value and the second numerical value are compared, and the comparison result The trunk route corresponding to the route selection number is selected as the connection destination route according to the above. Therefore, the selection number notified from the calling side is converted into the first numerical value by the digitizing means, and the second numerical value indicating the route selection number is sequentially read from the route selection information registered in the storage means. hand,
The first numerical value and the second numerical value are compared, and the trunk route corresponding to the route selection number is selected as the connection destination route according to the comparison result.
【0008】また、所定の番号列を所定桁数からなる複
数の番号列に分割する分割手段と、この分割手段により
生成された番号列をそれぞれ数値に変換する数値化手段
とを設けて、これら分割手段および数値化手段により、
各トランク経路に固有の経路選択番号をそれぞれ分割し
て複数の数値からなる組に変換し経路選択情報として記
憶手段に予め登録し、発呼側から選択番号が通知された
場合には、分割手段および数値化手段により選択番号を
分割して複数の数値からなる第1の組に変換し、記憶手
段に登録されている経路選択情報から経路選択番号を示
す複数の数値からなる第2の組を順次読出して、第1お
よび第2の組を構成する数値を個々に比較することによ
り第1の組で示される選択番号と第2の組で示される経
路選択番号とを比較し、その比較結果に応じて経路選択
番号に対応するトランク経路を接続先経路として選択す
るようにしたものである。したがって、発呼側から通知
された選択番号が分割手段および数値化手段により分割
されて複数の数値からなる第1の組に変換されるととも
に、記憶手段に登録されている経路選択情報から経路選
択番号を示す複数の数値からなる第2の組が順次読出さ
れて、第1および第2の組を構成する数値が個々に比較
されることにより第1の組で示される選択番号と第2の
組で示される経路選択番号とが比較され、その比較結果
に応じて経路選択番号に対応するトランク経路が接続先
経路として選択される。Further, there are provided dividing means for dividing the predetermined number sequence into a plurality of number sequences having a predetermined number of digits, and numerical conversion means for converting each number sequence generated by the dividing means into a numerical value. By dividing means and digitizing means,
The route selection number unique to each trunk route is divided and converted into a group consisting of a plurality of numerical values, which is registered in advance in the storage means as route selection information. When the calling side notifies the selection number, the dividing means is divided. And the digitizing means divides the selection number to convert it into a first set consisting of a plurality of numerical values, and from the route selection information registered in the storing means, a second set consisting of a plurality of numerical values indicating the route selection number. The selection numbers shown in the first set and the route selection numbers shown in the second set are compared by sequentially reading and comparing the numerical values forming the first and second sets individually, and the comparison result The trunk route corresponding to the route selection number is selected as the connection destination route according to the above. Therefore, the selection number notified from the calling side is divided by the dividing means and the digitizing means to be converted into the first set consisting of a plurality of numerical values, and the route selection is made from the route selection information registered in the storage means. A second set consisting of a plurality of numerical values indicating numbers is sequentially read out, and the numerical values forming the first and second sets are individually compared to select the selection number and the second number shown in the first set. The route selection numbers shown in the group are compared, and the trunk route corresponding to the route selection number is selected as the connection destination route according to the comparison result.
【0009】さらに、発呼側から通知された選択番号の
全部または一部を示す第3の数値の桁数を、経路選択情
報として登録されている経路選択番号の全部または一部
を示す第4の数値の桁数にそろえる桁そろえ手段を設け
て、第3の数値と第4の数値とを比較する場合には、桁
そろえ手段により、第3の数値の桁数を第4の数値の桁
数にそろえた後に両者を比較するようにしたものであ
る。したがって、発呼側から通知された選択番号の全部
または一部を示す第3の数値と、経路選択情報として登
録されている経路選択番号の全部または一部を示す第4
の数値とが比較される場合には、桁そろえ手段により、
第3の数値の桁数が第4の数値の桁数にそろえられた後
に両者が比較される。Further, the digit number of the third numerical value indicating all or part of the selection number notified from the calling side is changed to the fourth number indicating all or part of the route selection number registered as the route selection information. In the case of providing a digit aligning means for aligning with the number of digits of the third numerical value and comparing the third numerical value with the fourth numerical value, the digit aligning means changes the number of digits of the third numerical value into the digit of the fourth numerical value. After the numbers are set, the two are compared. Therefore, the third numerical value indicating all or part of the selection number notified from the calling side and the fourth numerical value indicating all or part of the route selection number registered as the route selection information.
When compared with the numerical value of
After the number of digits of the third numerical value is aligned with the number of digits of the fourth numerical value, the two are compared.
【0010】[0010]
【発明の実施の形態】次に、本発明について図面を参照
して説明する。図1は本発明の一実施の形態である交換
機のブロック図であり、同図において、1は交換機、2
は発信レジスタ3および着信レジスタ4を有しトランク
経路5を収容するトランク、6は発信レジスタ7および
着信レジスタ8を有しトランク経路9を収容するトラン
ク、10は経路選択情報17を含む各種呼制御情報を記
憶するメモリ16とプロセッサ11とを有し経路選択処
理を含む各種呼処理を実施する呼処理制御部、19は呼
処理制御部10に対して経路選択情報17を含む各種呼
制御情報を登録する保守端末である。Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an exchange which is an embodiment of the present invention. In FIG.
Is a trunk having an outgoing register 3 and an incoming register 4 to accommodate a trunk route 5, 6 is a trunk having an outgoing register 7 and an incoming register 8 to accommodate a trunk route 9, and 10 is various call control including route selection information 17. A call processing control unit 19 having a memory 16 for storing information and a processor 11 for executing various call processes including a route selection process, and 19 sends various call control information including route selection information 17 to the call processing control unit 10. It is a maintenance terminal to be registered.
【0011】プロセッサ11において、12は選択番号
を所定桁数からなる番号列に分割する分割手段、13は
分割手段12により生成された番号列を数値化する数値
化手段、14は発呼側から通知され分割手段12および
数値化手段13により分割・数値化された選択番号に基
づいて経路選択情報17を比較検索し所定の接続先経路
を選択する選択手段、15は比較検索対象となる数値の
桁数をそろえる桁そろえ手段である。In the processor 11, 12 is a dividing means for dividing the selected number into a number string having a predetermined number of digits, 13 is a numerical value converting means for digitizing the number string generated by the dividing means 12, and 14 is from the calling side. Selection means for comparing and searching the route selection information 17 based on the selection numbers divided and digitized by the dividing means 12 and the digitizing means 13 to select a predetermined connection destination route, 15 is a numerical value to be compared and searched. This is a means for aligning digits.
【0012】次に、図1を参照して、本発明の動作を説
明する。発呼側の交換機または加入者端末設備において
呼の接続要求が発生した場合、トランク経路5を介して
交換機1に所定の選択信号が送信される。この選択信号
は、トランク2の着信レジスタ4で受信され、この着信
レジスタ4内で文字情報からなる選択番号に変換され、
呼処理制御部10に通知される。Next, the operation of the present invention will be described with reference to FIG. When a call connection request is made in the calling exchange or the subscriber terminal equipment, a predetermined selection signal is transmitted to the exchange 1 via the trunk route 5. This selection signal is received by the incoming call register 4 of the trunk 2 and converted into a selective number consisting of character information in the incoming call register 4,
The call processing control unit 10 is notified.
【0013】これに応じて、呼処理制御部10のプロセ
ッサ11は、分割手段12および数値化手段13を制御
して、通知された選択番号を数組の数値に変換した後、
選択手段14により、メモリ16内に同様の数組の数値
として予め登録されている経路選択番号からなる経路選
択情報17を検索し、両組の一致/不一致を判断する。
この判断結果が一致を示した場合、通知された選択番号
に対応する接続トランク番号をその経路選択情報17か
ら取得し、その接続トランク番号に対応するトランク6
を選択し、その発信レジスタ7を制御してトランク経路
5とトランク経路9とを接続する。In response to this, the processor 11 of the call processing control unit 10 controls the dividing means 12 and the digitizing means 13 to convert the notified selection number into several sets of numerical values,
The selection unit 14 searches the memory 16 for the route selection information 17 consisting of route selection numbers registered in advance in the memory 16 as a similar set of numerical values, and determines whether the two sets match or mismatch.
When the result of this determination indicates a match, the connection trunk number corresponding to the notified selection number is acquired from the route selection information 17, and the trunk 6 corresponding to the connection trunk number is acquired.
Is selected and the transmission register 7 is controlled to connect the trunk route 5 and the trunk route 9.
【0014】次に、図2を参照して、発呼側から通知さ
れた選択番号、または保守端末19から入力された経路
選択番号を数組の数値に変換する分割手段12および数
値化手段13の動作について説明する。発呼側あるいは
保守端末19から呼処理制御部10に入力された選択番
号は、文字列20としてプロセッサ11に通知される。
これに応じて、プロセッサ11は分割手段12を制御し
て、この文字列20を所定桁数ごとに分割し、文字情報
からなる番号列21〜23を生成する。Next, with reference to FIG. 2, the dividing means 12 and the digitizing means 13 for converting the selection number notified from the calling side or the route selection number inputted from the maintenance terminal 19 into several sets of numerical values. The operation of will be described. The selection number input to the call processing control unit 10 from the calling side or the maintenance terminal 19 is notified to the processor 11 as a character string 20.
In response to this, the processor 11 controls the dividing means 12 to divide the character string 20 into a predetermined number of digits, and generate number strings 21 to 23 including character information.
【0015】この場合の分割単位となる桁数は、プロセ
ッサ11が整数値として演算可能な最大の整数型が基準
となる。例えば、プロセッサ11の演算処理にて扱える
最大の整数型が2バイトである場合、符号なしでは「0
〜65535(=216)」(C言語で定義されるuns
igned short型と同等)、また符号付きでは
「0〜32767(=215)」(C言語で定義されるs
hort型と同等)の整数の演算処理が可能である。In this case, the number of digits as the division unit is based on the maximum integer type that the processor 11 can calculate as an integer value. For example, if the maximum integer type that can be handled by the arithmetic processing of the processor 11 is 2 bytes, "0
~ 65535 (= 2 16 ) "(uns defined in C language
Igned short type equivalent), also s in the signed defined by "32767 (= 2 15)" (C Language
It is possible to perform integer arithmetic processing (equivalent to the hort type).
【0016】実際には、選択番号として「0〜9」が任
意に使用されることから、これら選択番号を整数と見な
して数値化する場合、実質的には「0〜9999」の4
桁の整数を扱えることになり、この場合の分割単位とな
る桁数は4桁となる。したがって、10桁の文字列2
0”0123456789”は、先頭から4桁づつ分割
され、4桁の番号列21”0123”および番号列2
2”4567”と、残り2桁の番号列23”89”が生
成される。In practice, since "0 to 9" are arbitrarily used as selection numbers, when these selection numbers are regarded as integers and numerically expressed, they are substantially "0 to 9999".
An integer of digits can be handled, and the number of digits that is a division unit in this case is 4. Therefore, a 10-digit character string 2
0 "0123456789" is divided into four digits from the beginning, and a four-digit number string 21 "0123" and a number string 2
2 "4567" and the remaining two-digit number sequence 23 "89" are generated.
【0017】なお、プロセッサ11の演算処理にて扱え
る最大の整数型が4バイトである場合には、符号なしで
「0〜429496795(=232)」(C言語で定義
されるunsigned long型と同等)、また符
号付では「0〜214748367(=231)」(C言
語で定義されるlong型と同等)の整数の演算処理が
可能であり、実質的には「0〜999999999」の
9桁の整数を扱えることになる。したがって、この場
合、10桁の文字列20”0123456789”は、
先頭から9桁づつ分割され、9桁の番号列”01234
5678”と残り1桁の番号列”9”が生成されること
になる。If the maximum integer type that can be handled by the arithmetic processing of the processor 11 is 4 bytes, "0 to 429496795 (= 2 32 )" (unsigned long type defined in C language) is used without a code. Equivalent), or with a sign, it is possible to perform integer arithmetic processing of “0 to 214748367 (= 2 31 )” (equivalent to the long type defined in the C language), and substantially 9 of “0 to 999999999” is possible. You will be able to handle digit integers. Therefore, in this case, the 10-digit character string 20 "0123456789" is
9-digit number string "01234"
5678 "and the remaining one digit number string" 9 "are generated.
【0018】また、このような選択番号の分割処理は、
プロセッサ11にて演算処理可能な数値の桁数に限界が
ある場合に不可欠な処理であるが、逆に、プロセッサ1
1にて演算処理可能な最大の整数型で選択番号を問題な
く扱える場合、このような分割手段12を設けて分割処
理を行う必要はない。例えば、プロセッサ11にて演算
処理可能な最大の整数型が4バイトであり、数値に変換
すべき選択番号の最大桁数が7桁である場合には、前述
のとおり、7桁の整数値を4バイトの整数型としてプロ
セッサ11にて問題なく扱うことが可能であり、分割処
理を必要としない。Further, such division processing of the selection number is
This is an indispensable process when the number of digits of the numerical value that can be processed by the processor 11 is limited.
When the selection number can be handled without any problem by the largest integer type that can be arithmetically processed in 1, it is not necessary to provide such a dividing means 12 to perform the dividing process. For example, when the maximum integer type that can be processed by the processor 11 is 4 bytes and the maximum number of digits of the selection number that should be converted into a numerical value is 7 digits, an integer value of 7 digits is set as described above. It can be handled as a 4-byte integer type by the processor 11 without any problem, and division processing is not required.
【0019】このようにして、入力された選択番号がプ
ロセッサ11にて演算処理可能な所定桁数の番号列に分
割され、続いて数値化手段13により、これら番号列の
数値化が行われる。なお数値化とは、例えば”1”,”
2”という各種文字列データで入力された番号列を「1
2」という数値データに変換する処理を示している。ま
ず、各番号列において、先頭桁の数字が”0”でない場
合、および番号列の桁数が分割基準の桁数に満たない場
合には、そのまま整数で読み直し、その整数値をその番
号列が示す数値とする。前述の図2では、番号列22,
23がその対象となり、それぞれ”4567”が「45
67」という整数値26に変換されるとともに、”8
9”が「89」という整数値27に変換される。In this manner, the input selection number is divided into a number string having a predetermined number of digits that can be arithmetically processed by the processor 11, and then the digitizing means 13 digitizes these number strings. Note that digitization means, for example, "1", "
The number string input by various character string data "2" is changed to "1.
2 shows a process of converting into numerical data "2". First, in each number string, if the number of the first digit is not "0" or if the number of digits of the number string is less than the number of digits of the division standard, read the integer value as it is and the integer value It should be the value shown. In the above-mentioned FIG.
23 is the target, and "4567" is "45".
It is converted to the integer value 26 of "67" and "8"
9 ″ is converted to the integer value 27 of “89”.
【0020】一方、数値変換すべき番号列の先頭桁が”
0”である場合には、そのまま整数に読み直すと先頭桁
の”0”が消えてしまうため、その番号列の先頭桁より
1つ上(左側)の桁に文字”1”を付加するとともに、
さらに負符号”−”を付加して整数値に読み直すものと
する。前述したように、番号列の分割基準となる桁数
は、プロセッサ11にて演算処理可能な最大の整数型に
より決定されるが、この整数型で扱える最大数値の最上
位桁には「0〜9」のすべてを扱えるわけではないこと
から、この桁数より1桁少ない桁数にて分割処理され
る。On the other hand, the first digit of the number string to be converted into a numerical value is "
If it is 0, the first digit "0" disappears if it is read as an integer, so the character "1" is added to the digit one digit higher (on the left) than the first digit of the number string.
Further, a negative sign "-" is added and read again as an integer value. As described above, the number of digits used as the division standard of the number string is determined by the maximum integer type that can be processed by the processor 11, and the highest digit of the maximum number that can be processed by this integer type is "0-". Since not all "9" can be handled, division processing is performed with a digit number that is one digit less than this digit number.
【0021】したがって、分割基準となる整数型で表現
される最上位桁が演算処理にて使用されていないことに
着目し、この桁を利用して先頭桁の数字が”0”である
番号列を数値化するものである。また、単に文字”1”
を付加して整数値に読み直した場合には、最上位桁の文
字が”1”である番号列を整数値に読み直した場合と同
じ値となってしまうことから、これらを区別するために
負符号を付加するようにしたものである。Therefore, paying attention to the fact that the highest digit represented by the integer type that is the division criterion is not used in the arithmetic processing, and using this digit, the number string whose leading digit is "0" To quantify. Also, simply the character "1"
If you add and re-read as an integer, the value will be the same as if you read the number string with the most significant digit "1" as an integer. The code is added.
【0022】例えば、プロセッサ11が演算処理可能な
最大の整数型が2バイトである場合には、前述のとお
り、扱える最大の数値が「0〜65535」の5桁であ
るが、その最上位桁は「0〜6」しか現れないことか
ら、実際には4桁の番号列に分割される。しかし、最上
位桁として扱う数値を「0〜6」に限定すれば、5桁の
数値が扱えることに着目し、最上位桁として文字”1”
と負符号を付加して”0”で始まる番号列を数値化する
わけである。For example, when the maximum integer type that can be processed by the processor 11 is 2 bytes, the maximum number that can be handled is 5 digits of "0 to 65535" as described above, but the most significant digit thereof. Since only "0-6" appears, it is actually divided into a 4-digit number string. However, paying attention to the fact that if the numerical value handled as the most significant digit is limited to "0 to 6", the numerical value of 5 digits can be handled, and the character "1" is designated as the most significant digit.
The number sequence starting with "0" is digitized by adding a minus sign.
【0023】したがって、図2において番号列21”0
123”をそのまま整数値に読み直した場合には数値
「123」となり、これは先頭に”0”がない番号列”
123”と同じ値となってしまうが、前述の方法によれ
ば、番号列21”0123”が番号列”−10123”
に変換された後、「−10123」という数値25に変
換され、両者が区別される。別の例として、番号列”0
045”は、「−10045」という数値に変換され
る。Therefore, in FIG. 2, the number sequence 21 "0
When 123 ”is read as an integer value as it is, it becomes the numerical value“ 123 ”, which is the number string without“ 0 ”at the beginning.
Although it becomes the same value as 123 ", according to the above method, the number sequence 21" 0123 "becomes the number sequence" -10123 ".
After being converted into, the numerical value is converted into the numerical value 25 of "-10123", and both are distinguished. As another example, the number string "0"
045 ″ is converted into a numerical value of “−10045”.
【0024】また、分割単位の桁数に満たない番号列に
おいて先頭桁が”0”の場合にも、前述と同様に、最上
位桁として”1”を付加するとともに負符号を付加した
後、整数値に読み直す。したがって、例えば、プロセッ
サ11が演算処理可能な最大の整数型が2バイトである
場合、分割単位の桁数4桁よりも少ない桁数の番号列”
092”は、”−1092”に変換された後、「−10
92」という数値に変換される。Also, in the case where the leading digit is "0" in the number string which does not reach the number of digits of the division unit, "1" is added as the most significant digit and the minus sign is added in the same manner as described above. Reread as an integer. Therefore, for example, if the maximum integer type that can be processed by the processor 11 is 2 bytes, the number string with the number of digits less than 4 digits in the division unit "
092 "is converted to" -1092 "and then" -10 "
It is converted into the numerical value of "92".
【0025】このようにして、発呼側または保守端末1
9から、図2に示すような選択番号20”012345
6789”が入力された場合には、前述のような数値化
処理が実施され、数値25「−10123」、数値26
「4567」および数値27「89」という3つの数値
の組に変換される。In this way, the calling side or maintenance terminal 1
9, the selection number 20 "012345 as shown in FIG.
When 6789 "is input, the digitization processing as described above is performed, and the numeric value 25" -10123 ", the numeric value 26
It is converted into a set of three numerical values “4567” and a numerical value 27 “89”.
【0026】これら数値の組は、メモリ16内の経路選
択情報17として、図3に示すように登録される。同図
において、31は経路選択番号を示す複数の数値、32
はこれに対応する経路の接続トランク番号である。メモ
リ16内には、予め各経路選択情報17を格納するのに
必要なメモリ領域を確保しておく必要があり、その容量
は、前述した数値化処理にて基準となった整数型のバイ
ト数と分割数に依存する。A set of these numerical values is registered as the route selection information 17 in the memory 16 as shown in FIG. In the figure, 31 is a plurality of numerical values indicating a route selection number, 32
Is the connection trunk number of the route corresponding to this. It is necessary to secure in advance a memory area required for storing each route selection information 17 in the memory 16, and its capacity is the number of bytes of the integer type used as a reference in the above-mentioned digitization process. And depends on the number of divisions.
【0027】例えば、経路を選択する選択番号として7
桁の番号が必要であって、かつ、プロセッサ11にて演
算処理可能な最大の整数型が2バイト(分割単位4桁)
である場合には、前述のとおり番号列の分割数が2とな
る。したがって、1つの経路選択情報あたり2つの配列
要素を有する2バイトの符号付整数型配列を領域宣言し
ておけばよいことになる。For example, 7 is selected as a selection number for selecting a route.
The largest integer type that requires a digit number and that can be processed by the processor 11 is 2 bytes (division unit 4 digits)
, The number of divisions of the number sequence is two, as described above. Therefore, it is only necessary to declare a 2-byte signed integer array having two array elements for each piece of route selection information.
【0028】次に、図4を参照して、発呼側から通知さ
れた選択番号に基づいて経路選択情報を検索し所定の接
続先経路を選択する選択手段14の動作について説明す
る。図4は選択手段の動作を示す説明図である。まず、
選択信号によって発呼側交換機または加入者端末設備か
ら通知された選択番号は、前述の分割手段12および数
値化手段13によって複数の数値の組(第1の組:以
下、組Aという)に変換される。Next, with reference to FIG. 4, the operation of the selecting means 14 for searching the route selection information based on the selection number notified from the calling side and selecting a predetermined connection destination route will be described. FIG. 4 is an explanatory diagram showing the operation of the selecting means. First,
The selection number notified from the calling side exchange or the subscriber terminal equipment by the selection signal is converted into a plurality of numerical value groups (first group: hereinafter referred to as group A) by the dividing means 12 and the digitizing means 13. To be done.
【0029】次に、メモリ16内の経路選択情報17か
ら、それぞれの経路に対応する経路選択番号を示す数値
の組(第2の組:以下、組Bという)が順に読出され、
組Aと比較される。この場合、両組を構成するそれぞれ
の数値が個々に比較される。例えば、プロセッサ11に
て演算処理可能な最大の整数型が2バイトである場合、
図4に示すように、発呼側から通知された選択番号4
1”0123456”は、4桁づつ分割されて、数値A
1「−10123」と数値A2「456」に数値化され
る。Next, from the route selection information 17 in the memory 16, a set of numerical values indicating the route selection number corresponding to each route (second set: hereinafter referred to as set B) is read in order,
Compared to set A. In this case, the respective numerical values constituting both sets are individually compared. For example, if the maximum integer type that can be processed by the processor 11 is 2 bytes,
As shown in FIG. 4, the selection number 4 notified from the calling side
1 "0123456" is divided into four digits and the numerical value A
It is digitized into 1 "-10123" and the numerical value A2 "456".
【0030】一方、メモリ16から経路選択情報17と
して、経路選択番号”012345”を示す数値B1
「−10123」と数値B2「45」とが読出された場
合、これら組を構成する数値A1とB1、数値A2とB
2が、それぞれ個々に比較される。この場合、両数値の
排他的論理和が算出され、その結果が「1」である場合
には両数値が一致していると判断される。On the other hand, as the route selection information 17 from the memory 16, the numerical value B1 indicating the route selection number "012345".
When "-10123" and the numerical value B2 "45" are read out, the numerical values A1 and B1 and the numerical values A2 and B that form these pairs are read.
2 are compared individually. In this case, the exclusive OR of both numerical values is calculated, and when the result is "1", it is determined that both numerical values match.
【0031】したがって、数値A1「−10123」と
数値B1「−10123」とは一致するが、数値A2
「456」と数値B2「45」とは一致しないことか
ら、A組とB組とは一致しないと判断され、発呼側から
入力された選択番号41と、メモリ16の経路選択情報
17からB組として読出された経路選択番号とは異なる
ものとなり、この経路選択番号に対応する経路が所望と
する接続先の経路ではないと判断される。Therefore, the numerical value A1 "-10123" and the numerical value B1 "-10123" match, but the numerical value A2
Since "456" and the numerical value B2 "45" do not match, it is determined that the A set and the B set do not match, and the selection number 41 input from the calling side and the route selection information 17 of the memory 16 are set to B. It is different from the route selection number read out as a set, and it is determined that the route corresponding to this route selection number is not the desired connection destination route.
【0032】なお、実際の交換機の経路選択処理におい
て、発呼側から通知された選択番号の桁数が、経路選択
情報として登録されている経路選択番号の桁数よりも大
きい場合でも、経路選択番号のすべての数字が選択番号
の先頭から比較して一致すれば、接続先として選択する
場合もある。例えば、前述の図4では、選択番号41”
0123456”と経路選択番号42”012345”
を比較する場合、経路選択番号42のすべての桁が選択
番号41の先頭から部分的に一致している。In the actual route selection processing of the exchange, even if the digit number of the selection number notified from the calling side is larger than the digit number of the route selection number registered as the route selection information, the route selection is performed. If all numbers in the numbers are compared from the beginning of the selection number and match, the number may be selected as the connection destination. For example, in FIG. 4 described above, the selection number 41 ″
0123456 "and route selection number 42" 012345 "
When comparing, all the digits of the route selection number 42 partially match from the beginning of the selection number 41.
【0033】このような部分的な一致を検出する場合に
は、それぞれの組の数値を比較する際に、まず両数値の
桁数を比較し、桁数が一致すれば前述のように両者の排
他的論理和(EX−OR)を算出し、その結果に応じて
一致/不一致を判断する。また、桁数が異なる場合に
は、桁そろえ手段15により桁数の大きい選択番号側す
なわちA組側の数値(第3の数値)を、桁数の小さい経
路選択番号側すなわちB組側の数値(第4の数値)にそ
ろえた後、両者の排他的論理和(EX−OR)を算出
し、その結果に応じて一致/不一致を判断する。When detecting such partial coincidence, when comparing the numerical values of the respective sets, first, the numbers of digits of both numerical values are compared, and if the numbers of digits match, as described above, the two numbers are compared. The exclusive OR (EX-OR) is calculated, and the match / mismatch is determined according to the result. If the number of digits is different, the digit aligning means 15 causes the numerical value on the side of the selection number having a large number of digits, that is, the A group side (third numerical value), to the numerical value on the side of the route selection number having a small digit number, that is, the numerical value of the B group side. After aligning with the (fourth numerical value), an exclusive OR (EX-OR) of both is calculated, and a match / mismatch is determined according to the result.
【0034】桁数をそろえる方法については、例えば、
数値A2を数値B2と同じ桁数にそろえたものを数値A
3とすると、数値A3は次のような演算式に基づいて求
められる。 A3=int(A2/10n ) n =int(log10(A2))−int(log10
(B2)) ここでint(X)は、数値Xの小数点以下を切り捨て
て整数値のみを返すint関数を示している。As for the method of aligning the number of digits, for example,
Numerical value A2 is the same as numerical value B2.
If the value is 3, the numerical value A3 is obtained based on the following arithmetic expression. A3 = int (A2 / 10 n ) n = int (log 10 (A2)) - int (log 10
(B2)) Here, int (X) indicates an int function that rounds down the decimal point of the numerical value X and returns only an integer value.
【0035】前述の演算式において、nは数値A2とB
2との桁数差を示しており、数値A2を桁数差分だけ
「10」で除算した後、その整数部分のみをint関数
で抽出するものとなっている。このようにして求めた数
値A3と数値B2とを比較し、図4の場合にはどちらも
「45」となって一致することから、このB組に対応す
る経路選択情報17から接続先トランク番号を取得し、
その接続トランク番号に対応するトランク6(図1参
照)を選択し、その発信レジスタ7を制御してトランク
経路5とトランク経路9とを接続するものとなる。In the above equation, n is a numerical value A2 and B.
The difference in the number of digits from 2 is shown. The numerical value A2 is divided by "10" by the difference in the number of digits, and then only the integer part is extracted by the int function. The numerical value A3 and the numerical value B2 thus obtained are compared, and in the case of FIG. 4, both are “45”, which coincides with each other. Therefore, from the route selection information 17 corresponding to this B group, the connection destination trunk number To get
The trunk 6 (see FIG. 1) corresponding to the connection trunk number is selected, and the transmission register 7 is controlled to connect the trunk route 5 and the trunk route 9.
【0036】このように、呼処理制御部10のプロセッ
サ11内に、数値化手段13および選択手段14を設け
て、発呼側から通知された選択番号を数値(第1の数
値)に変換し、同様にして経路選択番号を示す数値(第
2の数値)が予め登録されている経路選択情報17を検
索し、その検索結果に応じて接続先経路を選択するよう
にしたので、従来のように、選択番号および経路選択番
号を構成する文字を1桁づつ順次比較する場合と比べて
比較回数が大幅に削減され、発呼側からの選択信号受信
から所定の経路を選択して接続するまでに要する時間を
短縮することが可能となり、特に、選択番号の桁数の増
加し、あるいは接続先トランク経路が増加した場合に
は、より顕著に処理時間が短縮される。As described above, the processor 11 of the call processing controller 10 is provided with the digitizing means 13 and the selecting means 14 to convert the selection number notified from the calling side into a numerical value (first numerical value). In the same manner, the route selection information 17 in which the numerical value (second numerical value) indicating the route selection number is registered in advance is searched, and the connection destination route is selected according to the search result. In addition, the number of comparisons is significantly reduced compared to the case of sequentially comparing the characters that make up the selection number and the route selection number one digit at a time, from the reception of the selection signal from the calling side to the selection and connection of a predetermined route. It is possible to shorten the time required for the processing, and particularly when the number of digits of the selection number is increased or the number of connection destination trunk routes is increased, the processing time is more significantly shortened.
【0037】さらに、経路選択情報17を構成する経路
選択番号を、数値化手段13により数値に変換した後、
メモリ16に登録するようにしたので、従来のように文
字情報として登録する場合と比較して、1つの接続トラ
ンク番号に対応して必要な記憶容量を低減することが可
能となり、より多くのトランク経路に対応する経路選択
情報17を登録することができるとともに、呼処理制御
部10内のメモリ16を有効に使用することができる。Further, after converting the route selection number forming the route selection information 17 into a numerical value by the digitizing means 13,
Since it is registered in the memory 16, it is possible to reduce the required storage capacity corresponding to one connection trunk number, as compared to the case of registering as character information as in the conventional case, and more trunks can be stored. The route selection information 17 corresponding to the route can be registered, and the memory 16 in the call processing control unit 10 can be effectively used.
【0038】また、プロセッサ11内に分割手段12を
設けて、入力された選択番号をプロセッサ11にて演算
処理可能な最大の整数型で扱える桁数の番号列に分割し
た後、数値化手段13により複数の数値に変換するよう
にしたので、プロセッサ11にて演算処理可能な数値の
桁数が選択番号の最大桁数より小さい場合でも、問題な
く扱うことが可能となる。Further, a dividing means 12 is provided in the processor 11 to divide the inputted selection number into a number string having a digit number which can be processed by the maximum integer type which can be processed by the processor 11, and then the digitizing means 13 is provided. Therefore, even if the number of digits of the numerical value that can be processed by the processor 11 is smaller than the maximum number of digits of the selection number, it can be handled without any problem.
【0039】さらに、プロセッサ11内に桁そろえ手段
15を設けて、発呼側から通知された選択番号を示す数
値の桁数が、経路選択番号を示す数値の桁数より大きい
場合には、この桁そろえ手段15により、選択番号を示
す数値の桁数を経路選択番号を示す数値の桁数にそろえ
た後、両者を比較するようにしたので、先頭から数桁が
同一である複数の選択番号に対応する共通の接続先とし
て、1つの経路選択番号が対応づけられている場合で
も、正確に接続先経路を選択することが可能となる。Further, if the digit aligning means 15 is provided in the processor 11 and the digit number of the selection number notified from the calling side is larger than the digit number of the route selection number, Since the digit aligning means 15 aligns the number of digits of the numerical value indicating the selection number with the number of digits of the numerical value indicating the route selection number, the two are compared, so that a plurality of selection numbers having the same several digits from the beginning are arranged. Even when one route selection number is associated as the common connection destination corresponding to, it is possible to accurately select the connection destination route.
【0040】[0040]
【発明の効果】以上説明したように、本発明は、所定の
番号列を数値に変換する数値化手段を設けて、この数値
化手段により、経路選択番号を数値に変換して予め登録
しておき、発呼側から通知された選択番号を数値化手段
により第1の数値に変換するとともに、経路選択番号を
示す第2の数値を順次読出して、第1の数値と第2の数
値とを比較し、その比較結果に応じて接続先経路を選択
するようにしたので、従来のように、選択番号および経
路選択番号を構成する文字を1桁づつ順次比較する場合
と比べて比較回数が大幅に削減され、発呼側からの選択
信号受信から所定の経路を選択して接続するまでに要す
る時間を短縮することが可能となり、特に、選択番号の
桁数の増加し、あるいは接続先トランク経路が増加した
場合には、より顕著に処理時間が短縮される。さらに、
経路選択情報を構成する経路選択番号を数値に変換して
登録するようにしたので、従来のように1文字につき2
バイトを要する文字情報として登録する場合と比較し
て、1つの接続トランク番号に対応して必要な記憶容量
を削減することが可能となり、より多くのトランク経路
に対応する経路選択情報を登録することができるととも
に、記憶手段を有効に使用することができる。As described above, according to the present invention, the digitizing means for converting a predetermined number sequence into a numerical value is provided, and by this digitizing means, the route selection number is converted into a numerical value and registered in advance. Then, the selection number notified from the calling side is converted into the first numerical value by the digitizing means, and the second numerical value indicating the route selection number is sequentially read out to obtain the first numerical value and the second numerical value. Since the comparison is made and the connection destination route is selected according to the comparison result, the number of comparisons is significantly larger than in the conventional case where the characters constituting the selection number and the route selection number are sequentially compared one digit at a time. It is possible to shorten the time required from selecting a predetermined route to receiving a selection signal from the calling side and connecting to it. In particular, the number of digits in the selection number is increased or the connection trunk route is connected. Is more pronounced when Processing time is shortened to. further,
Since the route selection number that composes the route selection information is converted into a numeric value and registered, 2 characters per character as in the past.
Compared with the case of registering as character information requiring bytes, it is possible to reduce the storage capacity required for one connection trunk number, and register route selection information corresponding to more trunk routes. The storage means can be effectively used.
【0041】また、所定の番号列を所定桁数からなる複
数の番号列に分割する分割手段と、この分割手段により
生成された番号列をそれぞれ数値に変換する数値化手段
とを設けて、これら分割手段および数値化手段により、
各トランク経路に固有の経路選択番号をそれぞれ分割し
て複数の数値からなる組に変換して登録しておき、発呼
側から通知された選択番号を分割手段および数値化手段
により複数の数値からなる第1の組に変換するととも
に、経路選択番号を示す複数の数値からなる第2の組を
順次読出して、第1および第2の組を構成する数値を個
々に比較することにより第1の組で示される選択番号と
第2の組で示される経路選択番号とを比較し、その比較
結果に応じて接続先経路を選択するようにしたので、プ
ロセッサ11にて演算処理可能な数値の桁数が選択番号
の最大桁数より小さい場合でも、問題なく扱うことが可
能となる。Further, there are provided dividing means for dividing the predetermined number sequence into a plurality of number sequences having a predetermined number of digits, and numerical conversion means for converting each number sequence generated by the dividing means into numerical values. By dividing means and digitizing means,
The route selection number unique to each trunk route is divided and converted into a set consisting of multiple numbers and registered, and the selection number notified from the calling side is divided from multiple numbers by the dividing means and digitizing means. The first group is converted into the first group and the second group consisting of a plurality of numerical values indicating the route selection number is sequentially read, and the numerical values forming the first and second groups are individually compared with each other. Since the selection number shown in the group and the route selection number shown in the second group are compared and the connection destination route is selected according to the comparison result, the digit of the numerical value that can be processed by the processor 11 Even if the number is smaller than the maximum number of digits in the selection number, it can be handled without any problem.
【0042】さらに、発呼側から通知された選択番号の
全部または一部を示す第3の数値の桁数を、経路選択情
報として登録されている経路選択番号の全部または一部
を示す第4の数値の桁数にそろえる桁そろえ手段を設け
て、第3の数値と第4の数値とを比較する場合には、桁
そろえ手段により、第3の数値の桁数を第4の数値の桁
数にそろえた後に両者を比較するようにしたので、先頭
から数桁が同一である複数の選択番号に対応する共通の
接続先として、1つの経路選択番号が対応づけられてい
る場合でも、正確に接続先経路を選択することが可能と
なる。Further, the digit number of the third numerical value indicating all or part of the selection number notified from the calling side is changed to the fourth number indicating all or part of the route selection number registered as the route selection information. In the case of providing a digit aligning means for aligning with the number of digits of the third numerical value and comparing the third numerical value with the fourth numerical value, the digit aligning means changes the number of digits of the third numerical value into the digit of the fourth numerical value. Since the two are compared after they are arranged in the numbers, even if one route selection number is associated as a common connection destination corresponding to a plurality of selection numbers having several digits from the beginning, It becomes possible to select a connection destination route.
【図1】 本発明の一実施の形態による交換機のブロッ
ク図である。FIG. 1 is a block diagram of an exchange according to an embodiment of the present invention.
【図2】 分割手段および数値化手段の動作を示す説明
図である。FIG. 2 is an explanatory diagram showing operations of a dividing unit and a digitizing unit.
【図3】 経路選択情報を示す説明図である。FIG. 3 is an explanatory diagram showing route selection information.
【図4】 選択手段の動作を示す説明図である。FIG. 4 is an explanatory diagram showing an operation of a selection unit.
【図5】 一般的な交換網を示す説明図である。FIG. 5 is an explanatory diagram showing a general switching network.
【図6】 従来の経路選択情報を示す説明図である。FIG. 6 is an explanatory diagram showing conventional route selection information.
1…交換機、2,6…トランク、3,7…発信レジス
タ、4,8…着信レジスタ、5,9…トランク経路、1
0…呼処理制御部、11…プロセッサ、12…分割手
段、13…数値化手段、14…選択手段、15…桁そろ
え手段、16…メモリ、17…経路選択情報、19…保
守端末。1 ... exchange, 2, 6 ... trunk, 3, 7 ... outgoing register, 4, 8 ... incoming register, 5, 9 ... trunk route, 1
0 ... Call processing control section, 11 ... Processor, 12 ... Dividing means, 13 ... Numericalizing means, 14 ... Selection means, 15 ... Digit aligning means, 16 ... Memory, 17 ... Route selection information, 19 ... Maintenance terminal.
Claims (3)
を収容するとともに、各トランク経路に固有の経路選択
番号を経路選択情報として記憶する記憶手段を有し、任
意のトランク経路を介して発呼側から通知された選択番
号に基づいて経路選択情報を検索することにより、所定
のトランク経路を接続先経路として選択して発呼側トラ
ンク経路と接続する交換機において、 所定の番号列を数値に変換する数値化手段を設けて、 この数値化手段により、各トランク経路に固有の経路選
択番号をそれぞれ数値に変換して経路選択情報として記
憶手段に予め登録し、 発呼側から選択番号が通知された場合には、 この選択番号を数値化手段により第1の数値に変換し、 記憶手段に登録されている経路選択情報から経路選択番
号を示す第2の数値を順次読出して、第1の数値と第2
の数値とを比較し、 その比較結果に応じて前記経路選択番号に対応するトラ
ンク経路を接続先経路として選択するようにしたことを
特徴とする交換機の経路選択方法。1. A plurality of trunk routes connecting between exchanges are accommodated, and a storage means for storing a route selection number unique to each trunk route as route selection information is provided, and a call is made via an arbitrary trunk route. By converting the route selection information based on the selection number notified from the side, the specified number string is converted to a numerical value in the exchange that selects the specified trunk route as the connection destination route and connects to the calling side trunk route. The digitizing means is provided to convert the route selection number unique to each trunk route into a numerical value and pre-register it in the storage means as route selection information, and the calling side notifies the selection number. If this is the case, this selection number is converted into the first numerical value by the digitizing means, and the second numerical value indicating the route selection number is ordered from the route selection information registered in the storage means. Read Te, first number and the second
And a trunk route corresponding to the route selection number is selected as a connection destination route according to the comparison result.
を収容するとともに、各トランク経路に固有の経路選択
番号を経路選択情報として記憶する記憶手段を有し、任
意のトランク経路を介して発呼側から通知された選択番
号に基づいて経路選択情報を検索することにより、所定
のトランク経路を接続先経路として選択して発呼側トラ
ンク経路と接続する交換機において、 所定の番号列を所定桁数からなる複数の番号列に分割す
る分割手段と、 この分割手段により生成された番号列をそれぞれ数値に
変換する数値化手段とを設けて、 これら分割手段および数値化手段により、各トランク経
路に固有の経路選択番号をそれぞれ分割して複数の数値
からなる組に変換し経路選択情報として記憶手段に予め
登録し、 発呼側から選択番号が通知された場合には、 分割手段および数値化手段により前記選択番号を分割し
て複数の数値からなる第1の組に変換し、 記憶手段に登録されている経路選択情報から経路選択番
号を示す複数の数値からなる第2の組を順次読出して、
第1および第2の組を構成する数値を個々に比較するこ
とにより第1の組で示される選択番号と第2の組で示さ
れる経路選択番号とを比較し、 その比較結果に応じて前記経路選択番号に対応するトラ
ンク経路を接続先経路として選択するようにしたことを
特徴とする交換機の経路選択方法。2. A plurality of trunk routes connecting the exchanges are accommodated, and a storage means for storing a route selection number unique to each trunk route as route selection information is provided, and a call is made via an arbitrary trunk route. In the exchange that connects the caller side trunk route by selecting a predetermined trunk route as the connection destination route by searching the route selection information based on the selection number notified from the A dividing means for dividing the number sequence into a plurality of number sequences and a digitizing means for converting each number sequence generated by the dividing means into numerical values are provided, and the dividing means and the digitizing means uniquely identify each trunk route. Each route selection number is converted into a group consisting of multiple numbers and registered in advance in the storage means as route selection information. The calling side notifies the selection number. In this case, the selection number is divided by the dividing means and the digitizing means to be converted into a first set consisting of a plurality of numerical values, and a plurality of numerical values indicating the route selection number from the route selection information registered in the storage means. Sequentially read the second set of
The selection numbers shown in the first set and the route selection numbers shown in the second set are compared by individually comparing the numerical values that make up the first and second sets, and in accordance with the result of the comparison, A route selection method for an exchange characterized in that a trunk route corresponding to a route selection number is selected as a connection destination route.
択方法において、 発呼側から通知された選択番号の全部または一部を示す
第3の数値の桁数を、経路選択情報として登録されてい
る経路選択番号の全部または一部を示す第4の数値の桁
数にそろえる桁そろえ手段を設けて、 第3の数値と第4の数値とを比較する場合には、桁そろ
え手段により、第3の数値の桁数を第4の数値の桁数に
そろえた後に両者を比較するようにしたことを特徴とす
る交換機の経路選択方法。3. The route selection method for an exchange according to claim 1, wherein the number of digits of a third numerical value indicating all or a part of the selection number notified from the calling side is registered as route selection information. When a digit aligning means for aligning the number of digits of the fourth numerical value indicating all or a part of the route selection number is provided and the third numerical value and the fourth numerical value are compared, the digit aligning means A method for selecting a route of an exchange, characterized in that the number of digits of the third numerical value is adjusted to the number of digits of the fourth numerical value and then the two are compared.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7242856A JP2785761B2 (en) | 1995-09-21 | 1995-09-21 | Switching route selection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7242856A JP2785761B2 (en) | 1995-09-21 | 1995-09-21 | Switching route selection method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0993626A true JPH0993626A (en) | 1997-04-04 |
JP2785761B2 JP2785761B2 (en) | 1998-08-13 |
Family
ID=17095293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7242856A Expired - Fee Related JP2785761B2 (en) | 1995-09-21 | 1995-09-21 | Switching route selection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2785761B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS631196A (en) * | 1986-06-19 | 1988-01-06 | Fujitsu Ltd | Data index method |
JPH05161170A (en) * | 1991-12-03 | 1993-06-25 | Nec Corp | Route selection system for exchange |
-
1995
- 1995-09-21 JP JP7242856A patent/JP2785761B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS631196A (en) * | 1986-06-19 | 1988-01-06 | Fujitsu Ltd | Data index method |
JPH05161170A (en) * | 1991-12-03 | 1993-06-25 | Nec Corp | Route selection system for exchange |
Also Published As
Publication number | Publication date |
---|---|
JP2785761B2 (en) | 1998-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4600812A (en) | Communication system having abbreviated dialing access | |
JPH0993626A (en) | Path selection method for exchange | |
US4241410A (en) | Binary number generation | |
CA2189282C (en) | Signal recognition arrangement using cadence tables | |
US3935394A (en) | Network routing and control arrangement | |
EP0520116A1 (en) | Method and apparatus for performing pattern search functions | |
EP0005503A1 (en) | Nodal switching network with binary order links | |
US6058177A (en) | Mechanism to support multiple versions of toll free service | |
US7383268B2 (en) | Indexing technique for an efficient best-pattern matched lookup | |
US3781797A (en) | Code processor output buffer verify check | |
US4617427A (en) | Square root circuit | |
JPH07120958B2 (en) | Tree search vector quantizer | |
JPS62198248A (en) | Terminal control system | |
KR0168806B1 (en) | Caller identification | |
JP2760844B2 (en) | Telephone equipment | |
KR850001263B1 (en) | Exchanges circuit of p.c.m. audio signal | |
KR100483285B1 (en) | Method for Searching Digit Pattern of Matched Subscriber Digit | |
JPH0630175A (en) | Terminal equipment and controlling system for communication | |
JPS6119263A (en) | Character dial system | |
JPH0382258A (en) | Signal link load decentralizing method | |
JP3176764B2 (en) | Communication device | |
JPH09330322A (en) | Data retrieval device | |
JPH0630042A (en) | Call connection system | |
JPH0761110B2 (en) | Billing method | |
JPH01114149A (en) | Talking route selection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |