JP4153655B2 - Data processing apparatus and digital key telephone - Google Patents

Data processing apparatus and digital key telephone Download PDF

Info

Publication number
JP4153655B2
JP4153655B2 JP2000340164A JP2000340164A JP4153655B2 JP 4153655 B2 JP4153655 B2 JP 4153655B2 JP 2000340164 A JP2000340164 A JP 2000340164A JP 2000340164 A JP2000340164 A JP 2000340164A JP 4153655 B2 JP4153655 B2 JP 4153655B2
Authority
JP
Japan
Prior art keywords
input
data
output port
state
command
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 - Fee Related
Application number
JP2000340164A
Other languages
Japanese (ja)
Other versions
JP2002152787A (en
Inventor
智明 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000340164A priority Critical patent/JP4153655B2/en
Publication of JP2002152787A publication Critical patent/JP2002152787A/en
Application granted granted Critical
Publication of JP4153655B2 publication Critical patent/JP4153655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Sub-Exchange Stations And Push- Button Telephones (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、コマンドまたはデータを受けて蓄積し、この蓄積したコマンドまたはデータを用いてデータ処理を行うと共に、リセットとなると蓄積したコマンドまたはデータが消失するように構成されたデータ処理ブロックを具備するデータ処理装置、ディジタルボタン電話機に関するものである。
【0002】
【従来の技術】
従来、ディジタルボタン電話機は、ボタン電話装置の主装置に接続されるものであり、図4に示されるように構成されている。ディジタルボタン電話機は、主装置との間で情報の送受を行うピンポン伝送IC1、多機能コーデック2、MPU(マイクロコンピュータ)3、入出力コントローラ4、ダイヤルキーやLED及びフックスイッチ等から構成される入出力部5を備える。
【0003】
ピンポン伝送IC1は、ディジタル信号によって音声信号及び制御信号を送受する。ピンポン伝送IC1のB1out端子は、主装置から送られてきたディジタル音声信号を出力する端子であり、B1in端子は、多機能コーデック2から到来するディジタル音声信号の入力端子である。
【0004】
また、ピンポン伝送IC1のBCLK端子は、上記の2つのディジタル音声信号の基本クロックの出力端子であり、基本クロックの1クロックと音声信号の1ビットが対応する。また、Fsynk端子は、フレームクロックの出力端子であり、基本クロックの所定個毎にフレームクロックの1クロックが現れ、音声データの区切りを示す。
【0005】
多機能コーデック(CODEC)2は、主装置から受信したディジタル信号の復号化及びアナログ化を行い、また、主装置へ送出するアナログ信号の符号化及びディジタル化を行うものである。符号化と復号化はコーダ/デコーダ21が行い、アナログ化はDAコンバータ23、25が行い、ディジタル化はADコンバータ24、26が行う。
【0006】
スピーチネットワーク22は、ディジタル信号の状態においてハンドセットやスピーカホンというような通話形態の相違に応じた信号レベルへの変換を行う音声スイッチやエコーキャンセラまた信号経路を切り替えるマルチプレクサ等を含むものである。DAコンバータ23、25、ADコンバータ24、26はアナログアンプを介してハンドセット61、スピーカ62、マイクロホン63に接続されている。
【0007】
また、多機能コーデック2に備えられているMPUインタフェース27には、MPU3により与えられるコマンドやデータを蓄積しておくためのレジスタ27Rが備えられており、このレジスタ27Rに書き込まれた情報(コマンド、データ)を受けてMPUインタフェース27は通話回路のゲイン、音声信号の経路制御等を行う。
【0008】
MPU3は、入出力コントローラ4を介して入出力部5におけるフックスイッチの動きやキー操作に係る情報を受け取り、またLEDの点灯や消灯の制御を行う。また、MPU3は、ピンポン伝送IC1を介して主装置と制御信号の送受を行うと共に、MPUインタフェース27のレジスタ27Rに書き込むべきコマンドやデータ等を与えて多機能コーデック2の制御を行っている。
【0009】
上記のディジタルボタン電話機においては、多機能コーデック2が多機能で複雑な構成を有するようになっているために、例えば、ハンドセット61、スピーカ62、マイクロホン63等から静電気等の外乱要因によって多機能コーデック2がリセットし、レジスタ27Rの内容が消失する可能があった。レジスタ27Rの内容が消失すると、現状の維持ができず、また次の処理を行い得ないことから通話状態が維持できないなどの不具合が発生する。
【0010】
そこで、従来においては適当な時間間隔によりMPU3がレジスタ27Rへ同じ内容のコマンドやデータを繰り返し重ね書きしている。しかしながら、この動作はリセットが生じない限り無駄な動作であるばかりでなく、MPU3が行う入出力部5におけるフックスイッチの動きやキー操作に係る情報の受け取りやLEDの点灯や消灯の制御処理より高速に処理する必要があり、ディジタルボタン電話機を高機能化する必要に迫られ、コスト高を招来した。また、多機能コーデック側も同じデータを再三書き込むことになり、本来の信号処理能力の一部を書き込みの時間に奪われることとなり、多機能コーディックの能力が損なわれる。
【0011】
これに対する対策としては、例えば、図5に示すような構成を採用することができる。図4のディジタルボタン電話機と同一構成要素に同一符号を付して示した図5のディジタルボタン電話機は、多機能コーデック2AのMPUインタフェース27にIOポート28を接続し、MPU3の指示によりMPUインタフェース27がIOポート28に初期状態とは異なる信号を書き込み、このIOポート28の出力信号を定期的にMPU3が検出するように構成されている。
【0012】
上記図5に示した手法によると、MPU3は定期的に自己の入力ポートの値を検出するだけで良く、コマンド等の書き込みが不要であることから負荷を軽減することができる。
【0013】
【発明が解決しようとする課題】
しかしながら、上記の図5のディジタルボタン電話機の構成によると、多機能コーデック2AにIOポート28の1端子を設ける必要があり、多機能コーデックが標準化されていることから1端子の増加は不可能である。
【0014】
本発明は上記のような従来のディジタルボタン電話機の問題点を解決せんとしてなされたもので、その目的は、リセットにより蓄積したコマンドまたはデータが消失することに対応するために高速処理を行う必要がなく、また、標準化されたポート数の構成を変えることなく適切な処理を行うデータ処理装置及びディジタルボタン電話機を提供することである。
【0015】
【課題を解決するための手段】
本発明の請求項1に記載のデータ処理装置は、コマンドまたはデータを受けて蓄積し、この蓄積したコマンドまたはデータを用いてデータ処理を行うと共に、リセットとなると前記蓄積したコマンドまたはデータが消失するように構成されたデータ処理ブロックと、前記データ処理ブロックにコマンドまたはデータを与える共に、前記データ処理ブロックがリセットとなると再度コマンドまたはデータを与える制御ブロックとを具備するデータ処理装置において、前記データ処理ブロックに設けられ、出力状態と入力状態との切り替えが可能な入出力ポートと、この入出力ポートに対して信号レベルが適宜変化する信号を送出する信号送出手段と、リセットとなると前記入出力ポートを出力状態とし、前記制御ブロックからの制御に応じて前記入出力ポートの状態を変化させるポート制御手段とを有し、前記制御ブロックは、前記信号送出手段により前記入出力ポートへ送出される信号を監視して、監視結果に基づき再度コマンドまたはデータを与える処理を実行することを特徴とする。これによって、リセットとなると入出力ポートが出力状態となり、信号送出手段により入出力ポートへ送出される信号が検出できなくなるので、リセットとなったことを検出でき、再度コマンドまたはデータを与えることができる。
【0016】
本発明の請求項2に記載のデータ処理装置は、前記制御ブロックが、再度コマンドまたはデータを与える処理を実行する際には、前記入出力ポートの状態を入力状態に変化させることを特徴とする。これによって、再度コマンドまたはデータを与える処理を実行する際に、入出力ポートの状態が入力状態に変化さられて信号レベルが適宜変化する信号が入力するようになる。
【0017】
本発明の請求項3に記載のディジタルボタン電話機は、コマンドまたはデータを受けて蓄積し、この蓄積したコマンドまたはデータを用いて電話に関する処理を行うと共に、リセットとなると前記蓄積したコマンドまたはデータが消失するように構成されたコーデックと、前記コーデックにコマンドまたはデータを与える共に、前記コーデックがリセットとなると再度コマンドまたはデータを与えるマイクロコンピュータとを具備するディジタルボタン電話機において、前記コーデックに設けられ、出力状態と入力状態との切り替えが可能な入出力ポートと、主装置と前記コーデックとの間で伝送処理を行うと共に、前記入出力ポートに対して信号レベルが適宜変化する信号を送出する伝送処理ブロックと、リセットとなると前記入出力ポートを出力状態とし、前記マイクロコンピュータからの制御に応じて前記入出力ポートの状態を変化させるポート制御手段とを有し、前記マイクロコンピュータは、前記伝送処理ブロックにより前記入出力ポートへ送出される信号を監視して、監視結果に基づき再度コマンドまたはデータを与える処理を実行することを特徴とする。これによって、リセットとなると入出力ポートが出力状態となり、信号送出手段により入出力ポートへ送出される信号が検出できなくなり、リセットとなったことを検出でき、再度コマンドまたはデータを与えることができる。
【0018】
本発明の請求項4に記載のディジタルボタン電話機は、前記マイクロコンピュータが、再度コマンドまたはデータを与える処理を実行する際には、前記入出力ポートの状態を入力状態に変化させることを特徴とする。これによって、再度コマンドまたはデータを与える処理を実行する際に、入出力ポートの状態が入力状態に変化さられて信号レベルが適宜変化する信号が入力するようになる。
【0019】
【発明の実施の形態】
以下添付図面を参照して本発明に係るディジタルボタン電話機及びデータ処理装置を説明する。図4のディジタルボタン電話機と同一構成要素に同一符号を付して図1に示した本発明の実施例に係るディジタルボタン電話機は、主装置との間で情報の送受を行うピンポン伝送IC1、多機能コーデック2B、MPU(マイクロコンピュータ)3、入出力コントローラ4、ダイヤルキーやLED及びフックスイッチ等から構成される入出力部5を備える。
【0020】
ピンポン伝送IC1は、ディジタル信号によって音声信号及び制御信号を送受する。ピンポン伝送IC1のB1out端子は、主装置から送られてきたディジタル音声信号を出力する端子であり、B1in端子は、多機能コーデック2Bから到来するディジタル音声信号の入力端子である。
【0021】
また、ピンポン伝送IC1のBCLK端子は、上記の2つのディジタル音声信号の基本クロックの出力端子であり、基本クロックの1クロックと音声信号の1ビットが対応する。また、Fsynk端子は、フレームクロックの出力端子であり、基本クロックの所定個毎にフレームクロックの1クロックが現れ、音声データの区切りを示す。
【0022】
多機能コーデック(CODEC)2Bは、主装置から受信したディジタル信号の復号化及びアナログ化を行い、また、主装置へ送出するアナログ信号の符号化及びディジタル化を行うものである。符号化と復号化はコーダ/デコーダ21が行い、アナログ化はDAコンバータ23、25が行い、ディジタル化はADコンバータ24、26が行う。
【0023】
スピーチネットワーク22は、ディジタル信号の状態においてハンドセットやスピーカホンというような通話形態の相違に応じた信号レベルへの変換を行う音声スイッチやエコーキャンセラまた信号経路を切り替えるマルチプレクサ等を含むものである。DAコンバータ23、25、ADコンバータ24、26はアナログアンプを介してハンドセット61、スピーカ62、マイクロホン63に接続されている。
【0024】
また、多機能コーデック2Bに備えられているMPUインタフェース27には、MPU3により与えられるコマンドやデータを蓄積しておくためのレジスタ27Rが備えられており、このレジスタ27Rに書き込まれた情報(コマンド、データ)を受けてMPUインタフェース27は通話回路のゲイン、音声信号の経路制御等を行う。
【0025】
MPU3は、入出力コントローラ4を介して入出力部5におけるフックスイッチの動きやキー操作に係る情報を受け取り、またLEDの点灯や消灯の制御を行う。また、MPU3は、ピンポン伝送IC1を介して主装置と制御信号の送受を行うと共に、MPUインタフェース27にレジスタ27Rに書き込むべきコマンドやデータ等を与えて多機能コーデック2Bの制御を行っている。
【0026】
本実施例に係るディジタルボタン電話機は、多機能コーデック2Bのコーダ/デコーダ21がフレームクロックSYNCを受けるポートとして、出力状態と入力状態との切り替えが可能な図2に示すような入出力ポート10を設ける。
【0027】
入出力ポート10は、端子11によりピンポン伝送IC1側の信号線に設けられた抵抗Rに接続される。入出力ポート10の出力状態(出力ポートモード)を得るためには、論理回路13のイネーブル端子にHレべルが与えられる。これにより論理回路13のデータ端子の入カレベルに対応して論理回路13の出力端子に出力が現れる。論理回路13のデータ端子にHレベルを与えることにより、出力端子13−1にLレべルが出力され、PMOS−FET(以下、PMOS)14がオンとなり接続点P1に電圧VDDが現れてフレームクロックSYNCの受け入れを阻止して出力状態(出力ポートモード)を実現する。
【0028】
また、論理回路13のデータ端子及びイネーブル端子にHレベルが与えられる出力状態(出力ポートモード)では、上記論理回路13の出力端子13−2にLレベルが出力されてNMOS−FET(以下、NMOS)18がオフであり、論理回路13の出力端子13−1の信号レベルがLレベルでありPMOS17はオンとなり、P3点にも電圧VDDが現れて、端子11へ電圧VDDが出力される。
【0029】
入出力ポート10の入力状態(入カポートモード)を得るためには、論理回路13のイネーブルにLレベルを入力する。これにより論理回路13の出力端子13−1にHレベル13−2端子にLレベルが出力され、PM0S17、NM0S18がオフとなる。また、13−2端子にLレベルが出力されることによりPMOS4がプルアップ抵抗の機能を成すように動作し、接続点P1にフレームクロックSYNCを受け入れる入力状態(入カポートモード)を実現する。
【0030】
上記入力状態(入カポートモード)の時には、PM0S15とNM0S16は端子11にLレベルが到来すると端子12がLレベルに、また、端子11にHレベルが到来すると端子12がHレベルになるようにオンオフするバッファを構成しており、入力状態(入カポートモード)の時には、フレームクロックSYNCと同じ信号が端子12に現れる。
【0031】
上記の端子12からの出力はコーダ/デコーダ21へ与えられ、論理回路13の入力データと入力イネーブルとは、MPU3の制御を受けたMPUインタフェース27がコントロールを行う。
【0032】
MPU3は、端子11の信号を信号線31を介して取り込み、信号レベルが適宜変化するか否か(フレームクロックSYNCが到来しているか否か)を監視する。
【0033】
以上のように構成されたディジタルボタン電話機では、電源投入直後には、入出力ポート10が出力状態(出力ポートモード)であるが、MPU3の制御によりレジスタ27Rにコマンドやデータが書き込まれて入力状態(入力ポートモード)へ変えられて動作が行われる。
【0034】
この状態においてMPU3は、端子11の信号を信号線31を介して取り込み、信号レベルが適宜変化するか否か(フレームクロックSYNCが到来しているか否か)を監視している。ここで、多機能コーデック2Bがリセットしてレジスタ27Rの内容が消失すると、論理回路13へ入力されるデータとイネーブルの信号レベルに変化が生じ、論理回路13の出力端子13−2にLレベルが出力され、出力端子13−1の信号レベルがLレベルとなり、接続点P1に電圧VDDが現れてフレームクロックSYNCの受け入れを阻止する出力状態(出力ポートモード)が実現される。
【0035】
つまり、MPU3は、端子11の信号を信号線31を介して取り込み、信号レベルが適宜変化するか否かを監視しているが、一定の電圧VDDが入力するので、多機能コーデック2Bがリセットしたことを検出する。そこで、MPU3は、先にレジスタ27Rに書き込んだコマンドやデータ等を再度書き込む。これにより、多機能コーデック2Bはリセット状態から復旧する。
【0036】
図3には、本発明を適用した表示処理装置の構成図が示されている。この表示処理装置は、データ処理(ここでは、表示処理)を行うデータ処理ブロックを構成する表示処理部70と、表示処理部70を制御する制御ブロックを構成するMPU80とを具備する。
【0037】
表示処理部70は、コントローラ71と表示(LCD)パネル72とを有し、コントローラ71には、MPUインタフェース73、LCDコントローラ・ドライバ74、表示RAM75が備えられている。
【0038】
MPUインタフェース73は、チップセレクトCE、コマンド・データCDの制御信号を受けながら、8ビットのバスラインP0〜P7を介してコマンドまたはデータと表示位置の情報を受けてLCDコントローラ・ドライバ74へ送出する。LCDコントローラ・ドライバ74は、これを受けて表示データと表示位置の情報である場合には、表示RAM75の該当エリアへ格納し、表示パネル72へ表示を行う際に用いる。また、コマンドを受けた場合、LCDコントローラ・ドライバ74は、対応する制御を行う。
【0039】
上記の表示処理部70は、不要ノイズ等の影響によってリセットされると表示RAM75に記憶されたデータが破壊される等により表示が適切に行われなくなる。そこで、本実施の形態では、MPUインタフェース73のバスラインP0に対応するポートに、図2に示した入出力ポート10を採用する。
【0040】
バスラインP0には抵抗R2が設けられ、この抵抗R2よりも表示処理部70側のバスラインP0から信号線81がMPU80へ折り返されている。
【0041】
以上のような構成においてMPU80と表示処理部70とは次のように動作を行う。電源投入直後及びリセット直後においては、8ビットのバスの上位4ビット(P4〜P7)で制御を行っており、その4ビット制御の中で8ビット制御へ切り替えるコマンドをMPU80からコントローラ71へ送って8ビット制御への切り替えがなされる。
【0042】
図1に示した実施の形態の場合と同様に、電源投入直後には、MPUインタフェース73におけるバスラインP0に対応する入出力ポート10は、出力ポートの状態となる。そして、上位4ビット(P4〜P7)の制御を行ってMPU80の指示により、バスラインP0に対応する入出力ポート10は、入力ポートへ切り替えられる。
【0043】
MPU80は、最下位ビットのバスラインP0のレベルをモニタし、自装置から出力した信号レベルと一致するかを監視する。コントローラ71が外乱等によりリセットすると、バスラインP0に対応する入出力ポート10は、出力ポートへ切り替わる。最下位ビットのバスラインP0のレベルは、データの最下位ビットであるから適宜変化するので、このビットを監視することにより上記のようにバスラインP0に対応する入出力ポート10が出力ポートへ切り替わるリセットを適切に検出することができる。
【0044】
これを検出したMPU80は、再度上位4ビット(P4〜P7)の制御を行ってMPU80の指示により、バスラインP0に対応する入出力ポート10を、入力ポートへ切り替える。また、表示RAM75のデータの復旧を行う。
【0045】
【発明の効果】
以上説明したように請求項1に記載の本発明に係るデータ処理装置によれば、データ処理ブロックに出力状態と入力状態との切り替えが可能な入出力ポートを設け、リセットとなると前記入出力ポートを出力状態とし、制御ブロックからの制御に応じて前記入出力ポートの状態を変化させ、制御ブロックにおいて、入出力ポートへ送出される信号を監視して、監視結果に基づき再度コマンドまたはデータを与える処理を実行するので、リセットとなると入出力ポートが出力状態となり、信号送出手段により入出力ポートへ送出される信号が検出できなくなり、リセットとなったことを検出でき、再度コマンドまたはデータを与えることができ、リセットに備えた高速処理を行う必要がなく、また、標準化されたポート数を変えることなく適切な処理を行うことが可能である。
【0046】
また、請求項2に記載の本発明に係るデータ処理装置によれば、制御ブロックが、再度コマンドまたはデータを与える処理を実行する際には、入出力ポートの状態を入力状態に変化させるので、リセット前の状態へ適切に復旧できる。
【0047】
また、請求項3に記載の本発明に係るディジタルボタン電話機によれば、コマンドまたはデータを受けて蓄積し、この蓄積したコマンドまたはデータを用いて電話に関する処理を行うと共に、リセットとなると前記蓄積したコマンドまたはデータが消失するように構成されたコーデックと、前記コーデックにコマンドまたはデータを与える共に、前記コーデックがリセットとなると再度コマンドまたはデータを与えるマイクロコンピュータとを具備し、前記コーデックに設けられ、出力状態と入力状態との切り替えが可能な入出力ポートと、主装置と前記コーデックとの間で伝送処理を行うと共に、前記入出力ポートに対して信号レベルが適宜変化する信号を送出する伝送処理ブロックと、リセットとなると前記入出力ポートを出力状態とし、前記マイクロコンピュータからの制御に応じて前記入出力ポートの状態を変化させるポート制御手段とを有し、前記マイクロコンピュータは、前記伝送処理ブロックにより前記入出力ポートへ送出される信号を監視して、監視結果に基づき再度コマンドまたはデータを与える処理を実行するので、リセットとなると入出力ポートが出力状態となり、信号送出手段により入出力ポートへ送出される信号が検出できなくなり、リセットとなったことを検出でき、再度コマンドまたはデータを与えることができ、リセットに備えた高速処理を行う必要がなく、また、標準化されたポート数を変えることなく適切な処理を行うことが可能である。
【0048】
また、請求項4に記載の本発明に係るディジタルボタン電話機によれば、前記マイクロコンピュータが、再度コマンドまたはデータを与える処理を実行する際には、前記入出力ポートの状態を入力状態に変化させるので、リセットから適切に復旧することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るディジタルボタン電話機の構成図。
【図2】本発明の実施の形態に係るディジタルボタン電話機の要部詳細構成図。
【図3】本発明の実施の形態に係るデータ処理装置の構成図。
【図4】従来のディジタルボタン電話機の構成図。
【図5】従来例を改良したディジタルボタン電話機の構成図。
【符号の説明】
1 ピンポン伝送IC 2B 多機能コーデック
3 MPU(マイクロコンピュータ) 4 入出力コントローラ
5 入出力部 10 入出力ポート
27 MPUインタフェース 27R レジスタ
[0001]
BACKGROUND OF THE INVENTION
The present invention includes a data processing block configured to receive and accumulate commands or data, perform data processing using the accumulated commands or data, and to erase the accumulated commands or data when reset. The present invention relates to a data processing device and a digital button telephone.
[0002]
[Prior art]
Conventionally, a digital key telephone is connected to a main device of a key telephone device, and is configured as shown in FIG. The digital key telephone is composed of a ping-pong transmission IC 1, a multi-function codec 2, an MPU (microcomputer) 3, an input / output controller 4, a dial key, an LED, a hook switch, etc. An output unit 5 is provided.
[0003]
The ping-pong transmission IC 1 transmits and receives audio signals and control signals by digital signals. The B1out terminal of the ping-pong transmission IC 1 is a terminal for outputting a digital audio signal sent from the main device, and the B1in terminal is an input terminal for a digital audio signal coming from the multi-function codec 2.
[0004]
The BCLK terminal of the ping-pong transmission IC 1 is an output terminal for the basic clock of the two digital audio signals, and one clock of the basic clock corresponds to one bit of the audio signal. The Fsync terminal is an output terminal of the frame clock, and one frame clock appears for every predetermined number of basic clocks to indicate a break of audio data.
[0005]
The multi-function codec (CODEC) 2 decodes and converts the digital signal received from the main apparatus, and encodes and digitizes the analog signal sent to the main apparatus. Encoding and decoding are performed by the coder / decoder 21, analogization is performed by the DA converters 23 and 25, and digitization is performed by the AD converters 24 and 26.
[0006]
The speech network 22 includes a voice switch, an echo canceller, a multiplexer for switching a signal path, and the like that perform conversion to a signal level according to a difference in a call form such as a handset or a speakerphone in a digital signal state. The DA converters 23 and 25 and the AD converters 24 and 26 are connected to the handset 61, the speaker 62, and the microphone 63 via an analog amplifier.
[0007]
Further, the MPU interface 27 provided in the multi-function codec 2 is provided with a register 27R for storing commands and data given by the MPU 3, and information (command, In response to the data, the MPU interface 27 performs call circuit gain control, voice signal path control, and the like.
[0008]
The MPU 3 receives information related to the movement of the hook switch and the key operation in the input / output unit 5 via the input / output controller 4 and controls the turning on and off of the LEDs. The MPU 3 transmits and receives control signals to and from the main apparatus via the ping-pong transmission IC 1 and controls the multi-function codec 2 by giving commands and data to be written to the register 27R of the MPU interface 27.
[0009]
In the above digital button telephone, the multi-function codec 2 has a multi-function and complicated configuration. For example, the multi-function codec is caused by disturbance factors such as static electricity from the handset 61, the speaker 62, the microphone 63, and the like. 2 may be reset and the contents of the register 27R may be lost. If the contents of the register 27R are lost, the current state cannot be maintained, and the next processing cannot be performed, so that there is a problem that the call state cannot be maintained.
[0010]
Therefore, conventionally, the MPU 3 repeatedly overwrites the command and data having the same contents in the register 27R at an appropriate time interval. However, this operation is not only a wasteful operation as long as no reset occurs, but also faster than the control process of receiving information on hook switch movements and key operations in the input / output unit 5 performed by the MPU 3 and turning on / off the LEDs. Therefore, it was necessary to increase the functionality of digital key telephones, resulting in high costs. In addition, the multi-function codec side writes the same data again and again, and a part of the original signal processing capability is deprived of the write time, and the multi-function codec's capability is impaired.
[0011]
As a countermeasure against this, for example, a configuration as shown in FIG. 5 can be adopted. The digital button telephone of FIG. 5 shown with the same reference numerals as those of the digital button telephone of FIG. 4 has an IO port 28 connected to the MPU interface 27 of the multi-function codec 2A, and the MPU interface 27 is instructed by the MPU 3. Is configured to write a signal different from the initial state to the IO port 28, and the MPU 3 periodically detects the output signal of the IO port 28.
[0012]
According to the method shown in FIG. 5, the MPU 3 only needs to periodically detect the value of its own input port, and it is not necessary to write a command or the like, so the load can be reduced.
[0013]
[Problems to be solved by the invention]
However, according to the configuration of the digital button telephone shown in FIG. 5 described above, it is necessary to provide one terminal of the IO port 28 in the multi-function codec 2A. Since the multi-function codec is standardized, it is impossible to increase one terminal. is there.
[0014]
The present invention has been made as a solution to the problems of the conventional digital key telephones as described above, and its purpose is to perform high-speed processing in order to cope with the loss of commands or data accumulated by resetting. It is another object of the present invention to provide a data processing device and a digital key telephone that perform appropriate processing without changing the configuration of the standardized port number.
[0015]
[Means for Solving the Problems]
The data processing apparatus according to claim 1 of the present invention receives and accumulates commands or data, performs data processing using the accumulated commands or data, and loses the accumulated commands or data when reset. A data processing apparatus comprising: a data processing block configured as described above; and a control block that gives a command or data to the data processing block and that gives a command or data again when the data processing block is reset An input / output port provided in the block and capable of switching between an output state and an input state, signal sending means for sending a signal whose signal level changes as appropriate to the input / output port, and the input / output port when reset In the output state, depending on the control from the control block Port control means for changing the state of the input / output port, and the control block monitors a signal sent to the input / output port by the signal sending means and gives a command or data again based on the monitoring result A process is executed. As a result, the input / output port is in the output state when reset, and the signal sent to the input / output port by the signal sending means cannot be detected, so that the reset can be detected and the command or data can be given again. .
[0016]
The data processing device according to claim 2 of the present invention is characterized in that when the control block executes a process of giving a command or data again, the state of the input / output port is changed to an input state. . As a result, when a process for giving a command or data is executed again, a signal whose signal level changes appropriately as the state of the input / output port changes to the input state is input.
[0017]
The digital key telephone set according to claim 3 of the present invention receives and accumulates commands or data, performs processing related to the telephone using the accumulated commands or data, and the accumulated commands or data are lost when reset. In a digital button telephone comprising: a codec configured to provide a microcomputer or a command or data that gives a command or data to the codec, and that gives a command or data again when the codec is reset. An input / output port that can be switched between the input state, a transmission processing block that performs transmission processing between the main device and the codec, and that transmits a signal whose signal level appropriately changes to the input / output port; When reset, the input / output port And a port control means for changing the state of the input / output port in accordance with control from the microcomputer, the microcomputer sending a signal to the input / output port by the transmission processing block And a process of giving a command or data again based on the monitoring result. As a result, when reset, the input / output port is in the output state, the signal sent to the input / output port by the signal sending means cannot be detected, the reset can be detected, and the command or data can be given again.
[0018]
According to a fourth aspect of the present invention, when the microcomputer executes a process of giving a command or data again, the state of the input / output port is changed to an input state. . As a result, when a process for giving a command or data is executed again, a signal whose signal level changes appropriately as the state of the input / output port changes to the input state is input.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
A digital button telephone and a data processing apparatus according to the present invention will be described below with reference to the accompanying drawings. The digital button telephone according to the embodiment of the present invention shown in FIG. 1 with the same reference numerals assigned to the same components as those of the digital button telephone of FIG. 4 includes a ping-pong transmission IC 1 that transmits and receives information to and from the main unit, A function codec 2B, an MPU (microcomputer) 3, an input / output controller 4, an input / output unit 5 including dial keys, LEDs, hook switches, and the like are provided.
[0020]
The ping-pong transmission IC 1 transmits and receives audio signals and control signals by digital signals. The B1out terminal of the ping-pong transmission IC 1 is a terminal that outputs a digital audio signal sent from the main device, and the B1in terminal is an input terminal for a digital audio signal that arrives from the multi-function codec 2B.
[0021]
The BCLK terminal of the ping-pong transmission IC 1 is an output terminal for the basic clock of the two digital audio signals, and one clock of the basic clock corresponds to one bit of the audio signal. The Fsync terminal is an output terminal of the frame clock, and one frame clock appears for every predetermined number of basic clocks to indicate a break of audio data.
[0022]
The multi-function codec (CODEC) 2B decodes and converts a digital signal received from the main apparatus, and encodes and digitizes an analog signal sent to the main apparatus. Encoding and decoding are performed by the coder / decoder 21, analogization is performed by the DA converters 23 and 25, and digitization is performed by the AD converters 24 and 26.
[0023]
The speech network 22 includes a voice switch, an echo canceller, a multiplexer for switching a signal path, and the like that perform conversion to a signal level according to a difference in a call form such as a handset or a speakerphone in a digital signal state. The DA converters 23 and 25 and the AD converters 24 and 26 are connected to the handset 61, the speaker 62, and the microphone 63 via an analog amplifier.
[0024]
Further, the MPU interface 27 provided in the multi-function codec 2B is provided with a register 27R for storing commands and data given by the MPU 3, and information (command, In response to the data, the MPU interface 27 performs call circuit gain control, voice signal path control, and the like.
[0025]
The MPU 3 receives information related to the movement of the hook switch and the key operation in the input / output unit 5 via the input / output controller 4 and controls the turning on and off of the LEDs. In addition, the MPU 3 transmits and receives control signals to and from the main apparatus via the ping-pong transmission IC 1, and controls the multi-function codec 2B by giving commands and data to be written to the register 27R to the MPU interface 27.
[0026]
The digital button telephone according to the present embodiment has an input / output port 10 as shown in FIG. 2 capable of switching between an output state and an input state as a port for the coder / decoder 21 of the multi-function codec 2B to receive the frame clock SYNC. Provide.
[0027]
The input / output port 10 is connected by a terminal 11 to a resistor R provided on a signal line on the ping-pong transmission IC 1 side. In order to obtain the output state (output port mode) of the input / output port 10, an H level is given to the enable terminal of the logic circuit 13. As a result, an output appears at the output terminal of the logic circuit 13 corresponding to the input level of the data terminal of the logic circuit 13. By applying the H level to the data terminal of the logic circuit 13, the L level is output to the output terminal 13-1, the PMOS-FET (hereinafter referred to as PMOS) 14 is turned on, and the voltage VDD appears at the connection point P1 and the frame. The output state (output port mode) is realized by blocking the acceptance of the clock SYNC.
[0028]
In the output state (output port mode) in which the data terminal and enable terminal of the logic circuit 13 are given an H level, the L level is outputted to the output terminal 13-2 of the logic circuit 13 and the NMOS-FET (hereinafter referred to as NMOS). ) 18 is off, the signal level of the output terminal 13-1 of the logic circuit 13 is L level, the PMOS 17 is turned on, the voltage VDD appears at the point P3, and the voltage VDD is output to the terminal 11.
[0029]
In order to obtain the input state (input port mode) of the input / output port 10, L level is input to the enable of the logic circuit 13. As a result, the L level is outputted to the H level 13-2 terminal to the output terminal 13-1 of the logic circuit 13, and PM0S17 and NM0S18 are turned off. Further, when the L level is output to the terminal 13-2, the PMOS 4 operates so as to function as a pull-up resistor, thereby realizing an input state (input port mode) in which the frame clock SYNC is received at the connection point P1.
[0030]
In the above input state (input port mode), PM0S15 and NM0S16 are set so that terminal 12 becomes L level when L level arrives at terminal 11, and terminal 12 becomes H level when H level arrives at terminal 11. The on / off buffer is configured, and the same signal as the frame clock SYNC appears at the terminal 12 in the input state (input port mode).
[0031]
The output from the terminal 12 is supplied to the coder / decoder 21, and the MPU interface 27 under the control of the MPU 3 controls the input data and input enable of the logic circuit 13.
[0032]
The MPU 3 takes in the signal of the terminal 11 through the signal line 31 and monitors whether the signal level changes appropriately (whether the frame clock SYNC has arrived).
[0033]
In the digital button telephone configured as described above, the input / output port 10 is in the output state (output port mode) immediately after the power is turned on, but the command and data are written to the register 27R under the control of the MPU 3, and the input state is established. The operation is changed to (input port mode).
[0034]
In this state, the MPU 3 takes in the signal of the terminal 11 via the signal line 31 and monitors whether the signal level changes appropriately (whether the frame clock SYNC has arrived). Here, when the multi-function codec 2B is reset and the contents of the register 27R are lost, the data input to the logic circuit 13 and the enable signal level change, and the output terminal 13-2 of the logic circuit 13 has an L level. As a result, the signal level of the output terminal 13-1 becomes L level, the voltage VDD appears at the connection point P1, and the output state (output port mode) that prevents the reception of the frame clock SYNC is realized.
[0035]
That is, the MPU 3 takes in the signal of the terminal 11 through the signal line 31 and monitors whether or not the signal level changes appropriately. However, since the constant voltage VDD is input, the multi-function codec 2B is reset. Detect that. Therefore, the MPU 3 rewrites the command, data, etc. previously written in the register 27R. Thereby, the multi-function codec 2B recovers from the reset state.
[0036]
FIG. 3 shows a configuration diagram of a display processing apparatus to which the present invention is applied. The display processing apparatus includes a display processing unit 70 that constitutes a data processing block that performs data processing (here, display processing), and an MPU 80 that constitutes a control block that controls the display processing unit 70.
[0037]
The display processing unit 70 includes a controller 71 and a display (LCD) panel 72, and the controller 71 includes an MPU interface 73, an LCD controller / driver 74, and a display RAM 75.
[0038]
The MPU interface 73 receives the command or data and the information on the display position via the 8-bit bus lines P0 to P7 and sends them to the LCD controller / driver 74 while receiving the control signal of the chip select CE and command data CD. . In response to this, the LCD controller / driver 74 stores the display data and the display position information in the corresponding area of the display RAM 75 and uses them when displaying on the display panel 72. When receiving a command, the LCD controller / driver 74 performs corresponding control.
[0039]
When the display processing unit 70 is reset due to the influence of unnecessary noise or the like, the display is not appropriately performed due to destruction of data stored in the display RAM 75 or the like. Therefore, in this embodiment, the input / output port 10 shown in FIG. 2 is adopted as a port corresponding to the bus line P0 of the MPU interface 73.
[0040]
The bus line P0 is provided with a resistor R2, and the signal line 81 is folded back to the MPU 80 from the bus line P0 on the display processing unit 70 side than the resistor R2.
[0041]
In the above configuration, the MPU 80 and the display processing unit 70 operate as follows. Immediately after power-on and immediately after reset, control is performed with the upper 4 bits (P4 to P7) of the 8-bit bus, and a command for switching to 8-bit control is sent from the MPU 80 to the controller 71 in the 4-bit control. Switching to 8-bit control is performed.
[0042]
As in the case of the embodiment shown in FIG. 1, immediately after the power is turned on, the input / output port 10 corresponding to the bus line P0 in the MPU interface 73 is in an output port state. Then, by controlling the upper 4 bits (P4 to P7) and instructing the MPU 80, the input / output port 10 corresponding to the bus line P0 is switched to the input port.
[0043]
The MPU 80 monitors the level of the bus line P0 of the least significant bit and monitors whether it matches the signal level output from its own device. When the controller 71 is reset due to disturbance or the like, the input / output port 10 corresponding to the bus line P0 is switched to the output port. Since the level of the bus line P0 of the least significant bit is the least significant bit of the data, it changes accordingly. By monitoring this bit, the input / output port 10 corresponding to the bus line P0 is switched to the output port as described above. Reset can be detected appropriately.
[0044]
Upon detecting this, the MPU 80 controls the upper 4 bits (P4 to P7) again and switches the input / output port 10 corresponding to the bus line P0 to the input port according to the instruction of the MPU 80. In addition, the display RAM 75 is restored.
[0045]
【The invention's effect】
As described above, in the data processing apparatus according to the first aspect of the present invention, the data processing block is provided with the input / output port capable of switching between the output state and the input state. Is changed to an output state, the state of the input / output port is changed according to control from the control block, a signal sent to the input / output port is monitored in the control block, and a command or data is given again based on the monitoring result Since the process is executed, the input / output port is in the output state when reset, the signal sent to the input / output port cannot be detected by the signal transmission means, the reset can be detected, and the command or data is given again It is not necessary to perform high-speed processing in preparation for resetting, and it is appropriate without changing the standardized number of ports. Process it is possible to perform.
[0046]
Further, according to the data processing device of the present invention, the control block changes the state of the input / output port to the input state when executing the process of giving a command or data again. It is possible to properly restore the state before the reset.
[0047]
According to the digital button telephone of the present invention as set forth in claim 3, the command or data is received and stored, and the stored command or data is used to perform processing related to the telephone. A codec configured to lose a command or data; and a microcomputer that gives a command or data to the codec and gives a command or data again when the codec is reset. A transmission processing block for performing transmission processing between the input / output port capable of switching between a state and an input state, a main apparatus and the codec, and sending a signal whose signal level appropriately changes to the input / output port When reset, the I / O port is set to the output state. Port control means for changing the state of the input / output port in accordance with control from the microcomputer, the microcomputer monitors the signal sent to the input / output port by the transmission processing block, Since the process of giving the command or data again is executed based on the monitoring result, the input / output port is in the output state when reset, and the signal sent to the input / output port cannot be detected by the signal sending means, and the reset has occurred. It is possible to detect and give a command or data again, it is not necessary to perform high-speed processing in preparation for resetting, and appropriate processing can be performed without changing the standardized number of ports.
[0048]
According to the digital button telephone of the present invention as set forth in claim 4, when the microcomputer executes a process of giving a command or data again, the state of the input / output port is changed to an input state. So it can recover properly from reset.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a digital button telephone according to an embodiment of the present invention.
FIG. 2 is a detailed configuration diagram of a main part of the digital button telephone according to the embodiment of the present invention.
FIG. 3 is a configuration diagram of a data processing apparatus according to an embodiment of the present invention.
FIG. 4 is a configuration diagram of a conventional digital button telephone.
FIG. 5 is a block diagram of a digital key telephone improved from the conventional example.
[Explanation of symbols]
1 Ping-pong transmission IC 2B Multi-function codec 3 MPU (microcomputer) 4 Input / output controller 5 Input / output unit 10 Input / output port 27 MPU interface 27R Register

Claims (4)

コマンドまたはデータを受けて蓄積し、この蓄積したコマンドまたはデータを用いてデータ処理を行うと共に、リセットとなると前記蓄積したコマンドまたはデータが消失するように構成されたデータ処理ブロックと、
前記データ処理ブロックにコマンドまたはデータを与える共に、前記データ処理ブロックがリセットとなると再度コマンドまたはデータを与える制御ブロックとを具備するデータ処理装置において、
前記データ処理ブロックに設けられ、出力状態と入力状態との切り替えが可能な入出力ポートと、
この入出力ポートに対して信号レベルが適宜変化する信号を送出する信号送出手段と、
リセットとなると前記入出力ポートを出力状態とし、前記制御ブロックからの制御に応じて前記入出力ポートの状態を変化させるポート制御手段とを有し、
前記制御ブロックは、前記信号送出手段により前記入出力ポートへ送出される信号を監視して、監視結果に基づき再度コマンドまたはデータを与える処理を実行することを特徴とするデータ処理装置。
A data processing block configured to receive and accumulate commands or data, perform data processing using the accumulated commands or data, and to erase the accumulated commands or data when reset,
In a data processing apparatus comprising a control block for giving a command or data to the data processing block and for giving a command or data again when the data processing block is reset,
An input / output port provided in the data processing block and capable of switching between an output state and an input state;
A signal sending means for sending a signal whose signal level appropriately changes to the input / output port;
Port control means for setting the input / output port to an output state when reset and changing the state of the input / output port in accordance with control from the control block;
The data processing apparatus, wherein the control block monitors a signal sent to the input / output port by the signal sending means and executes a process of giving a command or data again based on a monitoring result.
前記制御ブロックは、再度コマンドまたはデータを与える処理を実行する際には、前記入出力ポートの状態を入力状態に変化させることを特徴とする請求項1に記載のデータ処理装置。The data processing apparatus according to claim 1, wherein the control block changes the state of the input / output port to an input state when executing a process of giving a command or data again. コマンドまたはデータを受けて蓄積し、この蓄積したコマンドまたはデータを用いて電話に関する処理を行うと共に、リセットとなると前記蓄積したコマンドまたはデータが消失するように構成されたコーデックと、
前記コーデックにコマンドまたはデータを与える共に、前記コーデックがリセットとなると再度コマンドまたはデータを与えるマイクロコンピュータとを具備するディジタルボタン電話機において、
前記コーデックに設けられ、出力状態と入力状態との切り替えが可能な入出力ポートと、
主装置と前記コーデックとの間で伝送処理を行うと共に、前記入出力ポートに対して信号レベルが適宜変化する信号を送出する伝送処理ブロックと、
リセットとなると前記入出力ポートを出力状態とし、前記マイクロコンピュータからの制御に応じて前記入出力ポートの状態を変化させるポート制御手段とを有し、
前記マイクロコンピュータは、前記伝送処理ブロックにより前記入出力ポートへ送出される信号を監視して、監視結果に基づき再度コマンドまたはデータを与える処理を実行することを特徴とするディジタルボタン電話機。
A codec configured to receive and accumulate commands or data, perform processing related to the telephone using the accumulated commands or data, and to erase the accumulated commands or data when reset;
In a digital button telephone provided with a microcomputer that gives a command or data to the codec and gives a command or data again when the codec is reset,
An input / output port provided in the codec and capable of switching between an output state and an input state;
A transmission processing block that performs transmission processing between the main device and the codec, and sends a signal whose signal level appropriately changes to the input / output port;
Port control means for setting the input / output port to an output state when resetting, and changing the state of the input / output port according to control from the microcomputer,
The digital button telephone is characterized in that the microcomputer monitors a signal sent to the input / output port by the transmission processing block and executes a process of giving a command or data again based on a monitoring result.
前記マイクロコンピュータは、再度コマンドまたはデータを与える処理を実行する際には、前記入出力ポートの状態を入力状態に変化させることを特徴とする請求項3に記載のディジタルボタン電話機。4. The digital button telephone according to claim 3, wherein the microcomputer changes the state of the input / output port to an input state when executing a process of giving a command or data again.
JP2000340164A 2000-11-08 2000-11-08 Data processing apparatus and digital key telephone Expired - Fee Related JP4153655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000340164A JP4153655B2 (en) 2000-11-08 2000-11-08 Data processing apparatus and digital key telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000340164A JP4153655B2 (en) 2000-11-08 2000-11-08 Data processing apparatus and digital key telephone

Publications (2)

Publication Number Publication Date
JP2002152787A JP2002152787A (en) 2002-05-24
JP4153655B2 true JP4153655B2 (en) 2008-09-24

Family

ID=18815123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000340164A Expired - Fee Related JP4153655B2 (en) 2000-11-08 2000-11-08 Data processing apparatus and digital key telephone

Country Status (1)

Country Link
JP (1) JP4153655B2 (en)

Also Published As

Publication number Publication date
JP2002152787A (en) 2002-05-24

Similar Documents

Publication Publication Date Title
JP3950545B2 (en) Data bus system for motor vehicles
JP2005005875A (en) VoIP SWITCHING DEVICE
JPH0437351A (en) Selection signal transmission circuit for telephone set
JP4153655B2 (en) Data processing apparatus and digital key telephone
CN104967964B (en) Microphone fault treating apparatus, method and the terminal of terminal
US5912957A (en) Technique for reconnecting office line to key telephone system after power failure
JP2012019280A (en) Facsimile device and power supply control method for facsimile device
JP3254359B2 (en) TV intercom equipment
JPS62200852A (en) Key telephone set used at power failure
JP4345713B2 (en) Line terminal equipment
JP2551666B2 (en) Clock supply switching circuit
JP4023009B2 (en) Terminal network controller
JPH02272917A (en) Reception circuit switching system
JPH067658Y2 (en) Remote control device
JP2006128983A (en) Terminal network controller and adapter connected to the same
JP2878823B2 (en) Transmission equipment
JP2737916B2 (en) Digital signal connection device
JP3160927B2 (en) Loop test circuit
JPH0244438B2 (en)
JPH05236524A (en) Telephone line switching circuit and telephone line switching controller
JPH05336090A (en) Synchronous mode switching system
KR900008884A (en) Channel Matching Device and Method of Electronic Switching System
JPH0239659A (en) Telephone set
JPH0243608A (en) Method for pealing with disconnection of system clock
JP2002290423A (en) Communication processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080620

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080701

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080704

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees