JP2021072075A - File association processing device, file association method, and file association program - Google Patents

File association processing device, file association method, and file association program Download PDF

Info

Publication number
JP2021072075A
JP2021072075A JP2019200352A JP2019200352A JP2021072075A JP 2021072075 A JP2021072075 A JP 2021072075A JP 2019200352 A JP2019200352 A JP 2019200352A JP 2019200352 A JP2019200352 A JP 2019200352A JP 2021072075 A JP2021072075 A JP 2021072075A
Authority
JP
Japan
Prior art keywords
file
hash value
written
association
value
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.)
Granted
Application number
JP2019200352A
Other languages
Japanese (ja)
Other versions
JP6674067B1 (en
Inventor
壮 鈴木
Takeshi Suzuki
壮 鈴木
陸 坂本
Riku Sakamoto
陸 坂本
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.)
Kozo Keikaku Engineering Inc
Original Assignee
Kozo Keikaku Engineering Inc
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 Kozo Keikaku Engineering Inc filed Critical Kozo Keikaku Engineering Inc
Priority to JP2019200352A priority Critical patent/JP6674067B1/en
Application granted granted Critical
Publication of JP6674067B1 publication Critical patent/JP6674067B1/en
Publication of JP2021072075A publication Critical patent/JP2021072075A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide a file association processing device, a file association method, and a file association program, capable of tracing a relationship between files.SOLUTION: A file association processing device 10 comprises a calculation unit 16 which calculates a hash value of a file 30 having a format in which hash values can be written, a writing unit 18 which writes a hash value into a file 30 different from the file 30, and an acquisition unit 20 which acquires the hash value from the file 30 into which the hash value was written. The file association processing device collates a hash value acquired from one file 30 by the acquisition unit 20 with a hash value calculated from the other file 30 by the calculation unit 16, and associates the one file 30 with the other file 30 when the hash value of the one file 30 matches the hash value of the other file 30.SELECTED DRAWING: Figure 1

Description

本発明は、ハッシュ値を書き込める形式であるファイル、特にIFC(Industry Foundation Classes)又はST−Bridge形式のファイルを管理するファイル関連付け処理装置、ファイル関連付け方法及びファイル関連付けプログラムに関する。 The present invention relates to a file association processing device for managing a file in a format in which a hash value can be written, particularly an IFC (Industry Foundation Classes) or ST-Bridge format file, a file association method, and a file association program.

近年、BIM(Building Information Modeling)を利用することで、建築に関する作業やデータ管理の効率化が図られている。BIMでは、建物情報を電子データ化して3Dモデルとして扱い、その3Dモデルに建物の諸情報を関連付けて管理される(特許文献1参照)。 In recent years, by using BIM (Building Information Modeling), the efficiency of construction-related work and data management has been improved. In BIM, building information is converted into electronic data and treated as a 3D model, and various building information is associated with the 3D model and managed (see Patent Document 1).

BIMに関するデータの標準フォーマットとして、国際的な団体であるbuilding SMARTが定めるIFCや、一般社団法人buildingSMART Japanが定めるST−Bridgeがある。 As standard formats for BIM data, there are IFC defined by the international organization building SMART and ST-Bridge defined by the general incorporated association building SMART Japan.

特開2018−88065号公報JP-A-2018-88065

BIMでは、上記の標準フォーマットでデータが作成されるが、各データファイルの更新履歴の管理については、通常は、ファイルに関して、データベースを構築して管理する必要があり、管理が煩雑になる。 In BIM, data is created in the above standard format, but for the management of the update history of each data file, it is usually necessary to construct and manage a database for the file, which makes the management complicated.

本発明は、上記の課題を考慮してなされたものであって、ファイル間の関係性を追跡することができるファイル関連付け処理装置、ファイル関連付け方法、ファイル関連付けプログラムを提供することを目的とする。 The present invention has been made in consideration of the above problems, and an object of the present invention is to provide a file association processing device, a file association method, and a file association program capable of tracking relationships between files.

本発明に係るファイル関連付け処理装置は、ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出部と、算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込部と、前記ハッシュ値が書き込まれた前記ファイルから前記ハッシュ値を取得する取得部と、を備え、ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合し、前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付けることを特徴とする。 The file association processing device according to the present invention has a calculation unit that calculates a hash value of a file in a format in which a hash value can be written, a writing unit that writes the calculated hash value to a file different from the file, and the hash value. A hash value acquired by the acquisition unit from one file, which includes an acquisition unit for acquiring the hash value from the written file, and a format in which the hash value can be written, and another format in which the hash value can be written. When the hash value calculated by the calculation unit from the file is collated and the hash value of the one file and the hash value of the other file match, the one file and the other file are used. It is characterized by associating.

前記ファイル関連付け処理装置において、前記一のファイルと前記他のファイルとをアイコンで表示し、関連付けて表示する表示処理部を有することを特徴とするファイル関連付け処理装置。 A file association processing device, characterized in that the file association processing device has a display processing unit that displays the one file and the other file with icons and displays them in association with each other.

前記ファイル関連付け処理装置において、前記ファイルの形式は、IFC(Industry Foundation Classes)又はST−Bridge形式であることを特徴とする。 In the file association processing device, the file format is IFC (Industry Foundation Classes) or ST-Bridge format.

本発明に係るファイル関連付け方法は、ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出工程と、算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込工程と、前記ハッシュ値が書き込まれた前記ファイルから前記ハッシュ値を取得する取得工程と、ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合する工程と、前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付ける工程とを備えることを特徴とする。 The file association method according to the present invention includes a calculation step of calculating a hash value of a file in which a hash value can be written, a writing step of writing the calculated hash value to a file different from the file, and a writing step of writing the hash value. The acquisition process of acquiring the hash value from the file, the hash value acquired by the acquisition unit from one file in which the hash value can be written, and the calculation from another file in which the hash value can be written. When the step of collating the hash value calculated by the unit and the hash value of the one file and the hash value of the other file match, the one file and the other file are associated with each other. It is characterized by having a process.

前記ファイル関連付け方法において、前記一のファイルと前記他のファイルとをアイコンで表示し、関連付けて表示する表示工程を有することを特徴とする。 The file association method is characterized by having a display step of displaying the one file and the other file with icons and displaying them in association with each other.

前記ファイル関連付け方法において、前記ファイルの形式は、IFC(Industry Foundation Classes)又はST−Bridge形式であることを特徴とする。 In the file association method, the file format is IFC (Industry Foundation Classes) or ST-Bridge format.

本発明に係るファイル関連付けプログラムは、ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出工程と、算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込工程と、前記ハッシュ値が書き込まれた前記ファイルから前記ハッシュ値を取得する取得工程と、ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合する工程と、前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付ける工程と、をコンピュータに実行させることを特徴とする。 The file association program according to the present invention has a calculation step of calculating a hash value of a file in which a hash value can be written, a writing step of writing the calculated hash value to a file different from the file, and a writing step of writing the hash value. The acquisition process of acquiring the hash value from the file, the hash value acquired by the acquisition unit from one file in which the hash value can be written, and the calculation from another file in which the hash value can be written. When the step of collating the hash value calculated by the unit and the hash value of the one file and the hash value of the other file match, the one file and the other file are associated with each other. It is characterized by having a computer execute a process.

前記ファイル関連付けプログラムにおいて、前記一のファイルと前記他のファイルとをアイコンで表示し、関連付けて表示する表示工程を有することを特徴とする。 The file association program is characterized by having a display step of displaying the one file and the other file with icons and displaying them in association with each other.

前記ファイル関連付けプログラムにおいて、前記ファイルの形式は、IFC(Industry Foundation Classes)又はST−Bridge形式であることを特徴とする。 In the file association program, the file format is IFC (Industry Foundation Classes) or ST-Bridge format.

本発明のファイル関連付け処理装置、ファイル関連付け方法、ファイル関連付けプログラムでは、ハッシュ値を利用してファイルを管理することにより、ファイルの保存時に外部のデータベース等に履歴を記録することなくファイル間の関係性を追跡することができる。 In the file association processing device, file association method, and file association program of the present invention, by managing files using hash values, relationships between files are not recorded in an external database or the like when the files are saved. Can be tracked.

本発明の実施形態に係るファイル関連付け処理装置の説明図である。It is explanatory drawing of the file association processing apparatus which concerns on embodiment of this invention. 図2Aは、ファイルの説明図であり、図2Bは、記憶部に記憶されたファイルの説明図である。FIG. 2A is an explanatory diagram of the file, and FIG. 2B is an explanatory diagram of the file stored in the storage unit. 本発明の実施形態に係るファイル関連付け処理装置のpre-hash値の書込処理の説明図である。It is explanatory drawing of the writing process of the pre-hash value of the file association processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るファイル関連付け処理装置のファイルの関連付け処理の説明図である。It is explanatory drawing of the file association processing of the file association processing apparatus which concerns on embodiment of this invention. 図5Aは、記憶部に記憶されたファイルの説明図であり、図5Bは、ファイルのpre-hash及びself-hashの説明図である。FIG. 5A is an explanatory diagram of the file stored in the storage unit, and FIG. 5B is an explanatory diagram of the pre-hash and self-hash of the file. 図6A〜図6Eは、関連付けられたファイルの説明図である。6A-6E are explanatory views of the associated files. 関連付けられたファイルをアイコンで表示した説明図である。It is explanatory drawing which displayed the associated file by the icon. ファイル関連付け処理装置の機能を実現するコンピュータの一例を示すハードウェアの説明図である。It is explanatory drawing of the hardware which shows an example of the computer which realizes the function of the file association processing apparatus.

<ファイル関連付け処理装置10の構成>
以下に、本発明の実施形態に係るファイル関連付け処理装置10、ファイル関連付け方法及びファイル関連付けプログラムを実施するための形態(以下、「実施形態」という)について、図面を用いて説明する。図1は、本発明の実施形態に係るファイル関連付け処理装置10の説明図であり、図2Aは、ファイル30の説明図であり、図2Bは、記憶部22に記憶されたファイル30の説明図である。
<Configuration of file association processing device 10>
Hereinafter, the file association processing device 10, the file association method, and the embodiment for implementing the file association program (hereinafter referred to as “the embodiment”) according to the embodiment of the present invention will be described with reference to the drawings. FIG. 1 is an explanatory diagram of a file association processing device 10 according to an embodiment of the present invention, FIG. 2A is an explanatory diagram of a file 30, and FIG. 2B is an explanatory diagram of a file 30 stored in the storage unit 22. Is.

ファイル関連付け処理装置10は、制御部12、入力部14、算出部16、書込部18、取得部20、記憶部22、表示処理部24及び表示部26を備え、これらがバス28を介して相互に接続される。また、ファイル関連付け処理装置10は、公衆回線60を介して、端末50と接続している。 The file association processing device 10 includes a control unit 12, an input unit 14, a calculation unit 16, a writing unit 18, an acquisition unit 20, a storage unit 22, a display processing unit 24, and a display unit 26, which are via a bus 28. To be connected to each other. Further, the file association processing device 10 is connected to the terminal 50 via the public line 60.

制御部12は、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって構成される。制御部12では、ファイル関連付け処理装置10内の記憶装置に記憶されている各種プログラムがRAM(Random Access Memory)上にロードされ、実行される。制御部12は、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現される。 The control unit 12 is composed of, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like. In the control unit 12, various programs stored in the storage device in the file association processing device 10 are loaded into the RAM (Random Access Memory) and executed. The control unit 12 is realized by, for example, an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

入力部14は、IFC又はST−Bridge形式のファイル30を入力する機能を有する。以下、ファイル30はIFC又はST−Bridge形式であることとする。算出部16は、ファイル30のハッシュ値を算出する機能を有する。ハッシュ値を算出するハッシュ関数としては、例えば、md5(message digest algorithm 5)である。書込部18は、ハッシュ値をファイルに書き込む機能を有する。ここで、ファイル30は、ハッシュ値を書き込むため領域である書込領域32を有し、ハッシュ値は、書込領域32に書き込まれる(図2A参照)。取得部20は、ファイル30に書き込まれたハッシュ値を取得する機能を有する。記憶部22は、ファイル30を記憶するための記憶部である。図2Bでは、ファイル30として、ファイル30a〜30nが記憶されている。表示処理部24は、ハッシュ値が書き込まれたファイル30(一のファイル)から取得されたハッシュ値と、ファイル30(他のファイル)から算出されたハッシュ値とを照合し、照合した場合に一のファイルと他のファイルとを関連付ける機能を有する。また、表示処理部24は、関連付けられたファイル30をアイコンで表示する機能を有する。 The input unit 14 has a function of inputting an IFC or ST-Bridge format file 30. Hereinafter, the file 30 is in the IFC or ST-Bridge format. The calculation unit 16 has a function of calculating the hash value of the file 30. As a hash function for calculating the hash value, for example, md5 (message digest algorithm 5) is used. The writing unit 18 has a function of writing a hash value to a file. Here, the file 30 has a write area 32 which is an area for writing the hash value, and the hash value is written in the write area 32 (see FIG. 2A). The acquisition unit 20 has a function of acquiring the hash value written in the file 30. The storage unit 22 is a storage unit for storing the file 30. In FIG. 2B, files 30a to 30n are stored as the file 30. The display processing unit 24 collates the hash value acquired from the file 30 (one file) in which the hash value is written with the hash value calculated from the file 30 (another file), and when collated, one It has a function to associate this file with other files. Further, the display processing unit 24 has a function of displaying the associated file 30 with an icon.

端末50は、通信機能を有する端末である。公衆回線60は、インターネット等で構成される公衆回線である。 The terminal 50 is a terminal having a communication function. The public line 60 is a public line composed of the Internet and the like.

<ファイル関連付け処理装置10の動作の説明>
次に、ファイル関連付け処理装置10の動作について、図を用いて説明する。図3は、本発明の実施形態に係るファイル関連付け処理装置10のpre-hash値の書込処理の説明図であり、図4は、本発明の実施形態に係るファイル関連付け処理装置10のファイルの関連付け処理の説明図であり、図5Aは、記憶部22に記憶されたファイル30の説明図であり、図5Bは、ファイル30のpre-hash及びself-hashの説明図であり、図6A〜図6Eは、関連付けられたファイル30の説明図であり、図7は、関連付けられたファイル30を表示部26にアイコンで表示した説明図である。なお、図6A〜図6Eにおいて、ファイル30内はハッシュ値を示し、後述する括弧無しがself-hash値、括弧有りがpre-hash値を示す。また、ファイル30内のself-hash値は、理解のために記載したものであって、ファイル30に記憶されているものではない。
<Explanation of operation of file association processing device 10>
Next, the operation of the file association processing device 10 will be described with reference to the drawings. FIG. 3 is an explanatory diagram of the pre-hash value writing process of the file association processing device 10 according to the embodiment of the present invention, and FIG. 4 is a diagram of the file of the file association processing device 10 according to the embodiment of the present invention. 5A is an explanatory diagram of the file 30 stored in the storage unit 22, FIG. 5B is an explanatory diagram of the pre-hash and self-hash of the file 30, and FIGS. 6A to 6A are shown. FIG. 6E is an explanatory diagram of the associated file 30, and FIG. 7 is an explanatory diagram showing the associated file 30 as an icon on the display unit 26. In FIGS. 6A to 6E, the hash value in the file 30 is shown, the self-hash value without parentheses and the pre-hash value with parentheses, which will be described later, are shown. Further, the self-hash value in the file 30 is described for understanding, and is not stored in the file 30.

まず、ファイル関連付け処理装置10によるpre-hash値の書込処理について、説明する。入力部14からファイル30が入力される(ステップS1)。入力されたファイル30のハッシュ値(self-hash (以下「sh値」という))が算出部16で算出される(ステップS2)。 First, the process of writing the pre-hash value by the file association processing device 10 will be described. The file 30 is input from the input unit 14 (step S1). The hash value (self-hash (hereinafter referred to as “sh value”) of the input file 30) is calculated by the calculation unit 16 (step S2).

次に、入力されたファイル30は、入力された際のファイル30のファイル名とは異なるファイル名に変更され、書込部18によって、ファイル30のsh値がpre-hash値(以下「ph値」という)として、ファイル30の書込領域32に書き込まれ、入力されたファイル30とは別のファイル30として保存される(ステップS3)。例えば、ファイル30bに基づいたph値の書込は、ファイル30bのファイル名が異なるファイル名であるファイル30cに変更され、ファイル30cの書込領域32に、書込部18によって、ファイル30bのsh値がph値として書き込まれ、ファイル30bとは別ファイルであるファイル30cとして保存される。 Next, the input file 30 is changed to a file name different from the file name of the file 30 at the time of input, and the sh value of the file 30 is changed to a pre-hash value (hereinafter, "ph value") by the writing unit 18. It is written in the writing area 32 of the file 30 and saved as a file 30 different from the input file 30 (step S3). For example, the writing of the ph value based on the file 30b is changed to the file 30c in which the file name of the file 30b is a different file name, and the sh of the file 30b is stored in the writing area 32 of the file 30c by the writing unit 18. The value is written as a ph value and saved as a file 30c, which is a separate file from the file 30b.

次に、ファイル関連付け処理装置10によるファイルの関連付け処理について説明する。算出部16によって、記憶部22に記憶されているファイル30のsh値を算出する(ステップS11)。ここで、記憶部22には、ファイル30として、ファイル30a〜30nが記憶されているとする。 Next, the file association processing by the file association processing device 10 will be described. The calculation unit 16 calculates the sh value of the file 30 stored in the storage unit 22 (step S11). Here, it is assumed that the files 30a to 30n are stored as the file 30 in the storage unit 22.

取得部20によって、記憶部22に記憶されているファイル30のph値を取得する(ステップS12)。 The acquisition unit 20 acquires the ph value of the file 30 stored in the storage unit 22 (step S12).

ファイル30a〜30nのph値及びsh値は、図5Bに示したハッシュ値であったとする。具体的には、ファイル30aのsh値は、Haであるが、ph値は書き込まれていないとする。また、ファイル30bのsh値はHb、ph値は書き込まれていないとする。以下、ファイル30c〜ファイル30nのsh値、ph値は図5Bに示されるとおりである。 It is assumed that the ph value and sh value of the files 30a to 30n are the hash values shown in FIG. 5B. Specifically, it is assumed that the sh value of the file 30a is Ha, but the ph value is not written. Further, it is assumed that the sh value of the file 30b is Hb and the ph value is not written. Hereinafter, the sh value and pH value of the files 30c to 30n are as shown in FIG. 5B.

表示処理部24は、各ファイル30のsh値、ph値に基づいて、関連付けをする(ステップS13)。具体的には、ファイル30aのsh値はHaあるが、ph値は書き込まれていないので、他のファイル30とは関連付けられない(図6A参照)。 The display processing unit 24 associates the files 30 based on the sh value and the ph value (step S13). Specifically, although the sh value of the file 30a is Ha, the ph value is not written, so that the file 30a is not associated with other files 30 (see FIG. 6A).

ファイル30bのsh値はHb、ph値は書き込まれてはなく、ファイル30cのsh値はHc、ph値はHbである。ファイル30bのsh値及びファイル30cのph値はいずれもHbであって、ハッシュ値が一致する。従って、表示処理部24はファイル30bとファイル30cとを関連付ける(図6B参照)。 The sh value of the file 30b is Hb, the ph value is not written, the sh value of the file 30c is Hc, and the ph value is Hb. The sh value of the file 30b and the ph value of the file 30c are both Hb, and the hash values match. Therefore, the display processing unit 24 associates the file 30b with the file 30c (see FIG. 6B).

ファイル30dのsh値はHd、ph値は書き込まれてはなく、ファイル30eのsh値はHe、ph値はHdであり、ファイル30fのsh値はHf、ph値はHdである。ファイル30dのsh値、ファイル30eのph値及びファイル30fのph値はいずれもHdであって、ハッシュ値が一致する。従って、表示処理部24はファイル30dとファイル30e、ファイル30dとファイル30fとを関連付ける(図6C参照)。 The sh value of the file 30d is Hd, the ph value is not written, the sh value of the file 30e is He, the ph value is Hd, the sh value of the file 30f is Hf, and the ph value is Hd. The sh value of the file 30d, the ph value of the file 30e, and the ph value of the file 30f are all Hd, and the hash values match. Therefore, the display processing unit 24 associates the file 30d with the file 30e and the file 30d with the file 30f (see FIG. 6C).

ファイル30gのsh値はHg、ph値は書き込まれてはなく、ファイル30hのsh値はHh、ph値はHgであり、ファイル30iのsh値はHi、ph値はHhである。ファイル30gのsh値及びファイル30hのph値はいずれもHgであって、ハッシュ値が一致する。また、ファイル30hのsh値及びファイル30iのph値はいずれもHhであって、ハッシュ値が一致する。従って、表示処理部24はファイル30gとファイル30h、ファイル30hとファイル30iとを関連付ける(図6D参照)。 The sh value of the file 30g is Hg, the ph value is not written, the sh value of the file 30h is Hh, the ph value is Hg, the sh value of the file 30i is Hi, and the ph value is Hh. The sh value of the file 30 g and the pH value of the file 30 h are both Hg, and the hash values match. Further, the sh value of the file 30h and the ph value of the file 30i are both Hh, and the hash values match. Therefore, the display processing unit 24 associates the file 30g with the file 30h and the file 30h with the file 30i (see FIG. 6D).

ファイル30jのsh値はHj、ph値は書き込まれてはなく、ファイル30kのsh値はHk、ph値はHjであり、ファイル30lのsh値はHl、ph値はHkであり、ファイル30mのsh値はHm、ph値はHjであり、ファイル30nのsh値はHn、ph値はHmである。ファイル30jのsh値及びファイル30kのph値はいずれもHjであって、ハッシュ値が一致する。また、ファイル30kのsh値及びファイル30lのph値はいずれもHkであって、ハッシュ値が一致する。従って、表示処理部24はファイル30jとファイル30k、ファイル30kとファイル30lとを関連付ける。さらに、ファイル30jのsh値及びファイル30mのph値はいずれもHjであって、ハッシュ値が一致する。また、ファイル30mのsh値及びファイル30nのph値はいずれもHmであって、ハッシュ値が一致する。従って、表示処理部24はファイル30jとファイル30m、ファイル30mとファイル30nとを関連付ける(図6E参照)。 The sh value of the file 30j is Hj, the ph value is not written, the sh value of the file 30k is Hk, the ph value is Hj, the sh value of the file 30l is Hl, the ph value is Hk, and the file 30m. The sh value is Hm, the ph value is Hj, the sh value of the file 30n is Hn, and the ph value is Hm. The sh value of the file 30j and the ph value of the file 30k are both Hj, and the hash values match. Further, the sh value of the file 30k and the pH value of the file 30l are both Hk, and the hash values match. Therefore, the display processing unit 24 associates the file 30j with the file 30k and the file 30k with the file 30l. Further, the sh value of the file 30j and the ph value of the file 30m are both Hj, and the hash values match. Further, the sh value of the file 30m and the pH value of the file 30n are both Hm, and the hash values match. Therefore, the display processing unit 24 associates the file 30j with the file 30m and the file 30m with the file 30n (see FIG. 6E).

表示処理部24は、関連付けられたファイル30を表示部26にアイコンで表示する(ステップS14)。例えば、図6Eで関連付けられたファイル30は、図7のようなアイコンで表示される。 The display processing unit 24 displays the associated file 30 on the display unit 26 as an icon (step S14). For example, the file 30 associated with FIG. 6E is displayed with an icon as shown in FIG.

また、上記のファイル30は、記憶部22に記憶されていたが、端末50に記憶されていてもよい。かかる場合には、表示処理部24によって関連付けられる対象を端末50に記憶されているファイル30とすることができる。 Further, although the above file 30 is stored in the storage unit 22, it may be stored in the terminal 50. In such a case, the target associated with the display processing unit 24 can be the file 30 stored in the terminal 50.

ファイル関連付け処理装置10は、ハッシュ値を書き込める形式であるファイル30のハッシュ値を算出する算出部16と、算出した前記ハッシュ値を前記ファイル30と異なるファイルに書き込む書込部18と、前記ハッシュ値が書き込まれた前記異なるファイル30から前記ハッシュ値を取得する取得部20と、を備え、ハッシュ値を書き込める形式である一のファイル30から前記取得部20により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイル30から前記算出部16により算出したハッシュ値とを照合し、前記一のファイル30の前記ハッシュ値と、前記他のファイル30の前記ハッシュ値とが一致した場合に、前記一のファイル30と前記他のファイル30とを関連付ける。 The file association processing device 10 includes a calculation unit 16 that calculates the hash value of the file 30, which is a format in which the hash value can be written, a writing unit 18 that writes the calculated hash value to a file different from the file 30, and the hash value. The hash value acquired by the acquisition unit 20 and the hash value from one file 30 in which the hash value can be written are provided with the acquisition unit 20 for acquiring the hash value from the different file 30 in which the hash value is written. When the hash value calculated by the calculation unit 16 is collated with the other file 30 in a writable format and the hash value of the one file 30 and the hash value of the other file 30 match, when the hash value is matched. The one file 30 is associated with the other file 30.

ファイル関連付け処理装置10によれば、ハッシュ値を利用してファイル30を管理することにより、ファイル30の保存時に外部のデータベース等に履歴を記録することなくファイル30間の関係性を追跡することができる。 According to the file association processing device 10, by managing the file 30 by using the hash value, it is possible to track the relationship between the files 30 without recording the history in an external database or the like when the file 30 is saved. it can.

また、ファイル関連付け処理装置において、前記一のファイル30と前記他のファイル30とをアイコンで表示し、関連付けて表示する表示処理部24を有する。 Further, the file association processing device includes a display processing unit 24 that displays the one file 30 and the other file 30 with icons and displays them in association with each other.

また、ファイル関連付け方法は、ハッシュ値を書き込める形式であるファイル30のハッシュ値を算出する算出工程と、算出した前記ハッシュ値を前記ファイル30と異なるファイルに書き込む書込工程と、前記ハッシュ値が書き込まれた前記ファイルと異なるファイル30から前記ハッシュ値を取得する取得工程と、ハッシュ値を書き込める形式であるファイル30から前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイル30から前記算出部により算出したハッシュ値とを照合する工程と、前記一のファイル30の前記ハッシュ値と、前記他のファイル30の前記ハッシュ値とが一致した場合に、前記一のファイル30と前記他のファイル30とを関連付ける工程とを備える。 Further, the file association method includes a calculation step of calculating the hash value of the file 30, which is a format in which the hash value can be written, a writing step of writing the calculated hash value to a file different from the file 30, and writing the hash value. The acquisition process of acquiring the hash value from a file 30 different from the above file, the hash value acquired by the acquisition unit from the file 30 which is a format in which the hash value can be written, and another file in which the hash value can be written. When the step of collating the hash value calculated by the calculation unit from 30 and the hash value of the one file 30 and the hash value of the other file 30 match, the one file 30 It includes a step of associating with the other file 30.

<プログラムに係る実施形態の説明>
上述したファイル関連付け処理装置10は、例えば、図8に示すような構成のコンピュータ100によって実現される。図8は、ファイル関連付け処理装置の機能を実現するコンピュータ100の一例を示すハードウェアの説明図である。コンピュータ100は、CPU110、RAM120、ROM130、補助記憶部140、ネットワークインターフェイス(NW I/F)150、入力部160、出力部170及び記憶媒体インターフェイス(記憶媒体I/F)180を備える。これらの各部は、バス190によって接続される。
<Explanation of the embodiment related to the program>
The file association processing device 10 described above is realized by, for example, a computer 100 having a configuration as shown in FIG. FIG. 8 is an explanatory diagram of hardware showing an example of a computer 100 that realizes the function of the file association processing device. The computer 100 includes a CPU 110, a RAM 120, a ROM 130, an auxiliary storage unit 140, a network interface (NWI / F) 150, an input unit 160, an output unit 170, and a storage medium interface (storage medium I / F) 180. Each of these parts is connected by a bus 190.

CPU110は、ROM130又は補助記憶部140に記憶されたプログラムに基づいて動作し、各部を制御する。ROM130には、コンピュータ100の起動時にCPU110によって実行されるBIOS(Basic Input Output System)等のブートプログラムや、コンピュータ100のハードウェアに依存するプログラム等が記憶される。 The CPU 110 operates based on a program stored in the ROM 130 or the auxiliary storage unit 140, and controls each unit. The ROM 130 stores a boot program such as a BIOS (Basic Input Output System) executed by the CPU 110 when the computer 100 is started, a program depending on the hardware of the computer 100, and the like.

補助記憶部140は、大容量記憶部である。補助記憶部140には、CPU110によって実行されるプログラム、及び、前記プログラムによって使用されるデータ等が記憶されている。 The auxiliary storage unit 140 is a large-capacity storage unit. The auxiliary storage unit 140 stores a program executed by the CPU 110, data used by the program, and the like.

ネットワークインターフェイス150は、公衆回線60を介して、コンピュータ100が端末50と接続するためのネットワークインターフェースである。 The network interface 150 is a network interface for the computer 100 to connect to the terminal 50 via the public line 60.

入力部160は、キーボード、マウス等の入力デバイスである。入力デバイスとしては、タッチパネル、カメラ、マイク等が含まれてもよい。 The input unit 160 is an input device such as a keyboard and a mouse. The input device may include a touch panel, a camera, a microphone, and the like.

出力部170は、ディスプレイ等の表示部である。また、出力部170には、スピーカが含まれてもよい。 The output unit 170 is a display unit such as a display. Further, the output unit 170 may include a speaker.

記憶媒体インターフェイス180は、記録媒体に記憶されたプログラム又はデータを読み取り、RAM120を介してCPU110に提供する。記録媒体としては、例えば、DVD、DVD−RAM、Blu−ray(登録商標)Disk等の光学記録媒体、フラッシュメモリ等の半導体メモリ、MO等の光磁気記録媒体、テープ媒体、磁気記録媒体等である。 The storage medium interface 180 reads the program or data stored in the recording medium and provides it to the CPU 110 via the RAM 120. Examples of the recording medium include an optical recording medium such as DVD, DVD-RAM, Blu-ray (registered trademark) Disc, a semiconductor memory such as a flash memory, a magneto-optical recording medium such as MO, a tape medium, and a magnetic recording medium. is there.

コンピュータ100がファイル関連付け処理装置10として機能する場合、CPU110は、補助記憶部140からプログラムを読み取り、RAM120上にロードされたプログラムを実行することにより、ファイル関連付け処理装置10の機能を実現する。また、CPU110は、記憶媒体インターフェイス180を介して、記録媒体からプログラムを読み取り、RAM120上にロードされたプログラムを実行することにより、ファイル関連付け処理装置10の機能を実現してもよい。 When the computer 100 functions as the file association processing device 10, the CPU 110 realizes the function of the file association processing device 10 by reading the program from the auxiliary storage unit 140 and executing the program loaded on the RAM 120. Further, the CPU 110 may realize the function of the file association processing device 10 by reading a program from the recording medium via the storage medium interface 180 and executing the program loaded on the RAM 120.

なお、コンピュータ100は、ファイル関連付け処理装置10の機能を実行するための構成の一例を示したものであり、コンピュータ100を構成要素以外のハードウェアを排除するものではない。また、これらの構成を全て備える必要もない。例えば、補助記憶部140、記憶媒体インターフェイス180を備えない構成であってもよい。 The computer 100 shows an example of a configuration for executing the function of the file association processing device 10, and does not exclude the hardware other than the components of the computer 100. Moreover, it is not necessary to have all of these configurations. For example, the configuration may not include the auxiliary storage unit 140 and the storage medium interface 180.

ファイル関連付けプログラムは、ハッシュ値を書き込める形式であるファイル30のハッシュ値を算出する算出工程と、算出した前記ハッシュ値を前記ファイル30と異なるファイルに書き込む書込工程と、前記ハッシュ値が書き込まれた前記ファイルと異なるファイル30から前記ハッシュ値を取得する取得工程と、ハッシュ値を書き込める形式であるファイル30から前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイル30から前記算出部により算出したハッシュ値とを照合する工程と、前記一のファイル30の前記ハッシュ値と、前記他のファイル30の前記ハッシュ値とが一致した場合に、前記一のファイル30と前記他のファイル30とを関連付ける工程と、をコンピュータ100に実行させる。 The file association program has a calculation step of calculating the hash value of the file 30, which is a format in which the hash value can be written, a writing step of writing the calculated hash value to a file different from the file 30, and the hash value being written. From the acquisition process of acquiring the hash value from a file 30 different from the file, the hash value acquired by the acquisition unit from the file 30 in which the hash value can be written, and from another file 30 in which the hash value can be written. When the step of collating the hash value calculated by the calculation unit and the hash value of the one file 30 and the hash value of the other file 30 match, the one file 30 and the other The computer 100 is made to execute the step of associating with the file 30 of.

なお、本発明は、上述の実施形態に限らず、本発明の要旨を逸脱することなく、種々の構成を採り得ることはもちろんである。 It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that various configurations can be adopted without departing from the gist of the present invention.

例えば、上述の実施形態で、ファイル30の形式は、IFC又はST−Bridge形式であったが、ハッシュ値を書き込む形式のファイルであれば、これらの形式に限定されるものではない。 For example, in the above-described embodiment, the format of the file 30 is the IFC or ST-Bridge format, but the file is not limited to these formats as long as it is a file in a format in which a hash value is written.

また、上述の実施形態では、ハッシュ関数として、md5を用いていたが、ハッシュ値を算出できれば、これら限定されるものではない。例えば、sha(Secure Hash Algorithm)シリーズのハッシュ関数でもよい。 Further, in the above-described embodiment, md5 is used as the hash function, but the hash function is not limited as long as the hash value can be calculated. For example, it may be a hash function of the sha (Secure Hash Algorithm) series.

10…ファイル関連付け処理装置
12…制御部
14…入力部
16…算出部
18…書込部
20…取得部
22…記憶部
24…表示処理部
26…表示部
28、190…バス
30…ファイル
32…書込領域
50…端末
60…公衆回線
100…コンピュータ
110…CPU
120…RAM
130…ROM
140…補助記憶部
150…ネットワークインターフェイス
160…入力部
170…出力部
180…記憶媒体インターフェイス
10 ... File association processing device 12 ... Control unit 14 ... Input unit 16 ... Calculation unit 18 ... Writing unit 20 ... Acquisition unit 22 ... Storage unit 24 ... Display processing unit 26 ... Display unit 28, 190 ... Bus 30 ... File 32 ... Writing area 50 ... Terminal 60 ... Public line 100 ... Computer 110 ... CPU
120 ... RAM
130 ... ROM
140 ... Auxiliary storage unit 150 ... Network interface 160 ... Input unit 170 ... Output unit 180 ... Storage medium interface

本発明に係るファイル関連付け方法は、コンピュータで実行されるファイル関連付け方法であって、ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出工程と、算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込工程と、前記ハッシュ値が書き込まれた前記ファイルから前記ハッシュ値を取得する取得工程と、ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合する工程と、前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付ける工程とを備えることを特徴とする。 The file association method according to the present invention is a file association method executed by a computer, which is a calculation step of calculating a hash value of a file in a format in which a hash value can be written, and a file in which the calculated hash value is different from the file. A writing step of writing to the file, an acquisition step of acquiring the hash value from the file in which the hash value is written, a hash value acquired by the acquisition unit from one file in which the hash value can be written, and a hash. When the step of collating the hash value calculated by the calculation unit from another file in which the value can be written and the hash value of the one file and the hash value of the other file match. It is characterized by including a step of associating the one file with the other file.

Claims (9)

ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出部と、
算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込部と、
前記ハッシュ値が書き込まれた前記異なるファイルから前記ハッシュ値を取得する取得部と、
を備え、
ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合し、
前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付ける
ことを特徴とするファイル関連付け処理装置。
A calculation unit that calculates the hash value of a file, which is a format in which the hash value can be written, and
A writing unit that writes the calculated hash value to a file different from the file, and
An acquisition unit that acquires the hash value from the different file in which the hash value is written, and
With
The hash value acquired by the acquisition unit from one file in which the hash value can be written is collated with the hash value calculated by the calculation unit from another file in which the hash value can be written.
A file association processing device for associating the one file with the other file when the hash value of the one file and the hash value of the other file match.
請求項1に記載のファイル関連付け処理装置において、
前記一のファイルと前記他のファイルとをアイコンで表示し、関連付けて表示する表示処理部を有する
ことを特徴とするファイル関連付け処理装置。
In the file association processing apparatus according to claim 1,
A file association processing device having a display processing unit that displays the one file and the other file with icons and displays them in association with each other.
請求項1又は2に記載のファイル関連付け処理装置において、
前記ファイルの形式は、IFC(Industry Foundation Classes)又はST−Bridge形式である
ことを特徴とするファイル関連付け処理装置。
In the file association processing apparatus according to claim 1 or 2.
A file association processing device characterized in that the file format is an IFC (Industry Foundation Classes) or ST-Bridge format.
ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出工程と、
算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込工程と、
前記ハッシュ値が書き込まれた前記ファイルから前記ハッシュ値を取得する取得工程と、
ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合する工程と、
前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付ける工程と
を備えることを特徴とするファイル関連付け方法。
The calculation process to calculate the hash value of the file, which is a format in which the hash value can be written, and
A writing process of writing the calculated hash value to a file different from the file, and
The acquisition process of acquiring the hash value from the file in which the hash value is written, and
The process of collating the hash value acquired by the acquisition unit from one file in which the hash value can be written with the hash value calculated by the calculation unit from another file in which the hash value can be written.
A file association method comprising a step of associating the one file with the other file when the hash value of the one file and the hash value of the other file match.
請求項4に記載のファイル関連付け方法において、
前記一のファイルと前記他のファイルとをアイコンで表示し、関連付けて表示する表示工程を有する
ことを特徴とするファイル関連付け方法。
In the file association method according to claim 4,
A file association method comprising a display step of displaying the one file and the other file with icons and displaying them in association with each other.
請求項4又は5に記載のファイル関連付け方法において、
前記ファイルの形式は、IFC(Industry Foundation Classes)又はST−Bridge形式である
ことを特徴とするファイル関連付け方法。
In the file association method according to claim 4 or 5,
A file association method characterized in that the file format is an IFC (Industry Foundation Classes) or ST-Bridge format.
ハッシュ値を書き込める形式であるファイルのハッシュ値を算出する算出工程と、
算出した前記ハッシュ値を前記ファイルと異なるファイルに書き込む書込工程と、
前記ハッシュ値が書き込まれた前記ファイルから前記ハッシュ値を取得する取得工程と、
ハッシュ値を書き込める形式である一のファイルから前記取得部により取得されたハッシュ値と、ハッシュ値を書き込める形式である他のファイルから前記算出部により算出したハッシュ値とを照合する工程と、
前記一のファイルの前記ハッシュ値と、前記他のファイルの前記ハッシュ値とが一致した場合に、前記一のファイルと前記他のファイルとを関連付ける工程と、
をコンピュータに実行させることを特徴とするファイル関連付けプログラム。
The calculation process to calculate the hash value of the file, which is a format in which the hash value can be written, and
A writing process of writing the calculated hash value to a file different from the file, and
The acquisition process of acquiring the hash value from the file in which the hash value is written, and
The process of collating the hash value acquired by the acquisition unit from one file in which the hash value can be written with the hash value calculated by the calculation unit from another file in which the hash value can be written.
A step of associating the one file with the other file when the hash value of the one file and the hash value of the other file match.
A file association program characterized by having a computer run the file.
請求項7に記載のファイル関連付けプログラムにおいて、
前記一のファイルと前記他のファイルとをアイコンで表示し、関連付けて表示する表示工程を有する
ことを特徴とするファイル関連付けプログラム。
In the file association program according to claim 7.
A file association program comprising a display process of displaying the one file and the other file with icons and displaying them in association with each other.
請求項7又は8に記載のファイル関連付けプログラムにおいて、
前記ファイルの形式は、IFC(Industry Foundation Classes)又はST−Bridge形式である
ことを特徴とするファイル関連付けプログラム。
In the file association program according to claim 7 or 8.
The file association program is characterized in that the file format is IFC (Industry Foundation Classes) or ST-Bridge format.
JP2019200352A 2019-11-03 2019-11-03 File association processing device, file association method, and file association program Active JP6674067B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019200352A JP6674067B1 (en) 2019-11-03 2019-11-03 File association processing device, file association method, and file association program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019200352A JP6674067B1 (en) 2019-11-03 2019-11-03 File association processing device, file association method, and file association program

Publications (2)

Publication Number Publication Date
JP6674067B1 JP6674067B1 (en) 2020-04-01
JP2021072075A true JP2021072075A (en) 2021-05-06

Family

ID=70000923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019200352A Active JP6674067B1 (en) 2019-11-03 2019-11-03 File association processing device, file association method, and file association program

Country Status (1)

Country Link
JP (1) JP6674067B1 (en)

Also Published As

Publication number Publication date
JP6674067B1 (en) 2020-04-01

Similar Documents

Publication Publication Date Title
CN109804361B (en) File synchronization in a computing system
US8863110B2 (en) Firmware updating system and method
US11630647B2 (en) Method and system for configuring processes of software applications using activity fragments
JPWO2010044150A1 (en) Program change management apparatus, program change management program, and program change management method
US20110167047A1 (en) Editing apparatus, method, and storage medium
US9244651B2 (en) Document revision control
JP6674067B1 (en) File association processing device, file association method, and file association program
JP2012088940A (en) Information processor, information processing method, and program
CN113918198B (en) Model-code synchronization method
CN112036133B (en) File storage method and device, electronic equipment and storage medium
CN113486637A (en) Intelligent dynamic custom contract generation method and device
US9304765B1 (en) Method and system for tracking changes to application model definitions for application model migration
JP6744549B2 (en) Development support device, development support method, and development support program
JP2013057999A (en) Electronic mail template creation device, electronic mail template creation method, and electronic mail template creation program
US8868578B2 (en) Building information technology services from a library of elements
US20240176766A1 (en) Dynamic modeling using profiles
WO2014152312A1 (en) Visualization interface for information object system
CN113760936B (en) Timing updating method, medium, device and electronic equipment
CN113918664B (en) Data processing method and device
JP5880186B2 (en) Information processing device
JP4507609B2 (en) File management program and file management apparatus
JP2009134342A (en) Function specification automatic generation device
US20140325352A1 (en) Management of context-sensitive help links
JP6648567B2 (en) Data update control device, data update control method, and data update control program
CN114003745A (en) Medical image labeling multi-version management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191205

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191205

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200212

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200305

R150 Certificate of patent or registration of utility model

Ref document number: 6674067

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250