专利汇可以提供Processing method and system for composing file name from alias to real name专利检索,专利查询,专利分析的服务。并且In a file system wherein directories each managing at least one subordinate directory, other directories each managing at least one file, and the file constitutes a tree structure, the present invention relates to a processing method and a system for composing a file name from an alias to a real name. A space-management table wherein an internal name and a real name is stored in pair is provided, the real names corresponding to the names of the directories or file constituting a designated name are sequentially examined by using the directories and the space-management table, and the real names are composed to form the file name.,下面是Processing method and system for composing file name from alias to real name专利的具体信息内容。
In a file system wherein directories each managing at least one subordinate directory, other directories each managing at least one file, and the files constitute a tree structure, the present invention relates to a processing method and a system for composing a file name from an alias to a real name. In this, the alias is a file name which is added conveniently in accordance with a searching route when the file is searched for. The real name is the proper name. In an information processing system, because of the necessity of the access control, it is necessary to know the file access history as an access log. At that time, to avoid confusion, the real name must be used.
In this technical field, it is called name resolution to find a position in a storage data medium in the designated file. In the directories and files which are constituted as a tree structure and which files are in the most subordinate position, the file is designated a name which is constituted with sequential names from the highest root directory to the lowest file. The designated name consists of the alias name and the real name. The name resolution is carried out by using the designated name.
The directory stores the name of the subordinate directory or the name of the file and an internal name in a pair. In this, the internal name designates the storing position of the hardware. A space-management tables stores the internal name and a storing position in a pair. These are explained hereinafter with reference to the drawings.
If the designated name is the only one for a file, the designated name is equal to the real name. The real name can be output as an access log, and by the access log, an access monitor can be carried out.
But, sometimes, a file has a plurality of designated names. For example, initially, the file is named '/a/b/c/' and after that, the same file is sometimes named '/x/y/z'. Where, for example, the left end slanted line means the root directory, x is a character of the subordinate directory's name, the next slanted line means partition, y is a character of the subordinate directory's name, the next slanted line means partition, and z is the name of the file. In this case, not withstanding the real name '/a/b/c' or the alias name '/x/y/z' shows an identical file, the two different files are designated in the access log. The file cannot be defined by one name.
An object of present invention is to compose and output a predetermined file name, in spite of accessing by either one or a plurality of designated names showing a file when the access history of the file is output.
According to an aspect of the present invention, there is provided a processing method for composing a file name from an alias to a real name in a file system, comprising a tree structure including at least one directory 10-0, 10-1 which manages subordinate directories, and files 10-3 each of which is managed by one of the directories, and wherein each file is named by a designated name comprising an alias and a real name. The designated name is constituted of a sequentially arranged set of names of the related directories and the file, and each directory 10-0, 10-1 stores a name F of the subordinate directory or the subordinate file and a corresponding internal name N thereto in a pair; characterized in that the method comprises steps of storing the internal name and a real name corresponding thereto in a pair, examining the real names corresponding to the alias F of the directories 10-0, 10-1 and the file 10-3 which constitutes the designated name, and composing the real name of the file.
According to another aspect of the present invention, there is provided a system for composing a file name from an alias to a real name, comprising a tree structure including at least one directory 10-0, 10-1 which manages subordinate directories, and files 10-3 each of which is managed by one of the directories, and wherein each file is given a designated name comprising an alias and a real name, the designated name being constituted of a sequentially arranged set of names of the related directories and the file, and each directory 10-0, 10-1, stores a name F of the subordinate directory or the subordinate file and a corresponding internal name N thereto in a pair, characterized in that the system comprises a space-management table 20 for storing the internal name N which designates a storing position therein; a stored position S in a storing medium of the directories 10-0, 10-1 or the file 10-3 corresponding to the internal name N; and a real name R as a set.
Other features and advantages of the invention will be apparent from the following description with reference to the accompanying drawings.
Prior to the explanation of an embodiment of this invention, the related arts are explained with reference to Fig. 1.
In Fig. 1 a method of name resolution is explained. In the figure, reference numerals 10-0 to 10-2 denote directories, 10-3 to 10-5 denote files, and 15 denotes a space-management table.
The file 10-3 is designated by a designated name ('/a'/c'') attached in the front of the file name (e.g., c'). The first slanted line/indicates the root directory 10-0, a' is a name of the directory a' 10-1, the second slanted line indicates a partition, and c' is the file name. The designated name may be longer in accordance with the tree structure. The name resolution is to obtain a position of the designated file in a storing medium.
The directories 10-0 to 10-2 store at least one pair of the subordinate directory or file and an internal name (e.g. 100, 200, 300 or the like).
The space-management table 15 stores pairs of the internal name and the storing position.
When name resolution is executed, the internal names are examined with reference to directories having the name as indicated in the designated name, and storing positions of the directories or file corresponding to the internal name by the space management table. Then, the above process is repeated.
For example, in the case when the designated name of the file 10-3 is '/a'/c'', the name resolution is explained as follows. The first slanted line '/' shows the root directory 10-0 and the following '/' is only a partition mark.
First, the directory 10-0 shown by '/' is searched for and the internal name '100' corresponding to 'a'' which is located next to the mark '/' is acquired. Then, the space-management table 15 is searched for and the storing position α corresponding to the internal name '100' is acquired. Thus the obtained directory a' which is stored in the position α is searched for by the name 'c'' which is located after 'a'' in the designated name and the internal name '200' is acquired. Then, with reference to the space-management table, the storing position β corresponding to the internal name '200' is acquired, and the contents of the file 10-3 is stored in the storing position β. If only one designated name of the file exists, the designated name is used for the access log and the file name to be monitored is unified.
Next, the present invention is explained with reference to Fig. 2.
In the figure, reference numeral 10-0 denotes a root directory, 10-1 denotes a directory #1, 10-3 denotes a file #n, 20 denotes a space-management table, 30 denotes a naming server, 40 denotes a space-management server, 50 denotes a file name composing portion, F₁, F₂ or the like denote names of the directories or files, No to Nn denote internal names of the directories or files, So to Sn denote positions of the directories or files in the storing medium, and Ro to Rn denote real names of the directories or files.
The directory 10-0, for example, stores F₁ and N₁ in a pair and F₂ and N₂ in a pair, where F₁ and F₂ are names of the directories 10-1 or the like managed by the directory 10-0.
The space-management table 20 stores the internal names No to Nn, the storing positions So to Sn and the real names Ro to Rn in sets of No, So, Ro; N₁, S₁, R₁;...; Nn, Sn, Rn.
The naming server 30 informs the file space-management server 40 of the internal name N by examining the internal name N corresponding to the name F of the directory or file located just after one of the directories in the designated name, with reference to the predetermined directory 10-0 if the file access is requested, or with reference to one of the other directories stored in the storing position S if the file space-management server 40 informs the storing position S. Where N, F and S denote one of No to Nn, F₁ to F₂ or the like, and So to Sn, respectively.
The file space management server 40 receives the internal name N from the naming server 30, the storing position S and the real name R corresponding to the internal name N is examined with reference to the space management table 20, the naming server 30, is informed of the storing position S and the file name composing portion 50 is informed of the real name R.
The file name composing portion 50 composes all the real names informed from the space-management server 40 until the file access is completed and outputs the information as an access log. Similarly where R denotes one of Ro to Rn.
Since the file 10-3 requested for access is designated by the designated name wherein the names of the concerning directories 10-0 to 10-1 are located from a higher rank to a lower rank in front of the name of the file 10-3, the process is carried out following the designated names.
For example, it is assumed that the access request with the designated name '/Fx/Fy/Fz' is applied.
The naming server 30 informs the space-management server 40 of the access request. The space-management server 40 receiving the information examines the storing position So of the root directory 10-0 and the real name Ro with reference to the space-management table 20, informs the naming server 30 of the storing position So, and informs the file name composing portion 50 of the real name Ro. Then, the naming server 30 searches for the root directory 10-0 stored in the above storing position So, acquires the internal name N corresponding to the name F, and transmits the internal name N to the space-management server 40. The space-management server 40 receiving the internal name N obtains the storing position S and the real name R corresponding to the internal name N with reference to the space-management table 20, informs the naming server 30 of the storing position S, and informs the file name composing portion 50 of the real name R. Subsequently, for other F's similar processing is carried out and other R's corresponding to F's, respectively, can be obtained. The file name composing portion 50 composes thus obtained R's (e.g., Ro, Rx, Ry, Rz) and the file name '/Ro/Rx/Ry/Rz' is composed.
Namely, by outputting a file name composed from the real names, a single file name determined for a special file can be output.
In Fig. 3, an example of the file system having a tree structure is shown. The directory 10-0 manages the directory 10-1, the directory 10-1 manages the directory 10-2, and the directory 10-2 manages the file 10-3. The directory 10-1 is named a and x, the directory 10-2 is named b and y and the file 10-3 is named c and z. The names a, b, and c were initially called proper names, but the names x, y, and z were named after that, namely, alias.
In Fig. 4, which consists of Figs. 4A and 4B, an embodiment of a processing method for composing a file name from an alias to a real name using the file system in Fig. 3 is shown. In Fig. 4, the reference numeral 5 denotes a file access request portion, 60 denotes a storing medium, 10-0 to 10-3 denotes the same numbered elements in Fig. 3, 20 denotes the same numbered element in Fig. 2. A directory searching in this embodiment is a portion of the function of the file name composing portion 50 in Fig. 2 and the function of the naming server 30, and the space-management table searching is a portion of the function of the file name composing portion 50 and the function of the file space-management server 40.
In the case when an access request is applied to the file 10-3 using the designated name '/x/y/z', the explanation is executed with reference to Fig. 4. S1, S2, S3, ... or the like corresponds to the S1, S2, S3, ... or the like in Fig. 4 and these numbers show the order of the processing.
At this time, the file name 'a', which is initially named, is supplied to the naming server. (file space-management server)
At this time, the file name 'a' acquired from the file space-management server is stored. (naming server)
At this time, the file name 'b' which is named at file creation is acquired, and the file name 'b' is supplied to the naming server. (file space-management server)
At this time, the file name '/a/b' is composed from the file name 'a' acquired by the process step S5 and from the file name 'b' acquired from the file space-management server. (naming server)
At this time, the file name 'c' which is named at the file creation is acquired, and the file name '/a/b/c' (being a name at file creation) is composed from the file name '/a/b' supplied from the naming server and the file name 'c'. (file space-management server)
In Fig. 5, the processing in the storing information of the directories and the space-management table is shown, in the case when the file name at the file creation (i.e., real name) changes to 'α'/β'/γ''' from 'a/b/c/'.
When the real name is changed, the information of file name in the space-management table is changed in response to the change of the real name, when the file is accessed by using alias '/x/y/z' after the change of the real name, the real name 'α'/β'/γ'' can be composed as a real name after the change of the file name.
标题 | 发布/更新时间 | 阅读量 |
---|---|---|
具有多设备消息传输的总线通信 | 2020-05-08 | 845 |
可编程逻辑开关和系统 | 2020-05-08 | 393 |
智能语音系统及利用智能语音系统控制投影机的方法 | 2020-05-11 | 698 |
一种聚合人物动态的方法及装置 | 2020-05-11 | 795 |
一种无监督学习的空间信号源和室内位置关联的方法 | 2020-05-12 | 612 |
一种X光机图片采集辅助装置和处理方法 | 2020-05-14 | 488 |
防癌药及其配方 | 2020-05-14 | 151 |
基于工程造价计算描述语言BCL的报表生成装置及生成方法 | 2020-05-14 | 764 |
基于带对抗训练深度网络的恶意域名检测方法及系统 | 2020-05-14 | 479 |
一种主网OCS系统责任区维护校验方法 | 2020-05-13 | 145 |
高效检索全球专利专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。
我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。
专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。