JPH028943A - System for dynamically changing file name - Google Patents
System for dynamically changing file nameInfo
- Publication number
- JPH028943A JPH028943A JP88159010A JP15901088A JPH028943A JP H028943 A JPH028943 A JP H028943A JP 88159010 A JP88159010 A JP 88159010A JP 15901088 A JP15901088 A JP 15901088A JP H028943 A JPH028943 A JP H028943A
- Authority
- JP
- Japan
- Prior art keywords
- file
- name
- file name
- program
- changing
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
本発明はプログラム中からファイル名を指定してファイ
ル実体とプログラムを動的に結合するようなファイルオ
ープン機構に関する。The present invention relates to a file open mechanism that dynamically connects a file entity and a program by specifying a file name from within a program.
従来のファイルとプログラムの動的な結合方式としては
、ファイルオープン機構に対して指定したファイル名を
そのままファイル実体のファイル名としてオープンする
方法が広く利用されている。As a conventional method for dynamically linking a file and a program, a method is widely used in which a file name specified to a file open mechanism is opened as it is as the file name of the file entity.
ところが、ファイル名はオペレーティングシステムによ
り命名規約が異なるため、利用者プログラムを別のオペ
レーティングシステムに移植する場合には、利用者プロ
グラム内で使用しているファイル名を変更しなければな
らないという欠点があった。
本発明は、異なるファイル管理システム下においても、
利用者プログラム中で使用するファイル名を変更するこ
となくファイルアクセスを可能とするファイルオープン
機構を提供することを課題とする。However, the naming convention for file names differs depending on the operating system, so when porting a user program to another operating system, the disadvantage is that the file name used in the user program must be changed. Ta. The present invention can also be used under different file management systems.
The object of the present invention is to provide a file open mechanism that allows file access without changing the file name used in a user program.
本発明は、利用者プログラムからのファイルオープン機
構に対するファイル名指定によるオープン要求に対し、
あらかじめ指定された変換規則によりファイル名を変換
し、変換後のファイル名を使用して実際のファイルをオ
ープンする構成とする。The present invention responds to an open request from a user program to a file open mechanism by specifying a file name.
The file name is converted according to prespecified conversion rules, and the converted file name is used to open the actual file.
利用者プログラムでオープン要求されたファイル名と、
実際にオープンするファイル名を異なる名前とすること
を可能としたため、利用者プログラムとファイルシステ
ムとの依存関係を低くすることができる。The file name requested to be opened by the user program,
Since the file name actually opened can be set to a different name, the dependency between the user program and the file system can be reduced.
第1図は本発明によるファイル名の動的変換方式を適用
した装置の構成を示すブロック図である。
図において、1はファイル名変換規則入力機構、2はフ
ァイル名変換機構、3は利用者プログラム、4はファイ
ルオープン機構、5はファイル実体を示している。
このような構成において、ファイル名変換規則入力機構
1によって入力されるファイル名変更規則は、ファイル
名変換機種2内に記憶される利用者プログラム3からの
ファイルオープン要求はファイルオープン機構4に伝え
られ、ファイル名変換機構2により名前を変更した後、
ファイル実体5と結びつけるように処理される。これに
より、利用者プログラム3はファイル実体5と異なるフ
ァイル名でこのファイルをアクセスすることが可能とな
る。FIG. 1 is a block diagram showing the configuration of an apparatus to which a dynamic file name conversion method according to the present invention is applied. In the figure, 1 is a file name conversion rule input mechanism, 2 is a file name conversion mechanism, 3 is a user program, 4 is a file open mechanism, and 5 is a file entity. In such a configuration, the file name change rule input by the file name conversion rule input mechanism 1 is such that a file open request from a user program 3 stored in the file name conversion model 2 is transmitted to the file open mechanism 4. , after being renamed by file name conversion mechanism 2,
It is processed so as to be associated with the file entity 5. This allows the user program 3 to access this file with a file name different from that of the file entity 5.
利用者プログラムでオープン要求されたファイル名と実
際にオープンするファイル名を異なる名前とすることを
を可能としたため、利用者プログラムとファイルシステ
ムとの依存関係を低くすることができ、利用者プログラ
ムの移植性を高めることができる。Since the file name requested by the user program to be opened can be different from the file name actually opened, the dependence between the user program and the file system can be reduced, and the user program can be Portability can be increased.
第1図は本発明によるファイル名の動的変換方式を適用
した装置の構成を示すブロック図である。
1−“−ファイル名変換規則入力機構、2−ファイル名
変換機構、3−利用者プログラム、4−・ファイルオー
プン機構、5−ファイル実体。FIG. 1 is a block diagram showing the configuration of an apparatus to which a dynamic file name conversion method according to the present invention is applied. 1--File name conversion rule input mechanism, 2-File name conversion mechanism, 3-User program, 4-File open mechanism, 5-File entity.
Claims (1)
プログラムを動的に結合するようなファイルオープン機
構において、オープンを要求されたファイル名をあらか
じめ指定されたファイル名変換規則に従って変更するこ
とを特徴としたファイル名の動的変換方式。In a file open mechanism that dynamically connects a file entity and a program by specifying a file name from within a program, the file name requested to be opened is changed according to prespecified file name conversion rules. Dynamic file name conversion method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP88159010A JPH028943A (en) | 1988-06-27 | 1988-06-27 | System for dynamically changing file name |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP88159010A JPH028943A (en) | 1988-06-27 | 1988-06-27 | System for dynamically changing file name |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH028943A true JPH028943A (en) | 1990-01-12 |
Family
ID=15684273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP88159010A Pending JPH028943A (en) | 1988-06-27 | 1988-06-27 | System for dynamically changing file name |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH028943A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0461831A2 (en) * | 1990-06-11 | 1991-12-18 | Canon Kabushiki Kaisha | Method for changing a file name of a directory in a non-rewritable record medium |
JPH06187211A (en) * | 1992-07-06 | 1994-07-08 | Microsoft Corp | Reference system of plurality of file names |
US5628010A (en) * | 1993-02-19 | 1997-05-06 | Fujitsu Limited | Method and device for accessing character files image data |
KR100588173B1 (en) * | 1999-12-29 | 2006-06-08 | 엘지전자 주식회사 | Method for managing file identifier descriptor |
-
1988
- 1988-06-27 JP JP88159010A patent/JPH028943A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0461831A2 (en) * | 1990-06-11 | 1991-12-18 | Canon Kabushiki Kaisha | Method for changing a file name of a directory in a non-rewritable record medium |
JPH06187211A (en) * | 1992-07-06 | 1994-07-08 | Microsoft Corp | Reference system of plurality of file names |
US5628010A (en) * | 1993-02-19 | 1997-05-06 | Fujitsu Limited | Method and device for accessing character files image data |
KR100588173B1 (en) * | 1999-12-29 | 2006-06-08 | 엘지전자 주식회사 | Method for managing file identifier descriptor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050131970A1 (en) | Customizable data translation method and system | |
EP1293870A3 (en) | System for controlling the distribution and use of composite digital works | |
GB2310061A (en) | End user query facility | |
EA200200658A1 (en) | METHOD AND SYSTEM FOR CREATING PERSONALIZED SET OF RESULTS | |
IT1275529B (en) | EMULATOR FOR A RELATIONAL DATABASE IN SQL LANGUAGE | |
JPH028943A (en) | System for dynamically changing file name | |
WO2001080070A3 (en) | Search engine with search task model and interactive search task-refinement process | |
US10817554B2 (en) | Observation-based query interpretation model modification | |
JPH07141237A (en) | Data base access control unit | |
JPH0438549A (en) | Network topology control system | |
JPH04104340A (en) | Code conversion system by conversion master file | |
JPS63145551A (en) | Changing system for definition of file attribute | |
JPH02294855A (en) | Sub-file using right managing system | |
JPH0350628A (en) | Make file generation method using source file | |
JPS62282329A (en) | Information processor | |
JPH02277114A (en) | Parameter inquiry system | |
JPH0428345U (en) | ||
Still et al. | Guidelines: a production rule based implementation of mortgage insurance underwriting policy | |
JPH0477920A (en) | Screen control mechanism for work station | |
JPH02178835A (en) | Software parts synthesizing device | |
JPH03230261A (en) | Time point information control system | |
JPH05120100A (en) | Resource defining system | |
JPH04178836A (en) | Format editing processing system | |
JPH0455955A (en) | Access control system for its own site | |
JPH03255554A (en) | Temporary file input/output control system |