JPH0414946A - Communication time calculation system - Google Patents

Communication time calculation system

Info

Publication number
JPH0414946A
JPH0414946A JP11933090A JP11933090A JPH0414946A JP H0414946 A JPH0414946 A JP H0414946A JP 11933090 A JP11933090 A JP 11933090A JP 11933090 A JP11933090 A JP 11933090A JP H0414946 A JPH0414946 A JP H0414946A
Authority
JP
Japan
Prior art keywords
counter
call
communication
communication time
time
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.)
Pending
Application number
JP11933090A
Other languages
Japanese (ja)
Inventor
Shigehiro Konno
紺野 繁廣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11933090A priority Critical patent/JPH0414946A/en
Publication of JPH0414946A publication Critical patent/JPH0414946A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow the system to cope with revision of its absolute time without giving effect on the capability of the exchange system by providing a counter receiving a clock of a basic timer accuracy, obtaining a difference of contents of the counter at start and end of the communication and calculating the communication time. CONSTITUTION:A counter 14 is provided, which receives a clock signal with the basic timer accuracy, and when a dialed call is connected to an opposite terminal equipment, a call processing unit 10 starts a connection processing section 12 of a communication time control section 11, reads a count of the counter 14 and writes it into a memory 15. When the communication of call is finished and the call is interrupted, an interrupt processing section 13 is started and a counter read means 131 reads an output of the counter 14 to store it and the count at the call connection stored in the memory 15 is read and a difference calculation means 133 calculates a difference between the read value and the count stored in the count read means 131. Thus, the communication time is calculated without giving effect on the revision of the absolute value non deteriorating the capability of the exchange processing.

Description

【発明の詳細な説明】 [概要1 交換機の通(3時間算出方式に関し 時刻逆転など絶対時刻の変更に対応でき、かつ交換ノス
テムの能力に影響を与えない通信時間算出方式を提供す
ることを目的とし。
[Detailed Description of the Invention] [Summary 1: To provide a communication time calculation method that can cope with changes in absolute time such as time reversal regarding the communication time calculation method of the exchange system and does not affect the ability of the exchange system. year.

交換機の呼処理部に通信時間制御部、一定周期のクロッ
ク信号をカウントするハードウェアのカウンタ及びメモ
リを備え9通信時間制御部は、呼の接続処理により起動
する接続処理部と呼の切断処理により起動する切断処理
部とを備え、接続処理部は、起動すると前記カウンタの
出力を読込んでメモリの対応位置に格納し、切断処理部
は、起動すると前記カウンタの出力を読込むと共に、メ
モリの対応位置に格納された内容を取出して1両者の差
を求めることにより通信時間差を求めるよう構成する。
The call processing section of the exchange includes a communication time control section, a hardware counter that counts a clock signal of a fixed period, and a memory. The connection processing section reads the output of the counter when activated and stores it in the corresponding location in the memory, and the disconnection processing section reads the output of the counter when activated and stores it in the corresponding location in the memory. The communication time difference is determined by extracting the content stored in the location and determining the difference between the two.

[産業上の利用分野] 本発明は交換機の通信時間算出方式に関する。[Industrial application field] The present invention relates to a communication time calculation method for an exchange.

電話交換機、データ交換機等の交換機では課金情報とし
て各通信呼の通信時間を求める必要があり(データ量に
比例した課金を行う場合は除り)。
In exchanges such as telephone exchanges and data exchanges, it is necessary to obtain the communication time of each communication call as billing information (except when billing is performed in proportion to the amount of data).

従来から通信時間を算出するための種々の方式が使用さ
れているが簡単な構成及び処理により正確な通信時間を
得ることが困難であった。
Although various methods for calculating communication time have been used in the past, it has been difficult to obtain accurate communication time using simple configurations and processing.

[従来の技術] 第4図は従来例の説明図である。[Conventional technology] FIG. 4 is an explanatory diagram of a conventional example.

最初に第4図のA、に示す方式を説明する。First, the method shown in A in FIG. 4 will be explained.

この方式では、交換機の呼処理装置40の中に。In this method, in the call processing device 40 of the exchange.

図に示すように絶対時間を表すハードウェアのタイマ4
1を設けたもので、タイマは日付2時1分秒(ミリ秒を
含む場合もある)の時刻を出力しクロック信号により更
新される。
Hardware timer 4 representing absolute time as shown in the figure
1, the timer outputs the time of 2:01:1 minute and second (may include milliseconds) and is updated by a clock signal.

呼処理装置40は2発信した呼を被呼側に接続した時に
、タイマ41の出力を読み取り、接続時刻421として
メモリ42に記憶する。その後通信が実行されて、この
呼が切断すると、その時のタイマ41の出力を読み取っ
て切断時刻422としてメモリ42に記憶する。次に記
憶された切断時刻422と接続時刻421の時間差を演
算部43により求めると、呼の通信時間423が得られ
る。
When the call processing device 40 connects the two outgoing calls to the called party, it reads the output of the timer 41 and stores it in the memory 42 as the connection time 421. After that, communication is executed and when the call is disconnected, the output of the timer 41 at that time is read and stored in the memory 42 as the disconnection time 422. Next, when the time difference between the stored disconnection time 422 and connection time 421 is determined by the calculation unit 43, the communication time 423 of the call is obtained.

次に第4図のB、に示す方式を説明すると、この方式は
呼処理装置50に、一定周期で起動する周期起動タスク
51が設けられている。一方、各呼について接続、監視
、切断等の制御が行われるが、各呼を制御するために各
呼■〜@に対応して呼制御メモリ52が設けられている
Next, the method shown in FIG. 4B will be explained. In this method, the call processing device 50 is provided with a periodic activation task 51 that is activated at a constant cycle. On the other hand, connection, monitoring, disconnection, etc. are controlled for each call, and in order to control each call, a call control memory 52 is provided corresponding to each call ① to @.

この呼制御メモリ52には、それぞれカウンタ53が設
けられている。このカウンタ53は当書亥呼が相手と接
続されるとりセントされ、以後周期起動タスク51によ
る。カウント動作が実行される。周期起動タスク51は
、一定周!tl!(例えば100ミリ秒)で起動して7
通信中である呼に対して制御部メモリのカウンタ53の
内容を読み出して+1の演算を行って書き込む動作を順
次実行し呼が切断するとカウントを停止する。そのカウ
ンタ53の内容は呼の通信時間を表し、読み出されて課
金情報として処理される。
Each call control memory 52 is provided with a counter 53. This counter 53 is counted as soon as the current call is connected to the other party, and thereafter is controlled by the periodic activation task 51. A counting operation is performed. The periodic activation task 51 is a constant cycle! tl! (for example, 100 milliseconds) to start and 7
The contents of the counter 53 in the control section memory are read out for a call in progress, and the contents of the counter 53 in the control section memory are incremented by +1 and written. When the call is disconnected, counting is stopped. The contents of the counter 53 represent the communication time of the call, and are read out and processed as billing information.

[発明が解決しようとする課B] 上記した従来例の第4図A、の方式によれば時刻の変更
(例えば、サマータイムを採用している場合、1時間ず
れる)が行われる場合に問題がある。すなわち1通信の
接続時間から切断時間までの間に時刻が変更されると、
接続時刻と切断時刻が逆転したり1通信時間が過大にな
る。
[Problem B to be solved by the invention] According to the conventional method shown in FIG. be. In other words, if the time is changed between the connection time and disconnection time of one communication,
The connection time and disconnection time are reversed or one communication time becomes excessive.

また、第4図B、の方式によれば、この交換機の処理装
置で扱っている全ての呼に関して周期的にカウンタの計
数を行う必要があり、扱い呼数の増加に伴って、この通
信時間算出の処理による負荷が増大し、交換システム本
来の交換処理能力が低下するという問題があった。
In addition, according to the method shown in Figure 4B, it is necessary to periodically count the counters for all calls handled by the processing equipment of this exchange, and as the number of handled calls increases, the communication time There is a problem in that the load due to calculation processing increases and the original exchange processing capacity of the exchange system decreases.

本発明は時刻逆転など絶対時刻の変更に対応でき、かつ
交換システムの能力に影響を与えない通信時間算出方式
を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a communication time calculation method that can accommodate absolute time changes such as time reversals and does not affect the performance of the switching system.

[課題を解決するための手段] 第1図は本発明の原理的構成図である。[Means to solve the problem] FIG. 1 is a diagram showing the basic configuration of the present invention.

第1図において、10は呼処理装置、11は通信時間制
御部、12は接続処理部、13は切断処理部、14は絶
対時刻を表示する時計装置に供給される発振器の出力を
入力とし、基本タイマ精度で計数更新するカウンタ、1
5はメモリを表す。
In FIG. 1, 10 is a call processing device, 11 is a communication time control section, 12 is a connection processing section, 13 is a disconnection processing section, 14 is an input of the output of an oscillator supplied to a clock device that displays absolute time, Counter that updates counts with basic timer precision, 1
5 represents memory.

本発明は基本タイマ精度で更新するカウンタを備え1通
信の開始時(呼接続時)に該カウンタの出力を接続時間
情報として保存し、?:了時(呼切断時)に咳カウンタ
の内容を読み込んで、保存した接続時間情報との差を求
めて通信時間を算出する。
The present invention includes a counter that is updated with basic timer accuracy, and stores the output of the counter as connection time information at the start of one communication (when a call is connected). : At the time of termination (when the call is disconnected), the contents of the cough counter are read and the communication time is calculated by calculating the difference from the saved connection time information.

[作用] カウンタ14は絶対時刻を表示する時計装置(図示しな
い)用の発振器(O3Cで表示)の出力である基本タイ
マ精度のクロック信号を入力とするハードウェアのカウ
ンタである。
[Function] The counter 14 is a hardware counter that receives as input a clock signal of basic timer accuracy, which is the output of an oscillator (indicated by O3C) for a clock device (not shown) that displays absolute time.

呼処理装置10は、呼の処理を行い発信した呼が相手端
末と接続されると1通信時間制御部11の接続処理部1
2を起動する。接続処理部12では、力うツタ読込手段
121によりカウンタ14のその時のカウント値を読込
んで1次に書込手段122によりメモリ15内の当該呼
用の領域に書込む。
The call processing device 10 processes the call and when the originated call is connected to the other party's terminal, the connection processing section 1 of the communication time control section 11
Start 2. In the connection processing section 12, the current count value of the counter 14 is read by the power reading means 121, and written into the area for the call in the memory 15 by the primary writing means 122.

呼処理装置10は、その呼の通信が終了して呼が切断さ
れると1通信時間制御部11の切断処理部13を起動す
る。切断処理部13ではカウンタ読込手段131により
カウンタ14の出力を読み込んで保持する。次にメモリ
読み出し手段132によりメモリ】5に格納された当該
呼の接続時のカウント値を読み出して、差算出手段13
3に供給する。差算出手段133はこの読み出し値とカ
ウンタ読込手段131に保持されたカウント値との差を
算出して通信時間が得られ1出力はメモリに格納する。
The call processing device 10 activates the disconnection processing section 13 of the one communication time control section 11 when the call communication is completed and the call is disconnected. In the cutting processing section 13, the output of the counter 14 is read and held by the counter reading means 131. Next, the memory reading means 132 reads out the count value at the time of connection of the call stored in the memory 5, and the difference calculating means 13
Supply to 3. The difference calculating means 133 calculates the difference between this read value and the count value held in the counter reading means 131 to obtain the communication time, and one output is stored in the memory.

[実施例〕 第2図は本発明の実施例の構成図、第3図は実施例の処
理フローである。
[Embodiment] FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a processing flow of the embodiment.

第2図はデータ交換処理システムのブロック構成の例が
示されている。図において、20はデータ交換処理装置
、21はデータ交換処理装置に収容された多数の回線(
Ll〜Lnで表す)を表す。
FIG. 2 shows an example of a block configuration of a data exchange processing system. In the figure, 20 is a data exchange processing device, and 21 is a large number of lines (
(represented by Ll to Ln).

各回線21にはそれぞれデータ処理装置(図示しない)
が接続され1発信回線のデー・夕端末装置と着信側のデ
ータ端末装置間でのデータ転送がデータ交換処理装置2
0を介して行われる。
Each line 21 has a data processing device (not shown).
is connected, and the data transfer between the data terminal device of the outgoing line 1 and the data terminal device of the receiving side is performed by the data exchange processing device 2.
This is done via 0.

データ交換処理装置20の呼制御部201はプログラム
により構成され1発信した呼を要求された相手と接続す
る接続処理、メモリ(図示せず)を介するデータ転送の
処理1回線を切断する切断処理を行う、各通信を制御す
るための制御情報はメモリ205内の各呼制御情報記憶
領域(Ml〜Mn)に格納される。
The call control unit 201 of the data exchange processing device 20 is configured by a program, and performs a connection process for connecting an outgoing call to a requested party, a process for data transfer via a memory (not shown), and a disconnection process for disconnecting the line. Control information for controlling each communication to be performed is stored in each call control information storage area (Ml to Mn) in the memory 205.

また3時計装置202は2発振回路203の出力を入力
源として従来技術により絶対時刻が設定され0発振回路
203の精度によって更新された絶対時刻を表示する。
Further, the 3-clock device 202 uses the output of the 2-oscillation circuit 203 as an input source, and displays the absolute time that has been set using the prior art and updated with the precision of the 0-oscillation circuit 203.

計数カウンタ204は1発振回路203の出力を入力源
として、上記時計装置202と同精度で、一定の時間間
隔(例えば1秒)でカウンタ値が更新される計数カウン
タである。この計数カウンタ204は、この交換処理シ
ステムの電源投入時等にカウンタ更新動作が開始され 
このカウンタ幅(カウント容M)の範囲内でサイクリ、
りにカウント値の更新が永続的に続けられる。
The counting counter 204 is a counting counter that uses the output of the 1-oscillation circuit 203 as an input source, and has the same accuracy as the clock device 202, and updates the counter value at fixed time intervals (for example, 1 second). The counting counter 204 starts its counter updating operation when the exchange processing system is powered on.
Cycling within the range of this counter width (count capacity M),
The count value continues to be updated permanently.

第3回の実施例の処理フローを第2図を参照しながら説
明する。
The processing flow of the third embodiment will be explained with reference to FIG.

第3図A、は呼接続時の処理フローであり1デタ交換装
置20に収容された発信側回線のデータ処理装置と1着
信側回線のデータ処理装置との通信路が接続されたこと
を呼制御部201で検出すると、その時計数カウンタ2
04に表示されたカウント(直(tlとする)を読取る
(ステ、)30)。読取ったカランHI!!(tl、)
は1 この呼に割当てられた呼制御情報記憶領域(Mi
とする)シニ記憶する(ステップ31)。
FIG. 3A shows the processing flow when a call is connected, and a call is made when the communication path between the data processing device of the originating line and the data processing device of the terminating line, which are accommodated in one data switching device 20, is connected. When detected by the control unit 201, the clock number counter 2
Read the count (directly (tl)) displayed at 04 (step 30). Karan HI read! ! (tl,)
is 1 The call control information storage area (Mi
(step 31).

このデータ処理装置間のデータ転送が終了すると、該当
通信の切断を検出した呼制御部201は。
When the data transfer between the data processing devices is completed, the call control unit 201 detects the disconnection of the communication.

計数カウンタ204に表示される現在のカウント値(t
2とする)を読取る(ステップ32)。次に、メモリ2
05内の当該呼の呼制御情報記憶領域(Ml)に記憶さ
れた通信接続時のカウント値(tl)を取り出して、上
記のカウント値t2からカウント(itlを減算する(
ステップ33)。
The current count value (t
2) is read (step 32). Next, memory 2
The count value (tl) at the time of communication connection stored in the call control information storage area (Ml) of the call in 05 is retrieved, and the count (itl) is subtracted from the above count value t2 (
Step 33).

この結果得られた通信時間(t=t2−tl)を呼制御
情報記憶領域Miに記憶する(ステップ34)。
The communication time (t=t2-tl) obtained as a result is stored in the call control information storage area Mi (step 34).

このような、一連の処理を各呼(通信)対応に従来の交
換処理動作に追加することにより絶対時刻の変更tこよ
る影響を受けることなく、シかも各通信呼対応に一定周
期で通信時間算出のためのカウンタ更新を行うことなく
通信時間の算出が可能となる。
By adding a series of processes like this to the conventional exchange processing operation for each call (communication), it is possible to update the communication time at regular intervals for each communication call without being affected by changes in absolute time. Communication time can be calculated without updating a counter for calculation.

上記実施例では、データ交換処理システムの例について
説明したが、音声を扱う電話交換システムにおいても、
同様の技術により実施できることはあきらかである。
In the above embodiment, an example of a data exchange processing system has been described, but a telephone exchange system that handles voice may also be used.
It is obvious that similar techniques can be used.

14:カウンタ 15:メモリ [発明の効果] 本発明によれば、交換システムで扱う各通信の通信時間
算出が、絶対時刻の変更に影響されることなく、また通
信呼対応に一定周期の処理を要することなく実現できる
。これにより、交換システムが扱う呼数が増大しても、
各通信の通信時間算出による本来の交換処理の能力を低
下させることがない。
14: Counter 15: Memory [Effects of the Invention] According to the present invention, communication time calculation for each communication handled by the switching system is not affected by changes in absolute time, and processing at a constant cycle is performed for communication calls. It can be achieved without any need. As a result, even if the number of calls handled by the switching system increases,
The ability of the original exchange processing due to communication time calculation for each communication is not degraded.

Claims (1)

【特許請求の範囲】 交換機の通信時間算出方式において、 交換機の呼処理装置(10)に通信時間制御部(11)
、基本周期のクロック信号で計数更新されるカウンタ(
14)及びメモリ(15)を備え、 該通信時間制御部(11)は、呼の接続処理により起動
する接続処理部(12)と呼の切断処理により起動する
切断処理部(13)とを備え、 接続処理部(12)は、起動すると前記カウンタ(14
)の出力を読込んで前記メモリ(15)の対応位置に格
納し、 切断処理部(13)は、起動すると前記カウンタ(14
)の出力を読込むと共に、前記メモリ(15)の対応位
置に格納された内容を取出して、両者の差を算出して通
信時間を求めることを特徴とする通信時間算出方式。
[Claims] In a communication time calculation method for an exchange, a communication time control unit (11) is provided in a call processing device (10) of the exchange.
, a counter (
14) and a memory (15), and the communication time control unit (11) includes a connection processing unit (12) activated by call connection processing and a disconnection processing unit (13) activated by call disconnection processing. , When the connection processing unit (12) is activated, the connection processing unit (12) executes the counter (14).
) and stores it in the corresponding location of the memory (15), and when the cutting processing unit (13) starts, the output of the counter (14) is read.
), the content stored in the corresponding location of the memory (15) is retrieved, and the difference between the two is calculated to determine the communication time.
JP11933090A 1990-05-09 1990-05-09 Communication time calculation system Pending JPH0414946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11933090A JPH0414946A (en) 1990-05-09 1990-05-09 Communication time calculation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11933090A JPH0414946A (en) 1990-05-09 1990-05-09 Communication time calculation system

Publications (1)

Publication Number Publication Date
JPH0414946A true JPH0414946A (en) 1992-01-20

Family

ID=14758808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11933090A Pending JPH0414946A (en) 1990-05-09 1990-05-09 Communication time calculation system

Country Status (1)

Country Link
JP (1) JPH0414946A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847709B2 (en) 2000-11-29 2005-01-25 Kabushiki Kaisha Toshiba Private branch exchange apparatus and accounting process method
FR2861204A1 (en) * 2003-10-21 2005-04-22 Egregore Ii Automatic alignment of video surveillance camera includes image analysis to detect target movement and enable automatic tracking

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5772463A (en) * 1980-10-23 1982-05-06 Meisei Electric Co Ltd Call charging system
JPS61184963A (en) * 1985-02-12 1986-08-18 Mitsubishi Electric Corp Telephone set

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5772463A (en) * 1980-10-23 1982-05-06 Meisei Electric Co Ltd Call charging system
JPS61184963A (en) * 1985-02-12 1986-08-18 Mitsubishi Electric Corp Telephone set

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847709B2 (en) 2000-11-29 2005-01-25 Kabushiki Kaisha Toshiba Private branch exchange apparatus and accounting process method
FR2861204A1 (en) * 2003-10-21 2005-04-22 Egregore Ii Automatic alignment of video surveillance camera includes image analysis to detect target movement and enable automatic tracking

Similar Documents

Publication Publication Date Title
JPH0414946A (en) Communication time calculation system
JPS6126257B2 (en)
KR0169425B1 (en) Current time display method of world important city in the communication terminal device
JP2831693B2 (en) Call distribution controller
KR19990011393A (en) How to Display Charges on a General Telephone Terminal
JP2902806B2 (en) Telephone system
JP2861660B2 (en) Billing method
JPH04120857A (en) Telephone call managing device
JPS6336696A (en) Key telephone system with talking time totalizing function
JP3730565B2 (en) Private branch exchange apparatus and accounting processing method
KR0141257B1 (en) Method for displaying message in a keyphone system
JPH027762A (en) Personal computer communication equipment
JPS61225970A (en) Facsimile equipment
JPH04245754A (en) Data call queuing order display system
JPH01300644A (en) Communication system
JPH0220940A (en) Data line exchange
JPH04168864A (en) Key telephone set
JPS59105752A (en) Call charge display device
JPH0370351A (en) Variable abbreviated dialing system
JPH02134766U (en)
JPH01190060A (en) Incoming rejection system
JPH02105669A (en) Call charge calculator
JPH0242859A (en) Personal computer communication device
JPH0470047A (en) Register system for abbreviated dial information
JPH0642693B2 (en) Route selection type telephone device