JPH0441657Y2 - - Google Patents
Info
- Publication number
- JPH0441657Y2 JPH0441657Y2 JP1987038468U JP3846887U JPH0441657Y2 JP H0441657 Y2 JPH0441657 Y2 JP H0441657Y2 JP 1987038468 U JP1987038468 U JP 1987038468U JP 3846887 U JP3846887 U JP 3846887U JP H0441657 Y2 JPH0441657 Y2 JP H0441657Y2
- Authority
- JP
- Japan
- Prior art keywords
- task
- state
- display
- lock switch
- executed
- 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
Links
Landscapes
- Prepayment Telephone Systems (AREA)
Description
【考案の詳細な説明】
〔産業上の利用分野〕
本考案は、マイクロコンピユータを内蔵する公
衆電話機に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a public telephone with a built-in microcomputer.
デジタル複合公衆電話機などでは、通常の音声
通信の他に、フアクシミリ送信機等のデータ端末
機器を接続することにより所望のデータ通信がで
きる。また、課金方式においても、硬貨による以
外にいわゆるテレホンカード(度数カード)によ
ることもできるようになつている。そして、この
ような種々の機能に関する制御は、マイクロコン
ピユータによつてプログラム制御されている。
In addition to normal voice communication, digital composite public telephones and the like can perform desired data communication by connecting a data terminal device such as a facsimile transmitter. Also, regarding the billing method, in addition to coins, so-called telephone cards (frequency cards) can also be used. Control of these various functions is program-controlled by a microcomputer.
ところで、このようなマイクロコンピユータに
より制御される複合公衆電話機においても、一般
公衆電話機と同様に、製造時の最終段階において
各種機能の動作チエツクが必要であり、また、保
守の際も必要に応じて機能の動作チエツクを適宜
行う必要がある。ところが、従来は、このような
点検時において各種機能に応じた制御プログラム
(タスク)を実行させた場合に、タスク毎の遷移
状態を簡易に知ることができず、そのために、詳
細な点検を行うことができなかつた。
By the way, in complex public telephones controlled by such microcomputers, as with general public telephones, it is necessary to check the operation of various functions at the final stage of manufacturing, and also to check the operation of various functions as necessary during maintenance. It is necessary to check the operation of the functions as appropriate. However, conventionally, when control programs (tasks) corresponding to various functions are executed during such inspections, it is not possible to easily know the transition state of each task. I couldn't do it.
本考案の公衆電話機は上記問題点に鑑みてなさ
れたものであり、所定のスイツチの操作に基づき
タスクを実行する実行手段と、この実行手段によ
る実行中のタスクに対応したタスク番号およびタ
スクの実行により遷移した状態に対応した遷移状
態番号を順次交互にカード残度数表示器に表示す
る制御手段とを備えたものである。
The public telephone of the present invention has been developed in view of the above problems, and includes an execution means for executing a task based on the operation of a predetermined switch, and a task number corresponding to the task being executed by this execution means, and execution of the task. and control means for sequentially and alternately displaying transition state numbers corresponding to the states to which the card has transitioned on the card remaining power display.
所定のスイツチが操作されると、タスクが実行
された実行中のタスク番号および遷移状態番号が
順次交互にカード残度数表示器に表示される。
When a predetermined switch is operated, the current task number and transition state number of the task being executed are sequentially and alternately displayed on the card remaining power display.
以下、実施例と共に本考案を詳細に説明する。 Hereinafter, the present invention will be described in detail along with examples.
第1図は本考案の一実施例であるデジタル複合
公衆電話機のブロツク図である。マイクロコンピ
ユータ1には、PBダイヤル2、カード残度数表
示器3、硬貨ユニツト4、カードユニツト5、表
示切替用ロツクスイツチ6、ノンロツクスイツチ
7および基本通信ユニツト18が接続されてい
る。マイクロコンピユータ1は、幾つかの制御プ
ログラム(タスク)にしたがつて、これらの要素
を有機的に結びつけ、音声通信、フアクシミリ通
信度数カード制御といつた所望の機能を満足すべ
く動作する。 FIG. 1 is a block diagram of a digital composite public telephone that is an embodiment of the present invention. A PB dial 2, a card remaining balance display 3, a coin unit 4, a card unit 5, a display switching lock switch 6, a non-lock switch 7, and a basic communication unit 18 are connected to the microcomputer 1. The microcomputer 1 organically links these elements according to several control programs (tasks) and operates to satisfy desired functions such as voice communication, facsimile communication, and degree card control.
基本通信ユニツト18は、切替回路12を備え
ており、この切替回路12は、4線2線変換器9
およびI/O制御回路8を介して、デジタル公衆
回線L1,L2を通話回路14が接続されている
コーデツク(CODEC)13、またはフアクシミ
リ装置等のデータ端末装置が接続されるインター
フエース回路17に選択的に接続する。通話回路
14には送話器15および受話器16が接続され
ており、切替回路12が図に示す状態にある場合
には、送話器15および受話器16がデジタル公
衆回線L1,L2に接続されていることになる。
なお、符号11は呼出音声発生器であり、呼出回
路10を介して駆動される。 The basic communication unit 18 includes a switching circuit 12, which is connected to a 4-wire 2-wire converter 9.
Then, via the I/O control circuit 8, the digital public lines L1 and L2 are selected as the CODEC 13 to which the telephone circuit 14 is connected, or the interface circuit 17 to which a data terminal device such as a facsimile machine is connected. Connect to A transmitter 15 and a receiver 16 are connected to the telephone call circuit 14, and when the switching circuit 12 is in the state shown in the figure, the transmitter 15 and the receiver 16 are connected to the digital public lines L1 and L2. There will be.
Note that reference numeral 11 denotes a calling voice generator, which is driven via a calling circuit 10.
第2図は、マイクロコンピユータ1が行うタス
クの一つである通話タスクに関する状態遷移図の
一部を示すものである。通話タスクでは、空、発
呼といつた幾つかの遷移状態をとり、本実施例で
は各遷移状態と状態番号がつぎのように対応して
いる。 FIG. 2 shows part of a state transition diagram regarding a telephone call task, which is one of the tasks performed by the microcomputer 1. The call task has several transition states such as empty and call origination, and in this embodiment, each transition state corresponds to the state number as follows.
・空……1・発呼……2A
・発呼受付……2B・ダイヤル可待……2C
・ダイヤル中……2D・着応答確認待……3
・通信中……6
すなわち、たとえば空(1)の状態から、オフフツ
クされると、網に対して発呼がなされ、発呼状態
2Aとなり、この状態において網から受付の信号
を受け取ると発呼受付状態2Bとなる。以下図示
の通り遷移状態が次々と変化してゆく。 - Empty...1 - Calling...2A - Accepting call...2B - Waiting for dialing...2C - Dialing...2D - Waiting for confirmation of incoming response...3 - Communicating...6 In other words, for example, Empty ( When the device goes off-hook from state 1), a call is made to the network and the call state 2A is entered, and when an acceptance signal is received from the network in this state, the call acceptance state 2B is entered. As shown below, the transition states change one after another.
第3図は、第2図の状態遷移図に対応する制御
プログラムのフローチヤートである。このフロー
チヤートは、第2図の状態遷移図と良く対応して
いるので詳細な説明は省略するが、特筆すべき点
は、別途設けられている状態番号記憶手段の内容
が、状態遷移が実行される度に、対応する状態番
号に書き替えていることである。たとえば、処理
305,307,309等がそれである。このようにして
通話タスク用の状態番号記憶手段には、常に最新
の遷移状態の状態番号が書き込まれている。 FIG. 3 is a flowchart of a control program corresponding to the state transition diagram of FIG. This flowchart corresponds well to the state transition diagram in Figure 2, so a detailed explanation will be omitted, but the noteworthy point is that the contents of the separately provided state number storage means are Each time, the state number is rewritten to the corresponding state number. For example, processing
305, 307, 309, etc. In this manner, the state number of the latest transition state is always written in the state number storage means for the call task.
同様にして、その他のタスクについてもそれぞ
れ対応する状態番号記憶手段が備えられており、
タスク毎に最新の遷移状態の状態番号が書き替え
られている。 Similarly, corresponding status number storage means are provided for other tasks as well.
The state number of the latest transition state is rewritten for each task.
つぎに、表示切替処理について説明する。第4
図に示すように、表示切替用ロツクスイツチ6が
「オフ」している場合には、カード残度数表示器
3において残度数表示が為されている(ステツプ
402)。しかし、表示切替用ロツクスイツチ6が
「オン」されると(ステツプ401)、直ちに残度数
表示が中止となり状態表示処理が実行される(ス
テツプ403)。 Next, display switching processing will be explained. Fourth
As shown in the figure, when the display switching lock switch 6 is "off", the remaining card power is displayed on the card remaining power display 3 (step
402). However, when the display switching lock switch 6 is turned on (step 401), the remaining power display is immediately stopped and a status display process is executed (step 403).
状態表示処理は、第5図のフローチヤートにし
たがつて行われる。すなわち、タイマ処理によ
り、表示指示手段の出力が1秒毎に「0」と
「1」の状態をとつており(ステツプ501)、表示
切替指示手段が「1」のときには、前述した状態
番号記憶手段から内容を読み出してきて、その状
態番号をカード残度数表示器3に表示する(ステ
ツプ503)。一方、表示指示手段が「0」のときに
は、ノンロツクスイツチ7により指定されている
タスクの番号を表示する(ステツプ502)。したが
つて、タスク番号と状態番号とが、交互に表示さ
れることになる。例えば、第2図に示した通話タ
スクのタスク番号を1とし、通話タスクにおける
現在の状態が発呼受付状態2Bにあるとすると、
タスク番号を示す数字1と状態番号を示す数字
2Bとが1秒おきに「1→2B→1→2B→……」の
ように交互に表示される。 The status display process is performed according to the flowchart in FIG. That is, due to the timer processing, the output of the display instructing means changes between "0" and "1" every second (step 501), and when the display switching instructing means is "1", the above-mentioned state number memory is The contents are read out from the means and the status number is displayed on the card remaining power display 3 (step 503). On the other hand, when the display instruction means is "0", the task number specified by the non-lock switch 7 is displayed (step 502). Therefore, the task number and status number are displayed alternately. For example, if the task number of the call task shown in FIG. 2 is 1 and the current state of the call task is call acceptance state 2B, then
Number 1 indicating the task number and number indicating the state number
2B and 2B are displayed alternately like "1→2B→1→2B→..." every second.
このように、タスク番号と状態番号を交互に表
示するのは、表示手段として利用するカード残度
数表示器3の表示容量が小さいからであり、カー
ド残度数表示器3の表示容量が十分に大きければ
タスク番号と状態番号を並列に同時に表示しても
よい。 The reason why the task number and the status number are displayed alternately in this way is because the display capacity of the card remaining power display 3 used as a display means is small, and the display capacity of the card remaining power display 3 is sufficiently large. For example, the task number and state number may be displayed simultaneously in parallel.
第6図は、表示したいタスク番号および状態番
号を切り替えるためのフローチヤートである。表
示切替用ロツクスイツチ6が「オフ」されている
場合には、本フローチヤートでは何等処理が実行
されない(ステツプ601)。表示切替用ロツクスイ
ツチ6が「オン」されると、ノンロツクスイツチ
7が操作(「オン」)されたか否を判断する。ノン
ロツクスイツチ7が操作されていない場合には、
ノンロツクスイツチワークフラグを「0」にし
(ステツプ606)、再び判断601および602を実行す
る。 FIG. 6 is a flowchart for switching the task number and status number to be displayed. If the display switching lock switch 6 is turned off, no processing is executed in this flowchart (step 601). When the display switching lock switch 6 is turned on, it is determined whether the non-lock switch 7 has been operated (turned on). If non-lock switch 7 is not operated,
The non-lock switch work flag is set to "0" (step 606), and judgments 601 and 602 are executed again.
ノンロツクスイツチ7が操作されると、判断
602に移りノンロツクスイツチワークフラグが
「0」か否かを判断することになるが、最初は処
理606により該フラグは「0」となつているので
ステツプ604に移行して表示タスク番号を1つ繰
り上げる。たとえば、マイクロコンピユータ1で
実行されるタスクが4種類であるとすると、1〜
4までの番号が各タスクにそれぞれ対応付けされ
ており、処理604による繰り上げが実行される前
の表示タスク番号が2であれば、この処理によつ
て表示タスク番号が3となる。ただし、繰り上げ
前の表示タスク番号が最大値4である場合には、
処理604により最小値1に戻る。 When non-lock switch 7 is operated, judgment is made.
The process moves to step 602 and it is determined whether the non-lock switch work flag is "0" or not, but since the flag is initially set to "0" by process 606, the process moves to step 604 and the display task number is set to 1. Move up by one. For example, if there are four types of tasks executed by microcomputer 1, 1 to
Numbers up to 4 are associated with each task, and if the displayed task number is 2 before carrying out the increment in process 604, the displayed task number becomes 3 by this process. However, if the displayed task number before being advanced is the maximum value 4,
The process 604 returns to the minimum value 1.
このような繰り上げ処理が行われた後、ノンロ
ツクスイツチワークフラグを「1」にし(ステツ
プ605)、再び判断601〜603が実行される。もし、
ノンロツクスイツチ7が押圧され続けている場合
には、処理606が実行されず、ノンロツクスイツ
チワークフラグが「0」にリセツトされないの
で、判断603から処理604には移行せず、判断601
〜603が繰り返されることになる。ノンロツクス
イツチ7が解放されると、判断602から処理601に
移行し、以後、判断601および602が繰り返され
る。 After the above-mentioned advance processing is performed, the non-lock switch work flag is set to "1" (step 605), and judgments 601 to 603 are executed again. if,
If the non-lock switch 7 continues to be pressed, the process 606 is not executed and the non-lock switch work flag is not reset to "0", so the process does not proceed from judgment 603 to process 604 and judgment 601
~603 will be repeated. When the non-lock switch 7 is released, the process moves from judgment 602 to process 601, and thereafter judgments 601 and 602 are repeated.
このように、判断602,603並びに処理605,606
によつて、ノンロツクスイツチ7が一度操作され
ると押圧時間に無関係に表示タスク番号が1だけ
繰り上げられ、一旦解放した後、再度操作すれ
ば、さらに表示タスク番号が繰り上げられるとい
う動作が達成されている。 In this way, judgments 602, 603 and processing 605, 606
As a result, when the non-lock switch 7 is operated once, the displayed task number is incremented by 1 regardless of the pressing time, and when the non-lock switch 7 is released and operated again, the displayed task number is further incremented. ing.
なお、本実施例のノンロツクスイツチ7は、自
己診断スイツチと兼用されるものであり、表示切
替用ロツクスイツチ6が「オフ」のときにノンロ
ツクスイツチ7が操作された場合には、第6図に
示すような表示タスク番号をインクリメントする
機能はなくなり、代わりに自己診断動作を開始さ
せる機能をもつ。 The non-lock switch 7 of this embodiment is also used as a self-diagnosis switch, and if the non-lock switch 7 is operated while the display switching lock switch 6 is "off", the switch shown in FIG. There is no longer a function to increment the displayed task number as shown in , but instead there is a function to start a self-diagnosis operation.
なお、本実施例は、デジタル公衆回線を利用し
たデジタル複合公衆電話機であるが、アナログの
一般公衆回線を用いた公衆電話機にも適用するこ
とができる。 Although this embodiment is a digital composite public telephone that uses a digital public line, it can also be applied to a public telephone that uses an analog public line.
以上説明したように本考案の公衆電話機によれ
ば、所定のスイツチが操作されると、タスクが実
行され実行中のタスク番号および遷移状態番号が
順次交互にカード残度数表示器に表示される。そ
のため、製造工程最終段階における機能検査や保
守時の機能検査を詳細に行うことが可能となつ
た。
As described above, according to the public telephone of the present invention, when a predetermined switch is operated, a task is executed and the task number and transition state number being executed are sequentially and alternately displayed on the card remaining power display. Therefore, it has become possible to perform detailed functional tests at the final stage of the manufacturing process and during maintenance.
第1図は本考案の一実施例のデジタル複合公衆
電話機を示すブロツク図、第2図は第1図の公衆
電話機が為す通話タスクの状態遷移図、第3図は
通話タスクに対応するフローチヤート、第4図は
表示切替動作を示すフローチヤート、第5図は状
態表示動作を示すフローチヤート、第6図は表示
タスク番号切替動作を示すフローチヤートであ
る。
1……マイクロコンピユータ、3……カード残
度数表示器、5……カードユニツト、6……表示
切替用ロツクスイツチ、7……ノンロツクスイツ
チ。
Fig. 1 is a block diagram showing a digital composite public telephone according to an embodiment of the present invention, Fig. 2 is a state transition diagram of a call task carried out by the public telephone of Fig. 1, and Fig. 3 is a flowchart corresponding to the call task. , FIG. 4 is a flowchart showing the display switching operation, FIG. 5 is a flowchart showing the status displaying operation, and FIG. 6 is a flowchart showing the display task number switching operation. 1...Microcomputer, 3...Card remaining energy display, 5...Card unit, 6...Display switching lock switch, 7...Non-lock switch.
Claims (1)
と、マイクロコンピユータとを備え、このマイク
ロコンピユータにより複数のタスクが実行される
公衆電話機において、所定のスイツチの操作に基
づき前記タスクを実行する実行手段と、この実行
手段による実行中のタスクに対応したタスク番号
およびタスクの実行により遷移した状態に対応し
た遷移状態番号を順次交互に前記カード残度数表
示器に表示する制御手段とを備えたことを特徴と
する公衆電話機。 A public telephone comprising a card remaining power indicator that displays the remaining card power and a microcomputer, in which a plurality of tasks are executed by the microcomputer; A control means for sequentially and alternately displaying a task number corresponding to the task being executed by the execution means and a transition state number corresponding to a state transitioned to by the execution of the task on the card remaining power display. public telephone.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1987038468U JPH0441657Y2 (en) | 1987-03-18 | 1987-03-18 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1987038468U JPH0441657Y2 (en) | 1987-03-18 | 1987-03-18 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63147060U JPS63147060U (en) | 1988-09-28 |
| JPH0441657Y2 true JPH0441657Y2 (en) | 1992-09-30 |
Family
ID=30850745
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1987038468U Expired JPH0441657Y2 (en) | 1987-03-18 | 1987-03-18 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0441657Y2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61276467A (en) * | 1985-05-31 | 1986-12-06 | Anritsu Corp | Public telephone set |
-
1987
- 1987-03-18 JP JP1987038468U patent/JPH0441657Y2/ja not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63147060U (en) | 1988-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0136757B2 (en) | ||
| JPH0441657Y2 (en) | ||
| JPS6339178B2 (en) | ||
| KR20040026560A (en) | Method for embodying lock-function after assigned time and Mobile communication terminal implementing the same | |
| JPH0691571B2 (en) | Telephone | |
| JPS60245368A (en) | Facsimile equipment | |
| JPH0323747A (en) | Automatic dial registering system | |
| JP2772888B2 (en) | Telephone with data communication function | |
| JPH07321915A (en) | Switch test equipment | |
| JPS6345946A (en) | Communication equipment | |
| JP3456773B2 (en) | Communication terminal control method | |
| JPH02272948A (en) | Communication device | |
| JPS63164790A (en) | Key telephone set | |
| JPS6271361A (en) | Dial display system | |
| JP3169656B2 (en) | Phone with call destination confirmation function | |
| JPH03108850A (en) | Multi-function telephone set with display | |
| JPH01208946A (en) | Automatic dialing set for facsimile equipment | |
| JPH039693A (en) | terminal exchange equipment | |
| JPH05260206A (en) | Telephone set with data communication function | |
| JPH0695776B2 (en) | Telephone terminal control system | |
| JPH09102982A (en) | Wireless communication device | |
| JPH10247975A (en) | Exchange system | |
| JPH01235446A (en) | telephone | |
| JPH0317429B2 (en) | ||
| JPH02156796A (en) | Remote function setting type pushbutton telephone set |