JPH0350644A - High speed access system for massive data file - Google Patents

High speed access system for massive data file

Info

Publication number
JPH0350644A
JPH0350644A JP1186692A JP18669289A JPH0350644A JP H0350644 A JPH0350644 A JP H0350644A JP 1186692 A JP1186692 A JP 1186692A JP 18669289 A JP18669289 A JP 18669289A JP H0350644 A JPH0350644 A JP H0350644A
Authority
JP
Japan
Prior art keywords
file
record
information
files
toll
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
JP1186692A
Other languages
Japanese (ja)
Inventor
Kunihiko Sato
佐藤 州彦
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 Corp
Original Assignee
NEC 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 Corp filed Critical NEC Corp
Priority to JP1186692A priority Critical patent/JPH0350644A/en
Publication of JPH0350644A publication Critical patent/JPH0350644A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To process more than two telephone numbers at a high speed by dispersing files, newly providing control files and causing respective files to execute an I/O action at every time. CONSTITUTION:When there is no update, a C-file is developed on a memory for improving processing efficiency. When the processing of the telephone number is selected from an online terminal, a toll/local number or other information is inputted. A job program searches the C-file at first so as to obtain the relative record number of a B-file corresponding to the inputted toll/local number. When other information is inputted, the toll/local corresponding to information concerned and the relative record number are obtained. Then, the record of the obtained relative record number is obtained from the B-file, and the record of the B-file is searched from the head so as to obtain the number in an unused state. The relative position from the head comes to the lower four digits of the telephone number, namely, a subscriber number.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は大容量ファイルのアクセス方式に関し、特に主
レコードキーによるファイルアクセス方式(従来の技術
) 大量データファイルは電話番号を管理するファイルであ
り、電話番号は主レコードキーとなる。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a large-capacity file access method, and in particular, a file access method using a main record key (prior art).A large-volume data file is a file for managing telephone numbers. , the phone number becomes the primary record key.

さらに、当該電話番号に対するいくつかの情報が副レコ
ードキーとなっている。副レコードキーは、当該電話番
号が使用中であるか、あるいは未使用であるかを区別す
る。他の情報は、上記条件により未使用の電話番号を払
出す場合にのみ有効でああ。
Further, some information regarding the telephone number serves as a secondary record key. The secondary record key distinguishes whether the telephone number is in use or not. Other information is valid only if you issue an unused phone number according to the above conditions.

第2図は、従来技術による大計データファイルのアクセ
ス方式の一列を示す説明図である。
FIG. 2 is an explanatory diagram showing a series of access methods for a grand total data file according to the prior art.

第2図において、キー1は主レコードキー1千−2〜キ
ーnはそれぞれ副レコードキーである。
In FIG. 2, key 1 is a main record key 1-2 to key n are sub-record keys, respectively.

キー2〜キーhの組合せにより、未使用状態であ為とと
が判別する。
Depending on the combination of keys 2 to h, it is determined whether the device is in an unused state or not.

第2図においては、ファイル(Aファイル)の副し−−
ドキーの組合せで集合検索するため、非常に効率が低い
In Figure 2, the file (File A) is subtitled.
It is very inefficient because it performs a collective search based on combinations of keys.

以上述べなように、従来のこの種のアクセス方式は副レ
コードキーの組合せによって検索を実施していたため、
アクセス効率が低ふった。
As mentioned above, this type of conventional access method performs a search using a combination of alternate record keys.
Access efficiency was low.

(発明が解決しようとする諌題) 上述した従来のアクセス方式では、特定のキーに合った
レコードを検索するのに全レコードをす−チする必要が
ある。このため、レコード件数の多いほど検索時間が長
く々す、応答の要求される業務に対して円滑なサービス
が困難になるという欠点がある。
(Problem to be Solved by the Invention) In the conventional access method described above, it is necessary to search all records in order to search for a record that matches a specific key. For this reason, there are disadvantages in that the larger the number of records, the longer the search time, and the difficulty in providing smooth service for tasks that require a response.

本発明の目的は、ファイルを分散させて新たに管理ファ
イルを設け、各ファイルには1回づつのI10動作をさ
せることにより上記欠点を除去し、応答の要求される業
務にも円滑なサービスが可能になるように構成し九大量
データファイルの高速アクセス方式を提供することにあ
る。
The purpose of the present invention is to eliminate the above-mentioned drawbacks by distributing files and creating a new management file, and performing one I10 operation on each file, thereby providing smooth service even for tasks that require a response. The object of the present invention is to provide a high-speed access method for nine large-volume data files.

(課題を解決するための手段) 本発明による大量データファイルの高速アクセス方式は
、第1および嬉2のファイルを具備して構成したもので
ある。
(Means for Solving the Problems) A high-speed access method for large-volume data files according to the present invention is configured to include first and second files.

第1のファイルは大量データを格納し、特定キーの組合
せで主レコードを検索することができるものである。
The first file stores a large amount of data and allows the main record to be searched by a specific key combination.

第2のファイルは、特定キーに合ったレコードであるか
否かを表わすビットを有し、ビットの相対位置を主レコ
ードのキーとしてアクセスするためのものである。
The second file has a bit indicating whether or not the record matches a specific key, and is accessed using the relative position of the bit as the key of the main record.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第2図は、本発明による大量データファイルの高速アク
セス方式の一実施例を示す説明図である。
FIG. 2 is an explanatory diagram showing an embodiment of a high-speed access method for large-volume data files according to the present invention.

第2図において、Aファイルは従来技術におけるファイ
ルと同様なものであり、元になるファイルである。Bフ
ァイルは相対編成ファイルであり、1局番についてルコ
ードとなっている。Bファイルは電話番号の下4桁を管
理するものであシ、先頭が’ oooo tで最後が%
9999 ’であるように構成されたファイルである。
In FIG. 2, file A is similar to the file in the prior art and is the original file. The B file is a relative organization file, and is coded for one station number. File B manages the last four digits of the phone number, starting with 'oooot' and ending with %.
9999'.

Bファイルでは、局番別に使用中/未使用の状態を各ビ
ットで表わしている。Cファイルは市外/市内局番別に
他の情報と、Bファイルの相対レコード番号とを備えて
いる。
In the B file, each bit represents the status of use/unuse for each station number. The C file includes other information for each area/city code and the relative record number of the B file.

更新がないときには、処理効率を向上するためにCファ
イルがメモリ上に展開されている。オンライン端末よシ
ミ話番号の払出し業務が選択されると、市外/市内局番
、あるいはその他の情報が入力される。業務プログラム
によって、まずCファイルをサーチして、入力された市
外/市内局番に対応するBファイルの相対レコード番号
を取得する。一方、その他の情報が入力された場合には
、当該情報に対応する市外/市内局番と相対レコード番
号とを取得する。次に、取得された相対レコード番号の
レコードをBファイルより取得し、Bファイルのレコー
ドを先頭からサーチして未使用状態の番号を取得する。
When there is no update, the C file is expanded in memory to improve processing efficiency. When the online terminal selects the call number issue service, the area/city code or other information is entered. The business program first searches the C file and obtains the relative record number of the B file corresponding to the input area/city code. On the other hand, if other information is input, the area/city code and relative record number corresponding to the information are acquired. Next, a record with the obtained relative record number is obtained from the B file, and records in the B file are searched from the beginning to obtain an unused number.

先頭からの相対位置が、そのtま電話番号の下4桁、つ
tb加入者番号となる。先頭の相対位置%OIが加入者
番号’ ooo。
The relative position from the beginning is the last four digits of the telephone number, or the subscriber number. The first relative position %OI is the subscriber number'ooo.

となり、以降、% 0001 ’  % 0002 #
・・・・と続く、最後に取得した10桁の電話番号を主
レコードキーとしてAファイル分アクセスし、端末に当
該情報を返却する。
and henceforth, % 0001 ' % 0002 #
. . . The last 10-digit phone number obtained is used as the main record key to access files A, and the information is returned to the terminal.

本発明では各項目を電話番号として取扱っているが、社
員コードや商品コードなどに置換してみれば汎用性がで
てくる。
In the present invention, each item is treated as a telephone number, but it will be more versatile if it is replaced with an employee code, product code, etc.

(発明の効果) 以上説明したように本発明は、ファイルを分散させて新
−hwwmファイルを設け、各ファイルには1回づつの
I10動作をさせることによシ、2個以上の電話番号を
高速に払出すことができるという効果がある。
(Effects of the Invention) As explained above, the present invention distributes files to create new -hwwm files, and performs one I10 operation on each file, thereby allowing two or more telephone numbers to be added. It has the effect of being able to be paid out at high speed.

また、1ビツトをルコードとして加入者番号を管理して
いるので、可変数(2個以上)の連続した番号が必要な
場合にも1回のI10動作で済むという効果があり、従
って高速な払出しが可能であるという効果がある。
In addition, since subscriber numbers are managed using 1 bit as a code, even if a variable number (2 or more) of consecutive numbers are required, only one I10 operation is required, which results in faster payout. This has the effect that it is possible.

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

第1図は、本発明による大量データファイルの高速アク
セス方式の一実施例を示す説明図である。 第2図は、従来技術による大量データファイルのアクセ
ス方式の一列を示す説明図である。 特許出顕人 日本電気株式会社
FIG. 1 is an explanatory diagram showing an embodiment of a high-speed access method for large-volume data files according to the present invention. FIG. 2 is an explanatory diagram showing a series of access methods for large-volume data files according to the prior art. Patent author NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] 大量データを格納し特定キーの組合せで主レコードを検
索することができる第1のファイルと、前記特定キーに
合つたレコードであるか否かを表わすビットを有し、前
記ビットの相対位置を前記主レコードのキーとしてアク
セスするための第2のファイルとを具備して構成したこ
とを特徴とする大量データファイルの高速アクセス方式
A first file that stores a large amount of data and can search for a main record using a combination of specific keys, and a bit that indicates whether or not a record matches the specific key; 1. A high-speed access method for a large amount of data file, comprising: a second file for accessing as a key of a main record.
JP1186692A 1989-07-18 1989-07-18 High speed access system for massive data file Pending JPH0350644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1186692A JPH0350644A (en) 1989-07-18 1989-07-18 High speed access system for massive data file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1186692A JPH0350644A (en) 1989-07-18 1989-07-18 High speed access system for massive data file

Publications (1)

Publication Number Publication Date
JPH0350644A true JPH0350644A (en) 1991-03-05

Family

ID=16192965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1186692A Pending JPH0350644A (en) 1989-07-18 1989-07-18 High speed access system for massive data file

Country Status (1)

Country Link
JP (1) JPH0350644A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09160984A (en) * 1995-12-08 1997-06-20 Nec Corp Resident number reusing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09160984A (en) * 1995-12-08 1997-06-20 Nec Corp Resident number reusing system

Similar Documents

Publication Publication Date Title
JPH03180963A (en) Plan formation supporting system and scheduling system based upon the supporting system
JP2021518021A (en) Data processing methods, equipment and computer readable storage media
JPH0350644A (en) High speed access system for massive data file
CN115907949A (en) Bank transaction data processing method and device
JPS6172333A (en) Merge processing system
JP4056622B2 (en) Database management device
JPH0452766A (en) Document retrieval device
JP2001142757A (en) Method for naming file to be processed
JP3681703B2 (en) Asset management device
JP2001005865A (en) Data deleting device
JPH05274334A (en) System of grasping customer information for each person in charge in banking business
JPH05225197A (en) Information display device and processing system therefor
JPS60142443A (en) Information control system
CN111752944A (en) Data allocation method and device, computer equipment and storage medium
JP2557953B2 (en) Interface definition and analysis support method
JPH04199338A (en) Data base management system
JPH07110809A (en) Electronic filing device
JPH03188550A (en) Process screen control system for business work processing system
CN110675264A (en) Payment routing track dynamic display method
JPH09245101A (en) Customer information utilizing system in reservation and ticketing system
JPH05151059A (en) Exclusive control system for customer data
JPH05307571A (en) Information retrieval system
JPH03282749A (en) Temporary update data control system
JPH01120621A (en) Retrieving/updating system for data base
JPH05165620A (en) Generating method for screen input program