JPH0712189B2 - How to record detailed billing information - Google Patents

How to record detailed billing information

Info

Publication number
JPH0712189B2
JPH0712189B2 JP6711886A JP6711886A JPH0712189B2 JP H0712189 B2 JPH0712189 B2 JP H0712189B2 JP 6711886 A JP6711886 A JP 6711886A JP 6711886 A JP6711886 A JP 6711886A JP H0712189 B2 JPH0712189 B2 JP H0712189B2
Authority
JP
Japan
Prior art keywords
billing information
detailed billing
buffer area
magnetic tape
stored
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 - Lifetime
Application number
JP6711886A
Other languages
Japanese (ja)
Other versions
JPS62225063A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6711886A priority Critical patent/JPH0712189B2/en
Publication of JPS62225063A publication Critical patent/JPS62225063A/en
Publication of JPH0712189B2 publication Critical patent/JPH0712189B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Meter Arrangements (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、蓄積プログラム制御方式による自動交換機の
詳細課金情報の記録方法の改良に関するものである。
Description: TECHNICAL FIELD The present invention relates to an improvement in a method of recording detailed billing information of an automatic exchange according to a stored program control method.

(従来の技術) 第2図は、従来の詳細課金情報の記録方法を示す図であ
る。加入者1は、交換機のネットワーク2と接続され、
中央制御装置3は、そのネットワーク2を制御して加入
者1の交換処理を行なう。
(Prior Art) FIG. 2 is a diagram showing a conventional method of recording detailed billing information. Subscriber 1 is connected to the exchange network 2,
The central control unit 3 controls the network 2 to perform the exchange process of the subscriber 1.

詳細課金情報として1コール毎に発呼者の電話番号,被
呼者の電話番号,被呼者の応答時間,終話時間等の収集
を行ない、加入者1の切断と同時に主記憶装置ファイル
メモリ4に書込む。而して、ファイルメモリ4のバッフ
ァエリアの全てのアドレスに詳細課金情報が記憶された
時点で、詳細課金情報収集用の磁気テープ装置5に出力
する。
As the detailed billing information, the telephone number of the calling party, the telephone number of the called party, the response time of the called party, the call end time, etc. are collected for each call, and the main memory file memory is stored when the subscriber 1 is disconnected. Write to 4. When the detailed billing information is stored in all the addresses in the buffer area of the file memory 4, the detailed billing information is output to the magnetic tape device 5 for collecting the detailed billing information.

このような流れで、全加入者の詳細課金情報を磁気テー
プ装置5に出力する動作を繰返していた。
In such a flow, the operation of outputting the detailed billing information of all subscribers to the magnetic tape device 5 is repeated.

(発明が解決しようとする問題点) しかしながら前記方法では、詳細課金情報を一旦、主記
憶装置ファイルメモリ4のバッファエリアに蓄積してか
ら磁気テープ装置5へ出力しているので、主記憶装置フ
ァイルメモリ4へのアクセス率が高く、加入者1の呼量
が上昇するについて処理能力の低下を招き易いという問
題点があった。
(Problems to be Solved by the Invention) However, in the above method, since the detailed billing information is temporarily stored in the buffer area of the main storage device file memory 4 and then output to the magnetic tape device 5, the main storage device file There is a problem in that the access rate to the memory 4 is high and the processing capacity is likely to decrease as the call volume of the subscriber 1 increases.

本発明は前述した主記憶装置ファイルメモリへのアクセ
スによる処理能力の低下を抑え、効率のよい詳細課金情
報の磁気テープ装置への記録方法を提供することを目的
とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a method for efficiently recording detailed billing information in a magnetic tape device while suppressing a decrease in processing capacity due to the above-mentioned access to the main memory device file memory.

(問題点を解決するための手段) 本発明では前記問題点を解決するため、詳細課金情報を
特定のバッファエリアに一旦、記憶し、その後、バッフ
ァエリア内の詳細課金情報を磁気テープ装置に記録する
詳細課金情報の記録方法において、主記憶装置メモリ内
に少なくとも2つのバッファエリアを設定し、1コール
毎の詳細課金情報を一のバッファエリアに順次記憶し、
該一のバッファエリアの全てのアドレスに前記情報が記
憶された時は、他のバッファエリアへ切換えて順次記憶
し、一方、全てのアドレスに詳細課金情報が記憶された
バッファエリアの内容を磁気テープ装置へ記録するよう
になした。
(Means for Solving Problems) In the present invention, in order to solve the problems, the detailed billing information is temporarily stored in a specific buffer area, and then the detailed billing information in the buffer area is recorded in a magnetic tape device. In the method for recording detailed billing information, at least two buffer areas are set in the main memory, and the detailed billing information for each call is sequentially stored in one buffer area.
When the information is stored in all the addresses of the one buffer area, the contents are switched to another buffer area and sequentially stored, while the contents of the buffer area in which the detailed billing information is stored in all the addresses are recorded on the magnetic tape. It came to record to the device.

(作用) 本発明によれば、1コール毎の詳細課金情報は一旦、主
記憶装置メモリ内の一のバッファエリアに記憶され、該
一のバッファエリアの全てのアドレスに詳細課金情報が
記憶された場合は他のバッファエリアに記憶され、一
方、全てのアドレスに詳細課金情報が記憶されたバッフ
ァエリアの内容は所定のタイミングで磁気テープ装置へ
出力され記録される。
(Operation) According to the present invention, the detailed billing information for each call is temporarily stored in one buffer area in the main memory, and the detailed billing information is stored at all addresses in the one buffer area. In this case, the contents are stored in another buffer area, while the contents of the buffer area in which the detailed billing information is stored at all addresses are output to the magnetic tape device at a predetermined timing and recorded.

(実施例) 第1図は本発明の一実施例を示すもので、図中、従来例
と同一構成部分は同一符号をもって表わす。
(Embodiment) FIG. 1 shows an embodiment of the present invention. In the drawing, the same components as those of the conventional example are designated by the same reference numerals.

即ち、1は加入者、2はネットワーク、3は中央制御装
置、5は磁気テープ装置、6は主記憶装置メモリであ
る。
That is, 1 is a subscriber, 2 is a network, 3 is a central control unit, 5 is a magnetic tape unit, and 6 is a main memory.

中央制御装置3は、予め蓄積されたプログラムに従っ
て、ネットワーク2の交換制御処理、その他の必要な処
理を行なう。蓄積されたプログラムには種々のものがあ
るが、特に本発明にかかわりのあるものとして、通話制
御プログラム,詳細課金情報制御プログラム,磁気テー
プ装置制御プログラムがある。
The central controller 3 performs exchange control processing of the network 2 and other necessary processing according to a program stored in advance. There are various kinds of stored programs. Among them, there are a call control program, a detailed billing information control program, and a magnetic tape device control program which are particularly related to the present invention.

通話制御プログラムは、加入者1が送受話器をオフフッ
クし、相手方の電話番号をダイヤルして通話し、送受話
器をオフフックするまでの周知の交換制御を行なうとと
もに、この交換制御に基づいて詳細課金情報を作成す
る。
The call control program performs well-known exchange control until the subscriber 1 takes the handset off-hook, dials the telephone number of the other party to make a call, and takes the handset off-hook, and based on this exchange control, detailed billing information. To create.

詳細課金情報制御プログラムは、前記詳細課金情報の発
生により起動され、主記憶装置メモリ6内の後述するバ
ッファエリアに詳細課金情報を書込み、該バッファエリ
アの全てのアドレスに前記情報が書込まれ(記憶され)
た時は他のバッファエリアに切換えるもので、第3図に
その一例を示す。
The detailed billing information control program is activated by the generation of the detailed billing information, writes the detailed billing information in a buffer area, which will be described later, in the main memory 6 and writes the information in all addresses of the buffer area ( Remembered)
When the buffer is opened, the buffer area is switched to another buffer area, and an example thereof is shown in FIG.

磁気テープ装置制御プログラムは、周期的に起動され、
全てのアドレスに詳細課金情報が書込まれたバッファエ
リアが存在するか否かを検出し、全てのアドレスに詳細
課金情報が書込まれたバッファエリアが存在すれば、該
バッファエリアの内容をコード変換し、磁気テープ装置
5へ出力し記録させるもので、第4図はその一例を示
す。
The magnetic tape device control program is activated periodically,
Detects whether there is a buffer area in which detailed billing information is written in all addresses, and if there is a buffer area in which detailed billing information is written in all addresses, codes the contents of the buffer area. The data is converted and output to the magnetic tape device 5 for recording, and FIG. 4 shows an example thereof.

主記憶装置メモリ6は、#0面,#1面の2面のバッフ
ァエリア61,62と、バッファエリア書込(以下、BWと称
す。)面指定ビットフラグ63と、磁気テープ装置(以
下、MTと称す。)出力面指定ビットフラグ64と、2つの
バッファエリア書込(以下、BWと称す。)用インデック
ス65,66とを有している。
The main memory memory 6 includes buffer areas 61 and 62 on two surfaces of # 0 surface and # 1, a buffer area writing (hereinafter referred to as BW) surface designation bit flag 63, and a magnetic tape device (hereinafter, referred to as “BW”). It has an output surface designation bit flag 64 and two buffer area writing (hereinafter referred to as BW) indexes 65 and 66.

バッファエリア61,62は詳細課金情報を一時的に内部表
現コードで記憶するものであり、その容量は、ISOコー
ド表に従ってコード変換した場合に、一面当り磁気テー
プ装置5の1ブロック分となる如く設定されている。
The buffer areas 61 and 62 temporarily store detailed billing information in an internal representation code, and the capacity thereof is one block of the magnetic tape device 5 per one side when the code is converted according to the ISO code table. It is set.

BW面指定ビットフラグ63は、前記バッファエリア61,62
のうち、1コール毎に収集した詳細課金情報を書込む
面、即ち#0面,#1面のいずれかを指定するものであ
る。MT出力面指定ビットフラグ64は、前記バッファエリ
ア61,62のうち、磁気テープ装置5へ出力する面を指定
する。また、BW用インデックス65,66は、バッファエリ
ア61,62にそれぞれ対応して、その詳細課金情報を書込
む位置を示すインデックス(アドレス)値を格納する。
The BW surface designation bit flag 63 is used for the buffer areas 61 and 62.
Of these, the side for writing the detailed billing information collected for each call, that is, either the # 0 side or the # 1 side is designated. The MT output surface designation bit flag 64 designates the surface of the buffer areas 61 and 62 to be output to the magnetic tape device 5. Further, the BW indexes 65 and 66 store the index (address) values indicating the positions where the detailed billing information is written, corresponding to the buffer areas 61 and 62, respectively.

次に動作について説明する。Next, the operation will be described.

まず、中央制御装置3は通話制御プログラムによりネッ
トワーク2に対して周知の交換処理を行なうとともに、
1コール毎に詳細課金情報を作成する。
First, the central control unit 3 performs a well-known exchange process on the network 2 by the call control program, and
Detailed billing information is created for each call.

該詳細課金情報が発生すると、前記詳細課金情報制御プ
ログラムが起動される。まず、BW面指定ビットフラグ63
が読出され、その値、例えば「#0」に対応するBW用イ
ンデックス65からインデックス値が読出され、前記詳細
課金情報がバッファエリア61の該当位置に書込まれる。
When the detailed billing information is generated, the detailed billing information control program is activated. First, BW surface designation bit flag 63
Is read, the index value is read from the BW index 65 corresponding to that value, for example, “# 0”, and the detailed billing information is written in the corresponding position of the buffer area 61.

これと同時に該BW用インデックス65のインデックス値が
更新(+1)され、更に更新後のインデックス値がオー
バーフローしたか否か、即ち現在、書込みに使用してい
るバッファエリア65の全てのアドレスに前記情報が書込
まれたか否かを判定し、書込まれていなければ処理を終
了する。以下、詳細課金情報が発生する毎にこれを繰返
し、該詳細課金情報を順次記憶する。
At the same time, the index value of the BW index 65 is updated (+1), and whether or not the updated index value overflows, that is, the information is stored in all addresses of the buffer area 65 currently used for writing. Is written, and if not written, the process ends. Hereinafter, this is repeated every time the detailed billing information is generated, and the detailed billing information is sequentially stored.

この時、インデックス値がオーバーフローした場合は、
BW面指定ビットフラグ63を他面、即ち「#1」に変更
し、次の詳細課金情報を#1面のバッファエリア62へ書
込ませる準備を行なう。
At this time, if the index value overflows,
The BW surface designation bit flag 63 is changed to the other surface, that is, “# 1”, and preparations are made for writing the next detailed charging information into the buffer area 62 of the # 1 surface.

一方、周期的に起動され磁気テープ装置制御プログラム
により、MT出力面指定ビットフラグ64が読出され、その
値(初期状態においてはBW面指定ビットフラグと同一に
設定される。)、例えば「#0」に対応するBW用インデ
ックス65からインデックス値が読出され、該インデック
ス値がオーバーフローしているか否かを判定し、オーバ
ーフローしていなければ処理を終了する。
On the other hand, the magnetic tape device control program which is periodically activated reads the MT output surface designating bit flag 64 and sets its value (the same as the BW surface designating bit flag in the initial state), for example, "# 0." The index value is read from the BW index 65 corresponding to "," it is determined whether the index value has overflowed, and if not overflowed, the processing ends.

この時、インデックス値がオーバーフローしていれば、
MT出力面指定ビットフラグ64で指定されたバッファエリ
ア61の内容をコード変換し、磁気テープ装置5へ出力
し、その1ブロックに記録するとともに、対応するBW用
インデックス65をクリアし、MT出力面指定ビットフラグ
64を他面、ここでは「#1」へ変更する。
At this time, if the index value overflows,
The contents of the buffer area 61 designated by the MT output surface designation bit flag 64 are code-converted, output to the magnetic tape device 5, recorded in one block thereof, and the corresponding BW index 65 is cleared. Designated bit flag
Change 64 to the other side, "# 1" here.

バッファエリア62がオーバーフローした場合も、同様に
一時書込み用バッファエリアはバッファエリア61へ変更
され、また、所定のタイミングでバッファエリア62の内
容は磁気テープ装置5に出力され記録される。以下、こ
れを繰返す。
When the buffer area 62 overflows, the temporary writing buffer area is similarly changed to the buffer area 61, and the contents of the buffer area 62 are output to and recorded in the magnetic tape device 5 at a predetermined timing. Hereinafter, this is repeated.

(発明の効果) 以上説明したように本発明によれば、主記憶装置ファイ
ルメモリを介さず主記憶装置メモリから直接、磁気テー
プ装置へ詳細課金情報を出力し記録するようになしたた
め、従来に比べてシステムの処理能力の向上,主記憶装
置ファイルメモリの消滅および出力時間の短縮を図るこ
とができ、また、磁気テープ装置への詳細課金情報の出
力のタイミングが、主記憶装置メモリへの詳細課金情報
の書込みに対して独立しているため、磁気テープ装置に
障害等が生じても、呼制御や詳細課金情報の収集自体に
悪影響を及ぼす恐れがない等の利点がある。
(Effect of the invention) As described above, according to the present invention, the detailed charging information is output and recorded directly from the main storage memory to the magnetic tape device without passing through the main storage file memory. Compared with this, it is possible to improve the processing capacity of the system, eliminate the main memory file memory, and shorten the output time. Moreover, the timing of outputting the detailed billing information to the magnetic tape device is detailed in the main memory memory. Since the charging information is independent from the writing of the charging information, there is an advantage that even if a failure occurs in the magnetic tape device, there is no possibility that the call control or the collection of the detailed charging information itself is adversely affected.

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

第1図は本発明の一実施例を示す交換機の構成図、第2
図は従来の詳細課金情報の記録方法を示す図、第3図は
詳細課金情報制御プログラムを示す流れ図、第4図は磁
気テープ装置制御プログラムを示す流れ図である。 1……加入者、2……ネットワーク、3……中央制御装
置、5……磁気テープ装置、6……主記憶装置メモリ、
61,62……バッファエリア。
FIG. 1 is a block diagram of an exchange showing an embodiment of the present invention, and FIG.
FIG. 4 is a diagram showing a conventional method of recording detailed billing information, FIG. 3 is a flow chart showing a detailed billing information control program, and FIG. 4 is a flow chart showing a magnetic tape device control program. 1 ... subscriber, 2 ... network, 3 ... central control unit, 5 ... magnetic tape unit, 6 ... main memory unit memory,
61,62 …… Buffer area.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】詳細課金情報を特定のバッファエリアに一
旦、記憶し、その後、バッファエリア内の詳細課金情報
を磁気テープ装置に記録する詳細課金情報の記録方法に
おいて、 主記憶装置メモリ内に少なくとも2つのバッファエリア
を設定し、 1コール毎の詳細課金情報を一のバッファエリアに順次
記憶し、 該一のバッファエリアの全てのアドレスに前記情報が記
憶された時は、他のバッファエリアへ切換えて順次記憶
し、 一方、全てのアドレスに詳細課金情報が記憶されたバッ
ファエリアの内容を磁気テープ装置へ記録するようにな
した ことを特徴とする詳細課金情報の記録方法。
1. A detailed billing information recording method for temporarily storing detailed billing information in a specific buffer area and then recording the detailed billing information in the buffer area in a magnetic tape device. Two buffer areas are set, detailed billing information for each call is sequentially stored in one buffer area, and when the above information is stored in all addresses of the one buffer area, switching to another buffer area is performed. The detailed billing information recording method is characterized in that the contents of the buffer area in which the detailed billing information is stored at all addresses are recorded in the magnetic tape device.
【請求項2】磁気テープ装置の1ブロックの情報量に対
応した詳細課金情報を、一のバッファエリアに内部表現
コードで記憶するようになしたことを特徴とする特許請
求の範囲第1項記載の詳細課金情報の記録方法。
2. The detailed billing information corresponding to the information amount of one block of the magnetic tape device is stored in one buffer area as an internal representation code. How to record detailed billing information.
JP6711886A 1986-03-27 1986-03-27 How to record detailed billing information Expired - Lifetime JPH0712189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6711886A JPH0712189B2 (en) 1986-03-27 1986-03-27 How to record detailed billing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6711886A JPH0712189B2 (en) 1986-03-27 1986-03-27 How to record detailed billing information

Publications (2)

Publication Number Publication Date
JPS62225063A JPS62225063A (en) 1987-10-03
JPH0712189B2 true JPH0712189B2 (en) 1995-02-08

Family

ID=13335658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6711886A Expired - Lifetime JPH0712189B2 (en) 1986-03-27 1986-03-27 How to record detailed billing information

Country Status (1)

Country Link
JP (1) JPH0712189B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH082075B2 (en) * 1988-10-14 1996-01-10 日本電気株式会社 Call charge calculator
JPH04318748A (en) * 1991-04-18 1992-11-10 Nec Corp Charging processing system in exchange system
CN107800177B (en) * 2017-12-07 2021-06-22 奇酷互联网络科技(深圳)有限公司 Charging switching method and device, readable storage medium and mobile terminal

Also Published As

Publication number Publication date
JPS62225063A (en) 1987-10-03

Similar Documents

Publication Publication Date Title
JP3543661B2 (en) Buffer cache method and apparatus in exchange file system
JPH0712189B2 (en) How to record detailed billing information
EP1032885B1 (en) Apparatus and method for protocol application data frame operation requests interfacing with an input/output device
JPH09128165A (en) Solid state recording and reproducing device
JPH0421041A (en) Dynamic converting system for file format
KR930006238B1 (en) Metering method of electronic switching
JPS61121558A (en) Specifying system of number of times of automatic morning call
JPH011355A (en) Busy display device in electronic telephone directory system
KR0168779B1 (en) Billing data processing
KR950007976B1 (en) Charging method in integrated services digital network
JP3830346B2 (en) Call management method and server
JPH01198862A (en) System for managing received document
KR930010287B1 (en) Subscriber number processing method
JP2817911B2 (en) Access control method for keyed files
JPH01157696A (en) System for controlling number coordination
JPH04120618A (en) Filing device
JPH02303294A (en) Subscriber data access system for exchange
JPS6037506B2 (en) Program loading method
JPS6410151B2 (en)
JPH02272867A (en) Private branch exchange
JP2009070175A (en) Information processor, telephone exchange equipment, and information write control method
JPH01133156A (en) File system
JPS57152752A (en) Packet editing system
JPS6113354A (en) Dispersed information cache controlling system
JPS63224487A (en) Digital data recorder controller