JP4778454B2 - Connection line type setting method and telephone circuit - Google Patents

Connection line type setting method and telephone circuit Download PDF

Info

Publication number
JP4778454B2
JP4778454B2 JP2007017288A JP2007017288A JP4778454B2 JP 4778454 B2 JP4778454 B2 JP 4778454B2 JP 2007017288 A JP2007017288 A JP 2007017288A JP 2007017288 A JP2007017288 A JP 2007017288A JP 4778454 B2 JP4778454 B2 JP 4778454B2
Authority
JP
Japan
Prior art keywords
line
telephone
circuit
external
extension
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
JP2007017288A
Other languages
Japanese (ja)
Other versions
JP2008187309A (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.)
NEC Platforms Ltd
Original Assignee
NEC Infrontia 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 NEC Infrontia Corp filed Critical NEC Infrontia Corp
Priority to JP2007017288A priority Critical patent/JP4778454B2/en
Publication of JP2008187309A publication Critical patent/JP2008187309A/en
Application granted granted Critical
Publication of JP4778454B2 publication Critical patent/JP4778454B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Description

本発明は、電話局用交換機、構内交換機、ボタン電話装置などのような交換装置に接続されるアナログ電話機で、外線/内線の接続回線種別に的確に対応させて防側音制御し通話音質を向上させる電話機回路に関するものである。   The present invention is an analog telephone connected to a switching device such as a central office switching device, a private branch exchange, a button telephone device, etc., and prevents side-side sound control in accordance with the type of connection line of external line / internal line, thereby improving the quality of the call. The present invention relates to an improved telephone circuit.

通常、構内交換機、ボタン電話装置などのような宅内交換装置で、電話回線に接続される電話機は、その宅内交換装置の内線となる電話回線だけでなく、宅内交換装置の外線となる電話局用交換機の加入者回線にも直結して使用される場合がある。一方、電話機の送話器から受話器に回り込む側音を防止するためには、接続される電話回線とのインピーダンス平衡を得る必要がある。このため、送話器及び受話器を接続する通話回路には側音平衡回路網が備えられる。然しながら、交換装置と電話機とを接続する電話回線の長さは、内線では短い一方、外線では長いだけでなくその距離に変動があるので、電気的回路条件が相違することによる側音平衡回路の調整が必要となる。以後、外線は、内線に対応して外線と呼称するが、局線と呼ばれる電話局用交換機の加入者回線と同意である。   Normally, the telephone connected to the telephone line in a private branch exchange such as a private branch exchange or a button telephone apparatus is not only for the telephone line serving as the extension of the private branch exchange but for the telephone station serving as the external line of the private branch exchange. It may be used directly connected to the subscriber line of the exchange. On the other hand, in order to prevent a side sound that goes from the telephone handset to the handset, it is necessary to obtain an impedance balance with the connected telephone line. For this reason, the communication circuit connecting the transmitter and the receiver is provided with a side-tone balance network. However, the length of the telephone line connecting the switching device and the telephone is not only long for the internal line but long for the external line, and the distance varies. Adjustment is required. Hereinafter, the outside line is referred to as the outside line corresponding to the extension line, but it is the same as the subscriber line of the telephone station exchange called the office line.

従来の電話機回路として、例えば、特開昭63−94752号公報(特許文献1)が開示されている。この電話機回路では、内線用及び外線用の平衡回路網を備え、電話機が内線接続の際には内線用、また電話機が外線接続の際には外線用にそれぞれ切換え接続して側音防止のための平衡が保持される。   As a conventional telephone circuit, for example, Japanese Patent Laid-Open No. 63-94752 (Patent Document 1) is disclosed. This telephone circuit is equipped with a balanced network for internal and external lines, to prevent side noise by switching connection for the internal line when the telephone is connected to the internal line and for the external line when the telephone is connected to the external line. The equilibrium is maintained.

図3を参照してこれを説明すると、電話機110では、フックスイッチにより電話回線が接続された際に、側音平衡切換保持回路111が外線スイッチ112の状態を調べ、それが「オン」の場合には外線用側音平衡回路111−Aを通話回路14に接続する。外線スイッチ112の状態が「オフ」の場合には、内線用側音平衡回路111−Bが通話回路14に接続される。   This will be explained with reference to FIG. 3. In the telephone 110, when the telephone line is connected by the hook switch, the side tone balance switching holding circuit 111 checks the state of the external line switch 112, and when it is "ON" The external line side sound balance circuit 111 -A is connected to the call circuit 14. When the state of the outside line switch 112 is “off”, the extension side sound balance circuit 111 -B is connected to the call circuit 14.

しかし、特許文献1の電話機回路では、電話機設置工事の担当者が、電話機を外線に接続する際に外線スイッチを「オン」に設定する必要がある。この設定を忘れると側音不平衡となり防側音回路が機能せず、通話に支障をもたらすことは免れない。   However, in the telephone circuit of Patent Document 1, the person in charge of telephone installation work needs to set the external line switch to “ON” when connecting the telephone to the external line. If this setting is forgotten, the side sound will be unbalanced and the side-side sound circuit will not function, and it will be unavoidable that this will interfere with the call.

このような問題を解決するため自動的に調整する防側音回路方式が、例えば、特開平8−172475号公報(特許文献2)に開示されている。この電話機は、防側音回路としてブリッジ形の電話機回路を有し、その一素子に非線型抵抗素子又は可変容量素子を使用して、電話回線の接続端における電流又は電圧に対応して側音平衡を連続的に自動調整できる。   For example, JP-A-8-172475 (Patent Document 2) discloses an anti-side sound circuit system that automatically adjusts to solve such a problem. This telephone has a bridge-type telephone circuit as a side-to-side sound circuit, and a non-linear resistance element or variable capacitance element is used as one of the elements, and a side sound corresponding to the current or voltage at the connection end of the telephone line is used. The balance can be automatically adjusted continuously.

図4を参照してこれを説明すると、電話機120では、通話回路122が受話器15−A及び送話器15−Bを接続し、防側音回路として電流又は電圧に対応するブリッジ回路を有する。その通話回路122に電話回線がフックスイッチを介して接続された際に、電話回線接続端子における電流値又は電圧値の大きさに応じて側音平衡を保持している。その非線型抵抗素子にはダイオード、バリスタ等が適用される。   This will be described with reference to FIG. 4. In the telephone 120, the call circuit 122 connects the receiver 15-A and the transmitter 15-B, and has a bridge circuit corresponding to current or voltage as a protection-side sound circuit. When a telephone line is connected to the call circuit 122 via a hook switch, side sound balance is maintained according to the magnitude of the current value or voltage value at the telephone line connection terminal. A diode, a varistor, or the like is applied to the non-linear resistance element.

しかしながら、通話回路の側音平衡回路定数を自動的に最適化するこの方式でも、素子特性の経時変化の発生、適用範囲の大きさなどの問題から、広帯域での通話レベルの自動的適正化には、なお疑問が残っている。   However, even with this method of automatically optimizing the side-tone balance circuit constant of the call circuit, it is necessary to automatically optimize the call level over a wide band due to problems such as the occurrence of changes in device characteristics over time and the size of the application range. The question remains.

また、構内交換機、宅内交換装置などでは、電力消費の観点と、外線直結電話機の条件とを勘案して、擬似的に電話回線のインピーダンスを大きくして、内線の発信音レベル及び回線電流を抑制している場合がある。このような場合、例えば、外線設定で内線に接続した状態では、内線接続の回線電流が20mA以下であるため、遠距離局の外線に接続した場合と同様条件となる。この条件では、音声レベル増幅度が大きい。例えば、外線接続されていて回線電流が40mAで音声レベルを「−20dBm」とした場合、そのまま内線に接続すると音声レベルは「−26dBm」となる。従って、内線が外線設定のまま受話器に接続された場合、非常に大きな音声レベルで受話することになるので、接続先の電話回線種別を自動的に検出して、このような状態を回避する必要がある。   Also, in private branch exchanges, private branch exchanges, etc., taking into account the power consumption and the conditions of externally connected telephones, the impedance of the telephone line is artificially increased to suppress the dial tone level and line current. May have. In such a case, for example, in the state where the external line is connected to the internal line, the line current of the internal line connection is 20 mA or less, and therefore the conditions are the same as those when the external line of the long-distance station is connected. Under this condition, the audio level amplification is large. For example, if an external line is connected, the line current is 40 mA, and the audio level is “−20 dBm”, the audio level is “−26 dBm” when the line is connected to the extension as it is. Therefore, if the extension is connected to the handset with the outside line set, it will be heard at a very high voice level, so it is necessary to automatically detect the type of the connected telephone line and avoid such a situation. There is.

特開昭63−94752号公報Japanese Unexamined Patent Publication No. 63-94752 特開平8−172475号公報JP-A-8-172475 特開平6−14357号公報JP-A-6-14357

解決しようとする課題は、交換装置を介して接続される電話機における接続先電話回線の外線/内線種別を自動的に検出してその電話回線に対応する通話回路の側音平衡回路の最適化を単純な制御でできていないことである。   The problem to be solved is to automatically detect the outside line / internal line type of the connected telephone line in the telephone connected via the switching device, and to optimize the side tone balance circuit of the telephone circuit corresponding to the telephone line. This is not possible with simple control.

そこで、上記特許文献1において、電話機で内線接続か外線接続かを手動で検出しているが、これを自動的に検出し、それぞれに適した側音平衡回路を選択して通話回線に接続することが考えられる。   Therefore, in the above-mentioned Patent Document 1, whether the internal line connection or the external line connection is manually detected by the telephone, this is automatically detected, and a side tone balance circuit suitable for each is selected and connected to the telephone line. It is possible.

例えば、特開平6−14357号公報(特許文献3)では、宛先の電話番号を電話局用交換機に接続した際の電話番号とし、構内交換機から発信の際にダイヤルの先頭に付加する外線接続コードを、自動的に付加する技術が開示されている。すなわち、特許文献3の通信端末装置では、オフフックで交換機側から受ける発信音種別の相違により外線接続か内線接続かを識別している。然しながら、この特許文献3による技術は、側音平衡回路の最適化とは無関係である。   For example, in Japanese Patent Application Laid-Open No. 6-14357 (Patent Document 3), an external line connection code added to the head of a dial when making a call from a private branch exchange is used as a telephone number when a destination telephone number is connected to a telephone exchange. A technique for automatically adding the is disclosed. That is, in the communication terminal device of Patent Document 3, it is identified whether the connection is an outside line connection or an extension line connection based on the difference in the type of dial tone received from the exchange side off-hook. However, the technique according to Patent Document 3 is irrelevant to the optimization of the side tone balance circuit.

一方、世界的には各国での電話局用交換機から送出される発信音は多岐にわたるので、交換装置から内線に送出される発信音の周波数と断続パターンとではその国の電話局用交換機から送出される発信音と識別不能な場合がある。   On the other hand, since there are a wide variety of dial tones sent from telephone exchanges in each country, the frequency and intermittent pattern of dial tones sent from the switching equipment to the extension are sent from the telephone exchanges in that country. May be indistinguishable from the dial tone.

従って、より一層の最適化を単純な制御回路で自動的に実現するため、電話機で接続している電話回線が内線か外線かを自動的に検出し、それぞれに適した側音平衡回路を選択して通話回線に接続し、それぞれの接続状態範囲における通話レベルの最適化を図ることが望まれる。それには、発信音種別だけでなく、他の条件も加味して、選択の的確性をはかることが必要である。   Therefore, in order to realize further optimization automatically with a simple control circuit, it automatically detects whether the telephone line connected by the telephone is an internal line or an external line, and selects a side tone balance circuit suitable for each. Then, it is desired to connect to the telephone line and optimize the telephone conversation level in each connection state range. For this purpose, it is necessary to take into account not only the type of the dial tone but also other conditions to ensure the accuracy of selection.

一方、上述したように、電話局用交換機からの加入者回線である外線と、構内交換機の内線とでは、回線接続の際にその接続回線の種別により、発信音レベル、及び電話機の回線端子に流れる回線電流値が相違する。これらレベル及び電流値などは、外線と内線とで大幅に相違する場合は問題ないが、接続された電話回線の条件によってはその識別範囲が重複し、外線と内線との区別ができない場合がある。   On the other hand, as described above, the external line, which is a subscriber line from a central office switch, and the extension of a private branch exchange, when the line is connected, depending on the type of the connection line, the dial tone level and the telephone line terminal The flowing line current value is different. These levels and current values are not a problem when there is a large difference between the external line and the internal line, but depending on the conditions of the connected telephone line, the identification range may overlap and the external line and the internal line may not be distinguished. .

本発明による接続回線種別設定方法では、上記課題を解決するため、電話機に接続する電話回線に対応する通話回路における側音平衡回路の最適化を単純な制御回路で自動的に実現することを目的として、電話機が接続される電話回線の複数の条件を総合して、その電話回線種別が外線/内線のいずれかを決定することを主要な特徴とし、更に、その条件に基づいて信号レベルを調整している。   In order to solve the above problems, the connection line type setting method according to the present invention aims to automatically realize the optimization of the side tone balance circuit in the communication circuit corresponding to the telephone line connected to the telephone with a simple control circuit. The main feature is to determine whether the telephone line type is either an external line or an internal line by combining multiple conditions of the telephone line to which the telephone is connected, and further adjust the signal level based on that condition is doing.

そのため、接続回線種別を設定するに当たり、交換装置に接続されるアナログ電話機が電話回線に接続された際、該電話回線の複数条件、例えば、発信音種別、発信音レベル、及び電話機の回線端子に流れる電流値を検出し、検出したそれぞれの条件から前記交換装置の接続回線種別を外線か内線かに判定し、その多数決又は過半数の判定に基づいて外線/内線の種別を決定する。それにより、それに適合する側音平衡回路を通話回線に接続すると共に通話電流及び送受話路での音声レベルを適正値に調整している。そして、その調整の後、ユーザがアクセスする送話器および受話器は電話回線と接続される。   Therefore, in setting the connection line type, when an analog telephone connected to the switching device is connected to the telephone line, a plurality of conditions of the telephone line, such as the dial tone type, the dial tone level, and the telephone line terminal are set. The value of the flowing current is detected, and the connection line type of the switching device is determined to be an external line or an extension line from each detected condition, and the type of the external line / extension line is determined based on the majority or majority decision. As a result, a side-tone balance circuit suitable for it is connected to the call line, and the call current and the voice level on the transmission / reception path are adjusted to appropriate values. After the adjustment, the handset and handset accessed by the user are connected to the telephone line.

具体的には、前記側音平衡回路は外線用又は内線用に予め設定接続されており、電話回線に接続された際の前記信号レベル及び電流値それぞれの条件を外線及び内線それぞれに対して予め設定し、電話機から発信した際に上記三つの条件から多数決の判定に基づいて接続電話回線の外線/内線の種別を決定し、前記側音平衡回路を現状から切換えするか否かの処理を実施している。   Specifically, the side tone balance circuit is set and connected in advance for an external line or an internal line, and the conditions of the signal level and the current value when connected to a telephone line are set in advance for each of the external line and the internal line. Set and determine the type of external / internal line of the connected telephone line based on the majority decision from the above three conditions when making a call from the telephone, and process whether to switch the side tone balance circuit from the current state is doing.

このような構成により、発信音種別、発信音レベル、及び電話機の回線端子に流れる電流値など、これらを総合して、外線接続か内線接続かを判定し、側音平衡回路を外線用/内線用に自動的に切替えることができる。また、発信音レベル、及び電話機の回線端子に流れる電流値を用いて音声レベルを調整することができる。更に、その調整の後に送受話回路が電話回線に接続されるので、側音平衡回路及び音声レベル調整が外線/内線を入れ違うことが無く、従って、的確な側音平衡回路の接続により側音を抑えることができるのみならず、最高の通話品質を実現することができる。この設定は、電話機が、外線か内線に最初に接続される工事の際に実行されるので、その後には必要ない。更に、本発明による電話機回路では、発信の都度、外線接続か内線接続かを自動的に確認することができるのでその機能は安定している。万一、外線接続か内線接続かを自動的には確認できない場合、ユーザでの外線/内線の識別も配慮し、少なくとも発信音での識別が可能なように、交換装置の内線用発信音を識別可能なものに変更し、それに応じて電話機側の内線検出手段を変更することができる。   With such a configuration, it is determined whether the connection is an external connection or an internal connection by combining these, such as the type of dial tone, the dial tone level, and the current value flowing through the telephone line terminal. Can be switched automatically. Also, the voice level can be adjusted using the dial tone level and the current value flowing through the telephone line terminal. Furthermore, since the transmitter / receiver circuit is connected to the telephone line after the adjustment, the side tone balance circuit and the voice level adjustment do not mix the outside line / internal line. As well as the highest call quality. This setting is not necessary after the phone is set up for the first time it is connected to an external or internal line. Furthermore, the telephone circuit according to the present invention can automatically check whether the connection is an external line connection or an internal line connection every time a call is made, so that its function is stable. In the unlikely event that it is not possible to automatically confirm whether the connection is an external line or an internal line, consider the identification of the external line / extension line by the user, and at least the extension tone of the exchange device should be set so that it can be identified by the dial tone. By changing to an identifiable one, the extension detecting means on the telephone side can be changed accordingly.

一方、本発明による交換装置に接続されるアナログ電話機の電話機回路は、接続する電話回線に対応する通話回路の側音平衡回路の自動的最適化を実現するため、一つの実施態様として、以下に説明する外線用側音平衡回路、内線用側音平衡回路、側音平衡切換保持手段、検出計測手段、外線/内線種別判定手段、及び制御手段を備える。   On the other hand, the telephone circuit of the analog telephone connected to the exchange apparatus according to the present invention realizes automatic optimization of the side tone balance circuit of the telephone circuit corresponding to the telephone line to be connected. An external line side sound balance circuit, an internal line side sound balance circuit, a side sound balance switching holding means, a detection measurement means, an external line / extension type determination means, and a control means are provided.

側音平衡切換保持手段は、一方の前記外線用側音平衡回路及び内線用側音平衡回路のうちの一つを他方の通話回路と接続保持している。側音平衡切換保持手段は、制御手段から平衡回路切換え指示を受けた際に、接続中の前記外線用側音平衡回路又は内線用側音平衡回路を他方に切換えして通話回路に接続し保持する。   The side sound balance switching holding means holds one of the external line side sound balance circuit and the extension side sound balance circuit connected to the other speech circuit. The side sound balance switching holding means, when receiving a balance circuit switching instruction from the control means, switches the connected external sound side balance circuit or extension side sound balance circuit to the other and connects it to the communication circuit and holds it. To do.

検出計測手段は、電話回線に接続して電話機から発信した際に電話回線から入力する発信音及び回線電流を含む回線の複数条件それぞれを検出又は計測する。   The detection and measurement means detects or measures each of a plurality of line conditions including a dial tone and a line current input from the telephone line when connected to the telephone line and making a call from the telephone.

外線/内線種別判定手段は、電話回線の前記複数条件それぞれに対して前記側音平衡切換保持手段により接続保持される外線用/内線用それぞれの条件を予め設定し、電話機から発信した際に前記複数条件を計測して予め設定された条件と比較し、それぞれの条件で外線/内線種別を判定する。   The external line / internal line type determining means presets the external line / internal line conditions to be connected and held by the side tone balance switching holding means for each of the plurality of conditions of the telephone line, and when the call is transmitted from the telephone, A plurality of conditions are measured and compared with preset conditions, and the external / internal line type is determined under each condition.

制御手段は、電話機から発呼の際に、前記外線/内線種別判定手段で判定された複数の外線/内線種別を受け、その多数決又は過半数により外線/内線を決定し、側音平衡回路に対する外線用/内線用の接続を設定するよう前記側音平衡切換保持手段に指示する。   The control means receives a plurality of external / extension types determined by the external / extension type determination means when making a call from the telephone, determines the external / extension by the majority or majority, and sets the external line to the side tone balance circuit. The side sound balance switching holding means is instructed to set up a connection for use / extension.

前記外線/内線種別判定手段での回線の複数条件には、電話回線に接続して電話機から発信した際に受信する発信音の種別と、電話回線に接続して電話機から発信した際に受信する発信音の信号レベルと、電話回線に接続して電話機から発信した際に入力端子に流れる電話回線の電流値と、を含むことが望ましい。   The external line / external line type determination means includes a plurality of line conditions that are received when a call is made from a telephone connected to the telephone line and received from the telephone connected to the telephone line. It is desirable to include the signal level of the dial tone and the current value of the telephone line that flows to the input terminal when a call is made from the telephone connected to the telephone line.

また、前記発信音の種別は、少なくとも日本国内では、連続音が外線、また、断続音が内線であることにより検出できる。更に、交換装置では、周波数及び断続音の種別を検出することにより、接続先の電話局用交換機又は交換装置の種別を判定できるようにも設定することができる。   Further, the type of the dial tone can be detected at least in Japan when the continuous tone is an external line and the intermittent tone is an internal line. Furthermore, the switching device can be set so that the type of the telephone exchange or switching device to be connected can be determined by detecting the frequency and the type of intermittent sound.

また、前記外線/内線種別判定手段では、具体的に、前記電流値が40mA以上の場合に外線、又は、前記信号レベルが「−20dBm」以上の場合に内線とそれぞれを判定することができる。   The external line / extension type determination means can specifically determine an external line when the current value is 40 mA or more, or an extension line when the signal level is “−20 dBm” or more.

更に、電話機回路は、音声レベル調整指示を受けて通話回路に伝達し電話機の送話/受話それぞれの音声レベルを調整する音声レベル調整手段を備え、前記制御手段は、発信音レベル判定手段及び回線電流判定手段から得られる計測値から音声レベル調整値を求めてその調整指示を前記音声レベル調整手段に出力して、音声レベルの自動調整を行った後、前記通話回路を介して前記電話回線を送受話回路に接続している。   The telephone circuit further includes voice level adjustment means for receiving a voice level adjustment instruction and transmitting the voice level adjustment instruction to the telephone circuit to adjust the voice level of each of transmission / reception of the telephone, and the control means includes a dial tone level determination means and a line. The voice level adjustment value is obtained from the measurement value obtained from the current determination means, and the adjustment instruction is output to the voice level adjustment means. After the voice level is automatically adjusted, the telephone line is connected via the call circuit. Connected to the transmitter / receiver circuit.

本発明の電話機回路は、電話機が接続された電話回線の諸条件、例えば、電話機から発信した際に受信する発信音の種別及び信号レベル並びに電話回線入力端子での電流値、それぞれで外線/内線の接続回線種別を判定する範囲を予め設定している。そこで、電話機回路は、電話機から発信した際に検出した前記発信音種別、信号レベル及び電流値それぞれを総合して外線/内線の接続回線種別を判定し、それに適合する側音平衡回路を通話回線に接続している。それにより、側音が自動的に的確に抑制され、快適な通話を実現できる。また、この条件に基づいて音声レベルを自動調整している。これにより、通話電流及び送話/受話における音声レベルが自動的に適正値に調整され、その後、電話回線を送受話回路に接続しているので、最適な音質を得ることができるのみならず、一層の通話品質の確実な向上を得ることができる。   The telephone circuit of the present invention has various conditions for the telephone line to which the telephone is connected, for example, the type and signal level of the dial tone received when making a call from the telephone, and the current value at the telephone line input terminal. The range for determining the connection line type is set in advance. Therefore, the telephone circuit determines the connection line type of the external line / internal line by combining the dial tone type, signal level, and current value detected when making a call from the telephone, and sets the side tone balance circuit suitable for the call line. Connected to. Thereby, the side sound is automatically suppressed accurately, and a comfortable call can be realized. Also, the audio level is automatically adjusted based on this condition. As a result, the call current and the voice level in the transmission / reception are automatically adjusted to appropriate values, and then the telephone line is connected to the transmission / reception circuit, so that not only the optimum sound quality can be obtained, Further improvement in call quality can be obtained.

電話機回路が、電話回線を接続した際に外線/内線の接続回線種別を、接続された電話回線の複数条件により総合的に識別し、その判定された接続回線種別に基づいて外線/内線の種別を決定し、それに適合する側音平衡回路を通話回路に接続する。そのため、電話回線の複数条件を、電話機から発信した際に受信する発信音の種別及び信号レベル並びに電話回線入力端子での電流値の三者とし、それぞれの判定から、その判定の過半数又は多数決、すなわち三分の二以上又は一つでも多い判定を獲得した種別に決定している。   When the telephone circuit connects the telephone line, the external line / extension line type is comprehensively identified by the multiple conditions of the connected telephone line, and the external line / extension type is determined based on the determined connection line type. , And a side-tone balance circuit suitable for it is connected to the speech circuit. Therefore, the multiple conditions of the telephone line are the three of the type and signal level of the dial tone received when making a call from the telephone and the current value at the telephone line input terminal, and from each determination, the majority or majority of the determination, In other words, it is determined as a type that has obtained more than two-thirds or at least one determination.

以下に図面を参照して実施の形態を説明するが、図面では本発明に係る構成要素は含むが装置として必須の構成要素でも省略されたものがある。また、ブロックの機能配分及びフローの動作順序は本発明の趣旨を損なわない限り変更が自由であり、本発明は、下記説明に限定されるものではない。   Embodiments will be described below with reference to the drawings. In the drawings, some components according to the present invention are included, but some components essential as an apparatus are omitted. The functional distribution of the blocks and the operation order of the flow can be freely changed as long as the gist of the present invention is not impaired, and the present invention is not limited to the following description.

本発明の実施例1について図1を参照して説明する。   A first embodiment of the present invention will be described with reference to FIG.

図1は、本発明による電話機の実施の一形態をブロックで示す説明図である。   FIG. 1 is an explanatory diagram showing in block form one embodiment of a telephone according to the present invention.

図示される電話機10は、アナログ電話機であり、フックスイッチ回路11、電話回線インタフェース12、ダイヤル発信回路13、通話回路14、受話器15−A、送話器15−B、トーンリンガ回路16、側音平衡切換保持回路17、外線用側音平衡回路17−A、内線用側音平衡回路17−B、音声レベル調整回路18、電話機制御回路19、発信音種別検出回路21、発信音レベル計測回路22、及び回線電流計測回路23を含む。電話機制御回路19は外線/内線判定設定機能20を含む。発信音種別検出回路21、発信音レベル計測回路22、及び回線電流計測回路23は、上述の検出計測手段を条件別に分割したものであり、外線/内線種別判定手段は外線/内線判定設定機能20に含まれる。   The illustrated telephone 10 is an analog telephone, and includes a hook switch circuit 11, a telephone line interface 12, a dial transmission circuit 13, a communication circuit 14, a receiver 15-A, a transmitter 15-B, a tone ringer circuit 16, and a side tone balance. Switching holding circuit 17, external side sound balance circuit 17-A, extension side sound balance circuit 17-B, voice level adjustment circuit 18, telephone control circuit 19, dial tone type detection circuit 21, dial tone level measurement circuit 22, And a line current measuring circuit 23. The telephone control circuit 19 includes an outside / internal line determination setting function 20. The dial tone type detection circuit 21, dial tone level measurement circuit 22, and line current measurement circuit 23 are obtained by dividing the above-described detection measurement means according to conditions, and the external line / extension line type determination means is an external line / extension determination setting function 20. include.

フックスイッチ回路11は、一方を電話回線に接続し、他方を電話回線インタフェース12及びトーンリンガ回路16に接続する。接続する電話回線は電話交換装置への内線又は電話局用交換機への外線である。フックスイッチ回路11は、オフフック状態で電話回線を電話回線インタフェース12に接続し、オンフック状態で受けた呼出信号をトーンリンガ回路16へ接続する。   One of the hook switch circuits 11 is connected to the telephone line, and the other is connected to the telephone line interface 12 and the tone ringer circuit 16. The telephone line to be connected is an extension line to the telephone exchange device or an external line to the telephone office exchange. The hook switch circuit 11 connects the telephone line to the telephone line interface 12 in the off-hook state, and connects the call signal received in the on-hook state to the tone ringer circuit 16.

電話回線インタフェース12は、フックスイッチ回路11を介して接続する電話回線をダイヤル発信回路13、通話回路14、発信音種別検出回路21、発信音レベル計測回路22、及び回線電流計測判定回路23に接続する。電話回線インタフェース12は、フックスイッチ回路11のオフフック状態で電話回線を介して相手の電話交換装置と接続するだけでなく、電話機制御回路19と信号を授受して、電話機10の発呼手順又は着呼手順を実行する。   The telephone line interface 12 connects a telephone line to be connected via the hook switch circuit 11 to the dial transmission circuit 13, the communication circuit 14, the dial tone type detection circuit 21, the dial tone level measurement circuit 22, and the line current measurement determination circuit 23. To do. The telephone line interface 12 is not only connected to the telephone exchange device of the other party via the telephone line in the off-hook state of the hook switch circuit 11 but also exchanges signals with the telephone control circuit 19 to make a calling procedure or incoming call of the telephone 10. Perform the call procedure.

ダイヤル発信回路13は、ユーザの操作するボタンを備えるダイヤルパッドを有し、電話機制御回路19の制御を受け、電話機10の発信の際に、ユーザに指定されたダイヤル番号を電話回線インタフェース12及びフックスイッチ回路11を介して電話回線に発信する。   The dial transmission circuit 13 has a dial pad provided with buttons operated by the user, receives the control of the telephone control circuit 19, and transmits the dial number designated by the user when the telephone 10 makes a call to the telephone line interface 12 and the hook. A call is sent to the telephone line via the switch circuit 11.

通話回路14は、電話回線インタフェース12と接続する電話回線を、防側音回路を介して受話器15−A及び送話器15−Bに接続する。また、側音平衡切換保持回路17を介して防側音のための外線用側音平衡回路17−A又は内線用側音平衡回路17−Bが防側音回路に接続され、更に、受話器15−A及び送話器15−Bの音声レベル調整のための音声レベル調整回路18が接続される。受話器15−A及び送話器15−Bは送受話ハンドセットでよい。また、受話器15−Aはイヤホーン、ヘッドホーン、又はスピーカなどでもよい。送話器15−Bはマイクロホンでもよい。   The call circuit 14 connects a telephone line connected to the telephone line interface 12 to the handset 15-A and the handset 15-B via a protection-side sound circuit. Further, an external line side sound balance circuit 17-A or an internal line side sound balance circuit 17-B for the side-proof sound is connected to the side-side sound circuit via the side-tone balance switching holding circuit 17, and the receiver 15 An audio level adjustment circuit 18 for adjusting the audio level of -A and the transmitter 15-B is connected. The handset 15-A and the handset 15-B may be handset handsets. The receiver 15-A may be an earphone, a headphone, a speaker, or the like. The microphone 15-B may be a microphone.

トーンリンガ回路16は、オンフック状態のフックスイッチ回路11を介して電話回線から呼出信号を受け、リンガなどの鳴動による可聴音を放送する。側音平衡切換保持回路17は、電話機制御回路19の制御を受け、その指示により外線用側音平衡回路17−A又は内線用側音平衡回路17−Bを通話回路14に接続しそのまま接続を保持する。外線用側音平衡回路17−A又は内線用側音平衡回路17−Bは、外線用又は内線用の側音平衡回路網を有する。音声レベル調整回路18は、電話機制御回路19の制御を受け、通話回路14に接続して受話器15−A及び送話器15−Bそれぞれの音声レベルを自動的に最適に調整する。レベル調整は、外線接続設定又は内線接続設定により切り換えられ、また外線接続設定の場合には、電話回線電流に基づいて自動調整される。一方、音声レベルは、通常、ユーザによる手動調整も可能である。   The tone ringer circuit 16 receives a call signal from the telephone line via the hook switch circuit 11 in the on-hook state, and broadcasts an audible sound due to ringing or the like. The side sound balance switching holding circuit 17 is controlled by the telephone control circuit 19, and connects the external line side sound balance circuit 17-A or the extension side sound balance circuit 17-B to the call circuit 14 according to the instruction. Hold. The external line side sound balance circuit 17-A or the internal line side sound balance circuit 17-B has an external line or internal line side sound balance circuit network. The voice level adjustment circuit 18 is controlled by the telephone control circuit 19 and is connected to the call circuit 14 to automatically and optimally adjust the voice levels of the receiver 15-A and transmitter 15-B. The level adjustment is switched by the external line connection setting or the internal line connection setting. In the case of the external line connection setting, the level adjustment is automatically adjusted based on the telephone line current. On the other hand, the audio level can usually be manually adjusted by the user.

電話機制御回路19は、例えばプログラム制御されたプロセッサ及びメモリにより構成され、電話機10の構成要素と接続して電話機10の機能発揮を制御する。特に、本発明では、外線/内線判定設定機能20が、発信音種別検出回路21、発信音レベル計測回路22、及び回線電流計測回路23からそれぞれの検出計測情報を受け、その情報それぞれで外線/内線を判定し、その結果から多数決によって接続電話回線が外線か内線かを決定し、側音平衡切換保持回路17及び音声レベル調整回路18にそれぞれの設定のための制御指示を行う。その詳細は後にフローチャートを参照して説明する。   The telephone control circuit 19 is composed of, for example, a program-controlled processor and memory, and is connected to the components of the telephone 10 to control the function of the telephone 10. In particular, according to the present invention, the outside line / internal line determination setting function 20 receives the respective detection measurement information from the dial tone type detection circuit 21, the dial tone level measurement circuit 22, and the line current measurement circuit 23, and the external line / extension determination function 20 The extension is determined, and from the result, it is determined whether the connected telephone line is an external line or an extension line, and control instructions for setting each are given to the side tone balance switching holding circuit 17 and the voice level adjusting circuit 18. Details thereof will be described later with reference to a flowchart.

発信音種別検出回路21は、電話機10が発信動作の際、オフフック状態のフックスイッチ回路11、及び電話回線インタフェース12を介して電話回線から発信音を受ける。受けた発信音が連続音か断続音かが検出され、連続音は外線、断続音は内線として電話機制御回路19の外線/内線判定設定機能20へ通知される。接続先電話交換装置によっては、周波数及び断続音の少なくとも一方で種別を検出して相違を通知してもよい。   The dial tone type detection circuit 21 receives dial tone from the telephone line via the hook switch circuit 11 in the off-hook state and the telephone line interface 12 when the telephone 10 performs a call operation. Whether the received dial tone is a continuous tone or an intermittent tone is detected, the continuous tone is notified to the external line / extension determination setting function 20 of the telephone control circuit 19 as an external line and the intermittent sound as an internal line. Depending on the connected telephone exchange device, the difference may be notified by detecting the type of at least one of frequency and intermittent sound.

一方、発信音の種別は、少なくとも日本国内では、連続音が外線、また断続音が内線により検出できるが、世界的には各国での電話局用交換機から送出される発信音は周波数及び断続パターンで多岐にわたる。このため、交換装置から内線に送出される発信音の周波数と断続パターンとではその国の電話局用交換機から送出される発信音と識別不能な場合がある。従って、必要な場合、ユーザでの外線/内線の識別も配慮し、少なくとも発信音での識別が可能なように、電話機が接続される交換装置の内線用発信音を外線発信音と識別可能なものに変更し、それに応じて電話機側の内線検出手段を変更することがよい。   On the other hand, as for the type of dial tone, at least in Japan, continuous tone can be detected by an outside line and intermittent tone can be detected by an extension line, but globally, dial tone sent from a telephone exchange in each country is frequency and intermittent pattern. It is a wide variety. For this reason, the frequency of the dial tone transmitted from the switching device to the extension and the intermittent pattern may be indistinguishable from the dial tone transmitted from the telephone exchange in that country. Therefore, if necessary, it is possible to identify the extension dial tone of the switching apparatus to which the telephone is connected from the external dial tone so that the user can identify the external line / extension line, and at least the dial tone can be identified. It is preferable to change the extension detection means on the telephone side accordingly.

発信音レベル計測回路22は、電話機10が発信動作の際、オフフック状態のフックスイッチ回路11及び電話回線インタフェース12を介して電話回線から発信音を受ける。発信音レベル計測回路22では、電話回線から受けた発信音のレベルが計測され、そのレベル計測値が電話機制御回路19の外線/内線判定設定機能20へ通知される。通常、外線は回線長が長いのでレベルが低い場合が多いが、近距離の場合は比較的高い。一方、内線では、回線長は短いが、交換機側のレベル調整により適正レベルを維持することができる。   The dial tone level measuring circuit 22 receives dial tone from the telephone line via the hook switch circuit 11 and the telephone line interface 12 in the off-hook state when the telephone 10 performs a call operation. The dial tone level measurement circuit 22 measures the level of dial tone received from the telephone line, and notifies the external line / extension determination setting function 20 of the telephone control circuit 19 of the level measurement value. Usually, the outside line is often low because the line length is long, but it is relatively high in the case of a short distance. On the other hand, the extension has a short line length, but can maintain an appropriate level by adjusting the level on the exchange side.

例えば、回線電流を40mAとして音声レベルを調整し外線接続で「−20dBm」と設定した場合、内線接続で「−26dBm」となって、ほぼ6dBのレベル上昇がある。従って、このような外線接続設定のまま内線接続した場合、総和及び受話共に側音として音割れが生じる。このため、日本国内では、発信音レベルは「−15dBm」に設定されている。本実施態様では、発信音レベルとして「−20dBm」以上が検出された際には「内線」と判定することとする。しかし、発信音レベル「−20dBm」未満の場合には、外線又は内線の何れかでありその識別はできない。   For example, when the line level is set to 40 mA and the audio level is adjusted and “−20 dBm” is set for the external connection, “−26 dBm” is set for the extension connection, and the level increases by about 6 dB. Therefore, when an internal connection is made with such an external connection setting, sound summarization occurs as a side sound in both the sum and the received call. For this reason, in Japan, the dial tone level is set to “−15 dBm”. In this embodiment, when “−20 dBm” or more is detected as the dial tone level, it is determined as “extension”. However, if the dial tone level is less than “−20 dBm”, it is either an external line or an internal line and cannot be identified.

回線電流計測回路23には、オフフック状態のフックスイッチ回路11及び電話回線インタフェース12を介して電話回線が直結される。回線電流計測回路23では、電話回線の電流が計測され、その電流計測値が電話機制御回路19の外線/内線判定設定機能20へ通知される。通常では、外線においては、電話回線の長さに応じて電流値が変化する。内線では、回線長は短いが、電力消費の関係もあり、電流値が比較的小さく20mA以下に設定されている。   A telephone line is directly connected to the line current measuring circuit 23 via the hook switch circuit 11 and the telephone line interface 12 in an off-hook state. The line current measuring circuit 23 measures the telephone line current, and notifies the outside line / extension determination setting function 20 of the telephone control circuit 19 of the measured current value. Normally, in the outside line, the current value changes according to the length of the telephone line. In the extension, although the line length is short, there is a relation of power consumption, and the current value is relatively small and is set to 20 mA or less.

従って、本実施態様では、回線電流「40mA」以上が検出された際には「外線」と判定することとする。しかし、回線電流「40mA」未満では遠距離外線又は内線の何れかでありその識別はできない。   Therefore, in this embodiment, when the line current “40 mA” or more is detected, it is determined as “outside line”. However, if the line current is less than “40 mA”, it is either a long-distance outside line or an inside line and cannot be identified.

外線/内線判定設定機能20では、発信音レベル計測回路22及び回線電流計測回路23から計測値を受けて、それぞれにおける計測値から外線/内線の判定を行う。   The external line / internal line determination setting function 20 receives the measurement values from the dial tone level measurement circuit 22 and the line current measurement circuit 23, and determines the external line / internal line from the measurement values in each.

上述の条件によれば、内線の電話回線に接続された場合、発信音種別検出回路21は断続音から内線を判定し、発信音レベル計測回路22が「−20dBm」以上を検出して内線を判定する。したがって、外線/内線判定設定機能20は「3分の2」の過半数又は多数決により、内線設定を決定する。外線に接続された場合、発信音種別検出回路21は連続音から外線を判定し、回線電流計測回路23が回線電流値40mA以上を検出して外線を判定する。したがって、外線/内線判定設定機能20は「3分の2」の過半数又は多数決により、外線設定が決定される。   According to the above-mentioned conditions, when connected to the extension telephone line, the dial tone type detection circuit 21 determines the extension from the intermittent tone, and the dial tone level measurement circuit 22 detects “−20 dBm” or more to detect the extension. judge. Accordingly, the outside line / internal line determination setting function 20 determines the extension setting by the majority or majority of “2/3”. When connected to an external line, the dial tone type detection circuit 21 determines the external line from the continuous sound, and the line current measurement circuit 23 detects the line current value of 40 mA or more to determine the external line. Accordingly, the outside line / internal line determination setting function 20 determines the outside line setting by a majority or majority of “2/3”.

然しながら、発信音レベル計測回路22において「−20dBm」以上を検出して内線と判定し、回線電流計測回路23が回線電流値40mA以上を検出して外線と判定された場合には異常状態であり、所定の警告を発生してユーザ又は設置工事者に表示をする。   However, when the dial tone level measurement circuit 22 detects “−20 dBm” or more and determines that it is an extension, the line current measurement circuit 23 detects a line current value of 40 mA or more and determines that it is an external line, which is an abnormal state. A predetermined warning is generated and displayed to the user or the installer.

次に、図2A及び図2Bに図1を併せ参照して、電話機10における主要動作手順について説明する。ここで、電話回線から受ける発信音は外線からの場合には連続音で、内線からの場合には断続音であるとする。発信音レベルは、「−20dBm」以上を検出して内線を判定し、電話回線電流値は40mA以上を検出して外線を判定するものとする。   Next, the main operation procedure in the telephone 10 will be described with reference to FIGS. 2A and 2B and FIG. Here, it is assumed that the dial tone received from the telephone line is a continuous tone when it is from the outside line and an intermittent tone when it is from the extension line. It is assumed that the dial tone level detects “−20 dBm” or more to determine an extension, and the telephone line current value detects 40 mA or more to determine an outside line.

電話機10で、ユーザの発呼によりフックスイッチ回路11がオフフックを検出することにより、電話回線が、電話回線インタフェース12から発信音種別検出判定回路21、発信音レベル計測回路22、及び回線電流計測回路23に引込み(手順S1)される。このとき、電話機制御回路19は、フックスイッチ回路11からオフフック情報を受けているので、発呼を認識し、電話回線インタフェース12から電話回線を介して接続先の交換装置に発呼処理(手順S2)を行う。   When the telephone switch 10 detects that the hook switch circuit 11 is off-hook by the user's call, the telephone line is changed from the telephone line interface 12 to the dial tone type detection determination circuit 21, dial tone level measurement circuit 22, and line current measurement circuit. 23 (step S1). At this time, since the telephone control circuit 19 has received off-hook information from the hook switch circuit 11, the telephone control circuit 19 recognizes the call and makes a call process (procedure S2) from the telephone line interface 12 to the connected switching apparatus via the telephone line. )I do.

この処理により、接続先の電話局交換機又は交換装置から発信音が送られるので、発信音種別検出回路21では、受信の発信音が断続音か否かを検出し外線/内線判定設定機能20に通知(手順S3)する。発信音レベル計測回路22では受信の発信音レベルを計測しその計測値を外線/内線判定設定機能20に通知(手順S4)する。更に、上記手順S1で電話回線を引込みした回線電流計測回路23は、回線電流を計測しその計測値を外線/内線設定機能20に通知(手順S5)する。   As a result of this processing, a dial tone is sent from the connected telephone exchange or exchange device. Therefore, the dial tone type detection circuit 21 detects whether the received dial tone is an intermittent tone, and sends it to the outside line / extension determination setting function 20. Notification is made (procedure S3). The dial tone level measurement circuit 22 measures the received dial tone level and notifies the measured value to the outside line / inline determination setting function 20 (step S4). Further, the line current measuring circuit 23 that has drawn in the telephone line in the procedure S1 measures the line current and notifies the outside line / extension setting function 20 of the measured value (procedure S5).

上述のそれぞれの通知を受けた外線/内線判定設定機能20は、断続音により内線を判定(手順S6のYES)し、かつ受けた発信音レベルが所定の内線値範囲内で「−20dBm」以上(手順S7のYES)の場合には内線と判定し、後の手順S21へ進む。上記手順S7が「NO」で、受けた回線電流値が所定の外線値範囲外で40mA未満(手順S8のNO)の場合、多数決で内線と判定され、後の手順S21へ進む。しかし、上記手順S8が「YES」の場合には、発信音で内線検出にかかわらず電流値が外線なので多数決判定ができず、例えば、状況を調査して対策を講じるような異常警報発生の処理(手順S10)が成される。   The external line / extension determination setting function 20 that has received each of the above notifications determines an internal line by an intermittent tone (YES in step S6), and the received dial tone level is “−20 dBm” or more within a predetermined extension value range. In the case of (YES in step S7), it is determined as an extension and the process proceeds to the subsequent step S21. If step S7 is “NO” and the received line current value is outside the predetermined external line value range and less than 40 mA (NO in step S8), the majority is determined as an extension, and the process proceeds to the subsequent step S21. However, when the above step S8 is “YES”, the majority value cannot be determined because the current value is an external line in the dial tone regardless of the extension detection. For example, an abnormal alarm generation process that investigates the situation and takes measures. (Procedure S10) is performed.

上記手順S6が「NO」で発信音が断続する内線ではなく、連続音する外線(手順S11のYES)で回線電流値が所定の外線値範囲内で40mA以上(手順S12のYES)の場合、多数決で外線と判定され、後の手順S25へ進む。上記手順S12が「NO」で受けた電流値が所定の外線値範囲外で40mA未満(手順S13のNO)の場合、発信音により多数決で外線と判定され、後の手順S25へ進む。しかし、上記手順S13が「YES」で発信音レベル値が内線値範囲内の場合には、発信音で外線検出なので、多数決判定ができず、上述の手順S10に進み、例えば状況を調査して対策を講じるような異常警報発生の処理が行われる。   When the above step S6 is “NO” and not an extension in which the dial tone is intermittent, but a continuous sounding external line (YES in step S11) and the line current value is 40 mA or more within the predetermined external line value range (YES in step S12), The majority is determined as an outside line, and the process proceeds to the subsequent step S25. If the current value received in the above step S12 is “NO” and is less than 40 mA outside the predetermined external line value range (NO in step S13), it is determined that the line is an external line by majority, and the process proceeds to the subsequent step S25. However, when the above step S13 is “YES” and the dial tone level value is within the extension value range, since the outside line is detected by the dial tone, the majority decision cannot be made, and the procedure proceeds to the above step S10, for example, investigating the situation. An abnormal alarm is generated so that countermeasures can be taken.

上記手順S11が「NO」で発信音では外線/内線の識別不能で、発信音レベルが所定の内線値範囲内で「−20dBm」以上(手順S14のYES)かつ電流値が所定の外線値範囲外で40mA未満(手順S15のNO)の場合、多数決で内線と判定され、後の手順S21へ進む。上記手順S14が「NO」で発信音レベルが所定の内線値範囲外の「−20dBm」未満、かつ電流値が所定の外線値範囲内で40mA以上(手順S16のYES)の場合、多数決で外線と判定され、後の手順S25へ進む。   When the above step S11 is “NO”, it is impossible to identify the external line / extension line with the dial tone, the dial tone level is “−20 dBm” or more within the predetermined extension value range (YES in step S14), and the current value is within the predetermined external value range. If it is less than 40 mA outside (NO in step S15), the majority is determined as an extension, and the process proceeds to the subsequent step S21. When step S14 is “NO”, the dial tone level is less than “−20 dBm” outside the predetermined extension value range, and the current value is 40 mA or more within the predetermined extension value range (YES in step S16), the outside line is determined by majority decision. And the process proceeds to the subsequent step S25.

上記手順S15が「YES」の場合は、発信音レベルが所定の内線値範囲内で「−20dBm」以上かつ電流値が所定の外線値範囲内で40mA以上であり、異常状態の発生が予想されるので、例えば、状況を調査して対策を講じるような異常警報発生の処理(手順S20)が行われる。上記手順S16が「NO」で、レベル計測値も電流計測値も外線/内線の識別不能の場合、例えば、内線発信音を識別可能なように交換装置を設定すると共に、それに合わせて電話機も設定するなどの対策処理(手順S30)を講じることができる。   When the above step S15 is “YES”, the dial tone level is “−20 dBm” or more within a predetermined extension value range, and the current value is 40 mA or more within a predetermined extension value range, and an abnormal state is expected to occur. Therefore, for example, an abnormality alarm generation process (procedure S20) is performed to investigate the situation and take countermeasures. If the above step S16 is “NO” and the level measurement value and the current measurement value cannot be distinguished from the external line / extension line, for example, the switching device is set so that the extension dial tone can be identified, and the telephone set is set accordingly. A countermeasure process (procedure S30) can be taken.

電話機制御回路19は、外線/内線設定機能20で、多数決の内線判定により内線用側音平衡回路17−Bの使用を決定する。電話機制御回路19は、側音平衡切換保持回路17から内線用側音平衡回路17−Bの設定保持中(手順S21のYES)であることを受けた場合、外線/内線判定設定機能20で受けた計測値を音声レベル調整回路18に通知する。音声レベル調整回路18は、通話回路14で、受話器15−A及び送話器15−Bに対する音声レベルを調整(手順S22)する。通話回路14は、音声レベルの調整を受けた後、電話回線インタフェース12及びフックスイッチ回路11を介して電話回線を、防側音回路を介した受話器15−A及び送話器15−Bに接続(手順S23)して通話回線を形成する。この結果、発信音が電話回線から受話器15−Aに届き、ユーザが聴取できるので、ダイヤル送出の手順(手順S24)が実行される。   The telephone control circuit 19 determines the use of the extension side sound balancing circuit 17-B by the extension determination of the majority by the outside line / extension setting function 20. When the telephone control circuit 19 receives from the side sound balance switching and holding circuit 17 that the setting of the extension side sound balance circuit 17-B is being held (YES in step S21), the telephone control circuit 19 receives the outside line / extension judgment setting function 20. The measured value is notified to the audio level adjustment circuit 18. The voice level adjustment circuit 18 adjusts the voice level for the receiver 15-A and the transmitter 15-B in the call circuit 14 (step S22). After the voice level is adjusted, the call circuit 14 connects the telephone line via the telephone line interface 12 and the hook switch circuit 11 to the receiver 15-A and the transmitter 15-B via the protection side sound circuit. (Procedure S23) to form a telephone line. As a result, the dial tone reaches the handset 15-A from the telephone line and can be listened to by the user, so the dial sending procedure (step S24) is executed.

上記手順S23の際には、側音平衡回路が接続回線に合致しており、かつ音声レベルも調整されているので、快適な受話が保障される。   In step S23, the side tone balance circuit matches the connection line, and the sound level is adjusted, so that comfortable reception is ensured.

電話機制御回路19は、外線/内線設定機能20で、多数決の「外線判定」により外線用側音平衡回路17−Aの使用を決定する。電話機制御回路19は、側音平衡切換保持回路17から外線用側音平衡回路17−Aの設定保持中(手順S25のYES)であることを受けた場合、外線/内線判定設定機能20で受けた計測値を音声レベル調整回路18に通知する。音声レベル調整回路18は、通話回路14で、受話器15−A及び送話器15−Bに対する音声レベルを調整する上記手順22に進む。   The telephone control circuit 19 determines the use of the external line side sound balancing circuit 17 -A by the “external line determination” of the majority by the external line / extension setting function 20. When the telephone control circuit 19 receives from the side sound balance switching holding circuit 17 that the setting of the external line side sound balance circuit 17-A is being held (YES in step S25), the telephone control circuit 19 receives the outside line / extension determination setting function 20. The measured value is notified to the audio level adjustment circuit 18. The voice level adjustment circuit 18 proceeds to the above-described procedure 22 for adjusting the voice level for the handset 15-A and the transmitter 15-B in the call circuit 14.

上記手順S21又は手順S25が「NO」で、側音平衡回路における外線用/内線用が逆に設定保持されている場合、電話機制御回路19は、側音平衡切換保持回路17に指示して外線用/内線用の側音平衡回路17−A,Bの設定を切換え(手順S26)させ、それを保持させる。発信音レベル計測回路22及び回線電流計測回路23は、切換え後の発信音レベル及び回線電流の計測値を計測(手順S27)して外線/内線判定設定機能20に通知するので、手順はその計測結果に基づいて音声レベルを調整する上記手順S22に進む。   If the above step S21 or S25 is “NO” and the external line / internal line in the side tone balance circuit is set and held in reverse, the telephone control circuit 19 instructs the side tone balance switching holding circuit 17 to call the outside line. The setting of the side tone balancing circuits 17-A and B for the extension / extension line is switched (step S26) and is held. The dial tone level measurement circuit 22 and the line current measurement circuit 23 measure the dial tone level and the line current measurement value after switching (step S27) and notify the outside line / internal line determination setting function 20 so that the procedure is the measurement. It progresses to said procedure S22 which adjusts an audio | voice level based on a result.

上記説明で、手順を図示して順次説明したが、その手順は並列動作でもまた順序が入れ替わってもよい。また、三者の判定において、外線と内線との両者の判定があっても、多数決で一つでも多いほうの判定に従って決定することとした。この場合、その決定動作に加えて、ユーザ又は設置工事者に状況表示をすることにしてもよい。   In the above description, the procedure has been illustrated and described sequentially, but the procedure may be performed in parallel or the order may be changed. In addition, in the three-party determination, even if there is a determination of both the outside line and the extension line, the decision is made according to the decision of one or more by majority vote. In this case, in addition to the determination operation, the situation may be displayed to the user or the installer.

上記説明では、外線/内線の決定を判定の多数決としたが、条件を増加させた場合には曖昧な判定も増加するので、過半数としてもよい。三者の場合の過半数は、3分の2以上となる。従って、外線/内線を判定できない発信音レベル「−20dBm」未満又は回線電流40mA未満の場合、他の一つの判定に合わせることとする。すなわち、例えば発信音レベルが「−20dBm」以上で回線電流40mA未満の場合、内線判定数は「2」となる。   In the above description, the determination of the outside line / internal line is the majority decision. However, when the condition is increased, the ambiguous determination also increases, so it may be a majority. The majority in the case of the tripartite is more than two-thirds. Therefore, when the dial tone level at which the outside line / inside line cannot be determined is less than “−20 dBm” or the line current is less than 40 mA, the other determination is made. That is, for example, when the dial tone level is “−20 dBm” or more and less than 40 mA, the extension determination number is “2”.

上述したような構成を採用したので、電話機からオフフック操作により発信の際、接続される電話回線を発信音種別、発信音レベル、及び回線電流の計測によって外線/内線を自動的にかつ的確に識別できる。その後、外線/内線に適合した側音平衡回路を接続するのみならず音声レベルも調整するので、その後に接続される送受話器、特に受話器における音声レベルは、突然の強力信号音を回避するように制御できる。例えば、外線設定で内線に接続した場合、内線接続では回線電流が20mA以下であるため、遠距離局の外線に接続した場合と同様条件となり、レベル増幅度が大きい。したがって、内線が外線設定のまま受話器に接続された場合、非常に大きな音声レベルを有することになるが、このような状態を回避することができる。   Since the configuration as described above is adopted, when making a call from a telephone by an off-hook operation, an external line / extension line is automatically and accurately identified by measuring the dial tone, dial tone level, and line current of the telephone line to be connected. it can. Thereafter, not only the side tone balance circuit adapted to the outside / inside line is connected, but also the sound level is adjusted, so that the sound level in the handset connected thereafter, particularly the handset, avoids sudden strong signal sound. Can be controlled. For example, when an external line is connected to an internal line with an external line setting, the line current is 20 mA or less in the internal line connection, so the conditions are the same as when the external line is connected to a long-distance station, and the level amplification is large. Therefore, when the extension is connected to the handset with the outside line set, the voice level will be very high, but such a situation can be avoided.

接続される電話回線を電話機内に引き込んでその複数条件を検出又は計測し、その結果を総合して接続先電話交換装置の種別を識別することにより、その電話回線に合致した側音平衡回路を選択接続できると共にその計測結果から音声レベルを調整できるので、既存の各種電話交換装置と接続可能なアナログ電話機回路の形成に有効である。   The connected phone line is pulled into the telephone, and the multiple conditions are detected or measured, and the result is combined to identify the type of connected telephone exchange device. Since it can be selectively connected and the sound level can be adjusted from the measurement result, it is effective in forming an analog telephone circuit that can be connected to various existing telephone exchange devices.

本発明による電話機回路の実施の一形態をブロックで示した説明図である。It is explanatory drawing which showed one Embodiment of the telephone circuit by this invention with the block. 図1の電話機回路における主要動作手順の前半の実施の一形態をフローチャートで示した説明図である。It is explanatory drawing which showed one Embodiment of the first half of the main operation | movement procedures in the telephone circuit of FIG. 1 with the flowchart. 図2Aに続く電話機回路における主要動作手順の後半の実施の一形態をフローチャートで示した説明図である。It is explanatory drawing which showed one Embodiment of the second half of the main operation | movement procedures in the telephone circuit following FIG. 2A with the flowchart. 従来の電話機回路の一例をブロックで示した説明図である。It is explanatory drawing which showed an example of the conventional telephone circuit in the block. 従来の電話機回路の図3とは別の一例をブロックで示した説明図である。It is explanatory drawing which showed the example different from FIG. 3 of the conventional telephone circuit in the block.

符号の説明Explanation of symbols

10 電話機
11 フックスイッチ回路
12 電話回線インタフェース
13 ダイヤル発信回路
14 通話回路
15−A 受話器
15−B 送話器
16 トーンリンガ回路
17 側音平衡切換保持回路
17−A 外線用側音平衡回路
17−B 内線用側音平衡回路
18 音声レベル調整回路
19 電話機制御回路
20 外線/内線判定設定
21 発信音種別検出回路
22 発信音レベル計測回路
23 回線電流計測回路
DESCRIPTION OF SYMBOLS 10 Telephone 11 Hook switch circuit 12 Telephone line interface 13 Dial transmission circuit 14 Call circuit 15-A Handset 15-B Transmitter 16 Tone ringer circuit 17 Side sound balance switching holding circuit 17-A Outside line side sound balance circuit 17-B Extension Side tone balance circuit 18 Voice level adjustment circuit 19 Telephone control circuit 20 External / internal line determination setting 21 Dial tone type detection circuit 22 Dial tone level measurement circuit 23 Line current measurement circuit

Claims (6)

交換装置に接続されるアナログ電話機の接続回線種別設定方法において、電話機が電話回線に接続された際、該電話回線の複数条件を検出し、その検出した複数条件のそれぞれから前記交換装置の外線/内線の接続回線種別を判定し、その多数決の判定に基づいて外線/内線の種別を決定する前記接続回線種別設定方法であって、
前記複数条件は、電話機から発信した際に受信する発信音の種別、その発信音の信号レベル、及び電話回線入力端子での電流値の三者を含むものであって、側音平衡回路は外線用又は内線用に予め設定接続されており、電話回線に接続された際の前記信号レベル及び電流値それぞれの条件を外線及び内線それぞれに対して予め設定し、電話機から発信した際に上記三者を含む条件から判定された外線/内線の種別に基づいて、前記側音平衡回路を現状から切換えするか否かを決定することを特徴とする接続回線種別設定方法。
In the connection line type setting method for an analog telephone connected to an exchange device, when the telephone is connected to a telephone line, a plurality of conditions of the telephone line are detected, and the external line / The connection line type setting method for determining a connection line type of an extension and determining a type of an external line / extension based on the majority decision .
The plurality of conditions include the three types of the type of dial tone received when making a call from the telephone, the signal level of the dial tone, and the current value at the telephone line input terminal. For the extension or extension, the signal level and the current value when connected to the telephone line are set in advance for each of the external line and the extension, and when the call is sent from the telephone, the above three parties And determining whether or not to switch the side tone balance circuit from the current state based on the type of the external line / extension line determined from the condition including the connection line type.
請求項に記載の接続回線種別設定方法において、電話機が外線/内線の接続回線種別を決定した際、それに適合する側音平衡回路を通話回線に接続すると共にその接続条件で通話電流及び送受話路での音声レベルを適正値に調整して前記電話回線を電話機の送受話回路に接続することを特徴とする接続回線種別設定方法。 2. The connection line type setting method according to claim 1 , wherein when the telephone determines the connection line type of the external line / internal line, a compatible side tone balance circuit is connected to the call line and the call current and transmission / reception are set according to the connection conditions. A connection line type setting method characterized by adjusting a voice level on a road to an appropriate value and connecting the telephone line to a telephone transmission / reception circuit. 交換装置に接続されるアナログ電話機の電話機回路において、
外線用側音平衡回路と、
内線用側音平衡回路と、
一方で前記外線用側音平衡回路及び内線用側音平衡回路と他方で通話回路と接続し、平衡回路切換え指示を受けて前記外線用側音平衡回路及び内線用側音平衡回路の一方を通話回路に接続し保持する側音平衡切換保持手段と、
電話回線に接続して電話機から発信した際に電話回線から入力する発信音及び回線電流を含む回線の複数条件それぞれを検出又は計測する検出計測手段と、
電話回線の前記複数条件それぞれに対して前記側音平衡切換保持手段により接続保持される外線用/内線用それぞれの条件を予め設定し、電話機から発信した際に前記複数条件を計測して予め設定された条件と比較し、それぞれの条件で外線/内線種別を判定する外線/内線種別判定手段と、
電話機から発呼の際に、前記外線/内線種別判定手段で判定された複数の外線/内線種別を受け、その多数決により外線/内線を決定し、側音平衡回路に対する外線用/内線用の接続を前記側音平衡切換保持手段に指示する制御手段と、
を備え
前記外線/内線種別判定手段での回線の複数条件には、電話回線に接続して電話機から発信した際に受信する発信音の種別と、電話回線に接続して電話機から発信した際に受信する発信音の信号レベルと、電話回線に接続して電話機から発信した際に入力端子に流れる電話回線の電流値と、を含むことを特徴とする電話機回路。
In the telephone circuit of an analog telephone connected to an exchange device,
A side balance circuit for external lines,
Side sound balance circuit for extension,
On the one hand, the external line side sound balance circuit and the internal line side sound balance circuit are connected to the call circuit on the other side, and upon receiving a balance circuit switching instruction, one of the external line side sound balance circuit and the internal line side sound balance circuit is connected. Side sound balance switching holding means connected to and held in the circuit;
Detecting and measuring means for detecting or measuring each of a plurality of conditions of a line including a dial tone and a line current inputted from the telephone line when connected to the telephone line and making a call from the telephone;
For each of the plurality of conditions of the telephone line, each condition for external line / internal line connected and held by the side tone balance switching holding means is set in advance, and the plurality of conditions are measured and set in advance when a call is made from the telephone. External line / extension type determination means for determining the external line / extension type under each condition,
When a call is made from a telephone, a plurality of external / internal line types determined by the external / internal line type determining means are received, and the external / internal line is determined by the majority decision, and the external / internal connection to the side sound balance circuit is determined. Control means for instructing the side tone balance switching holding means,
Equipped with a,
The external line / external line type determination means includes a plurality of line conditions that are received when a call is made from a telephone connected to the telephone line and received from the telephone connected to the telephone line. A telephone circuit comprising: a signal level of a dial tone; and a current value of a telephone line that flows to an input terminal when the telephone line is connected to the telephone line and is transmitted from the telephone.
請求項に記載の電話機回路において、前記発信音の種別は、連続音が外線、また、断続音が内線であることを検出し判定することを特徴とする電話機回路。 4. The telephone circuit according to claim 3 , wherein the type of the dial tone is determined by detecting that a continuous tone is an external line and an intermittent sound is an internal line. 請求項に記載の電話機回路において、前記外線/内線種別判定手段では、前記電流値が所定値以上の場合に外線、又は、前記信号レベルが所定値以上の場合に内線と判定することを特徴とする電話機回路。 4. The telephone circuit according to claim 3 , wherein the external line / extension type determination means determines an external line when the current value is equal to or greater than a predetermined value or an internal line when the signal level is equal to or greater than a predetermined value. Telephone circuit. 請求項乃至請求項いずれか一つに記載の電話機回路において、更に、音声レベル調整指示を受けて通話回路に伝達し電話機の送話/受話それぞれの音声レベルを調整する音声レベル調整手段を備え、前記制御手段は、発信音レベル判定手段及び回線電流判定手段から得られる計測値から音声レベル調整値を求めてその調整指示を前記音声レベル調整手段に出力して、前記通話回路を介して前記電話回線を送受話回路に接続することを特徴とする電話機回路。 In the telephone circuit according to any one of claims 3 to 5, further speech level adjusting means for adjusting the transmitting / receiving respective audio level of the phone is transferred to the speech circuit receives the audio level adjustment instruction The control means obtains a voice level adjustment value from the measured values obtained from the dial tone level judgment means and the line current judgment means, outputs the adjustment instruction to the voice level adjustment means, and passes through the call circuit. And connecting the telephone line to a transmission / reception circuit.
JP2007017288A 2007-01-29 2007-01-29 Connection line type setting method and telephone circuit Expired - Fee Related JP4778454B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007017288A JP4778454B2 (en) 2007-01-29 2007-01-29 Connection line type setting method and telephone circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007017288A JP4778454B2 (en) 2007-01-29 2007-01-29 Connection line type setting method and telephone circuit

Publications (2)

Publication Number Publication Date
JP2008187309A JP2008187309A (en) 2008-08-14
JP4778454B2 true JP4778454B2 (en) 2011-09-21

Family

ID=39730076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007017288A Expired - Fee Related JP4778454B2 (en) 2007-01-29 2007-01-29 Connection line type setting method and telephone circuit

Country Status (1)

Country Link
JP (1) JP4778454B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6394752A (en) * 1986-10-08 1988-04-25 Nec Corp Telephone set circuit
JPH05160886A (en) * 1991-12-09 1993-06-25 Canon Inc Digital terminal equipment
JPH08172475A (en) * 1994-12-16 1996-07-02 Hasegawa Electric Co Ltd Antiside tone circuit system and antiside tone control system
JP2000101485A (en) * 1998-09-18 2000-04-07 Toshiba Corp Voice communication device with echo canceller
JP2001358819A (en) * 2000-06-13 2001-12-26 Ricoh Co Ltd Communications equipment for public line connection
JP2002044698A (en) * 2000-07-31 2002-02-08 Nec Eng Ltd Key telephone device
JP2002359679A (en) * 2001-06-01 2002-12-13 Ricoh Co Ltd Telephone line connection method

Also Published As

Publication number Publication date
JP2008187309A (en) 2008-08-14

Similar Documents

Publication Publication Date Title
US20130242858A1 (en) Method and apparatus for wideband and super-wideband telephony
JP4301079B2 (en) Intercom system
US6671373B1 (en) Method and apparatus for DC feed control
JP4778454B2 (en) Connection line type setting method and telephone circuit
WO2011031050A2 (en) Voice signal controlling device of communication apparatus and controlling method thereof
US20090310520A1 (en) Wideband telephone conference system interface
JP4198075B2 (en) Voice communication apparatus and telephone
JP3529283B2 (en) Line selection device
JP5045959B2 (en) Telephone device and method for adjusting side sound thereof
KR100397499B1 (en) digital telephone having an automatic compensating function of the communication signal quality and controlling method therefore
KR20050072986A (en) Relay device
JPH01168146A (en) Telephone set
EP0997025A1 (en) Detection of handset state
JP6112483B2 (en) Communication apparatus and communication method
KR200259992Y1 (en) Telephone comprising an adapter for connecting a mobile phone and a telephonic handset
JP4749272B2 (en) Cordless telephone equipment
JP2007165967A (en) Hybrid communication terminal and voice volume adjustment method of hybrid communication terminal
JPS602705Y2 (en) public address telephone
JPS6256095A (en) Key telephone system
JPH1198235A (en) Handsfree unit for portable telephone
JPH10500813A (en) Phone switching interface
KR19980065580A (en) Voice processing circuit to improve call quality in the phone
KR20040019676A (en) Apparatus and method for filter-out of DTMF tone in a WLL terminal
JPH08191351A (en) Relay board speaking circuit
JPH06350691A (en) Telephone set

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110413

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110606

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: 20110622

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: 20110701

R150 Certificate of patent or registration of utility model

Ref document number: 4778454

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees