JPH04335741A - Communication device - Google Patents
Communication deviceInfo
- Publication number
- JPH04335741A JPH04335741A JP13585591A JP13585591A JPH04335741A JP H04335741 A JPH04335741 A JP H04335741A JP 13585591 A JP13585591 A JP 13585591A JP 13585591 A JP13585591 A JP 13585591A JP H04335741 A JPH04335741 A JP H04335741A
- Authority
- JP
- Japan
- Prior art keywords
- information
- lcr
- time
- line
- charge
- 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
Landscapes
- Meter Arrangements (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】本発明は、複数種類の回線経路を
有する通信装置において、低料金回線を選択するLCR
装置に関する。[Industrial Application Field] The present invention provides LCR for selecting a low-cost line in a communication device having multiple types of line routes.
Regarding equipment.
【0002】0002
【従来の技術】従来、NTT(日本電信電話)株式会社
以外の第1種通信事業者(以下、NCCという)が数年
前から営業を開始し、これら各社の回線サービスを選択
するLCR装置が利用されている。ここでLCR装置と
は、端末と加入者回線との間に挿入したり、あるいは端
末の内部に組み込まれる装置であり、オペレータより入
力された発呼番号から相手先の地域を割り出し、所定時
間の通信における最も低額な回線を選択して、回線を選
択する番号に置き換え、端局に選択信号を送出する機能
を有するものである。[Prior Art] Conventionally, Type 1 communication carriers (hereinafter referred to as NCC) other than NTT (Nippon Telegraph and Telephone) Corporation started operations several years ago, and LCR devices that select the line services of these companies have been used. It's being used. Here, the LCR device is a device inserted between a terminal and a subscriber's line or built into the terminal, which determines the region of the destination from the calling number input by the operator, and It has the function of selecting the lowest cost communication line, replacing the line with a selection number, and sending a selection signal to the terminal station.
【0003】一般に、NCC各社の回線を利用する場合
は、0077、0088、0070等のNCC回線に接
続するためのアクセス番号を付けなければならないが、
その他にNTTの端局の交換機が、旧式のいわゆるNO
N ID局である場合には、発呼する端末は、ID番
号や暗証番号を付けて発呼しなければならず、実際に入
力する番号は30桁以上になる場合も生ずる。そこで、
LCR装置を利用すれば、その様な余分な番号を付加す
る必要はなく、発呼者は、被呼先の市外局番号、市内局
番号、加入者番号をダイアルするだけで良く、さらには
複雑な各社の回線利用料金を予め調べる必要もなくなる
利点がある。[0003] Generally, when using the lines of NCC companies, it is necessary to attach an access number such as 0077, 0088, 0070, etc. to connect to the NCC line.
In addition, NTT's terminal switchboards are old-style so-called NO
In the case of an NID station, the terminal making the call must attach an ID number or a password when making the call, and the number actually entered may be 30 digits or more. Therefore,
Using an LCR device, there is no need to add such extra numbers; the caller only needs to dial the area number, local number, and subscriber number of the called party. has the advantage of eliminating the need to research in advance the complicated line usage charges of each company.
【0004】ところで、このようなLCR装置が最低料
金回線を選択するためには、予測通信料金の計算を行な
わなければならない。このため、LCR装置は、入力さ
れたし外局番号、あるいは一部の地域では市外局番号と
市内局番号とにより、被呼側が属するMA(単位料金区
域)を判定し、自局の属するMAから被呼側MA迄の距
離を算出し、その結果に基づいて単位料金で通信できる
単位時間を判定する。さらに、次式
〔予測通信時間÷単位時間〕×A+B
で計算を行ない、予測料金を算出する。[0004] Incidentally, in order for such an LCR device to select the lowest charge line, it is necessary to calculate a predicted communication charge. For this reason, the LCR device determines the MA (unit rate area) to which the called party belongs based on the input foreign office number or, in some areas, the area code and local office number, and determines the MA (unit rate area) to which the called party belongs. The distance from the belonging MA to the called MA is calculated, and based on the result, the unit time that can be communicated for a unit charge is determined. Further, the following formula [predicted communication time/unit time]×A+B is used to calculate the predicted charge.
【0005】ここで、Aは単位料金であり、Bはいわゆ
る足まわりと呼ばれるアクセスチャージである。アクセ
スチャージとは、加入者回線が、利用する1種通信事業
者の交換機に直接つながれておらず、他社を経由して利
用する1種通信事業者の交換機に接続される場合に、そ
の接続部分の利用料金として加算されるものであり、通
常は利用者が負担する料金である。[0005] Here, A is a unit charge, and B is an access charge called a so-called suspension charge. An access charge is a charge for the connection part when a subscriber's line is not directly connected to the exchange of the Type 1 carrier used, but is connected to the exchange of the Type 1 carrier used via another company. This is added as a usage fee, and is usually a fee paid by the user.
【0006】なお、上記式において、〔予測通信時間÷
単位時間〕の少数点以下は切り上げられる。[0006] In the above equation, [predicted communication time ÷
Unit time] is rounded up to the nearest whole decimal point.
【0007】以上の単位時間の判定、予測料金の算出を
各社について行ない、その結果から、一番低額の回線を
選び出し、その回線に接続するためのアクセス番号およ
び被呼局の市外局番号、市内局番号、加入者番号、さら
には前述のNONID局の場合のID番号と暗証番号を
付加して、選択信号の送出を行なう。[0007] The above unit time determination and predicted charge calculation are performed for each company, and from the results, the line with the lowest cost is selected, and the access number for connecting to that line, the toll number of the called station, A selection signal is sent by adding the local station number, subscriber number, and furthermore the ID number and password in the case of the aforementioned NONID station.
【0008】このようにLCR装置は、発呼する時点に
おける最低料金の回線を選択するために、通信予測時間
に対する予測通信料金を実際に算出するが、ここで得ら
れた予測通信料金は、LCR装置の動作終了後は廃棄さ
れ、積極的には利用されていなかった。[0008] In this way, the LCR device actually calculates the predicted communication charge for the predicted communication time in order to select the line with the lowest charge at the time of making the call, but the predicted communication charge obtained here is After the device finished operating, it was discarded and was not actively used.
【0009】また、料金割引のある土曜日、日曜日、祝
祭日、夜間等の判定を行なう精度の高いLCR装置では
、カレンダ機能付きの計時手段(RTC;リアルタイム
クロック)を内蔵しているが、それより得られる日時情
報等も、予測料金算出のために一時的に使われるだけで
あり、積極的には使われていなかった。[0009]Also, highly accurate LCR devices that judge Saturdays, Sundays, public holidays, nighttime, etc. when discount rates are available have built-in timekeeping means (RTC; real-time clock) with a calendar function; The date and time information provided was only used temporarily for calculating predicted charges, and was not actively used.
【0010】また、MA間の距離、被呼側のMA、予測
通信料金等はLCR利用者が参考情報として知っておい
た方が有益である場合が多いが、これ等の情報も利用さ
れることなく、選択する回線決定後は廃棄されていた。[0010]Also, it is often useful for LCR users to know the distance between MAs, the MA of the called side, predicted communication charges, etc. as reference information, but such information is also used. However, after deciding which line to select, it was discarded.
【0011】[0011]
【発明が解決しようとする課題】このように、従来のL
CR装置では、最低料金回線を決定するために必要な1
次情報は、一時的に利用されるだけで使用した後は廃棄
されており、有効利用されていないという問題があった
。[Problem to be solved by the invention] In this way, the conventional L
The CR device requires 1 to determine the lowest rate line.
There was a problem that the following information was only used temporarily and then discarded, so it was not used effectively.
【0012】本発明は、最低料金回線の選択に利用され
る1次情報を有効利用することができ、より利便性に優
れたLCR装置を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a more convenient LCR device that can effectively utilize primary information used to select the lowest rate line.
【0013】[0013]
【課題を解決するための手段】本発明は、回線端末に付
加または内蔵されるLCR装置において、回線選択に利
用する単位時間、単位料金、日時、MA間距離情報等の
1次情報を、回線選択以外の所定の目的に使用する処理
手段を有することを特徴とする。[Means for Solving the Problems] The present invention provides primary information such as unit time, unit charge, date and time, distance information between MAs, etc. used for line selection in an LCR device added to or built in a line terminal. It is characterized by having a processing means used for a predetermined purpose other than selection.
【0014】[0014]
【実施例】図1は、本発明の一実施例を示すブロック図
である。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention.
【0015】この実施例のLCR装置は、ファクシミリ
装置に組み込まれたものである。The LCR device of this embodiment is incorporated into a facsimile machine.
【0016】このファクシミリ装置は、装置全体の制御
をするMPU5と、MPU5の制御プログラムを格納し
たROM7と、MPU5のワークエリアおよびデータを
一時的に記憶するために用いられるRAM8と、原稿を
読み取って電気信号に変換する読取部3と、画像を記録
紙上に出力する記録部4と、送受信データの変復調を行
うモデム2と、回線を電話機またはモデムに接続するN
CU1と、現在時刻を検知するためのRTC6と、オペ
レータが各種キー入力を行う操作部9と、各種情報を表
示するLCD表示部10と、データやアドレスを伝送す
るバスライン11とを有する。This facsimile device has an MPU 5 that controls the entire device, a ROM 7 that stores a control program for the MPU 5, a RAM 8 that is used to temporarily store the work area and data of the MPU 5, and a RAM 8 that is used to read originals. A reading section 3 that converts into electrical signals, a recording section 4 that outputs images onto recording paper, a modem 2 that modulates and demodulates transmitted and received data, and an N that connects the line to a telephone or modem.
It has a CU 1, an RTC 6 for detecting the current time, an operation section 9 for an operator to input various keys, an LCD display section 10 for displaying various information, and a bus line 11 for transmitting data and addresses.
【0017】図2は、NCU1の構成を示す回路図であ
る。FIG. 2 is a circuit diagram showing the configuration of the NCU 1.
【0018】NCU1は、モデムラインを切り換えるC
MLリレーと、ダイヤルパルス発生用リレーと、各リレ
ーの駆動回路15と、回線とファクシミリとを直流的に
切り離すとともに、インピーダンス整合用の変成器Tと
を有する。[0018] NCU1 is a C
It has an ML relay, a dial pulse generation relay, a drive circuit 15 for each relay, and a transformer T for direct current separation between the line and facsimile and for impedance matching.
【0019】CMLリレーは、駆動コイル13と、各接
点13a、13a’、13b、13b’とを有する。ま
た、ダイヤルパルス発生用リレーは、駆動コイル14と
、接点14a、14a’と、この接点の開閉に生じるス
パークノイズおよび過渡電流を吸収するコンデンサCと
、抵抗Rとを有する。The CML relay has a drive coil 13 and contacts 13a, 13a', 13b, 13b'. The dial pulse generation relay also includes a drive coil 14, contacts 14a and 14a', a capacitor C that absorbs spark noise and transient current generated when the contacts open and close, and a resistor R.
【0020】また、このNCU1における端子a、bは
電話機(図示せず)に接続され、端子c、dは公衆回線
(図示せず)に接続される。また、端子e、f、gはモ
デム2に接続され、端子hはアドレスデコーダ(図示せ
ず)に接続され、端子i、jはデータバスに接続されて
いる。Further, terminals a and b in this NCU 1 are connected to a telephone set (not shown), and terminals c and d are connected to a public line (not shown). Furthermore, terminals e, f, and g are connected to the modem 2, terminal h is connected to an address decoder (not shown), and terminals i and j are connected to a data bus.
【0021】図3は、本実施例の動作を示すフローチャ
ートである。FIG. 3 is a flowchart showing the operation of this embodiment.
【0022】以上のようなファクシミリ通信装置におい
ては、利用者が通信を行なうための発呼操作を行うと、
MPU5は、回線選択のための動作を始める。[0022] In the facsimile communication device as described above, when the user performs a call operation for communication,
The MPU 5 starts an operation for line selection.
【0023】利用者の操作方法として、例えば数値キー
を押下して接続相手の電話番号を入力し、続けてスター
トキーを押すものとする。ここで、発呼する電話番号は
、図4に例示するように、市外局番に続く「0」以外の
番号に対して、慣例に倣ってABC……のコード名をふ
ることにする。[0023] As an operating method for the user, it is assumed that, for example, the user presses a numeric key to input the telephone number of the other party to be connected, and then presses the start key. Here, as illustrated in FIG. 4, the telephone number to be called is given a code name ABC... for numbers other than "0" following the area code, as is customary.
【0024】ここで最初の「0」は市外局番の識別番号
であり、通常はこれに続くコードA〜Dにより接続相手
のMAが識別される。従って、図3においてスタートボ
タンが押されると、MPU5は、入力された電話番号を
、図5(a)に示すように、LCD10に表示し、続け
てそれらの電話番号から相手局のMAの検索を行なう(
S1)。[0024] Here, the first "0" is an identification number of the area code, and normally the MA to be connected is identified by the codes A to D that follow this. Therefore, when the start button is pressed in FIG. 3, the MPU 5 displays the input telephone numbers on the LCD 10 as shown in FIG. Perform (
S1).
【0025】例えば、03−123−4567(東京)
から、0822−765−4321(広島)に電話をか
けた場合は、発呼番号のコードABC(822)より、
広島が検索される。For example, 03-123-4567 (Tokyo)
If you call 0822-765-4321 (Hiroshima), please use the calling number code ABC (822).
Hiroshima is searched.
【0026】そして、MAが判明すると、それに付され
た名称、例えば東京、横浜等が分かるので、各MAに対
して予め決められたMAの名称(前述の例では「ヒロシ
マ」)を、LCD10の相手電話番号の下段に図5(b
)に示すように表示する。[0026] Once the MA is known, the name assigned to it, such as Tokyo, Yokohama, etc., can be found, so the predetermined MA name (``Hiroshima'' in the above example) for each MA can be displayed on the LCD 10. Figure 5 (b) below the other party's phone number.
).
【0027】次に、検索を行なったMAの座標位置を確
定し、自局のMA座標から相手MAまでの距離を計算す
る(S2)。ここで、自局の座標は、機器の設置時に自
局の電話番号を登録した時点で予め検索してあるものと
する。Next, the coordinate position of the searched MA is determined, and the distance from the own MA coordinate to the other MA is calculated (S2). Here, it is assumed that the coordinates of the own station have been searched in advance at the time the telephone number of the own station is registered when the equipment is installed.
【0028】例えば、前述の例で、東京から広島に電話
をかける場合は、予め作成されたテーブルより、MA名
称広島に対する座標番号X=558、Y=448が検索
される。また、発呼局番号は03−123−4567(
東京)であるから、東京の座標番号X=629、Y=7
84が予め登録されている。従って、X座標の差の2乗
とY座標の差の2乗との和を求め、これを1/2乗して
2倍することにより、2点間の距離D=687Kmが算
出される。For example, in the above example, when making a call from Tokyo to Hiroshima, the coordinate numbers X=558 and Y=448 for the MA name Hiroshima are searched from a table created in advance. Also, the calling station number is 03-123-4567 (
Tokyo), so the coordinate number of Tokyo is X=629, Y=7
84 are registered in advance. Therefore, by finding the sum of the square of the difference in the X coordinate and the square of the difference in the Y coordinate, and multiplying this to the 1/2 power by 2, the distance D between the two points is calculated as 687 km.
【0029】このようにして対向局までの距離が計算さ
れると、既に表示してあるMA名称に続けて、LCD1
0に図5(c)に示すように距離の表示を行なう。When the distance to the opposite station is calculated in this way, the MA name that has already been displayed is displayed, followed by
0, the distance is displayed as shown in FIG. 5(c).
【0030】距離が分ると、NTT、NCC各社のその
発呼日時における単位料金を知ることができ、それが分
ると前述の計算式に基づいて、予測通話料金を算出する
ことができる。[0030] Once the distance is known, it is possible to know the unit charge of each NTT and NCC company at the date and time of the call, and once this is known, the predicted call charge can be calculated based on the above-mentioned calculation formula.
【0031】そのためのプログラムとしては数種考えら
れるが、上記単位時間は距離区分、割引サービス時間帯
等、各社異なる場合があり、その区分は流動的であるの
で、プログラムの変更等を考慮に入れると、各社毎に別
々に行なうのが良い。[0031] Several types of programs can be considered for this purpose, but the above unit time may differ depending on the company, such as distance classification, discount service time period, etc., and the classification is fluid, so changes in the program etc. should be taken into consideration. It is better to do this separately for each company.
【0032】従って本プログラムでは、S3でNTTの
単位料金検索と予測通話料金計算を行ない、以下同様の
検索と計算を他のNCC3社(NCC1〜NCC3)に
ついて、それぞれS4〜S6で行なう。Therefore, in this program, a unit charge search and predicted call charge calculation for NTT are performed in S3, and similar searches and calculations are performed for the other three NCC companies (NCC1 to NCC3) in S4 to S6, respectively.
【0033】図6は、S3の内容を示したフローチャー
トである。FIG. 6 is a flowchart showing the contents of S3.
【0034】各社の料金は、対向MAまでの距離毎に単
位料金で通話できる単位時間が定められており、割引に
なる場合は、その単位時間が長くなる。図9は、NTT
の料金区分の一例を示す図表である。この表の場合、料
金割引は日曜、祝日の昼間および日曜、祝日を含めた全
ての日の夜間、深夜の3種類があり、通常料金を加える
と4種類の単位時間に分けられる。以下、それらの単位
時間を、順にRT11〜RT14で表す。[0034] Each company's charges are determined by a unit time for which a call can be made at a unit charge for each distance to the opposite MA, and if a discount is given, the unit time becomes longer. Figure 9 shows the NTT
2 is a chart showing an example of charge classifications. In the case of this table, there are three types of rate discounts: daytime on Sundays and holidays, nighttime and late night on all days including Sundays and holidays, and when the regular rate is added, it is divided into four types of unit time. Hereinafter, those unit times will be expressed in order as RT11 to RT14.
【0035】図6において、まず、予め作成されたテー
ブルからS2で算出された距離に対応する単位料金を検
索し、バッファRT11〜RT14に格納する(S31
)。例えば、前述の例では、東京〜広島が687Kmで
あるので、320Km以上の区分であり、図9よりRT
11=4.5(秒)、RT12=7.5(秒)、RT1
3=7.5(秒)、RT14=8.5(秒)が得られる
。In FIG. 6, first, a unit charge corresponding to the distance calculated in S2 is searched from a table created in advance, and stored in buffers RT11 to RT14 (S31).
). For example, in the above example, the distance from Tokyo to Hiroshima is 687 km, so it is a division of 320 km or more, and from Figure 9, RT
11=4.5 (seconds), RT12=7.5 (seconds), RT1
3=7.5 (seconds) and RT14=8.5 (seconds) are obtained.
【0036】次に、内蔵のRTC7から得られるデータ
(発呼する日時および時刻)および通話予測時間より、
RT11〜RT14のいずれかを選び出し、通話度数を
算出する(S32)。例えば前述の発呼の例で、発呼日
時が、1991年1月1日の午後8時58分00秒とす
ると、同日の午後9時までは、1度数当り7.5秒が適
用され、9時以降は、8.5秒が適用される。従って通
話予測時間を3分とすると、同日9時までは、2(分)
×60(秒)÷7.5(秒)=16(度数)であり、同
日の9時以降は、
1(分)×60(秒)÷8.5(秒)=8(度数)が計
算され、同例における予測料金は、NTTの場合、1度
数当り10円であるから、
{16(度数)+8(度数)}×10(円)=240(
円)
が計算される。Next, from the data obtained from the built-in RTC 7 (date and time of calling) and the predicted call time,
One of RT11 to RT14 is selected and the call frequency is calculated (S32). For example, in the above call example, if the call date and time is 8:58:00 pm on January 1, 1991, 7.5 seconds per degree will be applied until 9:00 pm on the same day. After 9 o'clock, 8.5 seconds will apply. Therefore, if the predicted call time is 3 minutes, the time until 9:00 on the same day is 2 (minutes).
× 60 (seconds) ÷ 7.5 (seconds) = 16 (degrees), and after 9 o'clock on the same day, the calculation is 1 (minutes) × 60 (seconds) ÷ 8.5 (seconds) = 8 (degrees). The predicted charge in the same example is 10 yen per degree in the case of NTT, so {16 (frequency) + 8 (frequency)} x 10 (yen) = 240 (
yen) is calculated.
【0037】なお、割引時間帯の判定結果および予測料
金は、それぞれのバッファDT1、CH1に蓄えられる
。Note that the discount time zone determination results and predicted charges are stored in respective buffers DT1 and CH1.
【0038】バッファDT1に蓄えられるデータは、発
呼時刻から割引時間帯または非割引時間帯開始時刻迄の
時間である。例えば2バイトをDT1に使用したとする
と、120の2値表示は1111000であるからDT
1=0000 0000 0111 1000と
なる。The data stored in the buffer DT1 is the time from the call origination time to the start time of the discount time zone or non-discount time zone. For example, if 2 bytes are used for DT1, the binary representation of 120 is 1111000, so DT
1=0000 0000 0111 1000.
【0039】以上はNTTの場合であるが、同様の計算
を他のNCC3社についても、S4〜S6で行ない、そ
れらの結果は、RT21〜RT44、DT2〜DT4、
CH2〜CH4に蓄えられる。但し、NCC各社の場合
は、端末からNCC各社のPIO(接続点)までは、N
TTの回線を使うことが多く、その足まわり回線使用料
である前述したアクセスチャージを加算しなければなら
ないが、そのアクセスチャージの計算は対向局がPIO
を設置してある集中局となる以外は、S31〜S32で
述べた方法とまったく同じである。[0039] The above is for NTT, but similar calculations were performed for the other three NCC companies at S4 to S6, and the results were RT21 to RT44, DT2 to DT4,
Stored in CH2 to CH4. However, in the case of NCC companies, the distance from the terminal to the PIO (connection point) of each NCC company is N.
TT lines are often used, and the above-mentioned access charge, which is the fee for using the undercarriage line, must be added, but the access charge is calculated when the opposite station is PIO.
The method is exactly the same as the method described in S31 to S32, except that the central station is a central station with a .
【0040】S3〜S6で、NTTおよびNCC各社の
予測料金CH1〜CH4が得られると、S7でCH1〜
CH4のうち最も低額のものを選び出す。[0040] When the predicted charges CH1 to CH4 of NTT and NCC companies are obtained in S3 to S6, in S7 the predicted charges CH1 to CH4 are obtained.
Select the lowest price among CH4.
【0041】図7は、その選択のためのフローチャート
である。FIG. 7 is a flowchart for this selection.
【0042】CH1については、まず、S70でCH2
との大小を判定し、CH2より小または等しい時は、S
71でCH3と同様の判定を行ない、CH3より小さい
または等しい時は、S72で、CH4との同様の判定を
行ない、CH4より小さいまたは等しい場合は、S76
で、NTT選択の判定フラグをオンする。Regarding CH1, first, in S70, CH2
If it is smaller than or equal to CH2, then S
In step 71, the same determination as CH3 is made, and if it is smaller than or equal to CH3, in S72, the same determination as CH4 is made, and if it is smaller than or equal to CH4, S76
Then, turn on the determination flag for NTT selection.
【0043】また、S70で、CH2の方がCH1より
小さい場合は、S73で、CH2とCH3の判定を行な
い、CH2の方が小さいまたは等しい場合は、S74で
CH4と比べ、CH2の方が小さいまたは等しい場合は
、S77でNCC1選択の判定フラグをオンする。If CH2 is smaller than CH1 in S70, CH2 and CH3 are determined in S73, and if CH2 is smaller or equal, CH2 is smaller than CH4 in S74. Or if they are equal, the determination flag for NCC1 selection is turned on in S77.
【0044】NCC2の場合は、S71またはS73で
判定される。もしS71でCH3がCH1より小さけれ
ば、そこでは既にCH2より小さいことが分っているの
で、S75で、CH4と比べ、CHA4より小さいまた
は等しい場合は、S78でNCC2の判定フラブをオン
にする。また、S73で、CH3がCH2より小さけれ
ば、S75に移り、前述同様CH4よりも小さければ、
S78でNCC2選択の判定フラグをオンする。In the case of NCC2, determination is made in S71 or S73. If CH3 is smaller than CH1 in S71, it is already known that it is smaller than CH2, so if it is compared with CH4 in S75 and is smaller than or equal to CHA4, the determination flag of NCC2 is turned on in S78. Also, in S73, if CH3 is smaller than CH2, the process moves to S75, and if it is smaller than CH4 as described above,
In S78, the determination flag for NCC2 selection is turned on.
【0045】S72で、CH4がCH1よりも小さけれ
ば、その値は、CH2、CH3よりも小さいので、S7
9でNCC3の判定フラグをオンとする。S75で、C
H4がCH3よりも小さければ、すでにS73でCH3
はCH1、CH2よりも小さいことが分っているので、
S79でNCC3選択の判定フラグをオンする。[0045] If CH4 is smaller than CH1 in S72, its value is smaller than CH2 and CH3, so S7
At step 9, the determination flag of NCC3 is turned on. In S75, C
If H4 is smaller than CH3, CH3 has already been set in S73.
Since it is known that is smaller than CH1 and CH2,
In S79, the determination flag for NCC3 selection is turned on.
【0046】以上、S76〜S79で、NTT、NCC
1〜3のいずれかの判定フラグがオンになると、図3の
プログラムは次のS8へ移る。[0046] Above, in S76 to S79, NTT, NCC
When any of the determination flags 1 to 3 is turned on, the program in FIG. 3 moves to the next step S8.
【0047】S8では、S7で得られた判定結果をもと
に実際の発呼を行なう。例えば、NCC1の予測料金が
最も低額であると判定された場合は、前述の判定結果フ
ラグにより、NCC1へのアクセス番号0097を付加
して、0077 0822765 4321を発呼
する。また、端局の交換機がNON ID局の場合に
は、上記電話番号に加えて、4桁のパスワード(暗証番
号)を付加して送出し、それと同時に図5(d)に示す
ように、選択した回線に対する予測料金と単位時間、単
位料金を表示する。In S8, an actual call is made based on the determination result obtained in S7. For example, if it is determined that the predicted charge for NCC1 is the lowest, the access number 0097 to NCC1 is added and a call is made to 0077 0822765 4321 based on the aforementioned determination result flag. In addition, if the terminal exchange is a NON ID station, in addition to the above phone number, a 4-digit password (PIN number) is added and sent, and at the same time, as shown in Figure 5(d), the selected Displays the predicted charge, unit time, and unit charge for the line.
【0048】なおここで、NCC1の回線を使用する旨
を利用者に知らしめるために、図5(e)に示すように
、NCC1の名称ABCをLCD10に表示しても良い
。Here, in order to inform the user that the line of NCC1 will be used, the name ABC of NCC1 may be displayed on the LCD 10, as shown in FIG. 5(e).
【0049】次に、発呼後、通話相手と回線がつながる
と、実際の料金加算を開始する。まず、回線接続を監視
し、接続完了を確認すると、料金の計算と表示を始める
(S9)。Next, after the call is made and the line is connected to the other party, the actual charge addition starts. First, the line connection is monitored, and when the completion of the connection is confirmed, the calculation and display of charges begins (S9).
【0050】図8は、S9の詳細を示すフローチャート
である。まず、接続の判定を行なうと同時に、接続時点
の日付と時刻の記録も行なう(S91)。接続の判定は
、通常は電話回線の極性反転によって行うが、交換機に
よっては極性反転がないものがあり、その場合はリング
バックトーン(呼出音)の終了、あるいは一定時間の経
過等によって行えば良い。FIG. 8 is a flowchart showing details of S9. First, at the same time as determining the connection, the date and time at the time of the connection are also recorded (S91). Connection is normally determined by reversing the polarity of the telephone line, but some exchanges do not have polarity reversal, in which case it can be determined by the end of the ringback tone or the passage of a certain amount of time. .
【0051】この接続が完了するまでは、プログラムは
図示のようにループを成し、接続の完了を待つ。接続が
完了すると、レジスタ1(RG1)に利用するNCCま
たはNTTの単位料金をロードし、その内容を図5(f
)に示すようにLCD10に表示する(S92)。
次に、利用するNCCまたはNTTの利用時点における
単位時間RT11〜RT14のいずれかをレジスタ2(
RG2)にロードする(S93)。Until this connection is completed, the program loops as shown and waits for the connection to be completed. When the connection is completed, load the NCC or NTT unit charge to be used into register 1 (RG1), and save the contents as shown in Figure 5 (f).
) is displayed on the LCD 10 (S92). Next, set any of the unit times RT11 to RT14 at the time of use of the NCC or NTT to be used in the register 2 (
RG2) (S93).
【0052】そして、通信の終了を判定する(S94)
。通信の終了は、極性反転または回線電流の断等によっ
て判断する。通信が終了の場合は、S10に移り、未終
了の場合はS95に移る。[0052] Then, it is determined whether the communication has ended (S94).
. The end of communication is determined by polarity reversal, line current disconnection, etc. If the communication has ended, the process moves to S10, and if it has not ended, the process moves to S95.
【0053】S95では、一定時間(例えば0.5秒)
おきにRG2の内容をディクリメントする。S96で、
RG2の内容判定を行ない、0でなければ、再びS94
に戻る。もし、0ならば、S97で、RG1に単位料金
を加算し、加算した結果をLCD10に表示し直す。そ
の後、S97では、RG2に再び利用している回線の利
用時点における単位時間を再びロードし、S94に戻る
。[0053] In S95, a certain period of time (for example, 0.5 seconds)
The contents of RG2 are decremented every other time. In S96,
The content of RG2 is determined, and if it is not 0, the process returns to S94.
Return to If it is 0, the unit charge is added to RG1 in S97, and the added result is redisplayed on the LCD 10. Thereafter, in S97, the unit time at the time of use of the line being used again is loaded into RG2, and the process returns to S94.
【0054】通信中に料金割引時間帯の変更があった場
合には、新しい割引時刻または非割引時刻となると同時
に、新しい単位料金と現在カウント中のRG2との差を
S95で入れ直し、もしその値が負になる場合はS95
からS97に飛び、新しい単位時間をRG2にロードし
直せば良い。[0054] If the charge discount time period is changed during communication, at the same time as the new discount time or non-discount time, the difference between the new unit charge and RG2 currently being counted is re-entered in S95, and if that value If becomes negative, S95
All you have to do is jump to S97 and reload the new unit time into RG2.
【0055】ここで、単位時間の変更時刻の判定は、前
述のDT1〜DT4を用い、RG2のディクリメントと
同様に、DT1〜DT4のいずれかのディクリメントを
行ない、その内容が0となったときが単位時間の変更時
点である。あるいは、現時刻をRTC6で監視しておき
、変更時刻の判定を行っても良い。Here, the change time of the unit time is determined by using the above-mentioned DT1 to DT4, and decrementing one of DT1 to DT4 in the same way as the decrement of RG2, and when the content becomes 0. is the point at which the unit time changes. Alternatively, the current time may be monitored by the RTC 6 and the change time may be determined.
【0056】S10は、通信終了後の処理ルーチンであ
り、ここでは通信終了時刻の記録を行なった後、種々の
データをRAM8の所定エリアに格納する作業を行なう
。格納するデータは通信開始日と時刻(ST)および終
了時刻(SP)、回線使用料金(最終のRG1の値)、
相手電話番号、NTT、NCC1、NCC2等の利用電
話回線等である。S10 is a processing routine after the end of communication, and after recording the communication end time, various data are stored in a predetermined area of the RAM 8. Data to be stored includes communication start date and time (ST), end time (SP), line usage fee (final RG1 value),
These include the telephone number of the other party, the telephone line used such as NTT, NCC1, NCC2, etc.
【0057】これらのデータは、通話記録として、利用
者が必要に応じてダンプするためのものであり、いわゆ
るファクシミリの交信結果記録の中に、これらのデータ
を挿入してプリントアウトすることもできる。[0057] These data are for the user to dump as needed as call records, and can also be inserted and printed out in the so-called facsimile communication result record. .
【0058】以上、LCR装置の1次情報を利用する方
法について述べたが、上記実施例のように全てを利用す
るのではなく、例えば回線利用料金だけ表示、記録する
等、一部の情報だけを使うことは勿論可能である。The method of using the primary information of the LCR device has been described above, but instead of using all of it as in the above embodiment, it is possible to use only some of the information, such as displaying and recording only the line usage fee. It is of course possible to use .
【0059】また、上記実施例ではファクシミリ通信装
置の各ユニットや部品を使い、ソフトウエアの変更だけ
によってLCR装置を実現する方法を述べたが、一部の
または全部のユニットあるいは部品をLCR装置専用に
設けても良い。全ての部品をLCR装置専用にする場合
は、ファクシミリ通信装置との間で1次情報を伝達する
ための手段が必要になるが、例えばRS232C等のイ
ンタフェースを使ったり、バスラインを共通にしたり、
あるいは専用の信号線を設ける等の方法が可能である。
また、端末と端局との電話回線に挿入する形のLCR装
置では、特別のプロトコルコマンドにより、電話回線を
通してデータを受け渡す方法も可能である。[0059] In the above embodiment, a method was described in which an LCR device was realized by using each unit or part of a facsimile communication device and only by changing the software. It may be set in If all parts are dedicated to the LCR device, a means for transmitting primary information with the facsimile communication device is required, such as using an interface such as RS232C, using a common bus line, etc.
Alternatively, a method such as providing a dedicated signal line is possible. Furthermore, in the case of an LCR device that is inserted into a telephone line between a terminal and an end office, it is also possible to transfer data through the telephone line using special protocol commands.
【0060】[0060]
【発明の効果】本発明によれば、回線選択に利用する1
次情報を、回線選択以外に使用することにより、単に最
低料金回線を選択して選択信号を送出するだけの従来の
LCR装置に加えて、課金計、計時装置、通話内容表示
、記憶装置等の機能をもつ装置として活用することがで
きる効果がある。[Effects of the Invention] According to the present invention, the 1
By using the following information for purposes other than line selection, in addition to the conventional LCR device that simply selects the lowest rate line and sends out a selection signal, the following information can be used for billing meters, timing devices, call content display, storage devices, etc. It has the effect of being able to be used as a device with functions.
【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
【図2】上記実施例におけるNCUの構成を示す回路図
である。FIG. 2 is a circuit diagram showing the configuration of an NCU in the above embodiment.
【図3】上記実施例における動作を示すフローチャート
である。FIG. 3 is a flowchart showing the operation in the above embodiment.
【図4】上記実施例における電話番号のコード割り当て
を示す模式図である。FIG. 4 is a schematic diagram showing code assignment of telephone numbers in the above embodiment.
【図5】上記実施例における表示を示す平面図である。FIG. 5 is a plan view showing the display in the above embodiment.
【図6】上記実施例における単位料金検索と予測通話料
金計算の動作を示すフローチャートである。FIG. 6 is a flowchart showing operations of unit charge search and predicted call charge calculation in the above embodiment.
【図7】上記実施例における回線選択動作を示すフロー
チャートである。FIG. 7 is a flowchart showing a line selection operation in the above embodiment.
【図8】上記実施例における料金加算動作を示すフロー
チャートである。FIG. 8 is a flowchart showing a charge addition operation in the above embodiment.
【図9】上記実施例における料金表の一例を示す模式図
である。FIG. 9 is a schematic diagram showing an example of a fee table in the above embodiment.
1…NCU、 2…モデム、 3…読取部、 4…記録部、 5…MPU、 6…RTC、 7…ROM、 8…RAM、 9…操作部、 10…表示部、 11…バスライン。 1...NCU, 2...Modem, 3...reading section, 4...recording department, 5...MPU, 6...RTC, 7...ROM, 8...RAM, 9...Operation unit, 10...display section, 11...Bus line.
Claims (10)
R装置において、回線選択に利用する1次情報を、回線
選択以外の所定の目的に使用する処理手段を有すること
を特徴とするLCR装置。[Claim 1] LC added to or built into a line terminal
An LCR device characterized in that the R device includes processing means for using primary information used for line selection for a predetermined purpose other than line selection.
単位時間情報であることを特徴とするLCR装置。[Claim 2] In Claim 1, the primary information is:
An LCR device characterized in that the information is unit time information.
単位料金区域間の距離情報であることを特徴とするLC
R装置。[Claim 3] In Claim 1, the primary information is:
LC characterized by being distance information between unit charge areas
R device.
計時手段から得られる年、月、日、時、分、秒、曜日の
全てまたはその1部であることを特徴とするLCR装置
。[Claim 4] In Claim 1, the primary information is:
An LCR device characterized in that the year, month, day, hour, minute, second, and day of the week are all or a part thereof obtained from a timekeeping means.
単位料金情報であることを特徴とするLCR装置。[Claim 5] In Claim 1, the primary information is:
An LCR device characterized in that the information is unit charge information.
予測通信料金情報であることを特徴とするLCR装置。[Claim 6] In Claim 1, the primary information is:
An LCR device characterized in that it is predictive communication charge information.
被呼側が属する単位料金区域を表す情報であることを特
徴とするLCR装置。[Claim 7] In Claim 1, the primary information is:
An LCR device characterized in that the information represents a unit rate area to which a called party belongs.
憶する記憶手段を有することを特徴とするLCR装置。8. The LCR device according to claim 1, further comprising storage means for storing the primary information.
憶された1次情報を他の装置へ伝達する伝達手段を有す
ることを特徴とするLCR装置。9. The LCR device according to claim 8, further comprising a transmission means for transmitting the primary information stored in the storage means to another device.
て、上記LCR装置は、他の装置に組み込まれ、該LC
R装置の部品の一部または全部あるいはソフトウエアプ
ログラムの一部または全部を、組み込まれる装置の部品
またはソフトウエアプログラムを共有したことを特徴と
するLCR装置。10. In any one of claims 1 to 9, the LCR device is incorporated into another device, and the LCR device
An LCR device characterized in that some or all of the parts or the software program of the R device are shared by the devices in which it is incorporated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13585591A JP3149203B2 (en) | 1991-05-10 | 1991-05-10 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13585591A JP3149203B2 (en) | 1991-05-10 | 1991-05-10 | Communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04335741A true JPH04335741A (en) | 1992-11-24 |
JP3149203B2 JP3149203B2 (en) | 2001-03-26 |
Family
ID=15161353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13585591A Expired - Fee Related JP3149203B2 (en) | 1991-05-10 | 1991-05-10 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3149203B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3015963U (en) * | 1995-03-20 | 1995-09-19 | 船井テクノシステム株式会社 | LCR data download system |
US7573991B2 (en) | 1998-08-05 | 2009-08-11 | International Communication Sales Co., Ltd. | Communication control system and communication control method |
-
1991
- 1991-05-10 JP JP13585591A patent/JP3149203B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3015963U (en) * | 1995-03-20 | 1995-09-19 | 船井テクノシステム株式会社 | LCR data download system |
US7573991B2 (en) | 1998-08-05 | 2009-08-11 | International Communication Sales Co., Ltd. | Communication control system and communication control method |
Also Published As
Publication number | Publication date |
---|---|
JP3149203B2 (en) | 2001-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4122308A (en) | Telephone call metering device | |
JPH09200387A (en) | Method and device for subordinate charging for telephone call | |
JPH04335741A (en) | Communication device | |
CA2055176C (en) | Message service control system | |
JPH0453344B2 (en) | ||
JP4218198B2 (en) | Call charge management device | |
JP3764190B2 (en) | Charge sharing system for portable communication terminals | |
JPH0918609A (en) | Prepaid charge management system | |
JPS6150457A (en) | Information processing system | |
JPH10285304A (en) | Telephone system, telephone network center device, terminal device, and method for measuring call charges | |
JPH07319539A (en) | Voice response reporting device | |
KR100304533B1 (en) | How to Display Billing Information Notification Using Integrated Information Communication Network | |
JP2902806B2 (en) | Telephone system | |
JP2001127921A (en) | Private branch exchange | |
JP2000101752A (en) | Communication terminal device | |
JPH03120946A (en) | Key telephone system | |
JPH02135958A (en) | Caller information display system | |
JPH06291888A (en) | Cordless phone | |
JPH0242859A (en) | PC communication device | |
JP2001285530A (en) | Call-originating system for prepaid card type telephone | |
KR980007396A (en) | Optimal Line Determination Method | |
JPH07123168A (en) | Fax machine | |
JPH0965019A (en) | A circuit switch with a billing function for each communication content | |
JPH03117154A (en) | Key telephone system | |
JPS6028363A (en) | How to control the call charge meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |