JPH0330348B2 - - Google Patents

Info

Publication number
JPH0330348B2
JPH0330348B2 JP1682885A JP1682885A JPH0330348B2 JP H0330348 B2 JPH0330348 B2 JP H0330348B2 JP 1682885 A JP1682885 A JP 1682885A JP 1682885 A JP1682885 A JP 1682885A JP H0330348 B2 JPH0330348 B2 JP H0330348B2
Authority
JP
Japan
Prior art keywords
call
telephone
data
dial number
control device
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.)
Expired
Application number
JP1682885A
Other languages
Japanese (ja)
Other versions
JPS61176247A (en
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 filed Critical
Priority to JP1682885A priority Critical patent/JPS61176247A/en
Publication of JPS61176247A publication Critical patent/JPS61176247A/en
Publication of JPH0330348B2 publication Critical patent/JPH0330348B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は公衆電話機に係わり、特に、課金パル
スを内部記憶部に設けた通話料金メモリと割引情
報メモリとを用いて作成するようにした公衆電話
機に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a public telephone set, and in particular to a public telephone set in which billing pulses are created using a call charge memory and a discount information memory provided in an internal storage section. Regarding.

[発明の技術的背景とその問題点] 一般に公衆電話機においては、使用者が送受器
を取上げてフツクスイツチを動作させた後、単位
通話料金以上の金額のコインをコイン投入口へ投
入し、例えばプツシユボタン式のダイアル機構に
て、通話先の電話機のダイアル番号をキー入力す
る。このダイアル番号は電話回線を介して電話局
の交換機に入力される。そして、通話先の電話機
の送受器が取り上げられフツクスイツチが動作す
ると、通信回路が接続状態になり通話が開始され
る。通話が開始されると、電話局の交換機からこ
の公衆電話機へ、市外番号等の通話先のダイアル
番号の種別で定められた1通話度数で通話できる
時間を周期とする課金パルスが送出される。
[Technical background of the invention and its problems] In general, in public telephones, the user picks up the handset and operates the telephone switch, then inserts coins worth more than the unit call charge into the coin slot, and presses the pushbutton, for example. Using the dialing mechanism, key in the dial number of the telephone you are calling. This dialed number is entered into the central office exchange via the telephone line. Then, when the handset of the called party's telephone is picked up and the switch is operated, the communication circuit is connected and a call is started. When a call is started, a billing pulse is sent from the exchange at the central office to this public phone, with a period of time during which a call can be made at one call rate, which is determined by the type of dialed number of the destination, such as an area number. .

この課金パルスを受信した公衆電話機は、課金
パルスの周期に同期して金銭収納機構のコイン投
入口から投入されたコインを1枚づつコイン収納
部へ収納する。そして、通話が終了すると残つた
コインはコイン返却口から返却される。
The public telephone that receives this charging pulse stores the coins inserted from the coin slot of the money storage mechanism one by one into the coin storage section in synchronization with the period of the charging pulse. When the call ends, the remaining coins are returned from the coin return slot.

しかしながら、金銭収納機構のコイン投入口へ
投入されたコインを電話局の交換機から送出され
る課金パルスによつて通話料金に対応した金額だ
けコイン収納部へ収納するようにした公衆電話機
においては、課金パルスが外部から供給されない
限り通話料金を自動的に徴収することが不可能で
ある。したがつて、電話局の交換機が課金パルス
を送出する機能を有していないシステムを採用し
ている国又は地域においては、正確な通話料金を
徴収するためには、必ず電話局のオペレータを介
して通話をし、オペレータから料金を聞かなけれ
ばならない不便があつた。
However, in public telephones in which coins inserted into the coin slot of the money storage mechanism are stored in the coin storage section in accordance with the amount corresponding to the call charge by billing pulses sent from the telephone exchange, Unless pulses are supplied externally, it is not possible to automatically collect call charges. Therefore, in countries or regions where telephone exchanges do not have the function of sending billing pulses, in order to collect accurate call charges, it is necessary to go through the telephone exchange operator. I had the inconvenience of having to make a phone call and ask the operator for the charge.

[発明の目的] 本発明はこのような事情に基づいてなされたも
のであり、その目的とするところは、公衆電話機
内にダイアル番号の種別に対応する通話料金メモ
リと、通話時間帯に対応する割引情報メモリとを
設け、これ等各メモリの記憶内容を用いて課金パ
ルスを作成することによつて、たとえ、電話局の
交換機から課金パルスが供給されなかつたとして
も、通話料金を自動的に徴収できる公衆電話機を
提供することにある。
[Object of the Invention] The present invention has been made based on the above circumstances, and its purpose is to provide a memory for call charges corresponding to the type of dialed number and a memory for call charges corresponding to the call time period in a public telephone. By providing discount information memories and creating billing pulses using the stored contents of these memories, call charges can be automatically charged even if billing pulses are not supplied from the telephone exchange. The purpose is to provide public telephones that can collect tolls.

[発明の概要] 本発明の公衆電話機は、課金パルスの周期デー
タをダイアル番号種別毎に記憶する通話料金メモ
リと、現在時刻を表わす時刻情報を出力する時計
回路と、通話時間帯に対応した料金の割引率を記
憶させた割引情報メモリとを設け、ダイアル機構
に入力されたダイアル番号に対応する周期データ
を上記通話料金メモリから読み出し、読み出され
た周期データを現在時間に対応する上記割引情報
メモリから読み出した割引率にて修正したのち、
修正された周期データの周期を有する課金パルス
を金銭収納機構へ入力することによつて、通話料
金に対応する金銭を自動的に徴収するようにした
ものである。
[Summary of the Invention] The public telephone of the present invention includes a call charge memory that stores cycle data of charge pulses for each dial number type, a clock circuit that outputs time information representing the current time, and a call charge memory that stores charge pulse cycle data for each dial number type, a clock circuit that outputs time information representing the current time, and a call charge memory that stores charge pulse cycle data for each dial number type. A discount information memory storing a discount rate is provided, and periodic data corresponding to the dial number input to the dialing mechanism is read from the call charge memory, and the read periodic data is used to store the discount information corresponding to the current time. After correcting using the discount rate read from memory,
By inputting a billing pulse having the period of the corrected periodic data to the money storage mechanism, money corresponding to the call fee is automatically collected.

[発明の実施例] 以下本発明の一実施例を図面を用いて説明す
る。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例の公衆電話機の概略構成を示す
ブロツク図である。以下説明の都合上、コイン式
公衆電話機について説明するがカード式公衆電話
機においても同様である。図中1はダイアル機構
から入力されたダイアル番号を電話局の交換機へ
送出するとともに通話を制御するためのマイクロ
プロセツサ等からなる第1の制御装置としての
CPU(A)(中央処理装置)である。また図中2は
このCPU(A)1から送出されたダイアル番号の種
別に対応して課金パルスを発生させる第2の制御
装置としてのCPU(B)である。
FIG. 1 is a block diagram showing a schematic configuration of a public telephone according to an embodiment. For convenience of explanation, a coin-operated public telephone will be described below, but the same applies to a card-operated public telephone. In the figure, 1 is a first control device consisting of a microprocessor, etc., which sends the dialed number input from the dialing mechanism to the telephone exchange and controls the telephone call.
It is CPU(A) (central processing unit). Reference numeral 2 in the figure indicates a CPU (B) as a second control device that generates a billing pulse in accordance with the type of dial number sent from the CPU (A) 1.

CPU(A)1は入出力回路3を介して、プツシユ
ボタン式のダイアル機構4、ダイアル番号を表示
する表示装置5を制御する。この入出力回路3に
は図示しない送受器が取り上げられた時にフツク
スイツチ6が動作してスイツチ信号が入力され
る。さらにCPU(A)1は、電話局内の交換機8に
電話回線9を介して接続される通話回路7を制御
する入出力回路10,CPU(B)2との間の情報授
受を行なうための入出力回路11、制御プログラ
ム等の固定データを記憶する ROM12および可変データを一時記憶する RAM13を制御する。
The CPU (A) 1 controls, via the input/output circuit 3, a push-button type dial mechanism 4 and a display device 5 for displaying dial numbers. When a handset (not shown) is picked up, a switch signal is input to the input/output circuit 3 when a switch 6 is operated. Further, the CPU (A) 1 has an input/output circuit 10 that controls a telephone call circuit 7 connected to an exchange 8 in a telephone office via a telephone line 9, and an input/output circuit 10 for exchanging information with the CPU (B) 2. It controls the output circuit 11, the ROM 12 that stores fixed data such as control programs, and the RAM 13 that temporarily stores variable data.

前記CPU(B)2は、前期入出力回路11、制御
プログラムや通話料金メモリ等の固定データを記
憶するROM14、入出力回路11を介して入力
されたダイアル番号等の可変データを一時記憶す
るRAM15、月.日.曜日.時間.分などの現
在時間を表わす時刻情報を出力する時計回路1
6、金銭収納機構17へ課金パルスを送出するた
の出力回路18を制御する。
The CPU (B) 2 includes a first input/output circuit 11, a ROM 14 that stores fixed data such as control programs and call charge memory, and a RAM 15 that temporarily stores variable data such as dial numbers inputted via the input/output circuit 11. ,Month. Day. day of week. time. Clock circuit 1 that outputs time information representing the current time such as minutes
6. Controls the output circuit 18 for sending billing pulses to the money storage mechanism 17.

前記ROM14内には、第2図に示すように、
制御プログラムを記憶する制御プログラム領域
RO1の他に通話料金メモリRO2、割引情報メ
モリRO3が形成されている。
In the ROM 14, as shown in FIG.
Control program area that stores control programs
In addition to RO1, a call charge memory RO2 and a discount information memory RO3 are formed.

通話料金メモリRO2には課金パルスの周期デ
ータがダイアル番号種別毎に記憶されている。す
なわち、番号案内や緊急電話等の無料のダイアル
番号に対しては課金パルスの周期データは無限大
に設定され、市内局番であれば、1通話度数で通
話できる時間を3分(180秒)とすると、180秒の
課金パルスの周期データが格納されている。ま
た、各市外局番に対応して1通話度数で通話でき
る秒で示した各時間が課金パルスの周期データと
して格納されている。なお、国際通話の場合も上
記市外局番と同様に国際通話のダイアル番号に対
応して秒で示した各時間が課金パルスの周期デー
タとして格納されている。
The call charge memory RO2 stores billing pulse cycle data for each type of dial number. In other words, for toll-free dialing numbers such as directory assistance and emergency calls, the billing pulse cycle data is set to infinity, and for local numbers, the call time per call frequency is 3 minutes (180 seconds). In this case, 180 seconds of billing pulse cycle data is stored. Further, each time indicated in seconds during which a call can be made with one call rate is stored as cycle data of billing pulses corresponding to each area code. In the case of an international call, as well as the above-mentioned area code, each time indicated in seconds is stored as billing pulse periodic data corresponding to the dial number of the international call.

また、前記割引情報メモリRO3内には通話し
た時間帯に対応した料金の割引率が記憶されてい
る。すなわち、夏時間(サマータイム)を採用す
る期間(月日)を記憶する夏時間記憶領域RO
4、1年間の祝日を記憶する祝日記憶領域RO
5、日曜、祝日を除く平日における夜間割引時間
を記憶する平日割引時間記憶領域RO6、この時
間帯における料金の割引率を記憶する領域RO
7、日曜、祝日等の休日における夜間割引時間を
記憶する休日割引時間記憶領域RO8、この時間
帯における料金の割引率を記憶する領域RO9が
形成されている。
Further, the discount information memory RO3 stores a discount rate for charges corresponding to the time period of the call. In other words, the summer time storage area RO stores the period (month and day) in which summer time is adopted.
4.Holiday storage area RO that stores holidays for one year
5. Weekday discount time storage area RO6 that stores the nighttime discount time on weekdays excluding Sundays and holidays; Area RO that stores the discount rate of charges during this time period
7. A holiday discount time storage area RO8 for storing nighttime discount hours on holidays such as Sundays and public holidays, and an area RO9 for storing discount rates for charges during this time period are formed.

前記RAM15内には、CPU(A)1から入出力回
路11を介して入力されたダイアル番号を一時記
憶するダイアル番号領域RA1、この入力したダ
イアル番号の桁数をカウントするダイアルカウン
タRA2、金銭収納機構17へ送出する課金パル
スの周期データを記憶する課金情報領域RA3が
形成されている。
The RAM 15 includes a dial number area RA1 that temporarily stores the dial number input from the CPU (A) 1 via the input/output circuit 11, a dial counter RA2 that counts the number of digits of the input dial number, and a money storage area. A billing information area RA3 is formed to store periodic data of billing pulses sent to the mechanism 17.

しかして、この公衆電話機の電源が投入される
と、CPU(A)1は第3図の流れ図に従つてダイア
ル機構4から入力されたダイアル番号を電話局の
交換機8およびCPU(B)2への送出業務を実行す
るように構成されている。すなわち、第3図にお
いてメインルーチンが開始すると、P1にて第4
図の初期設定処理(A)を実行する。初期設定処理(A)
において、まず、各入出力回路3,10,11を
初期化し、RAM13の記憶内容をクリアする。
次に送受器が取り上げられて、フツクスイツチ6
が開放されて交換機までの通話回線が接続される
まで待つ。
When the power of this public telephone is turned on, the CPU (A) 1 transmits the dial number input from the dial mechanism 4 to the telephone exchange 8 and the CPU (B) 2 according to the flowchart shown in Fig. 3. The system is configured to perform the sending operations. That is, when the main routine starts in FIG. 3, the fourth routine starts at P1.
Execute the initial setting process (A) shown in the figure. Initial setting process (A)
First, each input/output circuit 3, 10, 11 is initialized, and the contents of the RAM 13 are cleared.
Next, the handset is picked up and switch 6 is pressed.
Wait until the telephone line is opened and the telephone line to the exchange is connected.

第3図において初期設定処理(A)が終了すると、
ダイアル機構4における一つ前のキー操作からの
経過時間が限界時間を経過していない事等の、次
のダイアル操作が有効であることを確認したの
ち、P2にて第5図の制御入出力処理(A)を実行す
る。制御入出力処理(A)において、フツクスイツチ
6の動作状態、通話回線の接続状態、自己の電話
機から掛けた通話(発信通話)状態であること等
を確認する。さらに、通話先の電話機の送受器が
取り上げられて被呼者応答があつた場合、応答フ
ラグをセツトする。また、送受器が置かれフツク
スイツチ6が復旧した状態や通話回線が遮断状態
の場合は、通話回線が通話先の電話機に接続され
る前に送受器を置いたと判断してそのまま終了す
る。また、着信通話の場合は、ダイアル番号を識
別して課金パルスを作成する必要ないので上記と
同様に終了する。
When the initial setting process (A) is completed in Fig. 3,
After confirming that the next dial operation is valid, such as that the elapsed time from the previous key operation in the dial mechanism 4 has not exceeded the limit time, the control input/output shown in Fig. 5 is performed at P2. Execute process (A). In the control input/output process (A), the operating state of the switch 6, the connection state of the telephone line, and the state of a telephone call (outgoing telephone call) made from one's own telephone are confirmed. Furthermore, when the receiver of the telephone set of the destination is picked up and the called party responds, a response flag is set. Further, when the handset is placed and the telephone switch 6 is restored or the telephone line is cut off, it is determined that the handset is placed before the telephone line is connected to the destination telephone and the process ends. In the case of an incoming call, there is no need to identify the dialed number and create a billing pulse, so the process ends in the same manner as above.

第3図において、制御入出力処理(A)が終了する
と、ダイアル機構4のキーが押下げられ、操作さ
れたキーに対応する1桁のダイアル番号を検出す
る。そして、キー入力されたダイアル番号を表示
装置5へ表示すると共に、入出力回路11を介し
てCPU(B)2へ送出する。また入出力回路10、
通話回路7、電話回線9を介して電話局の交換機
8へ送出し、キーが押下状態から開放されるのを
待つ。以上でダイアル機構4から入力された1桁
のダイアル番号のCPU(B)2、交換機8への送出
業務を終了する。
In FIG. 3, when the control input/output process (A) is completed, a key of the dial mechanism 4 is pressed down, and a one-digit dial number corresponding to the operated key is detected. Then, the key-input dial number is displayed on the display device 5 and sent to the CPU (B) 2 via the input/output circuit 11. In addition, the input/output circuit 10,
It is sent to the exchange 8 of the telephone office via the telephone call circuit 7 and the telephone line 9, and waits for the key to be released from the pressed state. This completes the process of sending the one-digit dial number input from the dial mechanism 4 to the CPU (B) 2 and the exchange 8.

また、CPU(B)2は、第6図の流れ図に従つて
CPU(A)1から入出力回路11を介して入力され
たダイアル番号に基づく課金パルスの作成業務を
実行するように構成されている。すなわち、第6
図においてメインルーチンが開始すると、P3に
て第7図の初期設定処理(B)を実行する。初期設定
処理(B)において、入出力回路11、出力回路18
を初期化した後、RAM15内のダイアル番号領
域RA1、ダイアルカウンタRA2、課金情報領
域RA3をクリアする。そして、第8図のダイア
ル番号入力割込み処理を許可する。
Also, CPU (B) 2 operates according to the flowchart in Figure 6.
It is configured to execute billing pulse creation work based on the dial number input from the CPU (A) 1 via the input/output circuit 11. That is, the sixth
In the figure, when the main routine starts, the initial setting process (B) in FIG. 7 is executed at P3. In the initial setting process (B), the input/output circuit 11 and the output circuit 18
After initializing, the dial number area RA1, dial counter RA2, and billing information area RA3 in the RAM 15 are cleared. Then, the dial number input interrupt process shown in FIG. 8 is permitted.

ダイアル番号割込み入力処理において、入出力
回路11から入力される1桁のダイアル番号を
RAM15のダイアル番号領域RA1へ格納する。
同時にダイアルカウンタRA2のダイアル桁数を
示すカウント値(D.CT)を1だけ増加する。そ
して、増加後のカウント値(桁数)がダイアル識
別能力の限界値を示す例えば24を越えていない場
合、ダイアル番号入力割込みを許可状態に維持し
たまま第6図のメインルーチンへ戻る。また、ダ
イアル番号領域RA1に格納されたダイアル番号
の桁数が24を越えると、ダイアル番号入力割込み
を禁止して新たな桁のダイアル番号の入力を阻止
する。
In the dial number interrupt input process, the one-digit dial number input from the input/output circuit 11 is
Store in dial number area RA1 of RAM15.
At the same time, the count value (D.CT) indicating the number of dial digits of the dial counter RA2 is increased by one. If the increased count value (number of digits) does not exceed, for example, 24, which indicates the limit value of the dial identification ability, the process returns to the main routine of FIG. 6 while maintaining the dial number input interrupt in the enabled state. Further, when the number of digits of the dial number stored in the dial number area RA1 exceeds 24, the dial number input interrupt is inhibited to prevent input of a new digit of the dial number.

第6図において初期設定処理(B)が終了すると、
P4にて第9図の割引率読出処理を実行する。割
引率読出処理において、まず、この公衆電話機の
設置者が予めこの公衆電話機において各種の料金
割引きを実行できるように設定していることを確
認する。次に、時計回路16から現在の月.日.
曜日.時間.分を読む。そして読出した現在時間
がROM14の夏時間記憶領域RO4に記憶され
ている夏時間(サマータイム)を採用する期間
(月日)に該当するか否かを調べる。そして該当
したならば、時計回路16から読出した現在時間
を夏時間へ変換する。すなわち、時刻を一定時間
進める。次に、今日がROM14の祝日記憶領域
RO5に記憶された祝日又は日曜等の休日である
か否かを調べる。休日でなければ、現在時間が平
日割引時間記憶領域RO6に記憶された夜間割引
時間に該当するか否かを調べ、該当すると領域
RO7の割引率を読出す。一方、今日が日曜.祝
日の休日であれば、現在時間が休日割引時間記憶
領域RO8に記憶された夜間割引時間に該当する
か否かを調べ、該当すると領域RO9の割引率を
読出す。なお、現在時間が平日又は休日のいずれ
の割引時間に該当しなければ、割り引きする必要
ないのでそのまま第6図のメインルーチンへ戻
る。
When the initial setting process (B) in FIG. 6 is completed,
At P4, the discount rate reading process shown in FIG. 9 is executed. In the discount rate reading process, first, it is confirmed that the installer of this public telephone has previously set the public telephone so that various rate discounts can be executed. Next, the current month is input from the clock circuit 16. Day.
day of week. time. Read the minutes. Then, it is checked whether the read current time corresponds to a period (month/day) stored in the daylight saving time storage area RO4 of the ROM 14 in which daylight saving time is adopted. If applicable, the current time read from the clock circuit 16 is converted to daylight saving time. In other words, the time is advanced by a certain amount of time. Next, today is the holiday storage area of ROM14.
Check whether it is a holiday stored in RO5 or a holiday such as Sunday. If it is not a holiday, it is checked whether the current time corresponds to the nighttime discount time stored in the weekday discount time storage area RO6, and if the current time corresponds to the nighttime discount time stored in the weekday discount time storage area RO6, the area is
Read the discount rate of RO7. Meanwhile, today is Sunday. If it is a holiday, it is checked whether the current time corresponds to the nighttime discount time stored in the holiday discount time storage area RO8, and if so, the discount rate in the area RO9 is read out. Incidentally, if the current time does not correspond to a discount time on weekdays or holidays, there is no need for discounting and the process returns to the main routine of FIG. 6.

第6図において、P4の割引率読出処理が終了
すると、P5にて第10図の制御入出力処理Bを
実行する。制御入出力処理Bにおいて、入出力回
路11およびCPU(A)1を介してフツクスイツチ
6の動作状態、着信通話および被呼者応答の確認
を行なう。フツクスイツチ6がオンまたは着信通
話が検出されれば、CPU(B)2は処理を終了する。
逆にフツクスイツチ6がオフおよび着信通話でな
ければ、被呼者応答の検出へ移り、被呼者応答が
あれば応答フラグをセツトする。そして、第6図
のメインルーチンへ戻る。
In FIG. 6, when the discount rate reading process at P4 is completed, the control input/output process B shown in FIG. 10 is executed at P5. In the control input/output processing B, the operating state of the switch 6, the incoming call, and the called party's response are confirmed via the input/output circuit 11 and the CPU (A) 1. If the switch 6 is turned on or an incoming call is detected, the CPU (B) 2 ends the process.
Conversely, if the switch 6 is off and there is no incoming call, the process moves on to detecting a response from the called party, and if there is a response from the called party, a response flag is set. Then, the process returns to the main routine shown in FIG.

第6図において、被呼者応答がない場合P6に
て第11図の課金情報算出処理を実行する。課金
情報算出処理において、割込入力処理によつて
RAM15のダイアル番号領域RA1に格納され
ているダイアル番号を読み出し、読み出したダイ
アル番号に含まれる市外番号等の番号の種別を
ROM14の通話料金メモリRO2の番号種別か
ら検索する。ダイアル番号が番号案内等の無料通
話を示すものである場合は通話料金を徴収する必
要ないので、課金情報領域RA3に無限大の周期
データを格納する。つぎに、ダイアル番号が市内
通話番号を示すものであれば、課金情報領域RA
3に例えば1通話3分を示す180秒を格納する。
また、ダイアル番号が市外通話または国際通話を
示すものであれば、その市外番号または国際通話
番号に対応する1通話度数の周期データを読み出
す。次に第9図の割引率読出処理にて割引率が読
出されているか否かを調べ、割引率が読出されて
いる場合、通話料金メモリRO2から読み出され
た上記周期データをこの割引率で除算した値を新
たな周期データとして課金情報領域RA3へ格納
する。一方、割引率読出処理にて割引率が読出さ
れていなければ、通話料金メモリRO2から読出
された上記周期データをそのまま課金情報領域
RA3へ格納する。
In FIG. 6, if there is no response from the called party, the billing information calculation process of FIG. 11 is executed at P6. In the billing information calculation process, by interrupt input processing
Read the dial number stored in the dial number area RA1 of RAM15, and check the type of number, such as an area number, included in the read dial number.
Search from the number type in the call charge memory RO2 of the ROM14. If the dialed number indicates a free call such as directory assistance, there is no need to collect call charges, so infinite cycle data is stored in the billing information area RA3. Next, if the dialed number indicates a local call number, the billing information area RA
For example, 180 seconds indicating 3 minutes per call is stored in 3.
Furthermore, if the dialed number indicates a long-distance call or an international call, periodic data of one call frequency corresponding to the long-distance number or international call number is read out. Next, it is checked in the discount rate reading process shown in FIG. The divided value is stored in the billing information area RA3 as new periodic data. On the other hand, if the discount rate is not read out in the discount rate reading process, the above-mentioned periodic data read out from the call charge memory RO2 is directly transferred to the billing information area.
Store in RA3.

なお、識別に必要なダイアル番号がダイアル番
号領域RA1に格納されていない場合もしくは格
納途中にある場合は、格納途中のダイアル番号ま
でダイアル識別を行ない、課金情報算出処理を抜
け再度P5の制御入出力処理Bへ戻り同様の処理
を続ける。
If the dial number required for identification is not stored in the dial number area RA1 or is in the middle of being stored, dial identification is performed up to the dial number that is being stored, and the billing information calculation process is exited and the control input/output of P5 is performed again. Return to process B and continue the same process.

第6図のメインルーチンにおいて、課金情報算
出処理が終了し、被呼者応答が検出されると、P
7にて第12図の制御入出力処理Cを実行する。
制御入出力処理Cにおいて、フツクスイツチ6の
状態を検出した後、課金情報領域RA3に格納さ
れたデータを周期とする課金パルスを出力回路1
8を介して金銭収納機構17へ送出する。金銭収
納機構17は入力した課金パルスの周期に同期し
てコイン投入口から投入されたコインを1枚づつ
収納部へ収納する。なお、通話が終了してフツク
スイツチ6が復旧すると課金パルスの送出は停止
される。
In the main routine of FIG. 6, when the billing information calculation process is completed and a called party response is detected, P
At step 7, control input/output processing C in FIG. 12 is executed.
In control input/output processing C, after detecting the state of the switch 6, the circuit 1 outputs a charging pulse having a period equal to the data stored in the charging information area RA3.
8 to the money storage mechanism 17. The money storage mechanism 17 stores the coins inserted from the coin slot one by one into the storage section in synchronization with the cycle of the input billing pulse. Incidentally, when the telephone call ends and the switch 6 is restored, the transmission of charging pulses is stopped.

第6図のメインルーチンにおいて、P7の制御
入出力処理Cによつて課金パルスが1つ出された
後、P8にてP4と同一の第9図に示した割引率
読出処理を実行する。そして、公衆電話機使用中
に割引率が変更すると、再度P7の制御入出力処
理Cを実行する。
In the main routine of FIG. 6, after one billing pulse is issued by the control input/output process C at P7, the discount rate reading process shown in FIG. 9, which is the same as P4, is executed at P8. If the discount rate changes while the public telephone is in use, the control input/output process C of P7 is executed again.

このように構成された公衆電話機において、使
用者が送受器を取り上げ、数枚のコインを金銭収
納機構17のコイン投入口へ投入した後、ダイア
ル機構4から通話先の電話機のダイアル番号をキ
ー入力すると、そのダイアル番号はCPU(A)1に
よつて、電話回線9を介して電話局の交換機8へ
送出されると共に、入出力回路11を介して
CPU(B)2へ送出される。CPU(B)2は、通話先の
電話機の送受器が取り上げられ通話が開始する
と、入力したダイアル番号に対応する1通話度数
の通話時間を示す周期データを通話料金メモリ
RO2から読み出す。そして読み出した周期デー
タを割引情報メモリ3から読み出した割引率で修
正して、修正された周期の課金パルスを金銭収納
機構17へ送出する。したがつて、通話料金に対
応するコインがコイン収納部へ収納されるので、
通話料金を自動徴収できる。
In the public telephone configured as described above, the user picks up the handset, inserts several coins into the coin slot of the money storage mechanism 17, and then inputs the dial number of the destination telephone from the dial mechanism 4 using the keypad. Then, the dialed number is sent by the CPU (A) 1 to the exchange 8 of the central office via the telephone line 9, and is also sent via the input/output circuit 11.
Sent to CPU(B)2. When the handset of the called party's telephone is picked up and a call is started, the CPU (B) 2 stores periodic data indicating the call time of one call frequency corresponding to the input dial number in the call charge memory.
Read from RO2. Then, the read cycle data is corrected with the discount rate read from the discount information memory 3, and a billing pulse of the corrected cycle is sent to the money storage mechanism 17. Therefore, the coins corresponding to the call charges are stored in the coin storage section.
Call charges can be automatically collected.

[発明の効果] 以上説明したように本発明によれば、公衆電話
機内にダイアル番号の種別毎に通話料金を課金パ
ルスの周期に換算して記憶した通話料金メモリ
と、通話時間帯に対応する割引率を記憶した割引
情報メモリとを設け、これ等各メモリの記憶内容
を用いて正規に割り引かれた通話料金に対応する
課金パルスを作成して金銭収納機構へ入力するよ
うにしている。したがつて、たとえ電話局の交換
機から課金パルスが供給されなかつたとしても、
オペレータを介さずに正確な通話料金を自動的に
徴収できる。
[Effects of the Invention] As explained above, according to the present invention, there is a call charge memory in a public telephone that stores call charges for each type of dialed number after being converted into billing pulse cycles, and a call charge memory corresponding to the call time period. A discount information memory storing a discount rate is provided, and a billing pulse corresponding to a regularly discounted call fee is created using the stored contents of each memory and is input to the money storage mechanism. Therefore, even if the central office exchange does not provide charging pulses,
Accurate call charges can be collected automatically without involving an operator.

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

図は本発明の一実施例の公衆電話機を示すもの
であり、第1図は概略構成を示すブロツク図、第
2図は記憶部の主なメモリを示す図、第3図乃至
第5図はCPU(A)の動作を示す流れ図、第6図乃
至第12図はCPU(B)の動作を示す流れ図である。 1……CPU(A)、2……CPU(B)、3,10,1
1……入出力回路、4……ダイアル機構、8……
交換機、12,14……ROM、13,15……
RAM、16……時計回路、17……金銭収納機
構、RO2……通話料金メモリ、RO3……割引
き情報メモリ、RA1……ダイアル番号領域、
RA3……課金情報領域。
The figures show a public telephone set according to an embodiment of the present invention, in which Fig. 1 is a block diagram showing a schematic configuration, Fig. 2 is a diagram showing the main memory of the storage section, and Figs. 3 to 5 are A flowchart showing the operation of the CPU (A), and FIGS. 6 to 12 are flowcharts showing the operation of the CPU (B). 1...CPU(A), 2...CPU(B), 3,10,1
1...Input/output circuit, 4...Dial mechanism, 8...
Exchange, 12, 14...ROM, 13, 15...
RAM, 16...Clock circuit, 17...Money storage mechanism, RO2...Call charge memory, RO3...Discount information memory, RA1...Dial number area,
RA3...Billing information area.

Claims (1)

【特許請求の範囲】 1 通話先の電話番号に相当するダイヤル番号を
入力するためのダイヤル機構4と、このダイヤル
機構から入力されたダイヤル番号を電話局の交換
機へ送出するとともに通話を制御する第1の制御
装置1と、この第1の制御装置から送出されたダ
イヤル番号の種別に対応した課金パルスを発生さ
せる第2の制御装置2と、課金パルスが入力され
る毎に1通話度数相当の通話料金を収納する金銭
収納機構17とを有した公衆電話機であつて、 ダイヤル番号の種別を示すダイヤル番号データ
とこのダイヤル番号データに対応して定められる
1通話度数で通話できる時間を規定する課金パル
スの周期を示す周期データとの関係を記憶する通
話料金メモリRO2と、現在時刻を示す時刻情報
を出力する時計回路16と、通話料金が割り引か
れる時間帯を示す時間帯データとこの時間帯デー
タに対応して定められる通話料金の割引き率のデ
ータとの関係を記憶する割引き情報メモリRO3
とを備え、 かつ、前記第2の制御装置は、前記第1の制御
装置から入力されたダイヤル番号に対応する周期
データを前記通話料金メモリから読出す周期デー
タ検索手段と、この周期データ検索手段にて読出
された周期データを前記時計回路の指定する現在
時刻に対応する前記割引き情報メモリから読出さ
れた割引き率にて修正する周期データ修正手段
と、この周期データ修正手段にて修正された周期
データの周期を有する課金パルスを出力回路を介
して前記金銭収納機構へ送出する課金パルス送出
手段とを有したことを特徴とする公衆電話機。
[Claims] 1. A dialing mechanism 4 for inputting a dialed number corresponding to the telephone number of the called party, and a dialing mechanism 4 for transmitting the dialed number inputted from this dialing mechanism to the telephone exchange at the telephone office and controlling the telephone call. 1 control device 1, a second control device 2 that generates a billing pulse corresponding to the type of dial number sent from the first control device, and a second control device 2 that generates a billing pulse corresponding to the type of dial number sent from the first control device; A public telephone having a money storage mechanism 17 for storing call charges, which includes dial number data indicating the type of dial number and billing time that defines the time during which a call can be made with one call frequency determined in accordance with this dial number data. A call charge memory RO2 that stores the relationship with cycle data indicating the pulse cycle, a clock circuit 16 that outputs time information indicating the current time, time zone data indicating the time zone in which the call charge is discounted, and this time zone data. Discount information memory RO3 that stores the relationship with data on the discount rate of call charges determined in accordance with
and the second control device includes a periodic data retrieval means for reading out periodic data corresponding to the dial number inputted from the first control device from the call charge memory; and the periodic data retrieval means. periodic data correction means for correcting the periodic data read out by the discount rate read out from the discount information memory corresponding to the current time specified by the clock circuit; and the periodicity corrected by the periodic data correction means. 1. A public telephone set comprising billing pulse sending means for sending a billing pulse having a data cycle to the money storage mechanism via an output circuit.
JP1682885A 1985-01-31 1985-01-31 Public telephone Granted JPS61176247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1682885A JPS61176247A (en) 1985-01-31 1985-01-31 Public telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1682885A JPS61176247A (en) 1985-01-31 1985-01-31 Public telephone

Publications (2)

Publication Number Publication Date
JPS61176247A JPS61176247A (en) 1986-08-07
JPH0330348B2 true JPH0330348B2 (en) 1991-04-30

Family

ID=11927046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1682885A Granted JPS61176247A (en) 1985-01-31 1985-01-31 Public telephone

Country Status (1)

Country Link
JP (1) JPS61176247A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5003584A (en) * 1990-04-16 1991-03-26 At&T Bell Laboratories Method and apparatus for the billing of value-added communication calls

Also Published As

Publication number Publication date
JPS61176247A (en) 1986-08-07

Similar Documents

Publication Publication Date Title
US4264956A (en) Call cost monitor
US4122308A (en) Telephone call metering device
JP2786186B2 (en) Electronic postage meter and method of operating electronic postage meter
JP2548185B2 (en) Postage meter recharge device
JP3632234B2 (en) Vending machine system
GB2134749A (en) Telephone call cost calculator
US4888822A (en) Apparatus and method for determining cost of telephone calls
KR0156175B1 (en) Apparatus and method of display call charge in telephone
EP0115924A1 (en) Telephone call cost indicator
JPH0330348B2 (en)
KR20010010552A (en) Method for providing charging information in potable phone
JPS59105753A (en) Call charge display device
JPH03280652A (en) Mobile terminal equipment for lease
JPH0360229A (en) Portable telephone set
JPH08191360A (en) Advance charging system for radio telephone terminal
JP3435763B2 (en) Toll collection terminal
JPH0691573B2 (en) Portable automatic dialing device
JP3768618B2 (en) Telephone fee collection method and ISDN terminal device
JPS59105752A (en) Call charge display device
JPH0436620B2 (en)
JPS5922430B2 (en) telephone charge display device
JP2730678B2 (en) Information processing device
KR950000973B1 (en) Metering method of public telephone
JPS62142455A (en) Telephone set with charging function
JPH1127428A (en) Id card pushbutton telephone set