JP2008040602A - Content management system and method and program using file server - Google Patents

Content management system and method and program using file server Download PDF

Info

Publication number
JP2008040602A
JP2008040602A JP2006211077A JP2006211077A JP2008040602A JP 2008040602 A JP2008040602 A JP 2008040602A JP 2006211077 A JP2006211077 A JP 2006211077A JP 2006211077 A JP2006211077 A JP 2006211077A JP 2008040602 A JP2008040602 A JP 2008040602A
Authority
JP
Japan
Prior art keywords
file
cms
processing unit
server
file system
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
JP2006211077A
Other languages
Japanese (ja)
Other versions
JP4952119B2 (en
Inventor
Takashi Torii
隆史 鳥居
Satoshi Yamakawa
聡 山川
Yoshihiro Kajiki
善裕 梶木
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 JP2006211077A priority Critical patent/JP4952119B2/en
Publication of JP2008040602A publication Critical patent/JP2008040602A/en
Application granted granted Critical
Publication of JP4952119B2 publication Critical patent/JP4952119B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system, method and program for solving the problems by integrating a file server with a CMS. <P>SOLUTION: This content management system is provided with: a file access server processing part 13 for controlling access to a file system 14; a CMS server processing part 17 for managing content in a database 18; and an FS-CMS cooperation processing part 19 for cooperating a file system with a CMS. Access from a client 1 to the file system 14 is detected, and when an operation event occurs, the FS-CMS cooperation processing part 19 notifies the CMS server processing part 17 of the operation content to reflect the operation content on a database. When the client 1 performs access to the CMS server processing part 17 by using a CMS application 15 to perform an operation to the file, the file system 14 is accessed through the FS-CMS cooperation processing part 19, and the CMS server processing part 17 is notified of the operation content to reflect the operation content on the database 18. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、情報処理システムに関し、特に、ファイルサーバのファイル管理と、コンテンツ管理システムを統合するシステムと方法及びコンピュータ・プログラムに関する。   The present invention relates to an information processing system, and more particularly to a system and method for integrating a file management of a file server and a content management system, and a computer program.

ストレージに格納される情報は年々増えつつあり、その膨大な情報をどうやって管理するか・活用するかが企業にとっても個人にとっても大きな課題となってくる。   The information stored in the storage is increasing year by year, and how to manage and utilize the enormous amount of information becomes a big issue for both companies and individuals.

データベースに格納されているデータを「構造化データ」、それ以外を「非構造化データ」と言う。   The data stored in the database is called “structured data”, and the rest is called “unstructured data”.

非構造化データは、ファイルとして、個人用パソコン内部やファイルサーバに格納されている。   Unstructured data is stored as a file in a personal computer or in a file server.

特に、非構造化データの共有用途として、ファイルサーバやNAS(Network Attached Storage)は、汎用・高速・高信頼などの利点があり、現在広く使われている。   In particular, file servers and NAS (Network Attached Storage) are widely used for sharing unstructured data because they have advantages such as general-purpose, high-speed, and high reliability.

近年、この非構造化データの量が急激な伸びを見せており、このトレンドは今後さらに強まると見られている。これにともなって、非構造化データの管理がさらに重要な課題となってくると考えられる。   In recent years, the amount of unstructured data has grown rapidly, and this trend is expected to increase further in the future. Along with this, management of unstructured data will be an even more important issue.

なお、特許文献1には、更新(登録、修正、削除等)のファイル操作を監視する監視手段を備えた構成が開示されている。また特許文献2には、データをファイル単位に管理することによってマルチメディア処理可能なファイルサーバの構成が開示されている。さらに特許文献3には、WWWサーバとDBサーバを備えたデータベース連携Webページ構築システムが開示されている。   Note that Patent Document 1 discloses a configuration including monitoring means for monitoring file operations for update (registration, correction, deletion, etc.). Patent Document 2 discloses a configuration of a file server capable of multimedia processing by managing data in units of files. Further, Patent Literature 3 discloses a database linked Web page construction system provided with a WWW server and a DB server.

特開2003−140958号公報JP 2003-140958 A 特開平11−96187号公報JP-A-11-96187 特開2002−14864号公報JP 2002-14864 A エンタープライズコンテンツ管理(ECM、ECMジャパン株式会社、インターネット URL<http://www.documentum.co.jp/solutions/ecm/ecm.htm>Enterprise Content Management (ECM, ECM Japan Co., Ltd., Internet URL <http://www.documentum.co.jp/solutions/ecm/ecm.htm>

従来のファイルサーバやファイルサーバ用のアプリケーションには、コンテンツ管理という視点が欠けている。   Conventional file servers and file server applications lack the viewpoint of content management.

非構造化データは、今後さらに増えると見込まれており、非構造化データのコンテンツ管理の重要性は増している。   Unstructured data is expected to increase further in the future, and the importance of content management of unstructured data is increasing.

コンテンツ管理をするためには、ファイルに、多元的な属性を与え、それをもとにファイルを整理・検索するインターフェイスが必要である。   In order to manage content, it is necessary to provide an interface that gives multiple attributes to files and organizes and searches the files based on them.

従来のファイルサーバは、そのような機能がない。このため、ファイルサーバ上では、ディレクトリ構成やファイル名といった単純なレベルでファイル管理する方法がとられている。   Conventional file servers do not have such a function. For this reason, on the file server, a file management method is used at a simple level such as a directory structure and a file name.

従来のファイルサーバは、コンテンツ管理に必要な多元的な属性の付与と、それに基づく整理・検索の機能を具備していない。   A conventional file server does not have a function of assigning multiple attributes necessary for content management and organizing / searching based thereon.

一方、コンテンツを管理、保存、展開等するために、コンテンツ管理システム(CMS:Contents Management System)という製品(ソフトウエア)がある(例えば非特許文献1等参照)。   On the other hand, there is a product (software) called a content management system (CMS: Content Management System) for managing, storing, developing, and the like (see, for example, Non-Patent Document 1).

CMSでも、ファイルを扱い、管理することができる。しかしながら、CMSは、従来のファイルアクセスとは異なる専用システムを用いる必要がある。ファイルサーバとの互換性がなく、ファイルサーバとは別個のシステムとして構築しなければならない。   CMS can also handle and manage files. However, CMS needs to use a dedicated system different from conventional file access. It is not compatible with the file server and must be constructed as a separate system from the file server.

具体的には、一般に、CMSでファイルを読み書きする方法は、ファイルサーバの場合とは異なる。   Specifically, in general, the method of reading and writing files by CMS is different from that of a file server.

このため、ユーザは、クライアント内のローカルディスクか、もしくは、ファイルサーバ上にて、ファイルを作成し、それをCMSにアップロードするという作業が必要になる。   For this reason, the user needs to create a file on the local disk in the client or on the file server and upload the file to the CMS.

しかしながら、このような作業は非効率的である。   However, such work is inefficient.

また、ファイルがローカルディスクやファイルサーバとCMSの中に2重に存在するため、ストレージ容量の面でも非効率であり、一方を編集した場合に他方への反映を怠り一貫性が損なわれるなどの問題が起こりがちである。一部には、CMSの上にファイルサーバと互換のプロトコルでファイルの読み書きができるインターフェイスを設けた製品もある。   In addition, because the files exist twice in the local disk, file server and CMS, it is inefficient in terms of storage capacity, and if one is edited, it will not be reflected in the other and consistency will be lost. Problems tend to occur. Some products have an interface on the CMS that can read and write files using a protocol compatible with the file server.

この種のCMS製品は、例えば図15のような構成をとっている。なお、図15は、従来のOracle Filesの構成を模式的に示す図である。図15を参照すると、CMSサーバ4は、ファイルアクセスサーバ処理部13と、CMSサーバ処理部17と、コンテンツを登録するデータベース18と、ファイルシステム14とを備えている。クライアント1は、ファイルアクセスアプリケーション11と、ファイルアクセスクライアント処理部12と、CMSアプリケーション15と、CMSクライアント処理部16とを備えている。クライアント1に対してはファイルサーバと同様に、既存のファイルアクセスアプリケーションが使えるという利点があり、かつCMSの機能も実現できている。   This type of CMS product has a structure as shown in FIG. 15, for example. FIG. 15 is a diagram schematically showing a configuration of a conventional Oracle Files. Referring to FIG. 15, the CMS server 4 includes a file access server processing unit 13, a CMS server processing unit 17, a database 18 for registering contents, and a file system 14. The client 1 includes a file access application 11, a file access client processing unit 12, a CMS application 15, and a CMS client processing unit 16. As with the file server, the client 1 has an advantage that an existing file access application can be used, and a CMS function can be realized.

しかし、一般に、CMSの機能は複雑であり、ファイルサーバと比較すると、読み出し書き込みの動作が遅いため、このような形態では、頻繁にファイルの読み書きを行うアプリケーションの動作には耐えず、ファイルサーバのように汎用的に使用できるものではない。   However, in general, the CMS function is complicated, and the read / write operation is slower than that of the file server. In such a form, the operation of an application that frequently reads and writes files cannot be endured. Is not something that can be used universally.

さらに、一般的なCMSは、ファイルを、多元的な属性と共に管理しており、ユーザは、この多元的な属性に対して、キーワードを指定するなどの操作で、ファイルの検索を行う機能を有している。しかしながら、CMSの上に、ファイルサーバと互換のインターフェイスを設けただけの製品では、ファイルサーバのプロトコルにしか対応していないアプリケーションからは、CMSサーバ処理部で管理される、多元的な属性を参照することや、多元的な属性を用いて、ファイルの検索を行うことが出来ない。   Furthermore, a general CMS manages files together with multiple attributes, and the user has a function to search for files by operations such as specifying keywords for these multiple attributes. is doing. However, in products that only have a file server compatible interface on top of CMS, refer to multiple attributes managed by the CMS server processing unit from applications that only support the file server protocol. To search for files using multiple attributes.

すなわち、ファイルの作成や編集を行う環境と、ファイルの管理を行うCMSとを、それぞれ別個のシステムとして構築しなければならず、
・作業の非効率性、
・容量の非効率性、
・ファイルの一貫性維持に対する脆弱性、
などの課題がある。
That is, the environment for creating and editing files and the CMS for managing files must be constructed as separate systems,
・ Inefficiency of work,
Capacity inefficiency,
・ Vulnerability to maintain file consistency,
There are issues such as.

そして、ファイルサーバとCMSとは、動作が大幅に異なることから、両者を統合することは極めて困難であった。   Since the file server and the CMS are significantly different in operation, it has been extremely difficult to integrate the two.

したがって、本発明の目的は、ファイルサーバとCMSを統合可能とするシステム、方法とプログラムを提供することにある。   Accordingly, an object of the present invention is to provide a system, method, and program that can integrate a file server and a CMS.

本願で開示される発明は、前記課題を解決するため、概略以下の通りの構成とされる。   In order to solve the above-mentioned problems, the invention disclosed in the present application is generally configured as follows.

本発明は、ファイルサーバとCMSを統合させるため、以下のような機能を有するFS−CMS連携処理部を備えている。   The present invention includes an FS-CMS cooperation processing unit having the following functions in order to integrate the file server and the CMS.

本発明において、FS−CMS連携処理部は、ファイルシステムへのイベントをモニタして、CMSに通知する手段と、CMSが行う処理をファイルシステムに対する操作に翻訳してファイルシステムに対して操作する手段を備える。   In the present invention, the FS-CMS cooperation processing unit monitors an event to the file system, notifies the CMS, and translates the processing performed by the CMS into an operation on the file system and operates on the file system. Is provided.

また、本発明においては、CMSの上でのみ管理していた多元的な属性を、ファイルシステムにおけるリンクに対応させ、ファイルサーバのプロトコルにしか対応していないアプリケーションからも使用可能にする。   In the present invention, the multiple attributes managed only on the CMS are made to correspond to the links in the file system, and can be used from applications that only support the file server protocol.

さらに、本発明においては、検索ディレクトリという機能を設け、CMSの上でしか使用できなかったファイル検索を、ファイルサーバのプロトコルにしか対応していないアプリケーションからも使用可能としている。   Furthermore, in the present invention, a function called a search directory is provided, and a file search that can only be used on the CMS can be used from an application that supports only the protocol of the file server.

さらにまた、本発明においては、検索ディレクトリからファイルを削除した場合に、CMSにおける多元的な属性をファイルシステムにおけるリンクに対応させた実装では、リンクが削除されるだけでファイルの実体は削除されないという課題が生じるため、削除イベントを監視する機構や、それに応じてファイルの実体を削除する機構などを設ける。   Furthermore, in the present invention, when a file is deleted from the search directory, the implementation in which multiple attributes in the CMS are associated with the link in the file system only deletes the link but does not delete the substance of the file. Since a problem arises, a mechanism for monitoring a deletion event and a mechanism for deleting a file entity accordingly are provided.

さらに、本発明においては、一部のアプリケーションの場合、ファイルを変更して保存すると、ファイルシステム上ではファイルの変更ではなく、新規ファイルに置き換わるという動作を行うため、この種のアプリケーションにて検索ディレクトリからファイルを更新すると、ファイルシステムにおけるリンクで表現していたCMSにおける多元的な属性が失われてしまうという課題が生じるのに対し、リンクを再設定する機能を設ける。   Further, in the present invention, in the case of some applications, when a file is changed and saved, the file system is not changed but replaced with a new file. When the file is updated from the above, there arises a problem that the multi-attributes in the CMS expressed by the link in the file system are lost, but a function for resetting the link is provided.

本発明の一アスペクト(側面)に係るサーバ装置においては、ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理部と、前記ファイルアクセスサーバ処理部による前記ファイルシステムへのファイル操作が行われた場合、前記ファイルシステムへの操作内容を前記CMSサーバ処理部に通知し、前記操作内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行うFS−CMS連携処理部と、を備えている。   In the server device according to one aspect (side) of the present invention, a file access server processing unit that controls access to a file system, a content management system (CMS) server processing unit that manages content in a database, and the file When a file operation to the file system is performed by the access server processing unit, the operation content to the file system is notified to the CMS server processing unit, and the operation content is managed by the CMS server processing unit. An FS-CMS cooperation processing unit that performs control to be reflected in the database.

本発明に係るサーバ装置において、前記FS−CMS連携処理部は、前記ファイルサーバ装置が接続するクライアントのCMSアプリケーションによるファイル操作を、前記ファイルシステムへのファイル操作に変換した上で、前記ファイルシステムに対して操作を行い、さらに、前記FS−CMS連携処理部は、前記ファイルシステムに対して行った前記操作の内容を、前記CMSサーバ処理部に通知し、前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行う構成としてもよい。   In the server device according to the present invention, the FS-CMS cooperation processing unit converts a file operation by a CMS application of a client connected to the file server device into a file operation to the file system, and then converts the file operation to the file system. Further, the FS-CMS cooperation processing unit notifies the content of the operation performed on the file system to the CMS server processing unit, and the content of the operation is transmitted to the CMS server processing. It is good also as a structure which performs the control reflected in the said database managed by a part.

本発明に係るサーバ装置において、CMSアプリケーションのメニューページ上でファイル操作を選択するボタンのリンク先が、CMSアプリケーション本来の対応するページではなく予め用意した別のページに設定され、前記ボタンの選択時、前記別のページに制御が移り、前記FS−CMS連携処理部の対応するファイル操作の処理が実行されるように設定されており、前記CMSアプリケーションのメニューページ上でファイル操作が選択された場合、前記FS−CMS連携処理部により、前記ファイルシステムへのファイル操作が行われ、さらに、前記FS−CMS連携処理部は、前記ファイルシステムに対して行った前記操作の内容を、前記CMSサーバ処理部に通知し、前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行う、構成としてもよい。   In the server device according to the present invention, the link destination of the button for selecting the file operation on the menu page of the CMS application is set to another page prepared in advance instead of the page corresponding to the original CMS application, and when the button is selected, When the control is transferred to the other page and the corresponding file operation process of the FS-CMS cooperation processing unit is set to be executed, and the file operation is selected on the menu page of the CMS application, The file operation to the file system is performed by the FS-CMS cooperation processing unit, and the FS-CMS cooperation processing unit sends the contents of the operation performed on the file system to the CMS server processing unit. The contents of the operation are managed by the CMS server processing unit Performs control to reflect the serial database, it may be configured.

本発明に係るサーバ装置において、前記FS−CMS連携処理部は、前記CMSサーバ処理部のAPI(アプリケーションインタフェース)をコールすることで、前記ファイルシステムに為された前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる、構成としてもよい。   In the server device according to the present invention, the FS-CMS cooperation processing unit calls the API (application interface) of the CMS server processing unit, so that the contents of the operation performed on the file system are changed to the CMS server. It is good also as a structure reflected on the said database managed by a process part.

本発明に係るサーバ装置において、前記データベースが、1行あたり、ファイル名と、分類コードと、ファイルの属性情報の列を少なくとも含み、前記分類コードとして、ファイルの親ディレクトリのパス名を含み、前記FS−CMS連携処理部は、前記ファイルシステムへの操作イベント発生時、前記操作の対象となるパス名とファイル名とを取得し、ファイルの親ディレクトリを分類コードとして、前記CMSサーバ処理部のCMSのコンテンツ操作用のAPIをコールする、構成としてもよい。   In the server device according to the present invention, the database includes at least a file name, a classification code, and a column of file attribute information per line, and the classification code includes a path name of a parent directory of the file, When an operation event to the file system occurs, the FS-CMS cooperation processing unit obtains a path name and a file name to be operated, and uses the parent directory of the file as a classification code, and the CMS of the CMS server processing unit It may be configured to call an API for content operation.

本発明に係るサーバ装置において、前記データベースが、1行あたり、ファイル名と、分類コードと、ファイルの属性情報の列を少なくとも含み、前記FS−CMS連携処理部は、ファイルの親ディレクトリのパス名と分類コードとを対応付ける変換テーブルを含み、前記FS−CMS連携処理部は、前記ファイルシステムへの操作イベント発生時、パス名とファイル名を取得し、親ディレクトリから前記変換テーブルを参照して分類コードを導き、前記CMSサーバ処理部のCMSのコンテンツ操作用のAPIをコールする、構成としてもよい。   In the server device according to the present invention, the database includes at least a file name, a classification code, and a file attribute information column per line, and the FS-CMS linkage processing unit includes a path name of a parent directory of the file. The FS-CMS linkage processing unit obtains a path name and a file name when an operation event to the file system occurs, and refers to the conversion table from the parent directory for classification. A code may be derived and an API for CMS content operation of the CMS server processing unit may be called.

本発明に係るサーバ装置は、ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理部と、前記ファイルシステムへの操作イベントが発生した時、前記CMSサーバ処理部に通知して、前記データベースに反映させ、一方、前記CMSサーバ処理部が行う処理を、前記ファイルシステムに対する操作に変換して前記ファイルシステムに対して操作するFS−CMS連携処理部と、を備えている。   The server apparatus according to the present invention includes a file access server processing unit that controls access to a file system, a CMS (Contents Management System) server processing unit that manages content in a database, and an operation event for the file system. The CMS server processing unit is notified and reflected in the database. On the other hand, the processing performed by the CMS server processing unit is converted into an operation on the file system and is operated on the file system. And a CMS cooperation processing unit.

本発明において、前記FS−CMS連携処理部は、クライアントから、前記ファイルシステムへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識し、前記クライアントからのアクセスにより、前記ファイルシステムに変更が加えられると、前記FS−CMS連携処理部は、前記変更内容を、前記CMSサーバ処理部に通知し、前記FS−CMS連携処理部から前記通知を受けた前記CMSサーバ処理部では、前記データベースに前記変更内容を反映させ、前記クライアントがCMSアプリケーションを用いてファイルに対する操作を行うと、前記FS−CMS連携処理部を経由して、前記ファイルシステムにアクセスし、前記CMSサーバ処理部では、前記データベースに、前記変更内容を反映させる、構成としてもよい。   In the present invention, the FS-CMS cooperation processing unit recognizes access to the file system from a client through a monitoring application interface, and when the file system is changed by the access from the client, the FS-CMS cooperation processing unit The CMS cooperation processing unit notifies the change content to the CMS server processing unit, and the CMS server processing unit that receives the notification from the FS-CMS cooperation processing unit reflects the change content in the database. When the client performs an operation on the file using the CMS application, the file system is accessed via the FS-CMS cooperation processing unit, and the CMS server processing unit stores the change contents in the database. Reflect as a configuration Good.

本発明に係るサーバ装置においては、ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、データベースにてコンテンツを管理するCMSサーバ処理部と、前記ファイルシステムと前記CMSサーバ処理部を連携させるFS−CMS連携処理部と、を備え、前記FS−CMS連携処理部は、クライアントから、前記ファイルシステムへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識し、前記クライアントからのアクセスにより、前記ファイルシステムに変更が加えられると、前記FS−CMS連携処理部は、前記変更内容を、前記CMSサーバ処理部に通知し、前記FS−CMS連携処理部から前記通知を受けた前記CMSサーバ処理部では、前記データベースに、前記変更内容を反映させ、前記クライアントがCMSアプリケーションを用いて前記CMSサーバ処理部にアクセスし、ファイルに対する操作を行うと、前記CSMサーバ処理部から、前記FS−CMS連携処理部を経由して、前記ファイルシステムにアクセスする。   In the server apparatus according to the present invention, a file access server processing unit that controls access to a file system, a CMS server processing unit that manages content in a database, and an FS that links the file system and the CMS server processing unit. A FS-CMS cooperation processing unit that recognizes access to the file system from a client through a monitoring application interface, and the file system is changed by the access from the client. When added, the FS-CMS cooperation processing unit notifies the change content to the CMS server processing unit, and the CMS server processing unit that receives the notification from the FS-CMS cooperation processing unit stores the change in the database. , Reflect the changes When the client accesses the CMS server processing unit using a CMS application and performs an operation on the file, the client accesses the file system from the CSM server processing unit via the FS-CMS cooperation processing unit. .

本発明において、前記FS−CMS連携処理部は、前記削除(DELETE)を契機として、ファイルの拡張属性とリンクを設定しなおすようにしてもよい。   In the present invention, the FS-CMS cooperation processing unit may reset the extended attribute and link of a file when triggered by the deletion (DELETE).

本発明において、前記FS−CMS連携処理部は、前記クライアントからの前記ファイルシステムの検索ディレクトリへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識すると、前記検索ディレクトリ名の示す属性を備えているファイルを、前記CMSサーバ処理部に問い合わせ、
前記CMSサーバ処理部は、前記FS−CMS連携処理部からの前記問い合わせを受けて、前記データベースを検索して、前記検索ディレクトリ名の示す属性を備えているファイルのリストを、前記FS−CMS連携処理部に返し、
前記FS−CMS連携処理部は、前記ファイルのリストをもとに、前記ファイルシステムにリンクファイルを作成し、前記検索ディレクトリ名の示す属性をもつファイルが一覧となって見えるようにしてもよい。
In the present invention, when the FS-CMS cooperation processing unit recognizes access to the search directory of the file system from the client through a monitoring application interface, the FS-CMS cooperation processing unit reads a file having an attribute indicated by the search directory name. Inquiries to the CMS server processor
The CMS server processing unit receives the inquiry from the FS-CMS cooperation processing unit, searches the database, and displays a list of files having an attribute indicated by the search directory name in the FS-CMS cooperation. Return to the processing section
The FS-CMS cooperation processing unit may create a link file in the file system based on the list of files so that the files having the attribute indicated by the search directory name can be viewed as a list.

本発明において、前記FS−CMS連携処理部が、RENAME元ファイルとRENAME先ファイルを備えたRENAMEテーブルと、DELETEイベントを保存するDELETEテーブルを備えている。   In the present invention, the FS-CMS cooperation processing unit includes a RENAME table including a RENAME source file and a RENAME destination file, and a DELETE table that stores a DELETE event.

本発明において、前記FS−CMS連携処理部に、RENAME元ファイルとRENAME先ファイルを備え、RENAMEイベントを保存するRENAMEテーブルと、DELETEイベントを保存するDELETEテーブルを備えている。前記FS−CMS連携処理部は、前記ファイルシステムのファイルが更新されるときには、RENAMEテーブルとDELETEテーブルを作成し、DELETEイベントのファイルが、RENAMEテーブルのRENAME先ファイルにあるかをチェックし、DELETEイベントのファイルが存在した場合、RENAME元ファイルと同名なファイルがファイルシステム上にあるかをチェックし、RENAME元ファイルと同名なファイルが前記ファイルシステム上に存在した場合、アプリケーションの更新動作とみなし、拡張属性とリンクを再設定し、RENAMEテーブルとDELETEテーブルから、前記ファイルに関するエントリを削除する。   In the present invention, the FS-CMS cooperation processing unit includes a RENAME source file and a RENAME destination file, and includes a RENAME table that stores a RENAME event and a DELETE table that stores a DELETE event. When the file of the file system is updated, the FS-CMS linkage processing unit creates a RENAME table and a DELETE table, checks whether the DELETE event file is in the RENAME destination file of the RENAME table, and deletes the DELETE event. If a file with the same name as the RENAME source file exists on the file system, and if a file with the same name as the RENAME source file exists on the file system, it is regarded as an update operation of the application. The attribute and the link are reset, and the entry related to the file is deleted from the RENAME table and the DELETE table.

本発明に係るクライアント装置は、ファイルアクセスプロトコルと、CMSアクセスプロトコルで、前記本発明のファイルサーバのファイルアクセスサーバ処理部、CMSサーバ処理部にアクセスする。   The client device according to the present invention accesses the file access server processing unit and the CMS server processing unit of the file server of the present invention using the file access protocol and the CMS access protocol.

本発明の他のアスペクト(側面)に係る方法は、クライアントからのファイルシステムへのアクセスを制御するファイルアクセスサーバ処理と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理と、を連携させる方法であって、前記クライアントのファイルアクセスアプリケーションからの前記ファイルシステムへの操作が行われた場合、前記ファイルシステムへの前記操作の内容を前記CMSサーバ処理に通知し、前記操作の内容を前記CMSサーバ処理で管理される前記データベースに反映させる制御を行う。本発明は、ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、コンテンツを管理するCMS(Contents Management System)サーバ処理部と、前記ファイルアクセスサーバ処理部とCMSサーバ処理部を連携するFS−CMS連携処理部と、を備えたファイルサーバによる、FSとCMSの連携方法であって、
前記FS−CMS連携処理部が、クライアントからのアクセス要求に基づき、ファイルシステムへのイベントをモニタしてCMSサーバ処理部に通知する工程と、
前記FS−CMS連携処理部が、前記CMSサーバ処理部が行う処理を、前記ファイルシステムに対する操作に変換してファイルシステムに対して操作する工程と、
を含む。
A method according to another aspect of the present invention links a file access server process that controls access to a file system from a client and a CMS (Contents Management System) server process that manages content in a database. When the operation to the file system is performed from the file access application of the client, the content of the operation to the file system is notified to the CMS server process, and the content of the operation is Control to reflect in the database managed by the CMS server process is performed. The present invention relates to a file access server processing unit that controls access to a file system, a content management system (CMS) server processing unit that manages content, and an FS- that links the file access server processing unit and the CMS server processing unit. A CMS cooperation processing unit, and a file server provided with the FS and CMS cooperation method,
The FS-CMS cooperation processing unit monitors an event to the file system based on an access request from a client and notifies the CMS server processing unit;
The FS-CMS cooperation processing unit converts the process performed by the CMS server processing unit into an operation for the file system and operates the file system;
including.

本発明に係る方法において、前記FS−CMS連携処理部は、前記クライアントからファイルシステムへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識し、前記クライアントからのアクセスにより、前記ファイルシステムに変更が加えられると、その変更内容を、前記CMSサーバ処理部に通知し、前記CMSサーバ処理部は、前記データベースにその変更を反映させる工程と、
前記クライアントがCMSアプリケーションを用いて前記CMSサーバ処理部にアクセスし、ファイルに対する操作を行うと、前記CSMサーバ処理部から前記FS−CMS連携処理部を経由して前記ファイルシステムにアクセスする工程と、
を含む。
In the method according to the present invention, the FS-CMS cooperation processing unit recognizes access from the client to the file system through a monitoring application interface, and when the change from the client is made to the file system, Notifying the CMS server processing unit of the change contents, and the CMS server processing unit reflecting the change in the database;
When the client accesses the CMS server processing unit using a CMS application and performs an operation on a file, the client accesses the file system from the CSM server processing unit via the FS-CMS linkage processing unit;
including.

本発明に係る方法において、CMSで管理される属性を、前記ファイルシステムにおけるリンクに対応させる工程を含み、前記ファイルサーバのプロトコルにしか対応していないアプリケーションからもCMSをアクセス可能としている。   In the method according to the present invention, the attribute managed by the CMS includes a step of associating with the link in the file system, and the CMS can be accessed from an application that only supports the protocol of the file server.

本発明に係る方法において、検索ディレクトリからファイルを削除した場合に、削除イベントを監視し、該削除イベントに応じてファイルの実体を削除する。   In the method according to the present invention, when a file is deleted from the search directory, a deletion event is monitored, and the entity of the file is deleted in response to the deletion event.

本発明に係る方法において、前記FS−CMS連携処理部は、前記DELETEを契機として、前記ファイルの拡張属性とリンクを設定しなおす。   In the method according to the present invention, the FS-CMS cooperation processing unit resets the extended attribute and link of the file in response to the DELETE.

本発明に係る方法において、前記FS−CMS連携処理部は、
ファイルシステムのファイルが更新されるときには、RENAMEテーブルとDELETEテーブルを作成し、前記RENAMEテーブルは、RENAME元ファイルとRENAME先ファイルを備え、
DELETEイベントのファイルが、RENAMEテーブルのRENAME先ファイルにあるかをチェックし、
DELETEイベントのファイルが、RENAMEテーブルのRENAME先ファイルに存在した場合、RENAME元ファイルと同名なファイルがファイルシステム上にあるかをチェックし、
RENAME元ファイルと同名なファイルがファイルシステム上に存在した場合、アプリケーションの更新動作とみなし、拡張属性とリンクを再設定し、
RENAMEテーブルとDELETEテーブルからこのファイルに関するエントリを削除する。
In the method according to the present invention, the FS-CMS cooperation processing unit includes:
When a file in the file system is updated, a RENAME table and a DELETE table are created. The RENAME table includes a RENAME source file and a RENAME destination file.
Check if the DELETE event file is in the RENAME destination file of the RENAME table,
If the DELETE event file exists in the RENAME destination file of the RENAME table, check whether a file having the same name as the RENAME source file exists on the file system,
If a file with the same name as the RENAME source file exists on the file system, it is regarded as an application update operation, and the extended attribute and link are reset.
Delete the entry for this file from the RENAME table and the DELETE table.

本発明の他のアスペクト(側面)に係るプログラムは、
ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、
コンテンツを管理するCMSサーバ処理部と、
FS−CMS連携処理部と、
を備えたファイルサーバのコンピュータに、
前記FS−CMS連携処理部における、
クライアントからのアクセス要求に基づき、ファイルシステムへのイベントをモニタして前記CMSサーバ処理に通知する処理、
前記CMSサーバ処理で行う処理を、前記ファイルシステムに対する操作に変換してファイルシステムに対して操作する処理と、
を実行させるプログラムよりなる。
A program according to another aspect of the present invention is as follows.
A file access server processing unit for controlling access to the file system;
A CMS server processing unit for managing content;
An FS-CMS cooperation processing unit;
On a file server computer with
In the FS-CMS cooperation processing unit,
A process of monitoring an event to the file system based on an access request from a client and notifying the CMS server process;
A process for converting the process performed in the CMS server process into an operation for the file system and operating the file system;
It consists of a program that executes

本発明の他のアスペクト(側面)に係るプログラムにおいて、
前記FS−CMS連携処理部が、前記クライアントからファイルシステムへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識し、前記クライアントからのアクセスにより、前記ファイルシステムに変更が加えられると、その変更内容を、前記CMSサーバ処理部に通知する処理と、
前記CMSサーバ処理部は、前記データベースにその変更を反映させる処理と、
前記クライアントがCMSアプリケーションを用いて前記CMSサーバ処理部にアクセスし、ファイルに対する操作を行うと、前記CSMサーバ処理部から、前記FS−CMS連携処理部を経由して前記ファイルシステムにアクセスする処理と
を前記コンピュータに実行させるプログラムよりなる。
In a program according to another aspect (side surface) of the present invention,
The FS-CMS cooperation processing unit recognizes access to the file system from the client through a monitoring application interface, and when a change is made to the file system by the access from the client, the change content is transferred to the CMS. Processing to notify the server processing unit;
The CMS server processing unit is configured to reflect the change in the database;
When the client accesses the CMS server processing unit using a CMS application and performs an operation on a file, the client accesses the file system from the CSM server processing unit via the FS-CMS linkage processing unit. Is made up of a program that causes the computer to execute.

本発明の他のアスペクト(側面)に係るプログラムにおいて、
CMSで管理される属性を、前記ファイルシステムにおけるリンクに対応させる処理を備え、
ファイルサーバのプロトコルにしか対応していないアプリケーションからもCMSをアクセス可能としてなる、ことを特徴とするプログラムよりなる。
In a program according to another aspect (side surface) of the present invention,
A process of making an attribute managed by the CMS correspond to a link in the file system;
The program is characterized in that the CMS can be accessed from an application that only supports the file server protocol.

本発明の他のアスペクト(側面)に係るプログラムにおいて、
前記検索ディレクトリからファイルを削除した場合に、削除イベントを監視し、前記削除イベントに応じてファイルの実体を削除する処理を、
を前記コンピュータに実行させるプログラムよりなる。
In a program according to another aspect (side surface) of the present invention,
When a file is deleted from the search directory, a deletion event is monitored, and a process of deleting a file entity in response to the deletion event is performed.
Is made up of a program that causes the computer to execute.

本発明の他のアスペクト(側面)に係るプログラムにおいて、DELETEを契機として、拡張属性とリンクを設定しなおす、処理を前記コンピュータに実行させるプログラムよりなる。   The program according to another aspect (side surface) of the present invention includes a program that causes the computer to execute processing for resetting an extended attribute and a link when DELETE is triggered.

本発明の他のアスペクト(側面)に係るプログラムにおいて、前記FS−CMS連携処理部が、
前記ファイルシステムのファイルが更新されるときには、RENAMEテーブルとDELETEテーブルを作成し、
DELETEイベントのファイルが、RENAMEテーブルのRENAME先ファイルにあるかをチェックし、
DELETEイベントのファイルが、RENAMEテーブルのRENAME先ファイルに存在した場合、RENAME元ファイルと同名なファイルがファイルシステム上にあるかをチェックし、
RENAME元ファイルと同名なファイルがファイルシステム上に存在した場合、アプリケーションの更新動作とみなし、拡張属性とリンクを再設定し、
RENAMEテーブルとDELETEテーブルからこのファイルに関するエントリを削除する処理を前記コンピュータに実行させるプログラムよりなる。
In a program according to another aspect (side surface) of the present invention, the FS-CMS cooperation processing unit includes:
When a file in the file system is updated, a RENAME table and a DELETE table are created,
Check if the DELETE event file is in the RENAME destination file of the RENAME table,
If the DELETE event file exists in the RENAME destination file of the RENAME table, check whether a file having the same name as the RENAME source file exists on the file system,
If a file with the same name as the RENAME source file exists on the file system, it is regarded as an application update operation, and the extended attribute and link are reset.
The program includes a program for causing the computer to execute processing for deleting an entry relating to the file from the RENAME table and the DELETE table.

本発明によれば、FS−CMS連携処理部を備え、ファイルサーバに対して行われた操作をCMSに反映し、また、CMSが行う処理をファイルシステムに対して反映する構成としたことで、ファイルサーバで所望のコンテンツ管理を実現することができる。   According to the present invention, the FS-CMS cooperation processing unit is provided, the operation performed on the file server is reflected in the CMS, and the processing performed by the CMS is reflected in the file system. Desired content management can be realized by the file server.

本発明によれば、従来はファイルサーバとコンテンツ管理という2つのシステムに分離していたものを統合することで、より簡素で効率的な管理を可能としている。   According to the present invention, simpler and more efficient management is possible by integrating what was conventionally separated into two systems, a file server and content management.

次に、本発明を実施する最良の形態のシステム構成について図を用いて説明する。図1は、本発明を実施する最良の形態のシステム構成の一例を示す図である。図1を参照すると、この実施形態は、少なくとも1台以上のクライアント1と、少なくとも1台以上のファイルサーバ2とを備えている。クライアント1とファイルサーバ2はネットワーク3で接続されている。   Next, a system configuration of the best mode for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an example of the system configuration of the best mode for carrying out the present invention. Referring to FIG. 1, this embodiment includes at least one client 1 and at least one file server 2. The client 1 and the file server 2 are connected by a network 3.

<ファイルサーバ・CMSの仕組み>
はじめに、ファイルサーバとCMSの典型的な構成について、比較例として、図10を参照して説明しておく。
<File server / CMS mechanism>
First, typical configurations of the file server and the CMS will be described as a comparative example with reference to FIG.

図10を参照すると、この比較例において、クライアント1は、ファイルアクセスアプリケーション11と、ファイルアクセスクライアント処理部12を備えている。   Referring to FIG. 10, in this comparative example, the client 1 includes a file access application 11 and a file access client processing unit 12.

ファイルサーバ2は、ファイルアクセスサーバ処理部13と、ファイルシステム14を備えている。   The file server 2 includes a file access server processing unit 13 and a file system 14.

クライアント1は、ファイルサーバ2にアクセスするときには、ファイルアクセスアプリケーション11でファイルサーバ2を示すディレクトリを開き、ファイルにアクセスする。   When the client 1 accesses the file server 2, the file access application 11 opens a directory indicating the file server 2 and accesses the file.

ファイルアクセスアプリケーション11は、ファイルアクセスクライアント処理部12に処理を依頼する。   The file access application 11 requests the file access client processing unit 12 to perform processing.

ファイルアクセスクライアント処理部12は、ファイルアクセスプロトコル21を介してファイルアクセスサーバ処理部13と通信を行い、ファイル情報の獲得やファイルデータのREAD/WRITEを行う。   The file access client processing unit 12 communicates with the file access server processing unit 13 via the file access protocol 21 to acquire file information and perform READ / WRITE of file data.

ファイルサーバ2の内部において、ファイルアクセスサーバ処理部13は、クライアント1のリクエストに応じてファイルシステム14にアクセスし、ファイルシステム14からの応答を、ファイルアクセスプロトコル21に変換して、クライアント1に返すという処理を行う。   Inside the file server 2, the file access server processing unit 13 accesses the file system 14 in response to the request from the client 1, converts the response from the file system 14 into the file access protocol 21, and returns it to the client 1. Perform the process.

図10に示すように、CMSサーバ4は、ファイルサーバ2とは別に設けられている。クライアント1は、CMSサーバ4への処理依頼を行うため、CMSアプリケーション15とCMSクライアント処理部16を備えている。   As shown in FIG. 10, the CMS server 4 is provided separately from the file server 2. The client 1 includes a CMS application 15 and a CMS client processing unit 16 in order to make a processing request to the CMS server 4.

CMSサーバ4は、CMSサーバ処理部17と、データベース18と、ファイルシステム14を備えている。   The CMS server 4 includes a CMS server processing unit 17, a database 18, and a file system 14.

典型的なCMSにおいて、ファイルをREAD/WRITEする方法は、ファイルサーバ2の場合とは異なる。   In a typical CMS, a method for READ / WRITE of a file is different from that of the file server 2.

クライアント1上で動作するCMSアプリケーション15に、ファイルアップロードの類のメニューページが設けられており、該メニュー上からの操作で、ファイルをアップロードし、該メニューで、多元的な属性を設定する。   The CMS application 15 operating on the client 1 is provided with a menu page of the type of file upload. A file is uploaded by an operation from the menu, and multiple attributes are set in the menu.

つまり、ユーザは、ファイルサーバ2上にファイルを作成し、コンテンツ管理を行うために、CMSアプリケーション15のメニューの操作により、当該ファイルをCMSサーバ4にアップロードするという作業が必要になる。   That is, the user needs to upload the file to the CMS server 4 by operating the menu of the CMS application 15 in order to create a file on the file server 2 and perform content management.

<第1の実施形態>
図2は、本発明の第1の実施形態の構成を示す図である。図2を参照すると、本実施形態において、ファイルサーバ2は、ファイルアクセスサーバ処理部13と、ファイルシステム14と、FS(File System)−CMS(Contents Management System)連携処理部19と、CMSサーバ処理部17と、データベース18を備えている。クライアント1は、ファイルアクセスアプリケーション11と、ファイルアクセスクライアント処理部12と、CMSアプリケーション15と、CMSクライアント処理部16を備えている。なお、クライアント1の構成は、図10の構成と同一である。ファイルサーバ2における、ファイルアクセスサーバ処理部13、CMSサーバ処理部17、FS−CMS連携処理部19の各処理部は、ファイルサーバ2を構成するコンピュータで実行されるプログラムによって処理、機能を実現してもよいことは勿論である。本実施の形態では、ファイルサーバ2に、FS−CMS連携処理部19を導入している。以下、FS−CMS連携処理部19の動作について説明する。
<First Embodiment>
FIG. 2 is a diagram showing a configuration of the first exemplary embodiment of the present invention. Referring to FIG. 2, in this embodiment, the file server 2 includes a file access server processing unit 13, a file system 14, an FS (File System) -CMS (Contents Management System) cooperation processing unit 19, and a CMS server process. A unit 17 and a database 18 are provided. The client 1 includes a file access application 11, a file access client processing unit 12, a CMS application 15, and a CMS client processing unit 16. The configuration of the client 1 is the same as the configuration in FIG. Each processing unit of the file access server processing unit 13, the CMS server processing unit 17, and the FS-CMS cooperation processing unit 19 in the file server 2 realizes processing and functions by a program executed by a computer constituting the file server 2. Of course, it may be. In the present embodiment, the FS-CMS cooperation processing unit 19 is introduced into the file server 2. Hereinafter, the operation of the FS-CMS cooperation processing unit 19 will be described.

クライアント1がファイルアクセスアプリケーション11を用いて、ファイルシステム14にアクセスすると、FS−CMS連携処理部19は、イベントを検出するモニタリングAPI(アプリケーションインタフェース)24を通じて、ファイルシステム14へのアクセスを検出する。   When the client 1 accesses the file system 14 using the file access application 11, the FS-CMS cooperation processing unit 19 detects access to the file system 14 through a monitoring API (application interface) 24 that detects an event.

モニタリングAPI24は、さまざまな実装があるが、例えばデータ管理アプリケーションインタフェース(DMAPI)が用いられる(DMAPIが有効化される)。DMAPIは、ファイルシステム14に対して起きたイベントを受け取ることができるAPIである。また、FCTRLのNOTIFY機能を用いてもよい。   Although the monitoring API 24 has various implementations, for example, a data management application interface (DMAPI) is used (DMAPI is enabled). The DMAPI is an API that can receive an event that has occurred to the file system 14. Further, the NOTIFY function of FCTRL may be used.

DMAPIの機能について、図11を参照して概説する。DMAPIは、予めカーネルに登録した領域に対してアクセスがあると、アプリケーションに通知を行うAPI(アプリケーションインタフェース)である。   The DMAPI function will be outlined with reference to FIG. DMAAPI is an API (application interface) that notifies an application when an area registered in the kernel is accessed.

DMAPIアプリケーション20(DMAPIを利用するユーザ空間アプリケーション)は、ファイルシステム14に対して、場所とイベントを登録する(1)。   The DMAPI application 20 (a user space application using DMAPI) registers a location and an event in the file system 14 (1).

ここで、場所とは、イベントが発生したら通知をあげるディレクトリやファイルを指定する。なお、場所として、ファイルシステム全体を指定することも可能である。   Here, the location is a directory or file to be notified when an event occurs. It is also possible to specify the entire file system as the location.

イベントでは、通知をあげる操作を指定する。   In the event, an operation for giving a notification is specified.

登録されるイベントは、例えば
・ファイル作成(CREATE)、
・ファイル削除(DELETE)、
・OPEN、
・CLOSE、
・READ、
・WRITE、
・RENAME、
・LINK、・・・
など、ファイルシステムAPIのほとんどが指定可能である。
The registered events are, for example:-File creation (CREATE),
・ Delete file (DELETE),
・ OPEN,
・ CLOSE,
・ READ,
・ WRITE,
・ RENAME,
・ LINK ...
Most of the file system APIs can be specified.

図11に示す例では、DMAPIアプリケーション20は、場所:ディレクトリA、イベント:CREATEを登録する。   In the example shown in FIG. 11, the DMAPI application 20 registers location: directory A and event: CREATE.

この場合、ファイルシステム14のディレクトリAに、クライアント1がファイルXを作成したときに(2)、DMAPIアプリケーション20に対して、ディレクトリAにファイルXが作成されたことが通知される(3)。   In this case, when the client 1 creates the file X in the directory A of the file system 14 (2), the DMA API application 20 is notified that the file X has been created in the directory A (3).

再び、図2を参照すると、クライアント1のアクセスにより、ファイルシステム14に変更が加えられると、FS−CMS連携処理部19は、その変更を、CMSサーバ処理部17に通知する。CMSサーバ処理部17は、データベース18にその変更を反映させる。   Referring to FIG. 2 again, when the file system 14 is changed by the access of the client 1, the FS-CMS cooperation processing unit 19 notifies the CMS server processing unit 17 of the change. The CMS server processing unit 17 reflects the change in the database 18.

また、クライアント1がCMSアプリケーション15を用いてCMSサーバ処理部17にアクセスし、ファイルに対する操作を行うと、CSMサーバ処理部17から、FS−CMS連携処理部19を経由してファイルシステム14にアクセスする。   When the client 1 accesses the CMS server processing unit 17 using the CMS application 15 and performs an operation on the file, the client 1 accesses the file system 14 from the CSM server processing unit 17 via the FS-CMS cooperation processing unit 19. To do.

これらの機能により、ファイルサーバとCMSとで、ファイルの一貫性を保つことができる。   With these functions, file consistency can be maintained between the file server and the CMS.

なお、CMSのデータベース18の内容は、CMSによって異なるが、その基本は、ディレクトリの階層構造に相当する分類コードと、ファイル属性とが列になり、ファイルが行になっている。図12に、CMSデータベースの一例を示す。図12に示す例では、ファイル毎(行毎)に、ファイル名、分類コード、シリアルID、リビジョン、最終更新時刻、属性の各列がある。また、図12に示す例では、分類コードは、ディレクトリと同じイメージである。このように、分類コードをディレクトリ階層構造と同じとすることで、ディレクトリと分類コードの相互の変換が不要となる。なお、分類コードとディレクトリ構造とを別にして、FS−CMS連携処理部19に変換テーブルを備えた構成としてもよい。   The contents of the CMS database 18 differ depending on the CMS, but basically, the classification code corresponding to the hierarchical structure of the directory and the file attribute are in a column, and the file is in a row. FIG. 12 shows an example of the CMS database. In the example shown in FIG. 12, each file (each line) has columns of file name, classification code, serial ID, revision, last update time, and attribute. In the example shown in FIG. 12, the classification code is the same image as the directory. Thus, by making the classification code the same as the directory hierarchical structure, mutual conversion between the directory and the classification code becomes unnecessary. In addition, it is good also as a structure which provided the conversion table in the FS-CMS cooperation process part 19 apart from the classification code and the directory structure.

図2に示した本実施形態において、クライアント1のファイルアクセスにより、ファイルシステム14に変更が加えられたときの動作を以下に説明する。   In the present embodiment shown in FIG. 2, the operation when the file system 14 is changed by the file access of the client 1 will be described below.

図13は、本実施形態において、ファイルシステム14に新規にファイルを作成した場合の処理を説明するためのフローチャートである。   FIG. 13 is a flowchart for explaining processing when a new file is created in the file system 14 in the present embodiment.

クライアント1のファイルアクセスにより、ファイルシステム14に新規にファイルを作成した場合、DMAPIを通じて、FS−CMS連携処理部19にファイルを新規に作成したファイルの親ディレクトリのパス名とファイル名が渡される(STEP1)。   When a new file is created in the file system 14 by the file access of the client 1, the path name and file name of the parent directory of the newly created file are passed to the FS-CMS cooperation processing unit 19 through DMAPI ( STEP 1).

次に、FS−CMS連携処理部19で、分類コードを見つける(STEP2)。   Next, the classification code is found in the FS-CMS cooperation processing unit 19 (STEP 2).

本実施形態においては、図12を参照して説明したように、分類コードをディレクトリと同一とすることで、FS−CMS連携処理部19では、DMAPIから通知されたファイルの親ディレクトリのパス名から、容易に分類コードを導くことができる。なお、本発明は、分類コードをディレクトリと同一とする構成に限定されるものでなく、前述したように、分類コードとディレクトリを別にしてもよいことは勿論である。この場合、FS−CMS連携処理部19では、親ディレクトリのパス名から変換テーブルを引いて(検索して)、分類コードを導くなどして、分類コードを見つける必要がある。特に制限されないが、親ディレクトリのパス名と分類コードとの対応をテーブル形式で格納した変換テーブルは、FS−CMS連携処理部19内に備えてもよい。   In the present embodiment, as described with reference to FIG. 12, by making the classification code the same as the directory, the FS-CMS linkage processing unit 19 uses the path name of the parent directory of the file notified from DMAPI. Can easily guide the classification code. Note that the present invention is not limited to the configuration in which the classification code is the same as that of the directory, and it is needless to say that the classification code and the directory may be different as described above. In this case, the FS-CMS cooperation processing unit 19 needs to find the classification code by subtracting (searching) the conversion table from the path name of the parent directory and deriving the classification code. Although not particularly limited, a conversion table in which the correspondence between the path name of the parent directory and the classification code is stored in a table format may be provided in the FS-CMS cooperation processing unit 19.

次に、FS−CMS連携処理部19は、CMSサーバ処理部17のAPIをコールして、ファイルの新規登録を行う(STEP3)。データベース18には、新規ファイルに対応した、ファイル名、分類コード、シリアルID、リビジョン、最終更新時刻、属性の列が新規登録される。一般に、CMSには、外部プログラムからコンテンツを操作するためのAPIが用意されている。本実施形態では、FS−CMS連携処理部19は、このAPIを利用する。   Next, the FS-CMS cooperation processing unit 19 calls the API of the CMS server processing unit 17 and newly registers a file (STEP 3). In the database 18, a file name, classification code, serial ID, revision, last update time, and attribute column corresponding to the new file are newly registered. Generally, an API for manipulating content from an external program is prepared in the CMS. In the present embodiment, the FS-CMS cooperation processing unit 19 uses this API.

次に、ファイルシステム14に対するファイル操作が削除である場合を説明する。クライアント1のファイルアクセスにより、ファイルアクセスサーバ処理部13により、ファイルシステム14内のファイルを削除した場合には、ファイルの新規作成の場合と同様に、FS−CMS連携処理部19には、DMAPI経由で、削除したファイルの親ディレクトリとファイル名が渡される。   Next, a case where the file operation on the file system 14 is deletion will be described. When a file in the file system 14 is deleted by the file access server processing unit 13 by the file access of the client 1, the FS-CMS cooperation processing unit 19 is connected to the FS-CMS cooperation processing unit 19 via DMAPI as in the case of new file creation. Will pass the parent directory and file name of the deleted file.

FS−CMS連携処理部19では、親ディレクトリパス名から、分類コードを導き、ファイル名と同一のコンテンツを削除する。ファイルの削除は、CMSサーバ処理部17のAPIを利用する。この場合、例えば、データベース18から当該ファイル名の行が削除される。   The FS-CMS cooperation processing unit 19 derives a classification code from the parent directory path name, and deletes the same content as the file name. To delete the file, the API of the CMS server processing unit 17 is used. In this case, for example, the line of the file name is deleted from the database 18.

次に、ファイルシステム14のファイルの更新について説明する。クライアント1のファイルアクセスにより、ファイルアクセスサーバ処理部13により、ファイルの更新が行われた場合、ファイルの新規作成や削除の場合とは異なり、ファイルの最終更新時刻が変わるだけである。FS−CMS連携処理部19には、DMAPI経由で、ファイルのパス名が渡される。FS−CMS連携処理部19は、ファイルパス名から分類コードを導き、最終更新時刻を変更するために、CMSサーバ処理部17のAPIをコールする。この場合、データベース18の当該ファイル名、分類コードに対応する行の、最終更新時刻の列が変更される。   Next, the file update of the file system 14 will be described. When the file is updated by the file access server processing unit 13 by the file access of the client 1, unlike the case of new creation or deletion of the file, only the last update time of the file is changed. The path name of the file is passed to the FS-CMS cooperation processing unit 19 via DMAPI. The FS-CMS cooperation processing unit 19 derives the classification code from the file path name and calls the API of the CMS server processing unit 17 in order to change the last update time. In this case, the column of the last update time in the row corresponding to the file name and classification code in the database 18 is changed.

次に、クライアント1がCMSアプリケーション15を用いてファイルに変更を加えたときの動作を説明する。   Next, an operation when the client 1 changes a file using the CMS application 15 will be described.

まず、新規にファイルを作成した場合、クライアント1は、CMSアプリケーション15経由で、ファイルをアップロードする。その際、ファイルのアップロード先が、図2のファイルシステム14内となるように、事前に設定しておく。   First, when a new file is created, the client 1 uploads the file via the CMS application 15. At that time, the file upload destination is set in advance so as to be in the file system 14 of FIG.

本実施形態においては、クライアント1が、CMSサーバ上のフォルダで、ファイルをアップロードするだけで、自動的に、ファイルサーバ2のファイルシステム14内の対応するディレクトリに、該ファイルがアップロードされる。すなわち、比較例として示した図10の構成の場合、クライアント1は、CMSアプリケーション15の操作により、CMSサーバ4上のフォルダで、ファイルをアップロードすると、CMSサーバ4のファイルシステム14内にファイルを新規作成することになるが、本実施形態では、図2のファイルサーバ2のファイルシステム14内にファイルが新規作成されるように、アップロード先が設定されている。   In this embodiment, the client 1 automatically uploads a file to a corresponding directory in the file system 14 of the file server 2 simply by uploading the file in a folder on the CMS server. That is, in the case of the configuration of FIG. 10 shown as a comparative example, when the client 1 uploads a file in a folder on the CMS server 4 by operating the CMS application 15, a new file is created in the file system 14 of the CMS server 4. In this embodiment, the upload destination is set so that a new file is created in the file system 14 of the file server 2 in FIG.

なお、CMSサーバがファイルのアップロード先を設定(変更)できない構成の場合や、ファイルの作成操作によりデータベース内部にファイルを格納してしまう場合には、別の方法をとる必要がある。その手法について、図14を参照して説明する。   It should be noted that if the CMS server is configured such that the file upload destination cannot be set (changed), or if the file is stored in the database by the file creation operation, another method must be taken. The method will be described with reference to FIG.

まず、CMSサーバ(図10の4)で、新規ファイルを登録するためのページ(CMSメニューページ)を、FS−CMS連携処理部19にアクセスするURL(Uniform Resource Locator)とし、ボタンの選択により、独自に設けた新規登録ページに飛ぶように予め設定しておく。これは、CMSメニューページの新規ファイル登録のリンクを書き換えるだけで済むことから、変更は容易である。具体的には、CMSメニューページの新規登録ボタン61のリンク先を、独自の新規登録ページ71(URL)に設定しておく。クライアント1において、CMSアプリケーション15のCMSメニューページの新規登録ボタン61が選択されると、リンク先の新規登録ページ71が表示され、新規登録ページ71上でファイルをアップロードすると、ファイルサーバ2のFS−CMS連携処理部19の対応する処理に移行する。   First, on the CMS server (4 in FIG. 10), a page (CMS menu page) for registering a new file is set as a URL (Uniform Resource Locator) for accessing the FS-CMS cooperation processing unit 19, and it is uniquely selected by selecting a button Set in advance to jump to the new registration page. This is easy to change because it only requires rewriting the new file registration link on the CMS menu page. Specifically, the link destination of the new registration button 61 on the CMS menu page is set to an original new registration page 71 (URL). When the new registration button 61 on the CMS menu page of the CMS application 15 is selected in the client 1, a new registration page 71 of a link destination is displayed. When a file is uploaded on the new registration page 71, the FS-CMS of the file server 2 is displayed. The process proceeds to the corresponding process of the cooperation processing unit 19.

FS−CMS連携処理部19では、新規登録ページ71でアップロードされたファイルをファイルシステム14に格納し、ファイルシステム14へのファイルの新規作成に対応してCMSサーバ処理部17に対して、前述したCMSのAPIをコールして、CMSのデータベース18に対して、新規ファイルの登録を行う。なお、CMSサーバ処理部17に対する処理は、ファイルアクセスサーバ処理部13からファイルシステム14に新規ファイルを作成した場合にFS−CMS連携処理部19がCMSサーバ処理部17に対して行う処理と同じである。   The FS-CMS cooperation processing unit 19 stores the file uploaded on the new registration page 71 in the file system 14 and the CMS server processing unit 17 in response to the new creation of the file in the file system 14 as described above. The CMS API is called to register a new file in the CMS database 18. The processing for the CMS server processing unit 17 is the same as the processing performed by the FS-CMS cooperation processing unit 19 for the CMS server processing unit 17 when a new file is created in the file system 14 from the file access server processing unit 13. is there.

次に、クライアント1で動作するCMSアプリケーション15からのファイル削除操作について、図14を参照して説明する。CMSアプリケーション15のメニューページからファイルシステム14のファイルを削除する場合も、同様にして、削除ボタン62から、独自の削除ページ72へリンクするようにしておく。これにより、FS−CMS連携処理部19に対して、最初に、ファイルの削除が通知され、FS−CMS連携処理部19は、ファイルシステム14から該当するファイルの削除を行い、つづいて、CMSサーバ処理部17に対して、前述したCMSサーバ処理部17のAPIをコールして、データベース18の対応する行の内容を削除する。これにより、ファイルシステムとCMSの連携をとることができる。   Next, a file deletion operation from the CMS application 15 operating on the client 1 will be described with reference to FIG. Similarly, when deleting a file of the file system 14 from the menu page of the CMS application 15, the deletion button 62 is linked to the original deletion page 72 in the same manner. As a result, first, the FS-CMS cooperation processing unit 19 is notified of the deletion of the file, and the FS-CMS cooperation processing unit 19 deletes the corresponding file from the file system 14, and then the CMS server. The API of the CMS server processing unit 17 described above is called to the processing unit 17 to delete the contents of the corresponding line in the database 18. Thereby, cooperation of a file system and CMS can be taken.

CMSアプリケーション15のメニューページからファイルシステム14のファイルを更新する場合も、更新ボタン63から独自の更新ページ73へリンクするようにしておく。   Even when the file of the file system 14 is updated from the menu page of the CMS application 15, the update button 63 is linked to the original update page 73 in advance.

これにより、FS−CMS連携処理部19に対して、最初に、更新が通知され、FS−CMS連携処理部19は、ファイルシステム14において、ファイルの更新を行い、つづいて、CMSサーバ処理部17に対して、前述したCMSのAPIをコールして、CMSのデータベース18の対応する行において、更新情報を設定する。これにより、ファイルシステムとCMSの連携をとることができる。   As a result, the update is first notified to the FS-CMS cooperation processing unit 19, and the FS-CMS cooperation processing unit 19 updates the file in the file system 14, followed by the CMS server processing unit 17. On the other hand, the CMS API described above is called to set update information in the corresponding row of the CMS database 18. Thereby, cooperation of a file system and CMS can be taken.

なお、図2のCMSのデータベース18に対して、クライアント1のCMSアプリケーション15、CMSクライアント処理部16、CMSアクセスプロトコル23、CMSサーバ処理部17を介して、CMSのデータベース18の内容に変更が為され、ファイルシステム14に変更内容を反映する必要がある場合、CMSサーバ処理部17が、FS−CMS連携処理部19に通知し、FS−CMS連携処理部19にてファイルシステム14へのファイル操作を行うようにしてもよいことは勿論である。例えば、CMSのデータベース18(図12)内のある行(エントリ)を削除する場合、削除対象の行のファイル名と分類コードのパス名(親ディレイトリ)をFS−CMS連携処理部19に通知し、FS−CMS連携処理部19がファイルシステム14内の該当ファイルの削除操作を行うようにしてもよい。すなわち、CMS側からファイルシステム側への連携を行うことができる。ファイルのRENAME等も、同様にして行うことができる。   2 is changed to the contents of the CMS database 18 via the CMS application 15, the CMS client processing unit 16, the CMS access protocol 23, and the CMS server processing unit 17 of the client 1. When the change contents need to be reflected in the file system 14, the CMS server processing unit 17 notifies the FS-CMS cooperation processing unit 19, and the FS-CMS cooperation processing unit 19 performs file operations on the file system 14. Of course, it may be made to perform. For example, when deleting a certain line (entry) in the CMS database 18 (FIG. 12), the FS-CMS cooperation processing unit 19 is notified of the file name of the line to be deleted and the path name (parent delay registry) of the classification code. Then, the FS-CMS cooperation processing unit 19 may perform an operation for deleting the corresponding file in the file system 14. That is, cooperation from the CMS side to the file system side can be performed. File RENAME and the like can be performed in the same manner.

<第2の実施形態>
次に、本発明の第2の実施形態について説明する。本実施形態では、CMSの検索機能を、ファイルシステムとして実現する。CMSには、多元的な属性やファイル同士の関連性を把握し、ユーザに対して整理して提示したり、ストレージ管理に利用したり、関連性を提示したりする機能が必要である。
<Second Embodiment>
Next, a second embodiment of the present invention will be described. In this embodiment, the CMS search function is realized as a file system. The CMS needs a function for grasping multi-dimensional attributes and relationships between files, organizing and presenting them to the user, using them for storage management, and presenting relationships.

本実施形態では、ファイルサーバ上でその機能を実現するために、検索ディレクトリを用いる。   In the present embodiment, a search directory is used to realize the function on the file server.

まず、検索ディレクトリの機能について説明し、つづいて検索ディレクトリを実現するために、図2のFS−CMS連携処理部19がどのような動作をするかについて説明する。   First, the function of the search directory will be described, followed by the operation of the FS-CMS cooperation processing unit 19 in FIG. 2 in order to realize the search directory.

検索ディレクトリは、多元的な属性、またはその組み合わせがディレクトリ名となっており、そのディレクトリを開くと、その属性が付与されているファイルが一覧となって見えるものである。   The search directory has a multi-dimensional attribute or a combination thereof as a directory name, and when the directory is opened, a file to which the attribute is assigned can be seen as a list.

通常のディレクトリと同じように見えるため、クライアント1は、ファイルアクセスアプリケーション11を介してアクセスでき、また更新も可能である。   Since it looks like a normal directory, the client 1 can be accessed via the file access application 11 and can be updated.

検索ディレクトリは、図2のファイルアクセスアプリケーション11でアクセスできるので、CMSクライアント処理部16を導入していないクライアント1でも、アクセスが可能となる。図3を参照して、具体的に説明する。図3は、本発明の第2の実施形態を説明するための図であり、検索ディレクトリのリンク構成が模式的に示されている。   Since the search directory can be accessed by the file access application 11 in FIG. 2, the client 1 that does not have the CMS client processing unit 16 can access it. A specific description will be given with reference to FIG. FIG. 3 is a diagram for explaining the second embodiment of the present invention, and schematically shows the link structure of the search directory.

ディレクトリA(31)にファイルX(34)が置かれており、「開発情報」と「機密」という2つの属性37が付与されている。   A file X (34) is placed in the directory A (31), and two attributes 37 of "development information" and "confidential" are given.

検索ディレクトリ「開発情報」(32)と検索ディレクトリ「機密」(33)がファイルシステム14に作成される。   A search directory “development information” (32) and a search directory “confidential” (33) are created in the file system 14.

検索ディレクトリ「開発情報」(32)にリンクファイルX1(35)が置かれ、検索ディレクトリ「機密」(33)にはリンクファイルX2(36)が置かれている。   A link file X1 (35) is placed in the search directory “development information” (32), and a link file X2 (36) is placed in the search directory “confidential” (33).

これらのリンクファイルは、ハードリンクまたはシンボリックリンクで、ファイルX(34)にリンクされている。つまり、これらのファイルを開く(「OPEN」する)と、ファイルX(34)が開く。   These link files are hard links or symbolic links and are linked to the file X (34). That is, when these files are opened ("OPEN"), the file X (34) is opened.

クライアント1は、例えば「開発情報」という属性のついたファイル、あるいは、「機密」という属性のついたファイルを探す場合、検索ディレクトリ「開発情報」(32)や、検索ディレクトリ「機密」(33)を開くことで、簡単に見つけることができる。   For example, when the client 1 searches for a file with the attribute “development information” or a file with the attribute “confidential”, the search directory “development information” (32) and the search directory “secret” (33) You can easily find it by opening

このような検索ディレクトリを、FS−CMS連携処理部19がどのように実現しているかについて以下に説明する。   How such a search directory is realized by the FS-CMS cooperation processing unit 19 will be described below.

まず、ファイルシステム14に、検索ディレクトリを作成する。   First, a search directory is created in the file system 14.

検索ディレクトリの作成については、
・FS−CMS連携処理部19が自動で作成してもよいし、
・クライアント1からCMSクライアント処理部16を通じて作成を指示するようにしてもよい。
For information on creating a search directory,
-The FS-CMS cooperation processing unit 19 may automatically create,
The creation may be instructed from the client 1 through the CMS client processing unit 16.

クライアント1が検索ディレクトリにアクセスしてきたら、FS−CMS連携処理部19は、モニタリングAPI24を通じて、検索ディレクトリのアクセスを検出する。   When the client 1 accesses the search directory, the FS-CMS cooperation processing unit 19 detects access to the search directory through the monitoring API 24.

モニタリングAPI24が、クライアントによる検索ディレクトリのアクセスを検出したら、FS−CMS連携処理部19は、その検索ディレクトリ名の示す属性を備えているファイルを、CMSサーバ処理部17に問い合わせる。   When the monitoring API 24 detects access to the search directory by the client, the FS-CMS cooperation processing unit 19 inquires of the CMS server processing unit 17 about a file having the attribute indicated by the search directory name.

CMSサーバ処理部17は、データベース18を検索して、該当するファイルリストをFS−CMS連携処理部19に返す。   The CMS server processing unit 17 searches the database 18 and returns a corresponding file list to the FS-CMS cooperation processing unit 19.

該当するファイルリストをもとに、FS−CMS連携処理部19は、ファイルシステム14に、リンクファイルを作成する。このリンクは、ハードリンクであってもシンボリックリンクであってもよい。これにより、検索ディレクトリに、その属性をもつファイルのリストが見えるようになる。   Based on the corresponding file list, the FS-CMS cooperation processing unit 19 creates a link file in the file system 14. This link may be a hard link or a symbolic link. As a result, a list of files having the attribute can be seen in the search directory.

このように、検索ディレクトリを作ると、1つのファイルに対して、ファイルシステム14内で複数のリンクファイルが作成される。   Thus, when a search directory is created, a plurality of link files are created in the file system 14 for one file.

通常のファイルシステム14では、ファイルが削除されたときに、そのファイルにリンクしているリンクファイルは削除されない。つまり、ファイル自体が削除されても、検索ディレクトリからは削除されないことになってしまう。   In the normal file system 14, when a file is deleted, the link file linked to the file is not deleted. In other words, even if the file itself is deleted, it is not deleted from the search directory.

そして、削除されたファイルにアクセスしたときの現象は、ハードリンクとシンボリックリンクの場合で異なる。   The phenomenon when accessing a deleted file is different for hard links and symbolic links.

例えばハードリンクの場合、ファイルの削除操作により、ファイルのリンクカウンタが1つ減るだけで、ファイル実体はファイルシステム14から削除されない。ファイルシステム14では、リンクカウンタが「0」になったら、ファイル実体が削除される。つまり、検索ディレクトリから、ファイルをアクセスすると、ファイル実体にアクセスできてしまう。つまり、ファイルを削除したのに、アクセスできてしまうというおかしな現象になる。   For example, in the case of a hard link, the file deletion counter operation only reduces the file link counter by one, and the file entity is not deleted from the file system 14. In the file system 14, when the link counter reaches “0”, the file entity is deleted. In other words, if a file is accessed from the search directory, the file entity can be accessed. In other words, it becomes a strange phenomenon that the user can access the file after deleting it.

一方、シンボリックリンクの場合、リンクカウンタは「1」のままであるため、ファイルの削除動作により、ファイルシステム14から、ファイル実体が削除される。この削除の実行に対して、すでに、ファイル自体は削除されているので、アクセスしたときに、ファイルが存在しないというエラーがでる。   On the other hand, in the case of a symbolic link, since the link counter remains “1”, the file entity is deleted from the file system 14 by the file deletion operation. In response to the execution of this deletion, the file itself has already been deleted, so an error that the file does not exist will occur when accessed.

つまり、ファイル実体は存在しないのに、検索ディレクトリからは、該ファイルは削除されない、という、おかしな現象になる。   In other words, there is a strange phenomenon that the file entity does not exist but the file is not deleted from the search directory.

この問題を解決するため、FS−CMS連携処理部19は、モニタリングAPI24を通じて、ファイルが削除されたことを受けとったら、削除されたファイルにリンクしているリンクファイルを、CMSサーバ処理部17に問い合わせる。   In order to solve this problem, when the FS-CMS cooperation processing unit 19 receives the deletion of the file through the monitoring API 24, the FS-CMS cooperation processing unit 19 inquires of the CMS server processing unit 17 about the link file linked to the deleted file. .

CMSサーバ処理部17は、データベース18を検索し、リンクしているファイルの情報をFS−CMS連携処理部19に返す。   The CMS server processing unit 17 searches the database 18 and returns the linked file information to the FS-CMS cooperation processing unit 19.

FS−CMS連携処理部19は、それに基づいて、ファイルシステム14上のリンクファイルを削除する。   Based on this, the FS-CMS cooperation processing unit 19 deletes the link file on the file system 14.

ファイルシステム14がゴミ箱フォルダ機能を備えている場合には、削除要求を受けたファイルはいきなり削除されるのではなく、ファイルシステム14上でゴミ箱フォルダへ移動される。   When the file system 14 has a trash folder function, the file for which the deletion request has been received is not suddenly deleted but moved to the trash folder on the file system 14.

その場合は、FS−CMS連携処理部19は、削除イベントではなく、ゴミ箱フォルダへの移動(RENAME)というイベントを受け取る。   In this case, the FS-CMS cooperation processing unit 19 receives an event of moving to a trash folder (RENAME) instead of a deletion event.

FS−CMS連携処理部19は、ゴミ箱フォルダへの移動を削除イベントと同じように扱い、リンクファイルを削除する。   The FS-CMS cooperation processing unit 19 handles the movement to the trash box folder in the same manner as the deletion event, and deletes the link file.

検索ディレクトリ内のファイルは、通常のファイルアクセスアプリケーション11からアクセス可能であり、更新も可能である。ファイルの内容を変更しても、属性は変化しないし、検索ディレクトリのリンクファイルもつながった状態で保持される。   The files in the search directory are accessible from the normal file access application 11 and can be updated. Even if the contents of the file are changed, the attributes are not changed, and the link file of the search directory is also kept connected.

ただし、一部のアプリケーションでファイルを変更して保存すると、ファイルシステム14上では、ファイルの変更ではなく、新規ファイルに置き換わる場合がある。   However, if a file is changed and saved in some applications, the file system 14 may be replaced with a new file instead of a file change.

これは、アプリケーションの更新の途中でシステムが止まってしまった場合などには元の状態に戻れるようにするために、アプリケーションが行っている工夫である。   This is a contrivance applied by the application so that the system can be restored to the original state when the system is stopped during the update of the application.

ファイル自体に、上書き変更していくのではなく、別のファイルに変更を含めて、全てWRITEし、最終的に保存するときには、元ファイルの削除と、新規ファイルのファイル名変更(RENAME)を行う。こうすることにより、ファイル名変更というアトミックな処理で更新ができるため、更新の途中状態というステータスが無くなるのである。   Rather than overwriting the file itself, when including all the changes in another file, WRITE all, and finally saving, delete the original file and rename the new file (RENAME) . By doing this, since the update can be performed by an atomic process of changing the file name, the status of the update in progress is lost.

この動作のフローは、2つのタイプ(タイプA、タイプB)に分類できる。それぞれについて図4、及び図5を用いて説明する。   The flow of this operation can be classified into two types (type A and type B). Each will be described with reference to FIGS. 4 and 5.

まず、タイプAについて図4を用いて説明する。図4は、ファイルA(41)を更新する場合のフローを示している。   First, type A will be described with reference to FIG. FIG. 4 shows a flow for updating the file A (41).

まず、ファイルA(41)は、「〜ファイルA2.tmp」(42)にRENAMEされる(STEP1)。これは更新前のファイルのバックアップという意味がある。   First, the file A (41) is renamed to “˜file A2.tmp” (42) (STEP 1). This means backup of the file before update.

更新を加えたファイルは、「〜ファイルA1.tmp」(43)という名前で、新規にCREATE(作成)され、更新内容を含めてWRITE(書き込み)される(STEP2)。   The updated file is newly created (created) with the name “˜file A1.tmp” (43), and written (written) including the updated contents (STEP 2).

すべてWRITEされたら、元のファイルA(41)にRENAMEされる(STEP3)。   When all the data has been written, the original file A (41) is renamed (STEP 3).

最後にバックアップファイルである「〜ファイルA2.tmp」(42)がDELETE(削除)される(STEP4)。   Finally, the backup file “˜file A2.tmp” (42) is DELETEd (STEP 4).

この一連の動作により、途中のどの段階で止まってしまったとしても、バックアップに戻ることが可能とされ、更新途中であったことを検出することもできる。   With this series of operations, it is possible to return to the backup regardless of the stage at which it stops, and it is possible to detect that the update was in progress.

次に、タイプBについて、図5を用いて説明する。タイプBの場合、ファイルA(41)は、「〜ファイルA.bak」(42)にRENAMEされ(STEP1)、更新を加えた新規ファイルが、はじめからファイルA(41)として、CREATEされ、WRITEされる(STEP2)。   Next, type B will be described with reference to FIG. In the case of type B, the file A (41) is renamed to “˜file A.bak” (42) (STEP 1), and the new file with the update is created as the file A (41) from the beginning, and the WRITE is performed. (STEP 2).

その後、「〜ファイルA.bak」が削除される。   Thereafter, “˜file A.bak” is deleted.

この場合も、バックアップ用テンポラリファイル「〜ファイルA.bak」(42)が存在するため、更新途中で止まってしまっても、戻ることができる。   Also in this case, since the backup temporary file “˜file A.bak” (42) exists, it can be returned even if it stops during the update.

しかし、検索ディレクトリにとっては、タイプAにしてもタイプBにしても、このような更新は都合が悪い。   However, such updates are inconvenient for search directories, whether type A or type B.

まず、ファイルシステム14としては、別のファイルになってしまうため、多元的な属性をファイルシステムの拡張属性に保存している場合には、失われてしまう。   First, since the file system 14 is a separate file, it is lost when a multi-dimensional attribute is stored in the extended attribute of the file system.

また、検索ディレクトリのリンクは、シンボリックリンクであれば、ファイル名でつながっているので保持されるが、ハードリンクは切れてしまう。   Also, if the search directory link is a symbolic link, it is retained because it is connected by the file name, but the hard link is broken.

ファイルシステム14として、別のファイルであるため仕方ないとも言えるが、ユーザにとっては更新であることからすると、コンテンツ管理システムとしては、利便性が損なわれてしまう。   Although it can be said that the file system 14 is a separate file, it is unavoidable because it is an update for the user. However, if it is an update for the user, the convenience of the content management system is impaired.

そこで、この問題を、本実施形態のFS−CMS連携処理部19を用いて、どのように解決しているか、以下に説明する。   Therefore, how this problem is solved by using the FS-CMS cooperation processing unit 19 of the present embodiment will be described below.

アプリケーションがファイル41を更新する際の動作では、必ず、ファイル41がバックアップ用テンポラリファイル42にRENAMEされ(STEP1)、最後にバックアップ用テンポラリファイル42がDELETEされる(STEP3またはSTEP4)。   In the operation when the application updates the file 41, the file 41 is always renamed to the backup temporary file 42 (STEP 1), and finally the backup temporary file 42 is deleted (STEP 3 or STEP 4).

更新フローの最後は、DELETEであり、これをきっかけとして、拡張属性とリンクを設定しなおすのがよい。   The last of the update flow is DELETE, and it is preferable to reset the extended attribute and the link as a trigger.

そのために、FS−CMS連携処理部19に、RENAMEイベントを保存するRENAMEテーブル51と、DELETEイベントを保存するDELETEテーブル52を持つ。   For this purpose, the FS-CMS cooperation processing unit 19 has a RENAME table 51 that stores RENAME events and a DELETE table 52 that stores DELETE events.

これらのイベントを保存して参照することで、アプリケーションの更新を検出する。   Application updates are detected by storing and referencing these events.

具体的には、図4のタイプAのフローでファイルAが更新されるときには、図6(A)、図6(B)のRENAMEテーブル51とDELETEテーブル52が作成される。RENAMEテーブル51は、RENAME元ファイルとRENAME先ファイル、属性欄を備える。DELETEテーブル52は、CREATEファイルを有する。   Specifically, when the file A is updated in the type A flow of FIG. 4, the RENAME table 51 and the DELETE table 52 of FIGS. 6A and 6B are created. The RENAME table 51 includes a RENAME source file, a RENAME destination file, and an attribute column. The DELETE table 52 has a CREATE file.

図5のタイプBのフローでファイルAが更新されるときは、図7(A)、(B)のRENAMEテーブル51、DELETEテーブル52ができる。   When the file A is updated in the type B flow of FIG. 5, the RENAME table 51 and the DELETE table 52 of FIGS. 7A and 7B are created.

図8は、本実施形態の処理手順を示す流れ図である。図8を参照して、本実施形態の処理を説明する。   FIG. 8 is a flowchart showing the processing procedure of this embodiment. The processing of this embodiment will be described with reference to FIG.

まず、DELETEイベント発生で処理がスタートする(STEP0)。   First, the process starts when a DELETE event occurs (STEP 0).

DELETEイベントのファイルが、RENAMEテーブル51のRENAME先ファイルに存在するかをチェックする(STEP1)。   It is checked whether a DELETE event file exists in the RENAME destination file of the RENAME table 51 (STEP 1).

DELETEイベントのファイルが、RENAMEテーブル51のRENAME先ファイルに存在した場合、RENAME元ファイルと同名なファイルがファイルシステム上にあるかをチェックする(STEP2)。   If the DELETE event file exists in the RENAME destination file of the RENAME table 51, it is checked whether a file having the same name as the RENAME source file exists on the file system (STEP 2).

RENAME元ファイルと同名なファイルがファイルシステム上に存在した場合には、アプリケーションの更新動作とみなし、拡張属性とリンクを再設定する(STEP3)。   If a file having the same name as the RENAME source file exists on the file system, it is regarded as an application update operation, and the extended attribute and link are reset (STEP 3).

最後に、RENAMEテーブル51とDELETEテーブル52から、該ファイルに関するエントリを削除する(STEP4)。これは、該ファイルのエントリの削除を行わないと、RENAMEテーブル51とDELETEテーブル52が際限なく大きくなるためである。   Finally, the entry relating to the file is deleted from the RENAME table 51 and the DELETE table 52 (STEP 4). This is because the RENAME table 51 and the DELETE table 52 will grow without limit unless the entry of the file is deleted.

ファイルシステム14が、ゴミ箱フォルダ機能を備えている場合には、更新時の元ファイルはゴミ箱フォルダに移動する。つまり、DELETEテーブル52がRENAMEテーブル51で代替可能となる。   When the file system 14 has a trash folder function, the original file at the time of update is moved to the trash folder. That is, the DELETE table 52 can be replaced with the RENAME table 51.

図9(A)、図9(B)に、タイプAとタイプBの場合のRENAMEテーブル51をそれぞれ示す。   FIGS. 9A and 9B show the RENAME table 51 in the case of type A and type B, respectively.

ゴミ箱フォルダへのRENAMEイベントを受け取ったら、RENAMEテーブル51を参照して、元ファイル名を割り出す。   When a RENAME event for the trash box folder is received, the RENAME table 51 is referred to determine the original file name.

そして、ファイルシステム上に、RENAME元ファイルと同名のファイルが存在すれば、ゴミ箱フォルダのファイルから、拡張属性やリンクを引き継ぐ。   If a file having the same name as the RENAME source file exists on the file system, the extended attribute and link are inherited from the file in the trash box folder.

あるいは、スナップショットを利用して定期的に再設定するようにしてもよい。例えば夜間などのアクセスがない時間帯にリンクを総チェックする。   Or you may make it reset periodically using a snapshot. For example, the link is checked in total during the night when there is no access.

リンク切れの復旧のために、スナップショットを利用する。リンク切れのファイルは、現在のファイルシステム14からは削除されているが、スナップショットをとっている場合には、スナップショット領域には、残っている。よって、スナップショット領域のファイルにアクセスし、それが、現在のファイルシステム14にも存在するか否かをチェックすることで、リンク切れを検出することができる。   Use snapshots to recover from broken links. A file with a broken link has been deleted from the current file system 14, but remains in the snapshot area when a snapshot is taken. Therefore, a broken link can be detected by accessing a file in the snapshot area and checking whether or not the file exists in the current file system 14.

もし、スナップショット領域のファイルと、現在のファイルシステム上のファイルとが同一であれば、リンクはつながっており、異っていれば、更新されたことを意味する。   If the file in the snapshot area and the file on the current file system are the same, the link is connected, and if the file is different, it means that the file has been updated.

これは、例えばinode番号(データ領域を確保するための番号)を比較したり、更新時刻を比較したりすることで、可能である。   This is possible, for example, by comparing inode numbers (numbers for securing data areas) or comparing update times.

更新されている場合、スナップショット領域のファイルから、拡張属性を読みこんで、更新後のファイルに設定し、リンクは張り直す。   If it has been updated, the extended attribute is read from the file in the snapshot area, set to the updated file, and the link is re-established.

リンク切れの総チェックを行うときに、予めRENAMEイベントを受けていれば、そのファイルだけをチェックする、もしくは、何らかの機能により更新されたファイル一覧を獲得できれば、それだけをチェックすることも可能である。これにより、チェックにかかる時間を短縮できる。   When the total check for broken links is performed, if a RENAME event has been received in advance, only that file can be checked, or if a file list updated by some function can be obtained, only that file can be checked. Thereby, the time required for the check can be shortened.

上記した本実施形態によれば、ファイルサーバとコンテンツ管理システムという2つのシステムを統合することができ、管理の簡素化、効率化ができる。ファイルサーバでファイル管理をしているところにコンテンツ管理システムを導入すると、従来は二重管理になってしまうために避けるところが多かった。本発明によれば、ファイルサーバを残しつつコンテンツ管理システムを組み込むことができ、導入障壁が低くなる。   According to the above-described embodiment, the two systems of the file server and the content management system can be integrated, and management can be simplified and efficient. Introducing a content management system where file management is performed on a file server has traditionally been double-managed, so there are many places to avoid. According to the present invention, the content management system can be incorporated while leaving the file server, and the introduction barrier is lowered.

なお、前記FS−CMS連携処理部19における、ファイルシステム14への操作イベントの認識は、ポーリング方式、あるいは、イベント発生が割り込み等で通知される方式等、任意の方式で行ってもよい。   Note that the operation event to the file system 14 in the FS-CMS cooperation processing unit 19 may be recognized by an arbitrary method such as a polling method or a method in which event occurrence is notified by an interrupt or the like.

以上、本発明を上記実施例に即して説明したが、本発明は上記実施例の構成にのみ制限されるものでなく、本発明の範囲内で当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   Although the present invention has been described with reference to the above-described embodiments, the present invention is not limited to the configurations of the above-described embodiments, and various modifications that can be made by those skilled in the art within the scope of the present invention. Of course, including modifications.

本発明の一実施形態のシステム構成を示す図である。It is a figure which shows the system configuration | structure of one Embodiment of this invention. 本発明の一実施形態の機能構成を示す図である。It is a figure which shows the function structure of one Embodiment of this invention. 本発明の検索ディレクトリのリンク構成を模式的に示す図である。It is a figure which shows typically the link structure of the search directory of this invention. アプリケーションがファイルを更新するフローを示す図である。It is a figure which shows the flow in which an application updates a file. アプリケーションがファイルを更新するフローを示す図である。It is a figure which shows the flow in which an application updates a file. (A)、(B)は、本発明の第2の実施形態におけるRENAMEテーブル・DELETEテーブルをそれぞれ示す図である。(A), (B) is a figure which respectively shows the RENAME table and the DELETE table in the 2nd Embodiment of this invention. (A)、(B)は、本発明の第2の実施形態におけるRENAMEテーブル・DELETEテーブルを示す図である。(A), (B) is a figure which shows the RENAME table and the DELETE table in the 2nd Embodiment of this invention. 本発明の第2の実施形態における拡張属性・リンクの再設定フローを示す図である。It is a figure which shows the reset process of the extended attribute and link in the 2nd Embodiment of this invention. (A)、(B)は、本発明の第2の実施形態におけるRENAMEテーブルとDELETEテーブルをそれぞれ示す図である。(A), (B) is a figure which respectively shows the RENAME table and DELETE table in the 2nd Embodiment of this invention. 比較例のファイルサーバとCMSの機能構成を示す図である。It is a figure which shows the function structure of the file server and CMS of a comparative example. DMAPIの動作を説明する図である。It is a figure explaining the operation | movement of DMAPI. CMSデータベースの構成の一例を説明する図である。It is a figure explaining an example of a structure of a CMS database. ファイルシステムに新規ファイル作成したときのフローを示す図である。It is a figure which shows the flow when a new file is created in a file system. CMSからファイル操作したときの構成を示す図である。It is a figure which shows a structure when file operation is performed from CMS. 従来のOracle Filesの構成を示す図である。It is a figure which shows the structure of the conventional Oracle Files.

符号の説明Explanation of symbols

1 クライアント
2 ファイルサーバ
3 ネットワーク
4 CMSサーバ
11 ファイルアクセスアプリケーション
12 ファイルアクセスクライアント処理部
13 ファイルアクセスサーバ処理部
14 ファイルシステム
15 CMSアプリケーション
16 CMSクライアント処理部
17 CMSサーバ処理部
18 データベース
19 FS−CMS連携処理部
20 DMAPIアプリケーション
21 ファイルアクセスプロトコル
22 ファイルシステムAPI
23 CMSアクセスプロトコル
24 モニタリングAPI
31 ディレクトリA
32 検索ディレクトリ
33 検索ディレクトリ
34 ファイルX
35 リンクファイルX1
36 リンクファイルX2
37 属性
41 ファイルA
42 バックアップ用テンポラリファイル
43 更新用テンポラリファイル
51 RENAMEテーブル
52 DELETEテーブル
61 新規登録ボタン
62 削除ボタン
63 更新ボタン
71 新規登録ページ
72 削除ページ
73 更新ページ
DESCRIPTION OF SYMBOLS 1 Client 2 File server 3 Network 4 CMS server 11 File access application 12 File access client process part 13 File access server process part 14 File system 15 CMS application 16 CMS client process part 17 CMS server process part 18 Database 19 FS-CMS cooperation process 20 DMAAPI application 21 File access protocol 22 File system API
23 CMS Access Protocol 24 Monitoring API
31 Directory A
32 Search Directory 33 Search Directory 34 File X
35 Link file X1
36 Link file X2
37 Attributes 41 File A
42 Backup temporary file 43 Update temporary file 51 RENAME table 52 DELETE table 61 New registration button 62 Delete button 63 Update button 71 New registration page 72 Delete page 73 Update page

Claims (25)

ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、
データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理部と、
前記ファイルアクセスサーバ処理部による前記ファイルシステムへのファイル操作が行われた場合、前記ファイルシステムへの操作内容を前記CMSサーバ処理部に通知し、前記操作内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行うFS−CMS連携処理部と、
を備えている、ことを特徴とするファイルサーバ装置。
A file access server processing unit for controlling access to the file system;
A CMS (Contents Management System) server processing unit for managing content in a database;
When a file operation to the file system is performed by the file access server processing unit, the operation content to the file system is notified to the CMS server processing unit, and the operation content is managed by the CMS server processing unit. An FS-CMS cooperation processing unit that performs control to be reflected in the database;
A file server device characterized by comprising:
請求項1記載のファイルサーバ装置において、
前記FS−CMS連携処理部は、前記ファイルサーバ装置が接続するクライアントのCMSアプリケーションによるファイル操作を前記ファイルシステムへのファイル操作に変換した上で前記ファイルシステムに対して操作を行い、前記ファイルシステムに対する前記操作の内容を、前記CMSサーバ処理部に通知し、前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行う、ことを特徴とするファイルサーバ装置。
The file server device according to claim 1,
The FS-CMS cooperation processing unit performs an operation on the file system after converting a file operation by a CMS application of a client connected to the file server device into a file operation to the file system. A file server device characterized in that the contents of the operation are notified to the CMS server processing unit, and the contents of the operation are reflected in the database managed by the CMS server processing unit.
請求項1記載のファイルサーバ装置において、
前記ファイルサーバ装置が接続するクライアントで実行されるCMSアプリケーションのメニューページ上のファイル操作を選択するボタンのリンク先が、CMSアプリケーション本来の対応するページではなく、予め用意した別のページに設定され、前記ボタンの選択時、前記別のページに制御が移り、前記FS−CMS連携処理部の対応するファイル操作の処理が実行されるように設定されており、
前記CMSアプリケーションのメニューページ上でファイル操作がなされた場合、前記FS−CMS連携処理部により、前記ファイルシステムへのファイル操作が行われ、
さらに、前記FS−CMS連携処理部は、前記ファイルシステムに対して行った前記操作の内容を、前記CMSサーバ処理部に通知し、前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行う、ことを特徴とするファイルサーバ装置。
The file server device according to claim 1,
The link destination of the button for selecting the file operation on the menu page of the CMS application executed by the client to which the file server device is connected is set to another page prepared in advance, not the corresponding page originally intended for the CMS application, When the button is selected, control is transferred to the other page, and the corresponding file operation process of the FS-CMS cooperation processing unit is set to be executed.
When a file operation is performed on the menu page of the CMS application, the file operation to the file system is performed by the FS-CMS cooperation processing unit,
Further, the FS-CMS cooperation processing unit notifies the content of the operation performed on the file system to the CMS server processing unit, and the content of the operation is managed by the CMS server processing unit. A file server device that performs control to be reflected in a database.
前記FS−CMS連携処理部は、前記CMSサーバ処理部のAPI(アプリケーションインタフェース)をコールすることで、前記ファイルシステムに為された前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる、ことを特徴とする請求項1乃至3のいずれか一に記載のファイルサーバ装置。   The FS-CMS cooperation processing unit calls the API (application interface) of the CMS server processing unit, so that the contents of the operation performed on the file system are managed by the CMS server processing unit. The file server apparatus according to any one of claims 1 to 3, wherein the file server apparatus is reflected on the file server. 前記データベースが、1行あたり、ファイル名と、分類コードと、ファイルの属性情報の列を少なくとも含み、
前記分類コードとして、ファイルの親ディレクトリのパス名を含み、
前記FS−CMS連携処理部は、前記ファイルシステムへの操作イベント発生時、前記操作の対象となるパス名とファイル名とを取得し、
ファイルの親ディレクトリを分類コードとして、前記CMSサーバ処理部のCMSのコンテンツ操作用のAPIをコールする、ことを特徴とする請求項4記載のファイルサーバ装置。
The database includes at least a column of file name, classification code, and file attribute information per line,
As the classification code, including the path name of the parent directory of the file,
The FS-CMS cooperation processing unit acquires a path name and a file name to be operated when the operation event to the file system occurs,
5. The file server apparatus according to claim 4, wherein an API for CMS content operation of the CMS server processing unit is called by using a parent directory of the file as a classification code.
前記データベースが、1行あたり、ファイル名と、分類コードと、ファイルの属性情報の列を少なくとも含み、
前記FS−CMS連携処理部は、ファイルの親ディレクトリのパス名と分類コードとを対応付ける変換テーブルを含み、
前記FS−CMS連携処理部は、前記ファイルシステムへの操作イベント発生時、パス名とファイル名を取得し、親ディレクトリから前記変換テーブルを参照して分類コードを導き、
前記CMSサーバ処理部のCMSのコンテンツ操作用のAPIをコールする、ことを特徴とする請求項4記載のファイルサーバ装置。
The database includes at least a column of file name, classification code, and file attribute information per line,
The FS-CMS cooperation processing unit includes a conversion table that associates a path name of a parent directory of a file with a classification code;
The FS-CMS cooperation processing unit obtains a path name and a file name when an operation event to the file system occurs, refers to the conversion table from a parent directory, derives a classification code,
5. The file server apparatus according to claim 4, wherein an API for CMS content operation of the CMS server processing unit is called.
クライアントからのファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、
データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理部と、
前記クライアントからの前記ファイルシステムへの操作イベントが発生した時、前記CMSサーバ処理部に通知して、前記ファイルシステムへの操作内容を、前記データベースに反映させ、
一方、前記CMSサーバ処理部が行う処理を、前記ファイルシステムに対する操作に変換して前記ファイルシステムに対して操作するFS−CMS連携処理部と、
を備えている、ことを特徴とするファイルサーバ装置。
A file access server processing unit that controls access to the file system from the client;
A CMS (Contents Management System) server processing unit for managing content in a database;
When an operation event from the client to the file system occurs, the CMS server processing unit is notified, and the operation content to the file system is reflected in the database.
On the other hand, a process performed by the CMS server processing unit is converted into an operation for the file system, and the FS-CMS cooperation processing unit operates on the file system;
A file server device characterized by comprising:
前記FS−CMS連携処理部は、前記クライアントからの、前記ファイルシステムへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識し、
前記クライアントからのアクセスにより、前記ファイルシステムに変更が加えられると、前記FS−CMS連携処理部は、前記変更内容を、前記CMSサーバ処理部に通知し、
前記FS−CMS連携処理部から前記通知を受けた前記CMSサーバ処理部では、前記データベースに前記変更内容を反映させ、
前記クライアントがCMSアプリケーションを用いてファイルに対する操作を行うと、前記FS−CMS連携処理部を経由して、前記ファイルシステムにアクセスし、前記CMSサーバ処理部では、前記データベースに、前記変更内容を反映させる、ことを特徴とする請求項7記載のファイルサーバ装置。
The FS-CMS cooperation processing unit recognizes access to the file system from the client through a monitoring application interface;
When a change is made to the file system due to access from the client, the FS-CMS cooperation processing unit notifies the change content to the CMS server processing unit,
The CMS server processing unit that has received the notification from the FS-CMS cooperation processing unit reflects the change content in the database,
When the client performs an operation on a file using a CMS application, the file system is accessed via the FS-CMS cooperation processing unit, and the CMS server processing unit reflects the changed content in the database. The file server device according to claim 7, wherein
前記CMSサーバ処理部で管理される属性を、前記ファイルシステムにおけるリンクに対応させる手段を備え、
前記クライアントにおいて、前記ファイルアクセスサーバ処理部対応のプロトコルにしか対応していないアプリケーションからも、前記CMSサーバ処理部をアクセス可能としてなる、ことを特徴とする請求項7記載のファイルサーバ装置。
Means for associating an attribute managed by the CMS server processing unit with a link in the file system;
8. The file server apparatus according to claim 7, wherein the CMS server processing unit can be accessed from an application that supports only the protocol corresponding to the file access server processing unit in the client.
検索ディレクトリ機能を備え、前記CMSサーバ処理部でのファイル検索を、前記クライアントにおいて前記ファイルアクセスサーバ処理部対応のプロトコルにしか対応していないアプリケーションからも利用可能としている、ことを特徴とする請求項7記載のファイルサーバ装置。   The search directory function is provided, and a file search in the CMS server processing unit can be used from an application that supports only a protocol corresponding to the file access server processing unit in the client. 8. The file server device according to 7. 前記FS−CMS連携処理部は、前記クライアントからの前記ファイルシステムの検索ディレクトリへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識すると、前記検索ディレクトリ名の示す属性を備えているファイルを、前記CMSサーバ処理部に問い合わせ、
前記CMSサーバ処理部は、前記FS−CMS連携処理部からの前記問い合わせを受けて、前記データベースを検索して、前記検索ディレクトリ名の示す属性を備えているファイルのリストを、前記FS−CMS連携処理部に返し、
前記FS−CMS連携処理部は、前記ファイルのリストをもとに、前記ファイルシステムにリンクファイルを作成し、前記検索ディレクトリ名の示す属性をもつファイルが一覧となって見えるようにしてなる、ことを特徴とする請求項7記載のファイルサーバ装置。
When the FS-CMS cooperation processing unit recognizes access to the search directory of the file system from the client through a monitoring application interface, the CMS server processing unit reads a file having an attribute indicated by the search directory name. Contact
The CMS server processing unit receives the inquiry from the FS-CMS cooperation processing unit, searches the database, and displays a list of files having an attribute indicated by the search directory name in the FS-CMS cooperation. Return to the processing section
The FS-CMS cooperation processing unit creates a link file in the file system based on the list of files so that a file having the attribute indicated by the search directory name can be viewed as a list. The file server apparatus according to claim 7.
前記検索ディレクトリからファイルがデリート(DELETE)された場合に、前記ファイルのデリート(DELETE)イベントに応じて、前記ファイルの実体をデリートする手段を備えている、ことを特徴とする請求項10又は11記載のファイルサーバ装置。   12. The apparatus according to claim 10, further comprising means for deleting an entity of the file in response to a delete event of the file when the file is deleted from the search directory. The file server device described. 前記FS−CMS連携処理部は、デリート(DELETE)イベントを契機として、ファイルの拡張属性とリンクを再設定する、ことを特徴とする請求項7、10、11のいずれか一に記載のファイルサーバ装置。   12. The file server according to claim 7, wherein the FS-CMS cooperation processing unit resets an extended attribute and a link of a file in response to a delete event. 13. apparatus. 前記FS−CMS連携処理部が、リネーム(RENAME)元のファイルと、リネーム(RENAME)先のファイルの情報を備えたリネーム(RENAME)テーブルと、
デリート(DELETE)イベントを保存するデリート(DELETE)テーブルと、
を備えている、ことを特徴とする請求項7、10、11のいずれか一に記載のファイルサーバ装置。
The FS-CMS linkage processing unit includes a rename (RENAME) table including information on a rename (RENAME) source file and a rename (RENAME) destination file;
A delete table that stores delete events;
The file server apparatus according to claim 7, wherein the file server apparatus comprises:
前記FS−CMS連携処理部は、
前記ファイルシステムのファイルが更新されるときには、更新対象のファイルに関連付けて、リネーム(RENAME)イベントを保存するリネーム(RENAME)テーブルと、デリート(DELETE)イベントを保存するデリート(DELETE)テーブルと、を作成し、
前記DELETEイベントのファイルが、前記RENAMEテーブルのRENAME先ファイルとして存在するか否かをチェックし、
前記DELETEイベントのファイルが前記RENAMEテーブルのRENAME先ファイルとして存在した場合、RENAME元ファイルと同名なファイルが前記ファイルシステム上に存在するか否かをチェックし、
前記RENAME元ファイルと同名なファイルが前記ファイルシステム上に存在した場合には、アプリケーションの更新動作とみなし、拡張属性とリンクを再設定し、前記RENAMEテーブルと前記DELETEテーブルから、前記ファイルに関するエントリを削除する、ことを特徴とする請求項7、10、11のいずれか一に記載のファイルサーバ装置。
The FS-CMS cooperation processing unit
When a file in the file system is updated, a rename table for storing a rename event and a delete table for storing a delete event are associated with the file to be updated. make,
Check whether the DELETE event file exists as a RENAME destination file of the RENAME table,
If the DELETE event file exists as a RENAME destination file of the RENAME table, it is checked whether a file having the same name as the RENAME source file exists on the file system;
If a file having the same name as the RENAME source file exists on the file system, it is regarded as an update operation of the application, the extended attribute and the link are reset, and an entry relating to the file is added from the RENAME table and the DELETE table. The file server device according to claim 7, wherein the file server device is deleted.
ファイルアクセスアプリケーションと、CMS(Contents Management System)アプリケーションを含むクライアントと、
前記クライアントと通信接続するファイルサーバ装置と、
を備え、
前記ファイルサーバ装置が、
ファイルシステムと、
前記クライアントからの前記ファイルシステムへのアクセスを制御するファイルアクセスサーバ処理部と、
データベースにてコンテンツを管理するCMSサーバ処理部と、
前記ファイルシステムと前記CMSサーバ処理部とを連携させる制御を行うFS−CMS連携処理部と、
を備え、
前記FS−CMS連携処理部は、
前記クライアントのファイルアクセスアプリケーションからの前記ファイルシステムへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識し、
前記クライアントのファイルアクセスアプリケーションからの前記ファイルシステムへの操作イベントが発生した場合、前記ファイルシステムへの前記操作の内容を、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行い、
前記クライアントのCMSアプリケーションによるファイル操作を、前記ファイルシステムに対する操作に変換し、前記ファイルシステムに対して操作を行うとともに、前記ファイルシステムへの前記操作の内容を、前記CMSサーバ処理部に通知し、前記CMSサーバ処理部で管理される前記データベースに反映させる制御を行う、ことを特徴とする、ファイルサーバを用いたコンテンツ管理システム。
A client including a file access application, a CMS (Contents Management System) application,
A file server device for communication connection with the client;
With
The file server device is
A file system,
A file access server processing unit for controlling access to the file system from the client;
A CMS server processing unit for managing content in a database;
An FS-CMS cooperation processing unit for controlling the file system and the CMS server processing unit to cooperate;
With
The FS-CMS cooperation processing unit
Recognizing access to the file system from the client file access application through a monitoring application interface;
When an operation event to the file system from the file access application of the client occurs, control is performed to reflect the content of the operation to the file system in the database managed by the CMS server processing unit,
The file operation by the CMS application of the client is converted into an operation for the file system, the file system is operated, and the contents of the operation to the file system are notified to the CMS server processing unit, A content management system using a file server, characterized by performing control to be reflected in the database managed by the CMS server processing unit.
前記FS−CMS連携処理部は、前記クライアントからの前記ファイルシステムの検索ディレクトリへのアクセスを、モニタリングアプリケーションインタフェースを通じて認識すると、前記検索ディレクトリ名の示す属性を備えているファイルを前記CMSサーバ処理部に問い合わせ、
前記CMSサーバ処理部は、前記FS−CMS連携処理部からの前記問い合わせを受けて、前記データベースを検索して、前記検索ディレクトリ名の示す属性を備えているファイルのリストを、前記FS−CMS連携処理部に返し、
前記FS−CMS連携処理部は、前記ファイルのリストをもとに、前記ファイルシステムにリンクファイルを作成し、前記検索ディレクトリ名の示す属性をもつファイルが一覧となって見えるようにしてなる、ことを特徴とする、請求項16記載のファイルサーバを用いたコンテンツ管理システム。
When the FS-CMS cooperation processing unit recognizes access to the search directory of the file system from the client through a monitoring application interface, the FS-CMS cooperation processing unit sends a file having an attribute indicated by the search directory name to the CMS server processing unit. Inquiry,
The CMS server processing unit receives the inquiry from the FS-CMS cooperation processing unit, searches the database, and displays a list of files having an attribute indicated by the search directory name in the FS-CMS cooperation. Return to the processing section
The FS-CMS cooperation processing unit creates a link file in the file system based on the list of files so that a file having the attribute indicated by the search directory name can be viewed as a list. The content management system using the file server according to claim 16.
クライアントからのファイルシステムへのアクセスを制御するファイルアクセスサーバ処理と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理と、を連携させる方法であって、
前記クライアントのファイルアクセスアプリケーションから、前記ファイルシステムへの操作が行われた場合、前記ファイルシステムへの前記操作の内容を、前記CMSサーバ処理に通知し、前記操作の内容を前記CMSサーバ処理で管理される前記データベースに反映させる制御を行う、
ことを特徴とする、ファイルアクセスサーバ処理とCMSサーバ処理の連携方法。
A file access server process that controls access to a file system from a client and a CMS (Contents Management System) server process that manages content in a database,
When an operation to the file system is performed from the file access application of the client, the contents of the operation to the file system are notified to the CMS server process, and the contents of the operation are managed by the CMS server process Control to be reflected in the database
A method for linking file access server processing and CMS server processing.
前記クライアントがCMSアプリケーションをさらに含み、前記クライアントのCMSアプリケーションによるファイル操作に対して、前記ファイルシステムに対する操作に変換し、前記ファイルシステムに対して操作を行うとともに、前記操作の内容を、前記CMSサーバ処理で管理される前記データベースに反映させる制御を行う、ことを特徴とする請求項18記載のファイルアクセスサーバ処理とCMSサーバ処理の連携方法。   The client further includes a CMS application, and a file operation by the client's CMS application is converted into an operation on the file system, and the file system is operated, and the contents of the operation are stored in the CMS server. 19. The method of linking file access server processing and CMS server processing according to claim 18, wherein control is performed to reflect the database managed in processing. 前記CMSサーバ処理のCMSのコンテンツ操作用のAPI(アプリケーションインタフェース)を用いて、前記ファイルシステムに対する操作に対応するコンテンツ処理を実行する、ことを特徴とする請求項18記載のファイルアクセスサーバ処理とCMSサーバ処理の連携方法。   19. The file access server process and the CMS according to claim 18, wherein a content process corresponding to an operation on the file system is executed using an API (application interface) for CMS content operation of the CMS server process. Server processing linkage method. クライアントからのファイルシステムへのアクセスを制御するファイルアクセスサーバ処理と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理とを連携させる方法であって、
前記クライアントからの前記ファイルシステムへの操作イベントが発生した時、前記CMSサーバ処理部に通知して、前記ファイルシステムへの操作内容を、前記データベースに反映させ、
一方、前記CMSサーバ処理部が行う処理を、前記ファイルシステムに対する操作に変換して前記ファイルシステムに対して操作し、前記ファイルアクセスサーバ処理と前記CMSサーバ処理を連携させる、ことを特徴とする、ファイルアクセスサーバ処理とCMSサーバ処理の連携方法。
A method of linking a file access server process that controls access to a file system from a client and a CMS (Contents Management System) server process that manages content in a database,
When an operation event from the client to the file system occurs, the CMS server processing unit is notified, and the operation content to the file system is reflected in the database.
On the other hand, the process performed by the CMS server processing unit is converted into an operation for the file system, the file system is operated, and the file access server process and the CMS server process are linked. A method for linking file access server processing and CMS server processing.
クライアントからのファイルシステムへのアクセスを制御するファイルアクセスサーバ処理と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理と、を実行するコンピュータに、
前記クライアントのファイルアクセスアプリケーションからの前記ファイルシステムへの操作が行われた場合、前記ファイルシステムへの操作内容を、前記CMSサーバ処理で管理される前記データベースに反映させる制御を行う連携処理を実行させる、プログラム。
A computer that executes a file access server process that controls access to a file system from a client, and a CMS (Contents Management System) server process that manages content in a database.
When an operation to the file system is performed from the file access application of the client, a cooperative process is executed to perform control to reflect the operation content to the file system in the database managed by the CMS server process ,program.
請求項22記載のプログラムにおいて、
前記連携処理は、前記クライアントのCMSアプリケーションによるファイル操作に対して、前記ファイルシステムに対する操作に変換し、前記ファイルシステムに対して操作を行うとともに、前記ファイルシステムに対する操作内容を、前記CMSサーバ処理で管理される前記データベースに反映させる制御を行う、プログラム。
The program according to claim 22, wherein
The cooperation process converts a file operation by the CMS application of the client into an operation on the file system, performs an operation on the file system, and changes an operation content on the file system by the CMS server process. A program for performing control to be reflected in the database to be managed.
請求項22記載のプログラムにおいて、
前記連携処理では、前記CMSサーバ処理のAPI(アプリケーションインタフェース)を用いて前記ファイルシステムに対する操作に対応するコンテンツ処理を実行する、プログラム。
The program according to claim 22, wherein
In the cooperation processing, a program that executes content processing corresponding to an operation on the file system using an API (application interface) of the CMS server processing.
クライアントからのファイルシステムへのアクセスを制御するファイルアクセスサーバ処理と、データベースにてコンテンツを管理するCMS(Contents Management System)サーバ処理とを実行するコンピュータに、
前記クライアントからの前記ファイルシステムへの操作イベントが発生した時、前記CMSサーバ処理部に通知して、前記ファイルシステムへの操作内容を、前記データベースに反映させる処理と、
一方、前記CMSサーバ処理で行う処理を、前記ファイルシステムに対する操作に変換して前記ファイルシステムに対して操作し、前記ファイルアクセスサーバ処理と前記CMSサーバ処理を連携させる処理と、
を実行させる、プログラム。
A computer that executes a file access server process that controls access to a file system from a client and a CMS (Contents Management System) server process that manages content in a database.
A process of notifying the CMS server processing unit when an operation event to the file system from the client occurs, and reflecting the operation content to the file system in the database;
On the other hand, the process performed in the CMS server process is converted into an operation for the file system, the file system is operated, and the file access server process and the CMS server process are linked.
A program that executes
JP2006211077A 2006-08-02 2006-08-02 Content management system, method and program using file server Expired - Fee Related JP4952119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006211077A JP4952119B2 (en) 2006-08-02 2006-08-02 Content management system, method and program using file server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006211077A JP4952119B2 (en) 2006-08-02 2006-08-02 Content management system, method and program using file server

Publications (2)

Publication Number Publication Date
JP2008040602A true JP2008040602A (en) 2008-02-21
JP4952119B2 JP4952119B2 (en) 2012-06-13

Family

ID=39175559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006211077A Expired - Fee Related JP4952119B2 (en) 2006-08-02 2006-08-02 Content management system, method and program using file server

Country Status (1)

Country Link
JP (1) JP4952119B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013516697A (en) * 2010-01-06 2013-05-13 アップル インコーポレイテッド Policy-based switching between graphics processing units
US8648868B2 (en) 2010-01-06 2014-02-11 Apple Inc. Color correction to facilitate switching between graphics-processing units
US8687007B2 (en) 2008-10-13 2014-04-01 Apple Inc. Seamless display migration
US8797334B2 (en) 2010-01-06 2014-08-05 Apple Inc. Facilitating efficient switching between graphics-processing units

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141237A (en) * 1993-11-17 1995-06-02 Toshiba Corp Data base access control unit
JPH09114724A (en) * 1995-10-16 1997-05-02 Hitachi Ltd Remote file operating method
JP2001282593A (en) * 2000-03-30 2001-10-12 Hitachi Ltd Method and device of database-file cooperation
JP2001325290A (en) * 2000-05-18 2001-11-22 Fujitsu Ltd System for retrieving document file
JP2005174063A (en) * 2003-12-12 2005-06-30 Nippon Telegr & Teleph Corp <Ntt> File management apparatus, dynamic name space generation method and dynamic name space generation program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141237A (en) * 1993-11-17 1995-06-02 Toshiba Corp Data base access control unit
JPH09114724A (en) * 1995-10-16 1997-05-02 Hitachi Ltd Remote file operating method
JP2001282593A (en) * 2000-03-30 2001-10-12 Hitachi Ltd Method and device of database-file cooperation
JP2001325290A (en) * 2000-05-18 2001-11-22 Fujitsu Ltd System for retrieving document file
JP2005174063A (en) * 2003-12-12 2005-06-30 Nippon Telegr & Teleph Corp <Ntt> File management apparatus, dynamic name space generation method and dynamic name space generation program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8687007B2 (en) 2008-10-13 2014-04-01 Apple Inc. Seamless display migration
JP2013516697A (en) * 2010-01-06 2013-05-13 アップル インコーポレイテッド Policy-based switching between graphics processing units
US8648868B2 (en) 2010-01-06 2014-02-11 Apple Inc. Color correction to facilitate switching between graphics-processing units
US8797334B2 (en) 2010-01-06 2014-08-05 Apple Inc. Facilitating efficient switching between graphics-processing units
US9336560B2 (en) 2010-01-06 2016-05-10 Apple Inc. Facilitating efficient switching between graphics-processing units
US9396699B2 (en) 2010-01-06 2016-07-19 Apple Inc. Color correction to facilitate switching between graphics-processing units

Also Published As

Publication number Publication date
JP4952119B2 (en) 2012-06-13

Similar Documents

Publication Publication Date Title
US11698885B2 (en) System and method for content synchronization
US11803516B2 (en) System and method for selective synchronization
US10831614B2 (en) Visualizing restoration operation granularity for a database
CN109117425B (en) Method, system, and medium for digital asset synchronization
US9110909B2 (en) File level hierarchical storage management system, method, and apparatus
JP4847709B2 (en) Methods, media, and systems for recovering data using a timeline-based computing environment
JP4313432B2 (en) Copy and update files
US8135677B2 (en) File management system and method
KR20200093596A (en) Resynchronization of metadata in content management system
US20140012896A1 (en) Technique for implementing seamless shortcuts in sharepoint
KR20150013191A (en) File handling within a cloud-based file system
CN105474206A (en) Virtual synchronization with on-demand data delivery
US20080109619A1 (en) Information provision system and information provision method
AU2023201603B2 (en) Synchronizing an external location
WO2017003967A1 (en) Cloud-native documents integrated with legacy tools
JP5076015B1 (en) Information processing apparatus, client management method, and client management system
JP4952119B2 (en) Content management system, method and program using file server
JP2006031608A (en) Computer, storage system, file management method which computer performs, and program
JP4253315B2 (en) Knowledge information collecting system and knowledge information collecting method
JP2006092020A (en) Document management device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090717

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120123

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: 20120214

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120227

R150 Certificate of patent or registration of utility model

Ref document number: 4952119

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees