JPS62182948A - Stretching system for compressed or attribute-converted record - Google Patents

Stretching system for compressed or attribute-converted record

Info

Publication number
JPS62182948A
JPS62182948A JP61026309A JP2630986A JPS62182948A JP S62182948 A JPS62182948 A JP S62182948A JP 61026309 A JP61026309 A JP 61026309A JP 2630986 A JP2630986 A JP 2630986A JP S62182948 A JPS62182948 A JP S62182948A
Authority
JP
Japan
Prior art keywords
record
attribute
compressed
transfer
converted
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
JP61026309A
Other languages
Japanese (ja)
Inventor
Masami Shiraishi
白石 雅己
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 JP61026309A priority Critical patent/JPS62182948A/en
Publication of JPS62182948A publication Critical patent/JPS62182948A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To stretch and transfer a compressed or attribute-converted record to a record having a form for a user at a high speed, by generating and preparing in advance a record transfer instruction on a memory in a sequence of a field which constitutes the record. CONSTITUTION:A record transfer means 4, when the input instruction of the record is issued from a program, transfers a control from an input/output control monitor 10 to an instruction generating area 8 generated in advance on a memory 7 with a transfer instruction generating means 3. By transferring the control, the record transfer means 4 in the input/output control monitor 10 stretches a compressed or attribute-converted record 13 in a data base 6 to the record like a record 14 having for the form for the user use in a sequence flow of a process, and transfers it to a user record area 9. Afterwards, the control is returned to the input/output control monitor 10, and hereafter, at every issuing of the input instruction of the record, the record transfer means 4 stretches and transfers the compressed or attribute-converted record 13.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データベースシステムにおいて圧縮または属
性変換されたレコードを引き伸ばし、プログラムに転送
する圧縮または属性変換レコード引き伸ばし方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a compression or attribute conversion record expansion method for expanding compressed or attribute converted records in a database system and transferring the compressed or attribute converted records to a program.

〔従来の技術〕[Conventional technology]

従来、データベースシステムにおいてプログラムへの圧
縮または属性変換されたレコードの転送の際、ディレク
トリにあるレコード構造定義情報を使ってレコードを転
送するたびに該情報を解析して圧縮または属性変換され
たレコードをフィールド単位にフィールドの属性に合っ
た転送方法で引き伸ばしユーザ形式のレコードに復元し
ていた。
Conventionally, when transferring compressed or attribute-converted records to a program in a database system, the record structure definition information in the directory is used to analyze this information each time records are transferred, and the records are compressed or attribute-converted. Each field was restored to an enlarged user-format record using a transfer method that matched the field attributes.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の方法は、プログラムへの圧縮または属性
変換したレコードの転送の際、必ずフィールドの属性を
調べ属性に合った転送方法で実行するために、レコード
を構成するフィールドが多くなったり読込むレコード件
数が多くなるとレコード引き伸ばしに要する時間がかか
り効率が悪くなる欠点がある。
In the conventional method described above, when transferring a compressed or attribute-converted record to a program, it always checks the field attributes and uses a transfer method that matches the attributes. As the number of records increases, it takes more time to enlarge the records, which reduces efficiency.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の圧縮または属性変換レコード引き伸ばし方式は
、レコード構造を定義しディレクトリに格納するレコー
ド定義情報格納手段と、ユーザ形式のレコードをディレ
クトリEのレコード定義情報に基づき圧縮または属性変
換して記憶媒体Fに格納するレコード格納手段と、ディ
レクトリのレコード定義情報を参照し、当該レコードを
もとの形に引き伸ばし転送する命令を予め生成する転送
命令生成手段と、生成された命令を実行してもとの形に
レコードを引き伸ばし、ユーザレコード領域へレコード
を転送するレコード転送手段を有する。
The compression or attribute conversion record enlargement method of the present invention includes a record definition information storage means that defines a record structure and stores it in a directory, and a storage medium F that compresses or converts attributes of user format records based on record definition information in a directory E. a record storage means for storing a record in the directory, a transfer command generation means for generating in advance an instruction to enlarge and transfer the record to its original form by referring to the record definition information in the directory, It has a record transfer means for enlarging the record into a shape and transferring the record to the user record area.

このように、プログラムで使用するレコードの各フィー
ルドに対してフィールドの属性に合ったレコード転送命
令を、レコードを構成するフィールド順にメモリ上に予
め生成し用意することにより、レコードを読込むときに
フィールドの属性を調べたりすることなく圧縮または転
送することができる。
In this way, by generating and preparing record transfer instructions that match the field attributes for each field of a record used in a program in advance in memory in the order of the fields that make up the record, when reading a record, the can be compressed or transferred without examining the attributes of the file.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の圧縮または属性変換レコード引き伸ば
し方式の一実施例の構成図、第2図は命令生成領域8の
説明図、第3図は圧縮または属性変換されたレコード1
3とユーザレコード形式14のレコードとの関係説明図
である。
FIG. 1 is a block diagram of an embodiment of the compressed or attribute-converted record expansion method of the present invention, FIG. 2 is an explanatory diagram of the instruction generation area 8, and FIG. 3 is a compressed or attribute-converted record 1.
3 is an explanatory diagram of the relationship between records in user record format 14 and user record format 14.

本実施例は、データベースシステムにおいてフィールド
の属性や長さなどの情報をディレクトリ5に格納するレ
コード定義情報格納手段1と、ディレクトリ5上のレコ
ード定義情報に基づきフィールド圧縮または属性変換し
たレコードをデータベース6に格納するレコード格納手
段2と、ディレクトリ5に格納されているレコード定義
情報に、基づき各フィールドの属性を調べ圧縮または属
性変換されたレコードをもとの形に引き伸ばす命令をメ
モリ7の命令生成領域8に予め生成する転送命令生成手
段3と、入出力制御モニタ10内にあり、上記生成され
た転送命令を実行し、データベース6から読込んだ圧縮
または属性変換されたレコードをもとの、形に引き伸ば
し、メモリ7のユーザレコード領域9に転送するレコー
ド転送手段4から構成される。
In this embodiment, a record definition information storage means 1 stores information such as field attributes and lengths in a directory 5 in a database system, and a database 6 stores records whose fields have been compressed or whose attributes have been converted based on the record definition information on the directory 5. and record definition information stored in the directory 5, the command generation area of the memory 7 generates a command to check the attributes of each field and expand the compressed or attribute-converted record to its original form. A transfer command generating means 3 generated in advance in the input/output control monitor 10 executes the above-generated transfer command and converts the compressed or attribute-converted records read from the database 6 into the original form. It is comprised of a record transfer means 4 for enlarging the data and transferring it to the user record area 9 of the memory 7.

転送命令生成手段3は第2図のようにレコードがn個の
フィールドからなる場合はフィールド1、フィールド2
.・・・・・・、フィールドnの順におのおのレコード
定義情報のフィールドの属性に合った転送命令を命令生
成領域8に生成する。レコード転送手段4は第3図の圧
縮または属性変換されたレコード13が正しくもとのユ
ーザレコード形式14に引き伸ばしたことを示すために
、コンディションコード11のセットを行なう命令を生
成する。最後にレコードの転送が終了すると、レコード
転送手段4はデータベースの入出力制御モニタ10から
制御を命令生成領域8に移したために入出力制御モニタ
10に制御が返るようにリターン命令12を生成する。
If the record consists of n fields as shown in FIG.
.. . . . In order of field n, transfer commands matching the attributes of the fields of the record definition information are generated in the command generation area 8. The record transfer means 4 generates an instruction to set a condition code 11 to indicate that the compressed or attribute-converted record 13 of FIG. 3 has been correctly expanded to the original user record format 14. Finally, when the record transfer is completed, the record transfer means 4 generates a return instruction 12 so that control is returned to the input/output control monitor 10 since the control has been transferred from the input/output control monitor 10 of the database to the instruction generation area 8.

上記のようにレコード転送手段4はプログラムよりレコ
ードの入力命令があったとき転送命令生成手段3によっ
てメモリ7に予め生成しておいた命令生成領域8に入力
制御モニタ10から制御を移す、上記制御の移動で、入
出力制御モニタlOのレコード転送手段4がデータベー
ス6の圧縮または属性変換されたレコード13を一連の
流れの処理でユーザ形式のレコード14のように引き伸
ばし、ユーザレコード領域9に転送する。その後、制御
は入出力制御モニタ10に返り、以後レコードの入力命
令があれば上記のレコード転送手段4で圧縮または属性
変換されたレコード13を引き伸ばし転送する。
As described above, the record transfer means 4 transfers control from the input control monitor 10 to the instruction generation area 8 generated in advance in the memory 7 by the transfer instruction generation means 3 when a record input instruction is received from the program. , the record transfer means 4 of the input/output control monitor 10 expands the compressed or attribute-converted records 13 of the database 6 into user format records 14 through a series of processing steps, and transfers them to the user record area 9. . Thereafter, control returns to the input/output control monitor 10, and if there is a subsequent record input command, the record 13 compressed or attribute-converted by the record transfer means 4 is enlarged and transferred.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、プログラムで使用するレ
コードの各フィールドに対してフィールドの属性に合っ
たレコード転送命令を、レコードを構成するフィールド
順にメモリ上に予め生成し用意することにより、レコー
ドを読込むときにフィールドの属性を調べたりすること
なく、圧縮または属性変換されたレコードをユーザ形式
のレコードに高速に引き伸ばし転送する効果がある。
As explained above, the present invention generates and prepares record transfer instructions matching the field attributes for each field of a record used in a program in advance in memory in the order of the fields that make up the record. This has the effect of rapidly enlarging and transferring compressed or attribute-converted records to user-format records without checking field attributes when reading.

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

第1図は本発明の圧縮または属性変換レコード引き伸ば
し方式の一実施例の構成図、第2図は命令生成領域8の
説明図、第3図は圧縮または属性変換されたレコード1
3とユーザ形式のレコード14との関係説明図である。 1・・・・・・レコード定義情報格納手段、2・・・・
・・レコード格納手段、 3・・・・・・転送命令生成手段、 4・・・・・・レコード転送手段、 5・・・・・・ディレクトリ、 6・・・・・・データベース、 7・・・・・・メモリ、 8・・・・・・命令生成領域、 9・・・・・・ユーザレコーF11域。 lO・・・・・・入出力制御モニタ。 11・・・・・・コンディションコード、12・・・・
・・リターン命令、 13・・・・・・圧縮または属性変換されたレコード、
14・・・・・・ユーザ形式のレコード。 第2図
FIG. 1 is a block diagram of an embodiment of the compressed or attribute-converted record expansion method of the present invention, FIG. 2 is an explanatory diagram of the instruction generation area 8, and FIG. 3 is a compressed or attribute-converted record 1.
3 and a user format record 14. FIG. 1...Record definition information storage means, 2...
... record storage means, 3 ... transfer command generation means, 4 ... record transfer means, 5 ... directory, 6 ... database, 7 ... ...Memory, 8...Instruction generation area, 9...User record F11 area. lO...Input/output control monitor. 11... Condition code, 12...
...Return instruction, 13...Record compressed or attribute converted,
14...User format record. Figure 2

Claims (1)

【特許請求の範囲】 データベースシステムにおいて、 レコード構造を定義しディレクトリに格納するレコード
定義情報格納手段と、 ユーザ形式のレコードをディレクトリ上のレコード定義
情報に基づき圧縮または属性変換して記憶媒体上に格納
するレコード格納手段と、ディレクトリのレコード定義
情報を参照し、当該レコードをもとの形に引き伸ばし転
送する命令を予め生成する転送命令生成手段と、 生成された命令を実行してもとの形にレコードを引き伸
ばし、ユーザレコード領域へレコードを転送するレコー
ド転送手段を有する圧縮または属性変換レコード引き伸
ばし方式。
[Claims] In a database system, record definition information storage means defines a record structure and stores it in a directory, and records in a user format are compressed or attribute converted based on the record definition information on the directory and stored on a storage medium. a record storage means for storing a record in the directory; a transfer command generation means for generating in advance a command to enlarge and transfer the record to its original form by referring to record definition information in the directory; A compression or attribute conversion record enlargement method having record transfer means for enlarging the record and transferring the record to a user record area.
JP61026309A 1986-02-07 1986-02-07 Stretching system for compressed or attribute-converted record Pending JPS62182948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61026309A JPS62182948A (en) 1986-02-07 1986-02-07 Stretching system for compressed or attribute-converted record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61026309A JPS62182948A (en) 1986-02-07 1986-02-07 Stretching system for compressed or attribute-converted record

Publications (1)

Publication Number Publication Date
JPS62182948A true JPS62182948A (en) 1987-08-11

Family

ID=12189771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61026309A Pending JPS62182948A (en) 1986-02-07 1986-02-07 Stretching system for compressed or attribute-converted record

Country Status (1)

Country Link
JP (1) JPS62182948A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314689A (en) * 1995-05-12 1996-11-29 Fujitsu Ltd Compressed data management system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58165161A (en) * 1982-03-25 1983-09-30 Fujitsu Ltd Simple data base system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58165161A (en) * 1982-03-25 1983-09-30 Fujitsu Ltd Simple data base system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314689A (en) * 1995-05-12 1996-11-29 Fujitsu Ltd Compressed data management system

Similar Documents

Publication Publication Date Title
JPS62182948A (en) Stretching system for compressed or attribute-converted record
JP4606862B2 (en) Data converter
JPH02165353A (en) Conversation type data processing system
Degerman et al. Spatial representation of noun phrases
JP2000056956A (en) Device and method for converting request specification model into other system model
JPH0628150A (en) Method for compressing program capacity
JP2851359B2 (en) Schedule generation device
JPH04116721A (en) System definition directive analysis system
JP2000347907A (en) Automatic data file converting device
JPH03176737A (en) System for forming various information files
JPS6227836A (en) Storing system for document data
JP3181081B2 (en) Definition body generation processing method
JPH02187836A (en) Data storing system
JPH04238531A (en) Automatic generating system for code conversion data of another system
JPH0454536A (en) Time series data processing system
JP2003337732A (en) Data linking method and device
JPS59148921A (en) Checking system of data
JP2002351708A (en) File form converter
JPH05108303A (en) Data compression system
JPH02110775A (en) Graphic character data preserving system
JPH041856A (en) Information processor
JPH0398137A (en) File back-up system
JPH0329037A (en) File control system
JPH10143592A (en) Report preparation device provided with connection repetitive frame and connection repetitive frame generation method
JPH0635778A (en) Data record selection/edition output system