WO2014203397A1 - Computer system, metadata management method, and program - Google Patents

Computer system, metadata management method, and program Download PDF

Info

Publication number
WO2014203397A1
WO2014203397A1 PCT/JP2013/067099 JP2013067099W WO2014203397A1 WO 2014203397 A1 WO2014203397 A1 WO 2014203397A1 JP 2013067099 W JP2013067099 W JP 2013067099W WO 2014203397 A1 WO2014203397 A1 WO 2014203397A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
metadata
information
stored
movement
Prior art date
Application number
PCT/JP2013/067099
Other languages
French (fr)
Japanese (ja)
Inventor
陽介 石井
児玉 昇司
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2013/067099 priority Critical patent/WO2014203397A1/en
Publication of WO2014203397A1 publication Critical patent/WO2014203397A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0685Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays

Definitions

  • the present invention relates to a computer system using hierarchical storage.
  • the search server analyzes the text of the data stored in the computer system and generates a search index in advance.
  • the user can transmit a search query for searching the acquisition target data to the search server and access the acquisition target data based on the search result output from the search server.
  • the search server extracts data including a combination of the metadata name and metadata value included in the search target data, and generates a search index for the data extracted in advance.
  • a user can acquire a search result by designating search conditions regarding the metadata name and metadata value to the search server.
  • the search service as described above is an important service for the user, and its use is considered to be further expanded.
  • the metadata search can be used not only for simple data search but also for data analysis by executing statistical processing or the like on data that matches the search condition.
  • Patent Document 1 discloses a storage system that virtually reduces the management cost per capacity by combining an expensive and high-performance upper tier storage and an inexpensive and low-performance lower tier storage. That is, a hierarchical storage technology is described.
  • the hierarchical control server stores files in appropriate storage based on the usage status of the stored files.
  • the tiered storage it is possible to construct a system configuration in which the upper tier storage is installed at each site used by the user and the lower tier storage is installed in the data center. By constructing the system having the above-described system configuration, it is possible to collect data generated at each site on the data center side using the function of the hierarchical storage.
  • the size of the metadata is relatively small.
  • the tendency of the metadata size to become smaller than the data size becomes significant.
  • a typical example of the invention disclosed in the present application is as follows. That is, a computer system comprising a plurality of computers, each of the plurality of computers having a processor, a main storage device, a secondary storage device, and an interface for communicating with other computers, and at least one or more
  • the computer includes a buffer for temporarily storing a file received from an external device connected via the interface, a data storage area for storing the file, a file management unit for managing the file, and access to the file
  • a file access control unit that controls the metadata
  • a metadata generation unit that acquires metadata by analyzing the file and generates a metadata file using the acquired metadata.
  • the generation unit acquires operating information indicating an operating state of the computer that has received the file, Whether to generate the metadata file is determined based on the acquired operation information, and if it is determined to generate the metadata file, the metadata is acquired from the file stored in the buffer And generating the metadata file based on the acquired metadata, storing the generated metadata file in the data storage area, and storing the generated metadata file in the metadata storage area. Information for accessing the file is added.
  • file metadata can be retained according to the operation information of the computer that has received the file. Further, since information for accessing the file is added to the metadata file, the file and the metadata file can be managed in association with each other.
  • FIG. 1 is an explanatory diagram showing an outline of processing of the computer system according to the first embodiment of this invention.
  • the computer system includes a front-end file server 1, a back-end file server A (2-1), a back-end file server B (2-2), a data source 4, and a client 5.
  • Each device is connected via a network 6 so that data communication is possible.
  • the back-end file server A (2-1) and the back-end file server B (2-2) are not distinguished, they are also referred to as the back-end file server 2.
  • the front-end file server 1 and the back-end file server 2 are not distinguished, they are also described as file servers.
  • the front-end file server 1 provides a file storage service and a file sharing service.
  • the front end file server 1, the back end file server A (2-1), and the back end file server B (2-2) constitute a hierarchical storage.
  • the front-end file server 1 is a higher-level storage and provides a virtual large-capacity file server to the user.
  • the back-end file server 2 is a lower-level storage, and stores a part of data stored in the front-end file server 1.
  • Tier0 is set as the management hierarchy of the front-end file server 1
  • Tier1 is set as the management hierarchy of the back-end file server A (2-1)
  • the back-end file server B (2- It is assumed that “Tier2” is set as the management hierarchy of 2).
  • the front-end file server 1 determines that the back-end file server A (2-1) is based on a predetermined policy such as file access frequency or elapsed time after file update. Move the file.
  • a predetermined policy such as file access frequency or elapsed time after file update.
  • Move the file When a file access request for the file is received from the user after the file is moved, the front-end file server 1 acquires the file from the back-end file server A (2-1), and responds with the file acquired by the user. Send as.
  • the hierarchical storage configuration may be a multi-stage configuration.
  • the back end file server B (2-2) may be included.
  • the front-end file server 1 moves the file to the back-end file server A (2-1)
  • the back-end file server A (2 It may be controlled to move a part of the file stored in -1) to the back-end file server B (2-2).
  • the front-end file server 1 controls to select the back-end file server B (2-2) as the file transfer destination. May be.
  • Data source 4 is a device that generates data to be stored.
  • the data source 4 for example, an electronic medical record server that registers electronic medical record information and manages the electronic medical record information, and a monitoring server that accumulates video data for monitoring recorded using a monitoring camera can be considered.
  • the front-end file server 1 stores various data generated by the data source 4 as file format data.
  • the front-end file server 1 manages data so that a plurality of clients 5 can access the data and share the data.
  • the front-end file server 1 also stores metadata extracted from stored data and manages it as sharable data.
  • metadata include a patient ID for patient identification included in the electronic medical record data, identification information of a person shown in the moving image specified based on a person image included in the moving image data, and the like.
  • the computer system of this embodiment may include a search server (not shown).
  • the search server generates a search index by indexing the file and metadata in order to search for data and metadata extracted from the data.
  • the function of the search server may be realized using the front-end file server 1 or the back-end file server 2, or may be realized using another server (not shown).
  • the front end file server 1 and the data source 4 may be constructed in the user side base, and the back end file server 2 may be constructed in the data center.
  • data and metadata extracted from the data can be managed using a hierarchical storage.
  • the present invention implements control so that metadata can be reliably transferred between file servers for the reasons described above.
  • the present invention is not limited to file storage but can be applied to block storage. Further, the present invention is not limited to a file server, but can be applied to a storage system that stores files.
  • the storage system includes a controller having a CPU and a memory, an I / F, and an auxiliary storage device.
  • the front-end file server 1 receives a file to be stored from the data source 4.
  • the file to be stored is also referred to as an actual data file 180.
  • the front end file server 1 temporarily stores the actual data file 180 in the data reception buffer 160 on the memory.
  • the front-end file server 1 is not limited to a mode of receiving a file from an external device, but may be a mode of acquiring the actual data file 180 by transmitting a file acquisition request to the external device.
  • step S1 the metadata generation unit 120 (see FIG. 2) of the front-end file server 1 extracts metadata from the actual data file 180 stored in the data reception buffer 160.
  • the metadata generation unit 120 stores the extracted metadata in the data storage area 170 on the auxiliary storage device 13 as file format data.
  • the metadata generation unit 120 also stores the actual data file 180 in the data storage area 170.
  • file format metadata is also referred to as a metadata file 181.
  • data including at least one of the actual data file 180 and the metadata file 181 is described as a file.
  • the metadata generation unit 120 stores the correspondence between the actual data file 180 and the metadata file 181 in the file correspondence management table 152, and stores information on the storage locations of the actual data file 180 and the metadata file 181 in the storage file management table 154. To store. In addition, the metadata generation unit 120 stores, in the operation management table 153, information related to the remaining capacity of the data storage area 170 that has changed with the storage of the file in the data storage area 170.
  • step S2 the file movement control unit 130 (see FIG. 2) of the front-end file server 1 selects a movement candidate file from the files stored in the data storage area 170. Specifically, the following processing is executed.
  • the file movement control unit 130 acquires the operation information of the front end file server 1 from the operation management table 153.
  • the file movement control unit 130 refers to the movement condition management table 151, collates the acquired operation information with the registered movement condition, and determines the processing content of the movement process.
  • the file movement control unit 130 refers to the storage file management table 154 based on the determined processing contents of the movement process, and selects a file to be moved from among the files stored in the data storage area 170.
  • the file movement control unit 130 stores the information of the selected file in the file movement management table 155.
  • the file migration control unit 130 refers to the file correspondence management table 152 in order to distinguish whether the migration target file is the actual data file 180 or the metadata file 181. In addition, the file migration control unit 130 acquires the identification information of the file server to which the file is migrated from the hierarchical storage configuration management table 150.
  • step S3 the file movement control unit 130 of the front end file server 1 executes a file movement process.
  • the file migration control unit 130 refers to the file migration management table 155 and sequentially migrates the migration target file to the migration destination file server.
  • the file movement control unit 130 may delete the actual data file 180 and the metadata file 181 stored in the data storage area 170 after moving the file, or store the actual data file 180 and the metadata file 181. It may be replaced with a stub file containing link information regarding the destination.
  • the file movement control unit 130 reflects information related to file movement in the stored file management table 154. In addition, the file movement control unit 130 reflects information on the remaining capacity of the data storage area 170 associated with file deletion or replacement with a stub file in the operation management table 153.
  • FIG. 1 shows the state after the file is moved.
  • the file 280-1 indicates that the actual data file 180 and the metadata file 181 are stored in the backend file server A (2-1) as one file.
  • the file 280-2 is stored in the backend file server A (2-1) as a file including only the metadata file 181.
  • the file 280-3 is stored as a file including only actual data in the backend file server B (2- 2) indicates that it is stored. That is, the actual data file 180 and the metadata file 181 are stored in different back-end file servers 2.
  • the metadata file 181 included in the file 280-2 includes storage location information indicating the storage location of actual data. For example, information on the file 280-3 including the corresponding actual data file 180 is included.
  • FIG. 2 is a block diagram illustrating a configuration example of the computer system according to the first embodiment of this invention.
  • the computer system includes a front-end file server 1, a plurality of back-end file servers 2, a data source 4, and a client 5, and is connected to each other via a network 6 so that data communication is possible.
  • the network 6 may be a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, or the like. Moreover, it is not limited to the network connection type, and may be either wired or wireless. Moreover, the structure which connects via several different networks as needed may be sufficient.
  • the front-end file server 1, the data source 4, and the client 5 are connected to each other via a LAN, and each of the plurality of back-end file servers 2 is connected to another LAN having a different subnet, etc.
  • a configuration in which two LANs are connected via a LAN is conceivable.
  • each file server can be applied with cascade connection or ring connection, and data stored in the front-end file server 1 and the plurality of back-end file servers 2 can be accessed using one file path. It has become.
  • the present invention is not limited to this, and an independent file path may be used for each file server.
  • the front end file server 1 provides the client 5 with a file storage service and a file sharing service.
  • the plurality of back-end file servers 2 store files stored in the front-end file server 1.
  • the data source 4 is a device that generates a file to be stored.
  • the client 5 is a computer that the user operates to acquire data or search for data.
  • the front end file server 1 stores the file generated by the data source 4 in its own storage area or the back end file server 2. Further, the front-end file server 1 responds with a file including at least one of the actual data file 180 and the metadata file 181 in response to the file access request transmitted from the client 5.
  • each component is one is described for simplicity, but a plurality of components may exist.
  • the front-end file server 1 and the plurality of back-end file servers 2 constituting the tiered storage can add another file storage or file server in a hierarchy, and a plurality of file storages or It is also possible to set up a file server.
  • front-end file server 1 is intended for storing data generated by the data source 4, the present invention is not limited to this.
  • the front-end file server 1 may store data generated by another device or may store data generated in the front-end file server 1.
  • the front-end file server 1 uses a general-purpose computer and includes a CPU 10, a memory 11, an I / F 12, and an auxiliary storage device 13.
  • CPU 10 executes a program stored in the memory 11.
  • the functions of the front-end file server 1 can be realized by the CPU 10 executing the program.
  • the CPU 10 executes a program stored in the memory 11.
  • the memory 11 stores a program executed by the CPU 10 and information necessary for executing the program.
  • the program and information stored in the memory 11 will be described later.
  • the I / F 12 controls data communication with an external device.
  • the auxiliary storage device 13 is a device that provides a large-capacity storage area.
  • a RAID may be configured using a plurality of auxiliary storage devices 13.
  • the auxiliary storage device 13 is used as the data storage area 170.
  • the memory 11 stores programs for realizing the file management unit 100, the file access control unit 110, the metadata generation unit 120, and the file movement control unit 130.
  • the memory 11 also stores a tiered storage configuration management table 150, a migration condition management table 151, a file correspondence management table 152, an operation management table 153, a storage file management table 154, and a file migration management table 155.
  • the memory 11 also has a storage area for realizing the data reception buffer 160.
  • Hierarchical storage configuration management table 150 migration condition management table 151, file correspondence management table 152, operation management table 153, storage file management table 154, and file migration management table 155 will be described later with reference to FIGS.
  • the file management unit 100 provides a file system used for managing files. Note that the file management unit 100 may provide a database instead of the file system.
  • the file access control unit 110 receives a file access request transmitted from an external device such as the client 5 and controls access to the file.
  • the file access control unit 110 reads the file from the back-end file server 2 and returns the read file to the client 5.
  • the file access control unit 110 is read from the storage device to the back-end file server 2. The file is returned to the client 5.
  • the metadata generation unit 120 executes a metadata extraction process for generating the metadata file 181 from the actual data file 180. Details of the metadata extraction processing will be described later with reference to FIG.
  • the metadata generation unit 120 includes a plurality of functional units such as an actual data acquisition unit 121, a metadata extraction unit 122, and a metadata file generation unit 123.
  • the actual data acquisition unit 121 reads the actual data file 180 temporarily stored in the data reception buffer 160 as appropriate.
  • the actual data acquisition unit 121 executes a filtering process for acquiring a file for extracting metadata from the actual data file 180 based on the conditions and processing contents registered in the movement condition management table 151. Details of the filtering process will be described later with reference to FIG.
  • the metadata extraction unit 122 extracts metadata from the acquired actual data file 180. Specifically, the metadata extraction unit 122 specifies the data type of the actual data file 180, and executes a metadata extraction process to extract metadata based on the specified data type.
  • the metadata extraction unit 122 may specify the data type of the actual data file 180 based on the extension name given to the file name of the actual data file 180. Further, the metadata extraction unit 122 may analyze the actual data file 180 and specify the data type of the actual data file 180 based on the analysis result. Therefore, the metadata extraction unit 122 holds a data type and a metadata extraction module (not shown) corresponding to the data type.
  • the metadata extraction unit 122 mainly extracts the following two types of information as file metadata.
  • the metadata extraction unit 122 extracts information given as file attribute information from the file. Specifically, the file size, file owner, file creation date and time, file last update date and time, and the like are extracted.
  • the metadata extraction unit 122 analyzes the contents of the file and extracts information acquired as a result of the analysis. Specifically, when a building is reflected in the image of the image file, feature information such as the shape and color of the building is extracted. When the location of the building is identifiable, the metadata extraction unit 122 also extracts feature information such as the name of the building and the location.
  • the metadata file generation unit 123 generates file format data, that is, a metadata file 181 from the extracted metadata. Specifically, the following processing is executed.
  • the metadata file generation unit 123 newly generates a metadata file 181 including the extracted metadata, and stores the corresponding actual data file 180 and metadata file 181 in the data storage area 170. At this time, the metadata file generation unit 123 stores the correspondence relationship between the actual data file 180 and the metadata file 181 in the file correspondence management table 152.
  • the metadata file generation unit 123 stores information regarding the storage locations of the actual data file 180 and the metadata file 181 in the storage file management table 154.
  • the metadata file generation unit 123 stores, in the operation management table 153, the remaining capacity of the data storage area 170 that has changed along with the storage of the file in the data storage area 170, that is, information on the remaining capacity of the auxiliary storage device 13, and the like.
  • the file movement control unit 130 selects a movement candidate file from the files stored in the data storage area 170, and controls the movement of the selected file.
  • the file movement control unit 130 includes a plurality of functional units such as an information acquisition unit 131, a determination unit 132, and a file movement unit 133.
  • the information acquisition unit 131 acquires information from each management table used for selecting a movement candidate file. Specifically, the information acquisition unit 131 acquires information from the hierarchical storage configuration management table 150, the migration condition management table 151, the file correspondence management table 152, the operation management table 153, the storage file management table 154, and the file migration management table 155. To do.
  • the determination part 132 determines the processing content of a movement process based on the information acquired from each management table. Specifically, the following processing is executed.
  • the determination unit 132 compares the condition registered in the movement condition management table 151 with the information acquired from the operation management table 153, and searches for a matching condition.
  • the determination unit 132 specifies an action corresponding to the matched condition, and determines the specified action as the processing content of the movement process.
  • the determination unit 132 selects a movement candidate file based on the processing content of the determined movement process, and stores information on the selected file in the file movement management table 155.
  • the determination unit 132 refers to the storage file management table 154 based on the processing content of the determined transfer process, and selects a transfer candidate file from the files stored in the data storage area 170.
  • the determination unit 132 stores information on the selected movement candidate file in the file movement management table 155.
  • the determination unit 132 refers to the file correspondence management table 152 in order to distinguish whether the migration candidate file is the actual data file 180 or the metadata file 181. In addition, the determination unit 132 appropriately acquires the identification information of the file server that is the migration destination file from the hierarchical storage configuration management table 150.
  • the file mover 133 moves the move candidate file to a predetermined move destination file server. Specifically, the file mover 133 refers to the file move management table 155 and sequentially moves the move candidate files to the move destination file server.
  • the back-end file server 2 is a general-purpose computer and includes a CPU 20, a memory 21, an I / F 22, and an auxiliary storage device 23.
  • CPU 20 executes a program stored in memory 21.
  • the functions of the back-end file server 2 can be realized by the CPU 20 executing the program.
  • a process is described with a program as a subject, it indicates that the CPU 20 is executing the program.
  • the memory 21 stores a program executed by the CPU 20 and information necessary for executing the program.
  • the program and information stored in the memory 21 will be described later.
  • the I / F 22 controls data communication with an external device.
  • the auxiliary storage device 23 is a device that provides a large-capacity storage area.
  • the auxiliary storage device 23 may be, for example, an HDD or an SSD.
  • a RAID may be configured using a plurality of auxiliary storage devices 23.
  • the memory 21 stores programs for realizing the file management unit 201 and the file access control unit 202.
  • the memory 21 also stores a back-end storage file management table 250.
  • the file management unit 201 and the file access control unit 202 are the same as the file management unit 100 and the file access control unit 110 included in the front-end file server 1, description thereof is omitted.
  • the back end storage file management table 250 will be described later.
  • each back-end file server 2 may be different.
  • the data source 4 is a general-purpose computer and includes a CPU 40, a memory 41, an I / F 42, and an auxiliary storage device 43.
  • CPU 40 executes a program stored in memory 41.
  • the function of the data source 4 can be realized by the CPU 40 executing the program.
  • a process is described with a program as a subject, it indicates that the CPU 40 is executing the program.
  • the memory 41 stores a program executed by the CPU 40 and information necessary for executing the program.
  • the program and information stored in the memory 41 will be described later.
  • the I / F 42 controls data communication with an external device.
  • the auxiliary storage device 43 is a device that provides a large-capacity storage area.
  • an HDD and an SSD can be considered.
  • the memory 11 stores programs for realizing the data management unit 401 and the data providing unit 402.
  • the data management unit 401 manages data generated and held in the data source 4. Specifically, a file system function or a database function is provided, and control is performed so that the function can be used.
  • the data providing unit 402 provides various data managed by the data management unit 401 to the outside of the data source 4.
  • processing for storing data stored in the data source 4 as a file in the front-end file server 1 or processing for providing the file is executed in response to a request from the front-end file server 1 or the like.
  • the data source 4 may be realized by a device other than a general-purpose computer.
  • a device other than a general-purpose computer.
  • an apparatus in which a function for managing the recording data is incorporated into a camera apparatus that records a moving image can be considered.
  • the client 5 is a general-purpose computer and includes a CPU 50, a memory 51, an I / F 52, and an auxiliary storage device 53.
  • CPU 50 executes a program stored in memory 51.
  • the functions of the client 5 can be realized by the CPU 50 executing the program.
  • the CPU 50 executes a program stored in memory 51.
  • the functions of the client 5 can be realized by the CPU 50 executing the program.
  • the CPU 50 executes a program stored in memory 51.
  • the functions of the client 5 can be realized by the CPU 50 executing the program.
  • the memory 51 stores a program executed by the CPU 50 and information necessary for executing the program.
  • the program and information stored in the memory 51 will be described later.
  • the I / F 52 controls data communication with an external device.
  • the auxiliary storage device 53 is a device that provides a large-capacity storage area.
  • an HDD and an SSD can be considered.
  • the memory 51 stores programs for realizing the file management unit 501, the file access client control unit 502, and the file share management unit 503.
  • file management unit 201 is the same as the file management unit 100 included in the front-end file server 1, description thereof is omitted.
  • the file access client control unit 502 transmits a file access request to the front-end file server 1 based on the file access request input from the user or the like, and provides the acquired file to the request source.
  • the file access client control unit 502 acquires the actual data file 180 and the metadata file 181.
  • the transmission destination of the file access request is not limited to the front end file server 1, and the access request may be transmitted to the back end file server 2.
  • the file sharing management unit 503 provides a file sharing function used for accessing a file shared by each file server from the client 5.
  • FIG. 3 is an explanatory diagram illustrating a configuration example of the hierarchical storage configuration management table 150 according to the first embodiment of this invention.
  • the hierarchical storage configuration management table 150 manages information related to the configuration of the file server that configures the hierarchical storage.
  • information about the front-end file server 1 and the back-end file server 2 is stored.
  • the tier storage configuration management table 150 includes a tier name 1501, storage identification information 1502, media type information 1503, and access protocol 1504.
  • the columns included in the hierarchical storage configuration management table 150 are not limited to those described above.
  • the tier name 1501 stores information indicating the management tier of the file server in the tier storage. For example, “Tier0” is stored in the record corresponding to the front-end file server 1, and “Tier1” is stored in the record corresponding to the back-end file server A (2-1).
  • Storage identification information 1502 stores file server identification information.
  • the storage identification information 1502 stores the IP address or host name of the file server.
  • the media type information 1503 stores information indicating the type of recording medium used by the file server for storing data. For example, information such as “SSD”, “HDD”, or “magnetic tape” is stored.
  • the media type information 1503 may store more detailed information. For example, when data is stored in the HDD, information regarding a storage interface such as a serial number, SAS or SATA, or a vendor name may be stored. When data is stored in the tape device, tape cartridge identification information, device vendor name, and the like may be stored.
  • the access protocol 1504 stores information related to the access protocol used when outputting an access request to the file server. For example, identification information such as HTTP (Hyper Text Transfer Protocol), NFS (Network File System), or LTFS (Linear Tape File System) is stored.
  • HTTP Hyper Text Transfer Protocol
  • NFS Network File System
  • LTFS Linear Tape File System
  • the access protocol 1504 may store more detailed information. For example, when an authentication process is required when accessing the file server, information for identifying an authentication method in the authentication process may be stored.
  • FIG. 4 is an explanatory diagram illustrating a configuration example of the movement condition management table 151 according to the first embodiment of this invention.
  • the movement condition management table 151 manages the selection condition of the movement candidate file and the action for the movement candidate file in association with each other. Specifically, the movement condition management table 151 includes a condition management number 1511, a determination order 1512, a condition 1513, and an action 1514. The columns included in the movement condition management table 151 are not limited to those described above.
  • the condition management number 1511 stores a number for managing an algorithm for selecting a migration candidate file. Records having the same number stored in the condition management number 1511 indicate the same algorithm. Further, when a different number is stored in the condition management number 1511, it indicates a different algorithm. As described above, in this embodiment, a plurality of algorithms can be registered.
  • the determination order 1512 stores the determination order in the same algorithm.
  • the determination unit 132 determines the conditions in ascending order of the determination order 1512 values.
  • the condition 1513 stores a conditional expression for determination.
  • a conditional expression that can be determined by using information acquired from an operation management table 153 described later is stored.
  • the condition 1513 may store a conditional expression obtained by combining a plurality of conditional expressions using an AND condition or an OR condition.
  • a conditional expression using information not included in the operation management table 153 may be stored.
  • the action 1514 stores the content of the process executed when the condition 1513 is met. Specifically, information about the movement destination of the actual data file 180 or the movement destination of the metadata file 181 can be set. In addition, the processing contents considering the system state can be stored as follows.
  • the following processing contents are stored in case the remaining capacity of the data reception buffer 160 decreases.
  • the filtering process is executed on the data stored in the data reception buffer 160, and then the metadata extraction process is executed.
  • the trigger for executing the metadata extraction process is not clear, such as when additional data is stored in the log file and movie file by executing the process described above, it is compulsory when the specified conditions are met.
  • the actual data can be extracted as a file and the metadata extraction process can be executed.
  • the following processing contents are stored in case the storage capacity of the front-end file server 1 is not enough.
  • the process of moving the moved real data file 180 to the front-end file server 1 or the deleted real data A process of acquiring the file 180 from the data source 4 is executed.
  • the condition 1513 stores the condition “HDD usage rate” ⁇ 30% ”, and the action 1514 records the processing content“ set “front-end file server” as “actual data transfer destination” ”. May be registered in the movement condition management table 151.
  • the actual data file 180 When the size occupied by the actual data file 180 with respect to the total capacity of the HDD in the data storage area 170 is larger than a predetermined threshold, the actual data file 180 is transferred to a file server different from the transfer destination of the metadata file 181.
  • condition 1513 “HDD usage rate” ⁇ 80% AND “actual data file total size ratio” ⁇ 75% ”is stored, and action 1514 is“ backend to “metadata transfer destination”. It is only necessary to register in the migration condition management table 151 the processing contents of “setting file server A” and “setting“ back-end file server B ”as“ actual data transfer destination ””.
  • the above-described process is a process for quickly securing a storage area for storing the metadata file 181 stored in the data storage area 170.
  • actual data file total size ratio indicates the ratio of the total size of all actual data files 180 stored in the data storage area 170 to the total capacity of the HDD. For example, if the total capacity of the HDD is 10 GB and the total size of the actual data files 180 is 8 GB, the actual data file total size ratio is 80%.
  • the total size of the actual data file 180 may be managed as management information.
  • the operation management table 153 includes the actual data file total size 1533.
  • FIG. 5 is an explanatory diagram showing a configuration example of the file correspondence management table 152 according to the first embodiment of the present invention.
  • the file correspondence management table 152 manages the correspondence between the actual data file 180 stored in the data storage area 170 and the metadata file 181. Specifically, the file correspondence management table 152 includes an actual data file name 1521, a metadata file name 1522, an actual data file last update date / time 1523, and a metadata file last update date / time 1524.
  • the columns included in the file correspondence management table 152 are not limited to those described above.
  • the actual data file name 1521 stores the file name of the actual data file 180.
  • the actual data file name 1521 stores the file name when the actual data file 180 is stored in the front end file server 1.
  • the metadata file name 1522 stores the file name of the metadata file 181.
  • the metadata file name 1522 stores a file name given to the metadata file 181 when the metadata file 181 is generated.
  • the file name of the metadata file 181 given by the metadata generation unit 120 is converted based on a predetermined rule.
  • the file name conversion rule may be registered by a system administrator or the like.
  • the actual data file last update date and time 1523 stores the last update date and time held as the file attribute of the actual data file 180.
  • the metadata file last update date and time 1524 stores the last update date and time held as the file attribute of the metadata file 181.
  • the date and time stored in the metadata file last update date and time 1524 is the date and time when the metadata generation unit 120 extracts the metadata from the actual data file 180 and generates the metadata file 181 from the extracted metadata. .
  • FIG. 6 is an explanatory diagram illustrating a configuration example of the operation management table 153 according to the first embodiment of this invention.
  • the operation management table 153 manages information indicating the operation state of each component in the front-end file server 1. Information indicating the operating state is collected periodically or when necessary, and the collected information is stored in the operation management table 153.
  • the operation management table 153 includes a storage area usage rate 1531, a storage area total capacity 1532, a real data file total size 1533, a metadata file total size 1534, a data reception buffer memory usage size 1535, and a last update date 1536.
  • the storage area usage rate 1531 stores the usage rate value of the storage medium used as the data storage area 170.
  • the value stored in the storage area usage rate 1531 is calculated by dividing the size of all files stored in the data storage area 170 by the size of the data storage area 170.
  • the storage area total capacity 1532 stores a value indicating the overall size of the storage medium used as the data storage area 170.
  • the real data file total size 1533 stores the total size of all real data files 180 stored in the data storage area 170.
  • the metadata file total size 1534 stores the total size of all metadata files 181 stored in the data storage area 170.
  • the ratio of the actual data file 180 or the ratio of the metadata file 181 to all the files stored in the data storage area 170 can be determined. Can be calculated.
  • the data reception buffer memory use size 1535 stores the total size of all actual data files 180 stored in the data reception buffer 160. Since the actual data file 180 stored in the data reception buffer 160 is stored in the data storage area 170 after a predetermined process is executed, it is useful information for grasping the operation status of the data storage area 170. Become one.
  • the last update date / time 1536 stores the date / time when the record was registered or the value of the record was last updated.
  • the columns included in the operation management table 153 are not limited to those described above.
  • the CPU usage rate, network performance (throughput or response time), HDD I / O performance (throughput or response time), cache hit rate, and the like may be managed.
  • the front-end file server 1 does not need to hold the operation management table 153 itself, and may acquire each information individually at a predetermined timing. For example, regarding the storage area usage rate 1531, the front-end file server 1 does not periodically execute a command for acquiring information, but executes the command when necessary to acquire information. May be.
  • FIG. 7 is an explanatory diagram illustrating a configuration example of the storage file management table 154 according to the first embodiment of this invention.
  • the stored file management table 154 manages information related to files stored in the file server constituting the hierarchical storage.
  • the storage file management table 154 includes a file name 1541, a file storage hierarchy 1542, a file path 1543, and a last update date / time 1544.
  • the columns included in the storage file management table 154 are not limited to those described above.
  • the file name 1541 stores the access path name of the file stored in the tiered storage.
  • the access path name is used when accessing a file stored in the hierarchical storage. For example, when the user requests access to a file stored in the tiered storage, the access path name stored in the file name 1541 is used.
  • the file storage hierarchy 1542 stores the identification information of the file server where the file is actually stored.
  • the information stored in the file storage tier 1542 is the same information as the tier name 1501 in the tier storage configuration management table 150.
  • the file storage hierarchy 1542 may store identification information of each file server that stores the file.
  • the identification information of the data source 4 that is the generation source of the actual data file is stored in the file storage hierarchy 1542 of the record corresponding to the actual data file 180.
  • the front-end file server 1 transmits an acquisition request for the actual data file to the data source 4, and requests the acquired actual data file. Provide to the original.
  • the file path 1543 stores the path name of the file in the file server.
  • the file path 1543 may store the path name of each file server that stores the file.
  • the path name in the device may be stored.
  • the last update date / time 1544 stores the date / time when the record was registered or the date / time when the value of the record was last updated.
  • the front-end file server 1 When the front-end file server 1 receives the file access request, the front-end file server 1 can specify the file server to which the file access request is transferred based on the stored file management table 154.
  • FIG. 8 is an explanatory diagram illustrating a configuration example of the file movement management table 155 according to the first embodiment of this invention.
  • the file movement management table 155 manages the movement candidate files extracted by the file movement control unit 130 and the progress status of the movement process. Specifically, the file move management table 155 includes an actual data file name 1551, a metadata file name 1552, an actual data file move state 1553, a metadata file move state 1554, an actual data file move destination 1555, and a metadata file move destination. 1556 and last update date and time 1557.
  • the columns included in the storage file management table 154 are not limited to those described above.
  • the real data file name 1551 stores the access path name of the migration candidate real data file 180.
  • the information stored in the actual data file name 1551 may be the same as the actual data file name 1521 in the file correspondence management table 152.
  • the metadata file name 1552 stores the access path name of the migration candidate metadata file 181.
  • the information stored in the metadata file name 1552 may be the same as the metadata file name 1522 of the file correspondence management table 152.
  • the real data file movement status 1553 stores information indicating the progress status of the migration processing of the migration candidate real data file 180. For example, when “not moved” is stored in the actual data file movement state 1553, this indicates that the actual data file 180 has not been moved, and when “moved” is stored in the actual data file movement state 1553, Indicates that the data file 180 has been stored.
  • the metadata file movement status 1554 stores information indicating the progress status of the migration processing of the migration candidate metadata file 181.
  • the information stored in the metadata file move state 1554 is the same as that stored in the actual data file move state 1553.
  • the real data file migration destination 1555 stores identification information of the file server that is the migration destination of the migration candidate real data file 180.
  • the information stored in the actual data file migration destination 1555 may be the same information as the tier name 1501 of the tier storage configuration management table 150.
  • the metadata file migration destination 1556 stores identification information of the file server that is the migration destination of the migration candidate metadata file 181.
  • the information stored in the metadata file migration destination 1556 may be the same information as the tier name 1501 of the tier storage configuration management table 150.
  • the last update date and time 1557 stores the date and time when the record was registered or the date and time when the value of the record was last updated.
  • the actual data file 180 associated with the metadata file 181 does not need to be migrated, so the actual data file migration state 1553 and the actual data file migration destination 1555 are displayed. Stores the value of “Null”. Thus, it can be seen that the actual data file 180 is not a movement candidate.
  • FIG. 9 is an explanatory diagram illustrating a configuration example of the back-end storage file management table 250 according to the first embodiment of this invention.
  • the backend storage file management table 250 manages files moved from the frontend file server 1 to the backend file server 2 in the hierarchical storage. Specifically, the back-end storage file management table 250 includes a file path 2501, a metadata file storage hierarchy 2502, an actual data file storage hierarchy 2503, a metadata file last update date and time 2504, and an actual data file last update date and time 2505. .
  • the columns included in the back-end storage file management table 250 are not limited to those described above.
  • the file path 2501 stores identification information for specifying the file moved to the back-end file server 2.
  • the file path 2501 stores a file path that can be uniquely identified in the hierarchical storage. For example, the same information as the file path 1543 is stored.
  • the metadata file storage hierarchy 2502 stores information for specifying a file server in which the metadata file is stored.
  • the metadata file storage hierarchy 2502 stores information indicating the management hierarchy of the file server. For example, the same information as the hierarchy name 1501 is stored.
  • the actual data file storage hierarchy 2503 stores information for specifying a file server in which the actual data file is stored. Specifically, the same information as the metadata file storage hierarchy 2502 is stored.
  • the metadata file last update date and time 2504 stores a new value in the metadata file storage hierarchy 2502 of the record or the date and time when the value was updated.
  • the actual data file last update date and time 2505 stores a new value in the actual data file storage hierarchy 2503 of the record or the date and time when the value was updated.
  • the back-end file server 2 uses the back-end storage file management table 250, so that after the file is moved to the back-end file server 2, the actual data file 180 or the metadata file 181 included in the file is further stored.
  • the movement destination of the actual data file 180 or the metadata file 181 can be specified.
  • the back-end storage file management table 250 is not always necessary, and the storage location of the file may be specified using only the storage file management table 154 held by the front-end file server 1.
  • the back-end file server 2 when a file is moved between the back-end file servers 2, the back-end file server 2 notifies the front-end file server 1 of information regarding the movement destination of the file.
  • the front-end file server 1 reflects the notified information on the storage file management table 154.
  • 10A and 10B are flowcharts for explaining the metadata extraction processing in the embodiment of the present invention.
  • the front-end file server 1 extracts metadata from the actual data file 180, and generates a metadata file 181 using the extracted metadata. Further, the front end file server 1 stores the generated metadata file 181 in the data storage area 170. Further, the front-end file server 1 determines whether to store the actual data file 180 in the data storage area 170 according to the operating state.
  • the metadata generation unit 120 starts the metadata extraction process periodically when the actual data file 180 is received or when an instruction from a system administrator or the like is received.
  • the metadata generation unit 120 acquires information from the operation management table 153 and the movement condition management table 151 (step S101).
  • the metadata generation unit 120 acquires the operation information from the operation management table 153 in order to grasp the operation state of the front-end file server 1, but the present invention is not limited to this.
  • the metadata generation unit 120 executes management commands and the like provided by the file system used by the front-end file server 1 to operate the total storage area capacity, the storage area usage rate, the memory usage size, and the like. Information may be acquired.
  • the metadata generation unit 120 determines whether or not the condition 1513 of the movement condition management table 151 is satisfied based on the acquired information (step S103). Specifically, the following processing is executed.
  • the metadata generation unit 120 compares the operation information acquired from the operation management table 153 with the conditions of the movement condition management table 151, and searches for a condition 1513 that matches the acquired operation state. At this time, the metadata generation unit 120 searches all the conditions 1513 that match the acquired operating state.
  • the metadata generation unit 120 executes processing in ascending order of the condition management number 1511. In addition, when there are a plurality of determination items for one determination algorithm, the metadata generation unit 120 further performs processing in ascending order of the determination order 1512.
  • the metadata generation unit 120 determines that the condition 1513 of the movement condition management table 151 is satisfied.
  • the metadata generation unit 120 refers to the action 1514 of the record corresponding to the condition 1513 that matches the operating condition, and temporarily holds the processing content of the process to be executed.
  • the metadata generation unit 120 may delete the retained processing content after the metadata extraction processing is completed.
  • the metadata generation unit 120 ends the process.
  • step S103 determines whether to move the file stored in the data storage area 170 (step S105).
  • the metadata generation unit 120 determines whether or not the processing content that is temporarily stored includes processing content that instructs execution of the file move processing.
  • step S105 If it is determined not to move the file stored in the data storage area 170 (No in step S105), the metadata generation unit 120 proceeds to step S109.
  • step S105 When it is determined that the file stored in the data storage area 170 is to be moved (Yes in step S105), the metadata generation unit 120 instructs the file movement control unit 130 to execute the movement candidate file selection process (step S107). ), The process proceeds to step S109.
  • the metadata generation unit 120 includes the processing content related to the file move processing from the temporarily stored processing content in the execution instruction.
  • the file movement control unit 130 executes a movement candidate file selection process described later.
  • the metadata generation unit 120 determines whether to generate the metadata file 181 (step S109).
  • the metadata generation unit 120 determines whether or not the processing content that is temporarily stored includes processing content that instructs generation of the metadata file 181.
  • the metadata generation unit 120 ends the process.
  • the metadata generation unit 120 determines whether the processing has been completed for all the actual data files 180 stored in the data reception buffer 160. (Step S111).
  • the metadata generation unit 120 instructs the actual data acquisition unit 121 to acquire the actual data file 180, and determines whether or not the actual data file 180 has been acquired. When the actual data file 180 is not acquired, the metadata generation unit 120 determines that the processing has been completed for all the actual data files 180 stored in the data reception buffer 160.
  • the metadata generation unit 120 ends the processing.
  • the metadata generation unit 120 selects one arbitrary actual data file 180 from the data reception buffer 160. (Step S113).
  • the metadata generation unit 120 instructs the actual data acquisition unit 121 to select the actual data file 180.
  • the actual data acquisition unit 121 selects one arbitrary actual data file 180 from the data reception buffer 160.
  • the metadata generation unit 120 determines whether or not the selected actual data file 180 is closed (step S115).
  • the actual data acquisition unit 121 determines whether or not the selected actual data file 180 is in a closed state in the file system used by the front-end file server 1.
  • the closed state indicates a state in which all data requested to be written are reflected in the file.
  • step S115 If it is determined that the selected actual data file 180 is closed (step S115 is Yes), the metadata generation unit 120 proceeds to step S123.
  • the metadata generation unit 120 determines whether the size of the selected actual data file 180 is larger than a predetermined threshold value. Is determined (step S117).
  • the actual data acquisition unit 121 determines whether the size of the selected actual data file 180 is larger than a predetermined threshold value.
  • the size of the actual data file 180 can be obtained from attribute information provided by the file system.
  • the predetermined threshold value is set in advance by the system administrator. The system administrator can change the predetermined threshold value as appropriate.
  • step S117 the actual data file 180 having a size larger than a predetermined threshold is selected from the actual data files stored in the data reception buffer 160, and the filtering process is executed on the actual data file 180. It can. Further, this reduces the amount of use of the data reception buffer 160, so that the data reception buffer 160 can be used effectively.
  • step S117 If it is determined that the size of the selected actual data file 180 is larger than the predetermined threshold value (Yes in step S117), the metadata generation unit 120 proceeds to step S121.
  • the metadata generation unit 120 determines the predetermined size after the selected actual data file 180 is generated. It is determined whether or not the period has elapsed (step S119).
  • the actual data acquisition unit 121 determines whether or not a predetermined period has elapsed since the selected actual data file 180 was generated.
  • the generation date and time of the actual data file 180 can be obtained from attribute information provided by the file system.
  • the predetermined period is set in advance by the system administrator. The system administrator can change the predetermined period as appropriate.
  • step S119 the actual data file 180 that has been generated for a predetermined period is selected from the actual data files 180 stored in the data reception buffer 160, and the actual data file 180 is filtered. Processing can be executed. Further, this reduces the amount of use of the data reception buffer 160, so that the data reception buffer 160 can be used effectively.
  • the metadata generation unit 120 returns to step S111 and executes the same processing. . This is because the selected actual data file 180 is not a metadata extraction target. Therefore, at the present time, the processing after step S121 is not executed on the selected actual data file 180.
  • step S119 When it is determined that a predetermined period has elapsed since the selected actual data file 180 was generated (Yes in step S119), the metadata generation unit 120 proceeds to step S121.
  • Step S117 is Yes or Step S119 is Yes
  • the metadata generation unit 120 performs a filtering process on the selected actual data file 180 (Step S121). Specifically, the following processing is executed.
  • the actual data acquisition unit 121 instructs the file access control unit 110 to suspend the file access request for the selected actual data file 180.
  • the actual data acquisition unit 121 instructs the file access control unit 110 to execute an update process on the selected actual data file 180. As a result, data that has not been updated is reflected in the selected actual data file 180.
  • the actual data acquisition unit 121 changes (renames) the file name of the selected actual data file 180 to the file name for metadata extraction. Furthermore, the actual data acquisition unit 121 newly generates a file with the file name before renaming. At this time, data is not included in the generated file.
  • the actual data acquisition unit 121 instructs the file access control unit 110 to resume the file access request for the selected actual data file 180.
  • the size of the selected actual data file 180 in the data reception buffer 160 becomes zero, and the data stored in the actual data file 180 can be acquired as a separate file.
  • the actual data acquisition unit 121 outputs the acquired file to the metadata extraction unit 122 and instructs the extraction of metadata.
  • the front-end file server 1 can extract metadata even when data is continuously added to an open file by executing the filtering process as described above.
  • a usage mode in which data is continuously added to an open file there are a case where log data is sequentially stored in a log file, a case where recorded data is stored sequentially, and the like.
  • step S115 is Yes or the processing of step S121 is executed
  • the metadata generation unit 120 determines a metadata extraction method (step S123).
  • the metadata extraction unit 122 determines the data type of the selected actual data file 180, and determines a metadata extraction method based on the determination result. For example, the metadata extraction unit 122 determines a metadata extraction module (not shown) for extracting metadata. In this case, the metadata extraction unit 122 executes the following processing using the determined metadata extraction module.
  • a method for determining the data type for example, a method for determining the data type based on the extension name given to the file name of the selected actual data file 180, the contents of the actual data file 180 are read and read.
  • a method of determining the data type based on the content that has been performed is conceivable.
  • the metadata generation unit 120 extracts metadata of the selected actual data file 180, generates a metadata file 181 using the extracted metadata, and stores the generated metadata file 181 in the data storage area 170.
  • Store step S125. Specifically, the following processing is executed.
  • the metadata extraction unit 122 extracts metadata from the selected actual data file 180 using the metadata extraction module determined in step S113.
  • the metadata extraction unit 122 outputs the extracted metadata to the metadata file generation unit 123.
  • the metadata file generation unit 123 generates a metadata file 181 from the input metadata, and stores the generated metadata file 181 in the data storage area 170.
  • the metadata generation unit 120 determines whether or not the selected actual data file 180 is stored in the data storage area 170 (step S127).
  • the metadata generation unit 120 determines whether or not the processing content that is temporarily stored includes processing content that instructs to store the actual data file 180 in the data storage area.
  • Step S127 the metadata generation unit 120 stores the selected actual data file 180 in the data storage area 170. (Step S129), the process proceeds to Step S133.
  • the metadata generation unit 120 stores the storage location information of the actual data file 180 selected as the metadata file 181. Is added (step S131), and the process proceeds to step S133.
  • the storage location information of the actual data file 180 includes information on the data source 4 from which the actual data file 180 can be acquired or a file server in which the actual data file 180 is stored. That is, information for accessing the actual data file 180 is added to the metadata file 181.
  • the storage location information of the actual data file 180 may be designated in advance by the system administrator.
  • the metadata file to which the storage destination information is added will be described later with reference to FIG.
  • step S129 or step S131 After execution of the process of step S129 or step S131, the metadata generation unit 120 updates each management table (step S133), and then returns to step S111. Specifically, the following processing is executed.
  • the metadata generation unit 120 stores information on the selected actual data file 180 and the generated metadata file 181 in the file correspondence management table 152.
  • a record in which the file name of the actual data file 180 and the file name of the metadata file 181 are associated with each other is stored.
  • the metadata generation unit 120 updates the storage file management table 154. Specifically, the metadata generation unit 120 stores the file name of the file in the file name 1541 of the file stored in the data storage area 170, and the identification information of the front-end file server 1 in the file storage hierarchy 1542. Store. Also, the metadata generation unit 120 stores “Null” in the file path 1543 because the file has not been moved to another file server at this time.
  • the metadata generation unit 120 updates the operation management table 153. Specifically, the metadata generation unit 120 acquires the memory size of the data reception buffer 160, the usage rate of the data storage area 170, and the like, and stores the acquired various types of information in the operation management table 153.
  • the metadata generation unit 120 specifies the process to be executed based on the operating state of the front-end file server 1, but the present invention is not limited to this.
  • the metadata generation unit 120 may instruct the determination unit 132 to execute the determination process.
  • the determination unit 132 executes a determination process described later, and outputs a determination result to the metadata generation unit 120. Therefore, the process of step S101 and step S103 can be omitted.
  • the metadata generation unit 120 may determine whether or not the record of the selected actual data file 180 is registered with reference to the file movement management table 155. When the record of the selected actual data file 180 is registered in the file movement management table 155, the metadata generation unit 120 determines that the selected actual data file 180 is not stored in the data storage area 170.
  • the metadata file 181 is generated when there is no room in the data reception buffer 160, but the present invention is not limited to this.
  • the metadata file 181 may be always generated without depending on the operating state of the front-end file server 1.
  • the metadata generation unit 120 adds the storage location information to the metadata file 181 when the actual data file 180 is deleted, but the present invention is not limited to this.
  • the storage location information may be added to all the metadata files 181.
  • the process of step S109, step S127, and step S129 is abbreviate
  • FIG. 11 is a flowchart for explaining the selection process of the movement candidate file according to the first embodiment of the present invention.
  • the front end file server 1 selects a move candidate file to be moved to the back end file server 2 from the actual data file 180 and the metadata file 181 stored in the data storage area 170. Further, the front-end file server 1 stores information on the file selected as the migration candidate file in the file migration management table 155.
  • the file movement control unit 130 executes the movement candidate file selection process periodically when an execution instruction is received from the metadata generation unit 120 or when an instruction from a system administrator or the like is received.
  • the file migration control unit 130 acquires information from the hierarchical storage configuration management table 150, the operation management table 153, and the migration condition management table 151 (step S201).
  • the file movement control unit 130 instructs the information acquisition unit 131 to acquire information.
  • the information acquisition unit 131 acquires necessary information from the hierarchical storage configuration management table 150, the operation management table 153, and the migration condition management table 151.
  • the information acquisition unit 131 acquires the operation information from the operation management table 153 in order to grasp the operation state of the front end file server 1, but the present invention is not limited to this.
  • the information acquisition unit 131 executes a management command or the like provided by the file system used by the front-end file server 1, and operates information such as the total capacity of the storage area, the storage area usage rate, and the memory usage size May be obtained.
  • the file movement control unit 130 determines the content of the movement process based on the acquired information (step S203). Specifically, the following processing is executed.
  • the file movement control unit 130 instructs the determination unit 132 to determine the processing content of the movement process.
  • the determination unit 132 compares the operation information acquired from the operation management table 153 with the conditions of the movement condition management table 151 and determines whether or not the operation state matches the condition 1513 of the movement condition management table 151.
  • the determination unit 132 executes processing in ascending order of the condition management number 1511.
  • the determination unit 132 further performs processing in ascending order of the determination order 1512.
  • the determination unit 132 changes the action 1514 of the record corresponding to the matching condition 1513 to the processing content of the movement process. Determine as.
  • the execution instruction When execution is instructed from the metadata generation unit 120, the execution instruction includes the processing contents of the movement process, and thus the processing in step S201 and step S203 may be omitted.
  • the file movement control unit 130 instructs the metadata generation unit 120 to execute filtering processing and metadata extraction processing (step S205). At this time, if the actual data file 180 to be processed is specified in the action 1514, the file movement control unit 130 instructs the metadata generation unit 120 to execute the process on the actual data file 180 to be processed. If the actual data file 180 to be processed is not specified in the action 1514, the file movement control unit 130 instructs the metadata generation unit 120 to execute processing for all the actual data files 180.
  • the metadata generation unit 120 executes the processing from step S115 to step S121 on the specified actual data file 180.
  • step S205 is executed when the action 1514 stores information indicating that the filtering process and the metadata extraction process are to be executed. Therefore, when the above-described information is not stored in the action 1514, the process of step S205 is omitted.
  • the file movement control unit 130 determines whether or not the movement candidate file selection process has been completed (step S207).
  • the file movement control unit 130 determines whether or not the processing has been completed for all of the movement contents determined in step S203. When it is determined that the processing has been completed for all the movement processing contents, the file movement control unit 130 determines that the movement candidate file selection processing has been completed.
  • the file movement control unit 130 selects a movement candidate file based on the processing content of the determined movement process.
  • the file migration control unit 130 selects a migration candidate file for each migration process content. That is, the processing from step S211 to step S219 is executed sequentially.
  • the movement candidate file when a movement candidate file can be selected in parallel for processing contents of a plurality of movement processes, the movement candidate file may be selected in parallel.
  • step S207 If it is determined that the migration candidate file selection process has been completed (Yes in step S207), the file migration control unit 130 ends the process.
  • the file movement control unit 130 selects a movement candidate file based on the determined content of the movement process (step S207). S209 to step S219).
  • the file migration control unit 130 selects a migration candidate file for each process content of the migration process. That is, the processing from step S209 to step S219 is sequentially executed.
  • the file movement control unit 130 may select a movement candidate file in parallel for the processing contents of a plurality of movement processes.
  • step S209 to step S219 will be described.
  • the file movement control unit 130 acquires information from the stored file management table 154 (step S209).
  • the file movement control unit 130 instructs the information acquisition unit 131 to acquire information.
  • the information acquisition unit 131 acquires information from the stored file management table 154. At this time, the information acquisition unit 131 may acquire information on all files stored in the storage file management table 154, or may acquire only information on files stored in the front-end file server 1. .
  • the file movement control unit 130 executes the following processing for the acquired file.
  • a file corresponding to the information acquired from the stored file management table 154 in step S209 is also described as a target file.
  • the file movement control unit 130 determines whether or not processing for all target files has been completed (step S211).
  • step S211 If it is determined that the processing for all the target files has been completed (Yes in step S211), the file movement control unit 130 returns to step S204 and executes the same processing.
  • the file movement control unit 130 selects one arbitrary target file from the plurality of target files (step S213). .
  • the file movement control unit 130 identifies the type of the selected target file (step S215). That is, it is determined whether the selected target file is the actual data file 180 or the metadata file 181.
  • the file movement control unit 130 instructs the information acquisition unit 131 to acquire information from the file correspondence management table 152.
  • the file movement control unit 130 refers to the actual data file name 1521 and the metadata file name 1522 in the file correspondence management table 152 and searches for a file name that matches the file name of the selected target file.
  • the file movement control unit 130 determines that the selected target file is the actual data file 180. If the selected file name matches the file name stored in the metadata file name 1522, the file movement control unit 130 determines that the selected target file is the metadata file 181.
  • the file movement control unit 130 acquires the file name of the related metadata file 181 from the metadata file name 1522 of the corresponding record in the file correspondence management table 152. To do.
  • the file movement control unit 130 acquires the file name of the related actual data file 180 from the actual data file name 1521 of the corresponding record in the file correspondence management table 152. To do.
  • the file movement control unit 130 determines whether or not the target file matches the movement condition (step S217).
  • the file movement control unit 130 instructs the determination unit 132 to execute processing.
  • the determination unit 132 further narrows down the target file based on the processing content of the movement processing determined in step S203, that is, the action 1514.
  • a file having a specific extension in the file name or a file owned by a specific user is excluded from the movement candidates. Is stored.
  • the determination unit 132 executes a movement candidate file narrowing process based on the information stored in the action 1514.
  • step S217 the file movement control unit 130 returns to step S211 and executes the same processing.
  • the file movement control unit 130 stores the information of the target file in the file movement management table 155 (step S219), and returns to step S211. Specifically, the following processing is executed.
  • the file movement control unit 130 adds a new record to the file movement management table 155.
  • the file movement control unit 130 stores the access path name in each of the actual data file name 1551 and the metadata file name 1552 of the added record.
  • the file movement control unit 130 stores “not moved” in the actual data file movement state 1553 and the metadata file movement state 1554 of the added record.
  • the file movement control unit 130 stores information on the migration destination in the actual data file migration destination 1555 and the metadata file migration destination 1556 based on the processing content of the migration processing determined in step S203. If the actual data file 180 is not a migration candidate file, “Null” is stored in the actual data file migration state 1553 and the actual data file migration destination 1555.
  • FIG. 12 is a flowchart for explaining the file move process according to the first embodiment of the present invention.
  • the front-end file server 1 moves the movement candidate file based on the file movement management table 155.
  • the file movement control unit 130 starts the file movement process periodically or when receiving an instruction from a system administrator or the like. Further, the file movement control unit 130 may start the file movement process after the movement candidate file selection process is completed. The execution cycle is preferably longer than the move candidate file selection process.
  • the file movement control unit 130 acquires information from the file movement management table 155 (step S301).
  • the file movement control unit 130 instructs the information acquisition unit 131 to acquire information from the file movement management table 155.
  • the information acquisition unit 131 acquires a record from the file movement management table 155.
  • the information acquisition unit 131 may acquire all the records included in the file movement management table 155 or may acquire a predetermined number of records.
  • the file movement control unit 130 determines whether or not processing has been completed for all the records acquired from the file movement management table 155 (step S303).
  • step S303 If it is determined that the processing has been completed for all the records acquired from the file movement management table 155 (Yes in step S303), the file movement control unit 130 ends the processing.
  • the file movement control unit 130 selects any record from the plurality of acquired records. Is selected (step S305).
  • the file movement control unit 130 instructs the file movement unit 133 to execute processing described below.
  • the selected record is also described as a target record.
  • the file moving unit 133 determines whether or not the metadata file 181 corresponding to the target record has been moved (step S307).
  • the file mover 133 determines whether or not the metadata file move state 1554 of the target record is “not moved”. When it is determined that the metadata file movement state 1554 of the target record is “not moved”, the file moving unit 133 determines that the metadata file 181 corresponding to the target record has not been moved.
  • step S307 When it is determined that the metadata file 181 corresponding to the target record has been moved (Yes in step S307), the file moving unit 133 proceeds to step S319.
  • the file moving unit 133 determines whether or not the actual data file 180 corresponding to the target record is a movement candidate file. Is determined (step S309).
  • the file moving unit 133 determines whether or not the actual data file name 1551 of the target record is “Null”. If the actual data file name 1551 of the target record is “Null”, the file migration unit 133 determines that the actual data file 180 corresponding to the target record is not a migration candidate file.
  • step S309 When it is determined that the actual data file 180 corresponding to the target record is a movement candidate file (Yes in step S309), the file moving unit 133 proceeds to step S317.
  • the file moving unit 133 stores the actual data file 180 in the metadata file 181 corresponding to the target record. Previous information is added (step S311).
  • the storage destination information of the actual data file 180 information stored in the actual data file name 1551 of the file movement management table 155 can be considered. Further, if necessary, information regarding the storage location in the external device such as the data source 4 may be added. The metadata file to which the storage destination information is added will be described later with reference to FIG.
  • the file moving unit 133 determines whether or not to delete the actual data file 180 corresponding to the target record from the data storage area 170 (step S313).
  • the file moving unit 133 determines whether or not the processing content for deleting the actual data file 180 is included in the processing content of the moving processing determined in step S202.
  • step S313 If it is determined not to delete the actual data file 180 corresponding to the target record (No in step S313), the file moving unit 133 proceeds to step S317.
  • the file moving unit 133 deletes the actual data file 180 from the data storage area 170 (step S315).
  • the file moving unit 133 may delete the actual data files 180 sequentially, or may list the actual data files 180 to be deleted and delete them at the end of this process.
  • step S313 is No, or the process of step S315 is executed, the file moving unit 133 moves the metadata file 181 corresponding to the target record to a predetermined file server (step S319).
  • the file moving unit 133 moves the metadata file 181 to the file server corresponding to the metadata file moving destination 1556 of the target record.
  • the metadata file 181 stored in the data storage area 170 may be deleted or replaced with a stub file as it moves.
  • the file moving unit 133 determines whether or not the actual data file 180 corresponding to the target record has been moved (step S319).
  • the file moving unit 133 determines whether or not the actual data file moving state 1553 of the target record is “not moved”. When the actual data file movement state 1553 of the target record is “not moved”, the file moving unit 133 determines that the actual data file 180 corresponding to the target record has not been moved.
  • Step S319 When it is determined that the actual data file 180 corresponding to the target record has been moved (Yes in Step S319), the file moving unit 133 proceeds to Step S323.
  • the file moving unit 133 moves the actual data file 180 to a predetermined file server (step S321).
  • the file moving unit 133 moves the actual data file 180 to the file server corresponding to the actual data file destination 1555 of the target record.
  • the actual data file 180 stored in the data storage area 170 may be deleted or replaced with a stub file as it moves.
  • the file moving unit 133 updates the storage file management table 154 and the operation management table 153 (step S323), and then returns to step S303. Specifically, the following processing is executed.
  • the file moving unit 133 stores the information on the moved destination of the moved metadata file 181 and the moved actual data file 180 in the file storage hierarchy 1542 and the file path 1543 of the corresponding record in the stored file management table 154.
  • the file moving unit 133 updates the operation management table 153 with the updated contents such as the storage area usage rate that have changed with the deletion of the actual data file 180 and the metadata file 181 from the data storage area 170 or the replacement with the stub file. Store.
  • FIG. 13 is a flowchart for explaining file access processing according to the first embodiment of the present invention.
  • the front-end file server 1 provides a file designated by the client 5 operated by the user or the like.
  • the file access control unit 110 receives a file access request (step S401).
  • the file access request has a format conforming to the file access protocol provided by the front-end file server 1 and includes the following two pieces of information.
  • the first information is information for specifying a file to be accessed. Specifically, this is information specifying the file name of the actual data file 180. For example, the same information as the file name 1541 of the stored file management table 154 is included.
  • the second information is information that specifies the actual file to be accessed. For example, information specifying whether the file to be accessed is only the actual data file 180, only the metadata file 181, or the actual data file 180 and the metadata file 181 is included. Hereinafter, this information is also referred to as access designation information.
  • the number of files to be accessed in the file access request may be plural.
  • the file access control unit 110 determines whether the metadata file 181 is included in the access target file (step S403).
  • the file access control unit 110 refers to the access designation information included in the file access request, and determines whether or not the metadata file 181 is designated as an access target file. For example, when the access specification information includes only the metadata file 181 or information specifying either the actual data file 180 or the metadata file 181 as the access target file, the file access control unit 110 may It is determined that the metadata file 181 is included in this file.
  • step S403 If it is determined that the metadata file 181 is not included in the access target file (No in step S403), the file access control unit 110 proceeds to step S409.
  • the file access control unit 110 determines the access target meta data based on the file correspondence management table 152 and the stored file management table 154. Information indicating the storage location of the data file 181 is acquired (step S405). Specifically, the following processing is executed.
  • the file access control unit 110 refers to the file correspondence management table 152 and searches for a record in which the actual data file name 1521 matches the file name of the actual data file 180 included in the file access request.
  • the file access control unit 110 acquires the value of the metadata file name 1522 of the retrieved record as the file name of the metadata file 181 to be accessed.
  • the file access control unit 110 refers to the stored file management table 154 and searches for a record that matches the file name of the metadata file 181 from which the file name 1541 is acquired.
  • the file access control unit 110 acquires the values of the file storage hierarchy 1542 and the file path 1543 of the retrieved record.
  • the file access control unit 110 acquires the access target metadata file 181 based on the acquired information (step S407). Specifically, the following processing is executed.
  • the file access control unit 110 determines whether the metadata file 181 is stored in the front-end file server 1 based on the value of the file storage hierarchy 1542. When it is determined that the metadata file 181 is stored in the front-end file server 1, the file access control unit 110 acquires the metadata file 181 based on the value information of the file path 1543.
  • the file access control unit 110 acquires the metadata file 181 from the back-end file server 2. For example, the file access control unit 110 transmits a read request including the value of the file path 1543 to the back-end file server 2.
  • the file access control unit 110 determines whether or not the actual data file 180 is included in the file to be accessed (step S409).
  • the file access control unit 110 refers to the access designation information included in the file access request and determines whether or not the actual data file 180 is designated as an access target file. For example, when the access designation information includes only the actual data file 180 or information designating either the actual data file 180 or the metadata file 181 as the access target file, the file access control unit 110 may It is determined that the actual data file 180 is included in this file.
  • step S409 the file access control unit 110 proceeds to step S415.
  • the file access control unit 110 When it is determined that the actual data file 180 is included in the file to be accessed (Yes in step S409), the file access control unit 110 indicates the storage destination of the actual data file 180 to be accessed from the storage file management table 154. Is acquired (step S411).
  • the file access control unit 110 searches for a record in which the file name 1541 matches the file name of the actual data file 180 included in the file access request.
  • the file access control unit 110 acquires the values of the file storage hierarchy 1542 and the file path 1543 of the retrieved record.
  • the file access control unit 110 acquires the actual data file 180 to be accessed based on the acquired information (step S413). Specifically, the following processing is executed.
  • the file access control unit 110 determines whether or not the actual data file 180 is stored in the front-end file server 1 based on the value of the file storage hierarchy 1542. When it is determined that the actual data file 180 is stored in the front-end file server 1, the file access control unit 110 acquires the actual data file 180 to be accessed based on the value of the file storage hierarchy 1542.
  • the file access control unit 110 acquires the actual data file 180 from the back-end file server 2. For example, the file access control unit 110 transmits a read request including the value of the file path 1543 to the back-end file server 2.
  • the file access control unit 110 transmits the acquired file to the requesting client 5 (step S415), and ends the process.
  • the file access control unit 110 responds to the requesting client 5 to that effect.
  • FIG. 14 is an explanatory diagram illustrating an example of a data configuration of the metadata file 181 according to the first embodiment of this invention.
  • FIG. 14 shows a data structure 156 that is the content of the metadata included in the metadata file 181.
  • the data structure 156 includes a metadata type 1561, a metadata name 1562, and a metadata value 1563. Note that the columns included in the data structure 156 are not limited to those described above.
  • the metadata type 1561 stores information indicating the type of metadata stored in the metadata file 181.
  • FIG. 14 shows three types of metadata as an example.
  • Metadata derived from file attribute information corresponds to the metadata acquired from the attribute information of the actual data file 180.
  • “Metadata derived from actual data” corresponds to metadata extracted by the metadata extraction unit 122 analyzing the actual data file 180.
  • “metadata derived from hierarchical storage” corresponds to metadata for managing the actual data file 180 corresponding to the metadata file 181 in the hierarchical storage.
  • metadata for managing the actual data file 180 corresponding to the metadata file 181 in the hierarchical storage for example, the identification information of the file server in which the actual data file 180 is stored, Information such as file path can be considered.
  • Methodadata derived from tiered storage corresponds to the storage location information of the actual data file added in step S131 or step S311.
  • the metadata name 1562 stores metadata identification information.
  • the identification information of the metadata for example, an identification name or an identification number for specifying the metadata can be considered.
  • the metadata value 1563 stores a metadata value. One or more values are stored for the metadata name 1562. In this embodiment, the metadata value 1563 corresponding to the storage destination information of the actual data file stores a URL for accessing the actual data file 180.
  • the data structure 156 of the metadata file 181 has been described as tabular data.
  • the present invention is not limited to this, for example, the CSV (Comma Separated Values) format or the XML format. It may be used.
  • FIG. 15 is an explanatory diagram showing an example of the file list screen 190 used in the first embodiment of the present invention.
  • the file list screen 190 is a GUI used to refer to file storage information in the tiered storage.
  • the system administrator or the like operates the client 5 or the like to access the front-end file server 1
  • the storage location of the file stored in the tiered storage and the storage information of the moved file are displayed on the file list screen 190. Is done.
  • a file list display field 191 In the file list screen 190, a file list display field 191, a filter condition input field 192, a sort condition input field 193, and a refresh button 194 are displayed.
  • the file list display field 191 displays information on files stored in the tiered storage.
  • the file list display column 191 includes an actual data file name 1911, a metadata file name 1912, an actual data file storage state 1913, a metadata file storage state 1914, an actual data file storage destination URL 1915, and a metadata file storage destination URL 1916. .
  • the file name of the actual data file 180 stored in the hierarchical storage is displayed.
  • the file name of the metadata file 181 stored in the hierarchical storage is displayed.
  • the storage state of the actual data file 180 is displayed. For example, when the actual data file 180 is stored in the hierarchical storage, the actual data file storage state 1913 is displayed as “stored”, and when the actual data file 180 is deleted from the hierarchical storage, the actual data file storage state 1913 is “Deleted” is displayed.
  • the storage state of the metadata file 181 is displayed.
  • the information displayed in the metadata file storage state 1914 is the same as that in the actual data file storage state 1913.
  • information for accessing the actual data file 180 is displayed. For example, information combining the tier name in the tier storage and the file path of the file server corresponding to the tier is displayed.
  • Metadata file storage destination URL 1916 information for accessing the metadata file 181 is displayed.
  • the information displayed in the metadata file storage location URL 1916 is the same as the actual data file storage location URL 1915.
  • the filter condition input field 192 is a display field for inputting a condition for filtering a file to be displayed.
  • the sort condition input field 193 is a display field for inputting a condition for designating the order of records to be displayed.
  • the refresh button 194 is an operation button for updating the display contents of the file list display field 191 and the like to the latest state.
  • the storage information of the file in the tiered storage is displayed as the GUI screen, the present invention is not limited to this.
  • a command or a program method for acquiring file storage information may be provided, and a CLI or API may be provided.
  • the file server configuring the hierarchical storage can reliably hold the metadata (metadata file 181) of the actual data file 180 in the hierarchical storage. For example, even if the free space of the data storage area 170 is small and it is difficult for the front-end file server 1 to store a new file, the metadata of the file can be reliably acquired.
  • the first embodiment it is possible to reliably move the metadata from the upper tier storage (file server) to the lower tier storage (file server).
  • a large amount of data is stored at one time, or a large amount of data is moved between file servers, etc.
  • the selection of the movement candidate file and the movement of the file can be controlled.
  • the present invention can also be applied to a system that handles data in units of blocks.
  • the physical storage location of the block may be specified using the block address, block length, and the like.
  • the front-end file server 1 when a file is moved between file servers that constitute a hierarchical storage, the front-end file server 1 that is the movement source of the file designates the file path of the file server that is the movement destination. Further, after the file is moved, the front-end file server 1 manages the file and the file path in the destination file server in association with each other. Thus, when a file access request for the file is received after the file is moved, the front-end file server 1 can read the file from the destination file server and respond to the read file to the request source.
  • a form of a computer system in which an identification number and an identification name unique to the entire computer system are assigned to a file to be managed and the file is accessed using the assigned information can be considered.
  • an arbitrary file server or dedicated server assigns and manages an identification number and an identification name.
  • Example 2 describes an example in which the present invention is applied to a computer system in which file identification numbers and identification names are managed in a unified manner.
  • the second embodiment will be described with reference to FIGS. 16 to 18 focusing on differences from the first embodiment.
  • FIG. 16 is a block diagram illustrating a configuration example of the computer system according to the second embodiment of this invention.
  • a name space management server 7 is newly included in the computer system.
  • the namespace management server 7 performs data communication with other devices via the network 6.
  • the configurations of the front-end file server 1, the back-end file server 2, the data source 4, and the client 5 are the same as those in the first embodiment, and thus detailed configurations are omitted.
  • the namespace management server 7 centrally manages the identification numbers and identification names of files stored in the tiered storage.
  • the file path is determined based on the file identification number and the identification name assigned by the namespace management server 7.
  • the name space management server 7 uses a general-purpose computer and includes a CPU 70, a memory 71, an I / F 72, and an auxiliary storage device 73.
  • CPU 70 executes a program stored in memory 71.
  • the functions of the namespace management server 7 can be realized by the CPU 70 executing the program. In the following description, when a process is described with a program as the subject, it indicates that the CPU 70 is executing the program.
  • the memory 71 stores a program executed by the CPU 70 and information necessary for executing the program.
  • the program and information stored in the memory 71 will be described later.
  • the I / F 72 controls data communication with an external device.
  • the auxiliary storage device 73 is a device used to provide a large capacity storage area.
  • As the auxiliary storage device 73 for example, an HDD and an SSD can be considered.
  • a RAID may be configured using a plurality of auxiliary storage devices 73.
  • the memory 71 stores a program for realizing the namespace management unit 701 and a namespace management table 750.
  • the name space management table 750 will be described later with reference to FIG.
  • the name space management unit 701 assigns a unique identification number and identification name to a file stored in the tier storage. Information about the assigned identification number and identification name is stored in a namespace management table 750 described later. In the following description, a unique identification number and identification name assigned to a file are also referred to as a global name.
  • the namespace management unit 701 When assigning a global name to a file, the namespace management unit 701 also assigns identification information of the file server in which the file is stored and a file path indicating a storage location in the file server.
  • the front-end file server 1 may specify identification information of a file server that is a file storage destination candidate and a file path candidate when requesting the assignment of a global name.
  • the namespace management unit 701 determines whether or not duplication or inconsistency with an existing file occurs based on the designated content, and if no duplication or inconsistency occurs, the designated content is Used to give file server identification information and file path.
  • the namespace management unit 701 receives a name resolution request including the assigned global name, and responds with a file storage location or access path associated with the global name. Note that the name space management unit 701 also receives an update request for information regarding the storage location and access path of the file.
  • the namespace management server 7 has been described as a configuration independent of the file server, but the present invention is not limited to this.
  • One file server may have a function of the namespace management server 7.
  • achieves the function which the name space management server 7 has cooperated by a some file server may be sufficient.
  • the tiered storage configuration management table 150 Since the tiered storage configuration management table 150, the migration condition management table 151, the file correspondence management table 152, the operation management table 153, the storage file management table 154, and the file migration management table 155 are the same as those in the first embodiment, a description will be given. Omitted. Further, the metadata extraction process is the same as that of the first embodiment, and thus the description thereof is omitted.
  • FIG. 17 is an explanatory diagram showing a configuration example of the name space management table 750 according to the second embodiment of the present invention.
  • the namespace management table 750 manages the correspondence between the global name managed by the namespace management unit 701 and information related to the file to which the global name is assigned. Specifically, the namespace management table 750 includes a global name 7501, a local host name 7502, and a local path name 7503. Note that the columns included in the namespace management table 750 are not limited to those described above.
  • the global name 7501 stores the global name assigned by the namespace management unit 701.
  • the global name is assigned so as not to be duplicated with other global names.
  • the local host name 7502 stores identification information of a file server that stores a file to which a global name corresponding to the global name 7501 is assigned.
  • the local host name 7502 stores the host name or IP address of the file server.
  • the local path name 7503 stores a file path indicating the storage location of the file assigned the global name in the file server.
  • the global name 7501 and the local path name 7503 may include a wild card representing an arbitrary character string. As a result, information on all files existing in a specific hierarchy can be managed by one record.
  • FIG. 18A and FIG. 18B are flowcharts for explaining file movement processing according to the second embodiment of the present invention.
  • step S307 If the determination result of step S307 is Yes, the process of step S351 is newly executed.
  • the file movement control unit 130 requests the namespace management server 7 to add the storage location information of the metadata file 181 (step S351).
  • the file moving unit 133 requests the namespace management server 7 to add storage destination information including identification information of the back-end file server 2 that is a candidate for the storage destination of the metadata file 181.
  • the file moving unit 133 acquires a global name, a local host name, and a local path name as a response from the namespace management server 7.
  • the local host name and local path name correspond to the storage location information. Thereafter, the file moving unit 133 proceeds to step S309.
  • step S353 is newly executed.
  • the file movement control unit 130 requests the namespace management server 7 to allocate storage location information of the actual data file 180 (step S353).
  • the file moving unit 133 requests the namespace management server 7 to allocate storage location information including identification information of the back-end file server 2 that is a candidate for the storage location of the actual data file 180. .
  • the file moving unit 133 acquires a global name, a local host name, and a local path name as a response from the namespace management server 7. Thereafter, the file moving unit 133 proceeds to step S321.
  • step S351 and step S353 The information acquired in step S351 and step S353 is used when the file is moved, and is stored in the storage file management table 154.
  • FIG. 19 is a flowchart illustrating file access processing according to the second embodiment of the present invention.
  • step S451 After the process of step S401 is executed, the process of step S451 is newly executed.
  • the file access control unit 110 requests the name space management server 7 for name resolution (step S451). Specifically, the following processing is executed.
  • the file access control unit 110 analyzes the access path included in the received file access request and determines whether name resolution is necessary.
  • the file access control unit 110 determines whether or not the access path included in the request is a global name given by the namespace management server 7.
  • the file access control unit 110 determines that name resolution is necessary.
  • the file access control unit 110 does not make a request for name resolution and proceeds to step S403.
  • the file access control unit 110 determines that name resolution is necessary because it is necessary to specify the storage destination of the file to be accessed. Further, the file access control unit 110 requests the name space management server 7 to perform name resolution including the access path included in the received file access request, that is, the global name.
  • the namespace management server 7 acquires the values of the local host name 7502 and local path name 7503 associated with the global name included in the request from the namespace management table 750, and uses the acquired values as the local host name and the local host name. Reply as a path name.
  • the file access control unit 110 receives the local host name and local path name, and then proceeds to step S402.
  • the information acquired in step S451 is used when acquiring the access target file.
  • the present invention can be applied to a computer system in which files stored in a tiered storage are managed in an integrated manner.
  • the migration candidate file is selected based on the operation information of the front-end file server 1. That is, the operation information of the file server from which the file is moved is used.
  • a more appropriate transfer candidate file can be selected by considering the operation information of the back-end file server 2 to which the file is moved and the operation information of other components included in the computer system. As a result, the computer resources available in the computer system can be used more effectively.
  • the third embodiment is different from the first embodiment in that the migration candidate file is selected based on the operation information of each file server constituting the tiered storage.
  • the third embodiment will be described with a focus on differences from the first embodiment, with reference to FIGS. 20 to 22.
  • FIG. 20 is an explanatory diagram showing a configuration example of the operation management table 153 according to the third embodiment of the present invention.
  • the operation management table 153 includes a machine name 1537.
  • the machine name 1537 stores identification information of a machine from which operation information is acquired.
  • the same machine name 1537 as the tier name 1501 and storage identification information 1502 of the tier storage configuration management table 150 may be used.
  • the machine for which the operation information is acquired may be a component that is included in the computer system such as a file server or a storage system and that can acquire the operation information.
  • the operation information for each machine can be grasped by associating and managing the operation information of a plurality of machines.
  • 21A and 21B are explanatory diagrams illustrating a configuration example of the movement condition management table 151 according to the third embodiment of the present invention.
  • the description will focus on differences from the movement condition management table 151 in the first embodiment shown in FIG.
  • the contents stored in the condition 1513 and the action 1514 are different.
  • condition 1513 information for specifying a machine that is a target of an index used for determination is added.
  • the condition “Local HDD usage rate is 80% or more” is stored in the condition 1513 of the record whose condition management number 1511 is “1” and the determination order 1512 is “1”. That is, the front-end file server 1 is designated as an index target used for determination.
  • condition 1513 of the record with the condition management number 1511 being “1” and the determination order 1512 being “2” is set with the conditions “Local HDD usage rate is 80% or more” and “Tier2 HDD usage rate is 80% or more”. Is done. Further, the condition 1513 of the record with the condition management number 1511 being “1” and the determination order 1512 being “3” is “Local HDD usage rate is 80% or more” and “Tier2 HDD usage rate is less than 80%”. A condition is set.
  • the content of the action 1514 of the record in which the condition management number 1511 is “1” and the determination order 1512 is “3” is the same as that in the first embodiment.
  • the contents different from those in the first embodiment are also stored in the action 1514 of the record in which the condition management number 1511 is “1” and the determination order 1512 is “2”. Specifically, an action “move a plurality of files stored in the back-end file server B to the back-end file server C until the HDD usage rate of the server becomes less than 60% as pre-file move processing” 1514 is added.
  • the movement candidate file selection process is changed to realize the action 1514 described above. Specific changes will be described later.
  • the HDD capacity of the destination file server can be increased by moving the file stored in the file server to another file server. You can move the file at a later stage.
  • back-end file server C has the same configuration as the back-end file server 2 and is a lower-level file than the back-end file server B (2-2).
  • FIGS. 22A and 22B are flowcharts for explaining the movement candidate file selection processing according to the third embodiment of the present invention.
  • step S251 After the process of step S205, the process of step S251 is newly executed.
  • the file movement control unit 130 determines whether or not to execute the file movement pre-processing (step S251).
  • the determination unit 132 determines whether to execute the file movement pre-processing based on the processing content of the movement processing determined in step S203.
  • step S205 If it is determined not to execute the file move pre-processing, the file move control unit 130 proceeds to step S205.
  • the file movement control unit 130 executes the file movement pre-processing (step S253).
  • the file movement control unit 130 refers to the processing contents of the movement processing determined in step S203, confirms the processing contents of the file movement pre-processing, and executes the file movement pre-processing according to the processing contents. .
  • front-end file server 1 may perform the file movement pre-processing as the main body, or may request the back-end file server 2 to be processed to execute the process.
  • the front-end file server 1 reads the file from the back-end file server B (2-2), and stores the read file in the back-end file server C. Further, the front-end file server 1 deletes the file read from the back-end file server B (2-2). Further, the front-end file server 1 stores the file movement result in each management table.
  • step S253 After the process of step S253 is complete
  • a migration candidate file can be selected in consideration of operation information of components other than the front-end file server 1. Further, by utilizing various operation information such as a file server at the destination, metadata transfer control can be further enhanced.
  • the various software illustrated in the present embodiment can be stored in various recording media (for example, non-temporary storage media) such as electromagnetic, electronic, and optical, and through a communication network such as the Internet. It can be downloaded to a computer.
  • recording media for example, non-temporary storage media
  • a communication network such as the Internet. It can be downloaded to a computer.

Abstract

A computer system provided with a plurality of computers, each of which comprises a buffer for temporarily storing a file received from an external device and a data storage area for storing the file and further comprises a file management unit, a file access control unit, and a metadata generation unit, wherein the metadata generation unit obtains operation information indicating the operation state of a computer when the computer received a file, determines, on the basis of the operation information, whether to generate a metadata file, and if it is determined that a metadata file should be generated, then the metadata generation unit obtains metadata from the file, stored in the buffer, generates a metadata file on the basis of the obtained metadata, stores the metadata file in the data storage area, and adds information for accessing the file to the metadata file stored in the data storage area.

Description

計算機システム、メタデータ管理方法及びプログラムComputer system, metadata management method and program
 本発明は、階層ストレージを用いた計算機システムに関する。 The present invention relates to a computer system using hierarchical storage.
 近年、計算機システムに格納されるデータの数が増加している。大量のデータを管理する場合、利用者が要求するデータが格納されている場所がわからないという問題も発生している。前述した問題を解消するものとして、全文検索及びメタデータ検索等の検索サービスが利用される。 In recent years, the number of data stored in computer systems has increased. When managing a large amount of data, there is a problem that the location where the data requested by the user is stored is unknown. Search services such as full-text search and metadata search are used to solve the above-described problems.
 全文検索では、検索サーバが、計算機システムに格納されるデータのテキストを解析し、事前に検索インデックスを生成する。利用者は、検索サーバに対して取得対象のデータを検索するための検索クエリを送信し、検索サーバから出力された検索結果に基づいて取得対象のデータにアクセスすることができる。 In full text search, the search server analyzes the text of the data stored in the computer system and generates a search index in advance. The user can transmit a search query for searching the acquisition target data to the search server and access the acquisition target data based on the search result output from the search server.
 メタデータ検索では、検索サーバが、検索対象データに含まれるメタデータ名及びメタデータ値の組からなるデータを抽出し、事前に抽出されたデータの検索インデックスを生成する。利用者は、検索サーバに対して、当該メタデータ名及びメタデータ値に関する検索条件を指定することによって、検索結果を取得することができる。 In the metadata search, the search server extracts data including a combination of the metadata name and metadata value included in the search target data, and generates a search index for the data extracted in advance. A user can acquire a search result by designating search conditions regarding the metadata name and metadata value to the search server.
 今後、計算機システムに格納されるデータの数がさらに増加することが考えられ、利用者自身が格納されるファイルの種類、内容、及び格納場所等を把握することは困難になる。そのため、前述したような検索サービスは、利用者にとって重要なサービスとなり、その利用もさらに広がるものと考えられる。特に、メタデータ検索については、単なるデータ検索のみならず、検索条件に合致するデータに対して統計処理等を実行することによって、データ分析にも活用することができる。 In the future, the number of data stored in the computer system may increase further, making it difficult for the user himself to grasp the type, contents, storage location, etc. of the file stored. For this reason, the search service as described above is an important service for the user, and its use is considered to be further expanded. In particular, the metadata search can be used not only for simple data search but also for data analysis by executing statistical processing or the like on data that matches the search condition.
 一般的に、格納されるデータの数及びサイズが増加すると管理コストも増加する。管理コストを下げる方法として、例えば、特許文献1に記載された技術が知られている。特許文献1には、高価かつ高性能な上位階層のストレージと、安価かつ低性能な下位階層のストレージとを組み合わせて、仮想的に容量あたりの管理コストが低減するストレージシステムが開示されている。すなわち、階層ストレージの技術が記載されている。 Generally, management cost increases as the number and size of stored data increases. As a method for reducing the management cost, for example, a technique described in Patent Document 1 is known. Patent Document 1 discloses a storage system that virtually reduces the management cost per capacity by combining an expensive and high-performance upper tier storage and an inexpensive and low-performance lower tier storage. That is, a hierarchical storage technology is described.
 階層ストレージでは、階層制御サーバが、格納されるファイルの利用状況に基づいて、適切なストレージにファイルを格納する。階層ストレージにおいて、上位階層のストレージをユーザが利用する各拠点に設置し、下位階層のストレージをデータセンタに設置するシステム構成を構築することが可能である。前述したシステム構成のシステムを構築することによって、各拠点で生成されたデータを、当該階層ストレージの機能を利用して、データセンタ側に集約することが可能となる。 In hierarchical storage, the hierarchical control server stores files in appropriate storage based on the usage status of the stored files. In the tiered storage, it is possible to construct a system configuration in which the upper tier storage is installed at each site used by the user and the lower tier storage is installed in the data center. By constructing the system having the above-described system configuration, it is possible to collect data generated at each site on the data center side using the function of the hierarchical storage.
 また、データセンタ側に集約されたデータに対してインデクシングを行う検索サーバを導入することによって、各拠点で生成されたデータの統合検索が可能となる。統合検索を行う場合、検索対象のデータが大量に発生するシステム環境においても、確実にデータセンタ側にデータを転送する必要がある。例えば、特許文献2には、転送要求されたデータに対して、当該データをバッファに一時的に格納する場合に、しきい値を用いた判定を行うことによってデータ転送の停止及び再開を停止する方法が開示されている。 In addition, by introducing a search server that indexes data aggregated on the data center side, integrated search of data generated at each site becomes possible. When performing an integrated search, it is necessary to reliably transfer data to the data center side even in a system environment where a large amount of search target data is generated. For example, in Patent Document 2, when data requested to be transferred is temporarily stored in a buffer, stop and restart of data transfer are stopped by making a determination using a threshold value. A method is disclosed.
米国特許第5764972号明細書US Pat. No. 5,764,972 米国特許第6101575号明細書US Pat. No. 6,101,575
 階層ストレージを利用してデータセンタ側にデータを集約し、当該データを対象とした検索サービスを提供するシステム環境では、データ転送に関する問題が存在する。すなわち、各拠点のデータの生成量が膨大になった場合に、当該データの欠落がなく、かつ、データ転送の遅延が発生しないようにデータセンタ側に転送することが困難であるという問題がある。 In a system environment that aggregates data to the data center side using tiered storage and provides a search service for the data, there is a problem with data transfer. In other words, when the amount of data generated at each site becomes enormous, there is a problem that it is difficult to transfer the data to the data center side so that the data is not lost and the data transfer is not delayed. .
 例えば、各拠点の上位階層のストレージにおいて、格納されたデータに対し、当該データのメタデータを生成し、データ及びメタデータを対応づけて、データセンタ側の下位階層のストレージに転送する場合を考える。この時、転送対象のデータの数及びサイズが膨大な場合、上位階層のストレージから下位階層のストレージにデータが転送される前に、一時的に当該データを格納するバッファがあふれてしまい、新たなデータの受付ができなくなる可能性がある。特に、上位階層のストレージと下位階層のストレージとの間を接続するネットワーク帯域が狭い場合、前述した問題が顕在化する。 For example, consider a case where, in the upper tier storage at each base, metadata of the data is generated for the stored data, the data and metadata are associated, and transferred to the lower tier storage on the data center side. . At this time, if the number and size of data to be transferred is enormous, before the data is transferred from the upper tier storage to the lower tier storage, the buffer for temporarily storing the data overflows and a new Data may not be accepted. In particular, when the network bandwidth connecting the upper tier storage and the lower tier storage is narrow, the above-described problem becomes apparent.
 転送対象のデータそのもののサイズと、当該データから生成されたメタデータのサイズとを比較した場合、メタデータのサイズが相対的に小さい。特に、データが高解像度の動画データ等の場合、当該データそのもののサイズが大きいため、メタデータのサイズがデータのサイズより小さくなる傾向が顕著になる。一方で、データセンタ側で統合検索サービスを提供する場合、メタデータ検索サービスを提供できるようにすることは有益である。 When comparing the size of the data to be transferred and the size of the metadata generated from the data, the size of the metadata is relatively small. In particular, when the data is high-resolution moving image data or the like, since the size of the data itself is large, the tendency of the metadata size to become smaller than the data size becomes significant. On the other hand, when providing an integrated search service on the data center side, it is beneficial to be able to provide a metadata search service.
 しかし、複数のデータの中から、バッファの使用量が増大した場合、データの受信処理が停止されるため、メタデータ検索サービスに必要なデータを取得することができない。また、メタデータを優先的にデータセンタ側の下位階層のストレージに転送するための制御は、前述した従来技術では実現困難であった。このため、転送対象データの中からメタデータに相当するデータを確実に転送するための制御の実現が課題となる。 However, if the buffer usage increases from a plurality of data, the data reception process is stopped, so that the data necessary for the metadata search service cannot be acquired. In addition, the control for preferentially transferring metadata to the lower-level storage on the data center side has been difficult to realize with the above-described conventional technology. For this reason, the realization of the control for reliably transferring the data corresponding to the metadata from the transfer target data becomes an issue.
 本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、複数の計算機を備える計算機システムであって、前記複数の計算機の各々は、プロセッサ、主記憶装置、副記憶装置、及び他の計算機と通信するためのインタフェースを有し、少なくとも一つ以上の計算機は、前記インタフェースを介して接続される外部装置から受信したファイルを一時的に格納するバッファと、前記ファイルを格納するデータ格納領域と、前記ファイルを管理するファイル管理部と、前記ファイルに対するアクセスを制御するファイルアクセス制御部と、前記ファイルを解析することによってメタデータを取得し、前記取得されたメタデータを用いてメタデータファイルを生成するメタデータ生成部と、を有し、前記メタデータ生成部は、前記ファイルを受信した計算機の稼働状態を示す稼働情報を取得して、前記取得された稼働情報に基づいて、前記メタデータファイルを生成するか否かを判定し、前記メタデータファイルを生成すると判定された場合、前記バッファに格納される前記ファイルから前記メタデータを取得し、前記取得されたメタデータに基づいて、前記メタデータファイルを生成し、前記生成されたメタデータファイルを前記データ格納領域に格納し、前記データ格納領域に格納されるメタデータファイルに、前記ファイルにアクセスするための情報を追加することを特徴とする。 A typical example of the invention disclosed in the present application is as follows. That is, a computer system comprising a plurality of computers, each of the plurality of computers having a processor, a main storage device, a secondary storage device, and an interface for communicating with other computers, and at least one or more The computer includes a buffer for temporarily storing a file received from an external device connected via the interface, a data storage area for storing the file, a file management unit for managing the file, and access to the file A file access control unit that controls the metadata, and a metadata generation unit that acquires metadata by analyzing the file and generates a metadata file using the acquired metadata. The generation unit acquires operating information indicating an operating state of the computer that has received the file, Whether to generate the metadata file is determined based on the acquired operation information, and if it is determined to generate the metadata file, the metadata is acquired from the file stored in the buffer And generating the metadata file based on the acquired metadata, storing the generated metadata file in the data storage area, and storing the generated metadata file in the metadata storage area. Information for accessing the file is added.
 本発明の一側面によれば、ファイルを受信した計算機の稼働情報に応じて、ファイルのメタデータを保持することができる。また、メタデータファイルにファイルにアクセスするための情報が追加されるため、ファイルとメタデータファイルとを関連づけて管理することができる。 According to one aspect of the present invention, file metadata can be retained according to the operation information of the computer that has received the file. Further, since information for accessing the file is added to the metadata file, the file and the metadata file can be managed in association with each other.
 上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。 Issues, configurations, and effects other than those described above will be clarified by the following description of the embodiments.
本発明の実施例1の計算機システムの処理の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of a process of the computer system of Example 1 of this invention. 本発明の実施例1の計算機システムの構成例を説明するブロック図である。It is a block diagram explaining the structural example of the computer system of Example 1 of this invention. 本発明の実施例1における階層ストレージ構成管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the hierarchical storage structure management table in Example 1 of this invention. 本発明の実施例1における移動条件管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the movement condition management table | surface in Example 1 of this invention. 本発明の実施例1におけるファイル対応管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the file corresponding | compatible management table in Example 1 of this invention. 本発明の実施例1における稼働管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the operation management table | surface in Example 1 of this invention. 本発明の実施例1における格納ファイル管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the storage file management table in Example 1 of this invention. 本発明の実施例1におけるファイル移動管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the file movement management table | surface in Example 1 of this invention. 本発明の実施例1におけるバックエンド格納ファイル管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the back end storage file management table in Example 1 of this invention. 本発明の実施例におけるメタデータ抽出処理を説明するフローチャートである。It is a flowchart explaining the metadata extraction process in the Example of this invention. 本発明の実施例におけるメタデータ抽出処理を説明するフローチャートである。It is a flowchart explaining the metadata extraction process in the Example of this invention. 本発明の実施例1の移動候補ファイルの選択処理を説明するフローチャートである。It is a flowchart explaining the selection process of the movement candidate file of Example 1 of this invention. 本発明の実施例1のファイル移動処理を説明するフローチャートである。It is a flowchart explaining the file movement process of Example 1 of this invention. 本発明の実施例1のファイルアクセス処理を説明するフローチャートである。It is a flowchart explaining the file access process of Example 1 of this invention. 本発明の実施例1のメタデータファイルのデータ構成の一例を示す説明図である。It is explanatory drawing which shows an example of the data structure of the metadata file of Example 1 of this invention. 本発明の実施例1において用いられるファイル一覧画面の一例を示す説明図である。It is explanatory drawing which shows an example of the file list screen used in Example 1 of this invention. 本発明の実施例2の計算機システムの構成例を説明するブロック図である。It is a block diagram explaining the structural example of the computer system of Example 2 of this invention. 本発明の実施例2における名前空間管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the name space management table in Example 2 of this invention. 本発明の実施例2のファイル移動処理を説明するフローチャートである。It is a flowchart explaining the file movement process of Example 2 of this invention. 本発明の実施例2のファイル移動処理を説明するフローチャートである。It is a flowchart explaining the file movement process of Example 2 of this invention. 本発明の実施例2のファイルアクセス処理を説明するフローチャートである。It is a flowchart explaining the file access process of Example 2 of this invention. 本発明の実施例3における稼働管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the operation management table | surface in Example 3 of this invention. 本発明の実施例3における移動条件管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the movement condition management table | surface in Example 3 of this invention. 本発明の実施例3における移動条件管理表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the movement condition management table | surface in Example 3 of this invention. 本発明の実施例3における移動候補ファイルの選択処理を説明するフローチャートである。It is a flowchart explaining the selection process of the movement candidate file in Example 3 of this invention. 本発明の実施例3における移動候補ファイルの選択処理を説明するフローチャートである。It is a flowchart explaining the selection process of the movement candidate file in Example 3 of this invention.
 以下に、本発明を実施するための形態の詳細について図面を用いて説明する。 Hereinafter, details of an embodiment for carrying out the present invention will be described with reference to the drawings.
 [実施例1] [Example 1]
 まず、図1を用いて、本発明を適用した計算機システムの処理の概要について説明する。 First, the outline of the processing of the computer system to which the present invention is applied will be described with reference to FIG.
 図1は、本発明の実施例1の計算機システムの処理の概要を示す説明図である。 FIG. 1 is an explanatory diagram showing an outline of processing of the computer system according to the first embodiment of this invention.
 実施例1の計算機システムは、フロントエンドファイルサーバ1、バックエンドファイルサーバA(2-1)、バックエンドファイルサーバB(2-2)、データソース4、及びクライアント5から構成される。各装置は、ネットワーク6を介してデータ通信可能に接続される。以下の説明では、バックエンドファイルサーバA(2-1)及びバックエンドファイルサーバB(2-2)を区別しない場合、バックエンドファイルサーバ2とも記載する。また、フロントエンドファイルサーバ1及びバックエンドファイルサーバ2を区別しない場合、ファイルサーバとも記載する。 The computer system according to the first embodiment includes a front-end file server 1, a back-end file server A (2-1), a back-end file server B (2-2), a data source 4, and a client 5. Each device is connected via a network 6 so that data communication is possible. In the following description, when the back-end file server A (2-1) and the back-end file server B (2-2) are not distinguished, they are also referred to as the back-end file server 2. Further, when the front-end file server 1 and the back-end file server 2 are not distinguished, they are also described as file servers.
 フロントエンドファイルサーバ1は、ファイル格納サービス及びファイル共有サービスを提供する。 The front-end file server 1 provides a file storage service and a file sharing service.
 フロントエンドファイルサーバ1、バックエンドファイルサーバA(2-1)及びバックエンドファイルサーバB(2-2)は、階層ストレージを構成する。本実施例では、フロントエンドファイルサーバ1は、上位階層のストレージであり、ユーザに対して仮想的な大容量のファイルサーバを提供する。また、バックエンドファイルサーバ2は、下位階層のストレージであり、フロントエンドファイルサーバ1に格納されるデータの一部を格納する。 The front end file server 1, the back end file server A (2-1), and the back end file server B (2-2) constitute a hierarchical storage. In this embodiment, the front-end file server 1 is a higher-level storage and provides a virtual large-capacity file server to the user. The back-end file server 2 is a lower-level storage, and stores a part of data stored in the front-end file server 1.
 本実施例では、フロントエンドファイルサーバ1の管理階層として「Tier0」が設定され、バックエンドファイルサーバA(2-1)の管理階層として「Tier1」が設定され、バックエンドファイルサーバB(2-2)の管理階層として「Tier2」が設定されるものとする。 In this embodiment, “Tier0” is set as the management hierarchy of the front-end file server 1, “Tier1” is set as the management hierarchy of the back-end file server A (2-1), and the back-end file server B (2- It is assumed that “Tier2” is set as the management hierarchy of 2).
 フロントエンドファイルサーバ1は、記憶領域の容量が不足した場合等に、ファイルのアクセス頻度又はファイル更新後からの経過時間等の所定のポリシーに基づいて、バックエンドファイルサーバA(2-1)にファイルを移動する。ファイルの移動後、ユーザから当該ファイルに対するファイルアクセス要求を受け付けた場合、フロントエンドファイルサーバ1は、バックエンドファイルサーバA(2-1)から当該ファイルを取得し、ユーザに取得されたファイルを応答として送信する。 When the capacity of the storage area is insufficient, the front-end file server 1 determines that the back-end file server A (2-1) is based on a predetermined policy such as file access frequency or elapsed time after file update. Move the file. When a file access request for the file is received from the user after the file is moved, the front-end file server 1 acquires the file from the back-end file server A (2-1), and responds with the file acquired by the user. Send as.
 なお、階層ストレージの構成は、多段構成にしてもよい。例えば、バックエンドファイルサーバB(2-2)を含めた構成にしてもよい。フロントエンドファイルサーバ1がファイルをバックエンドファイルサーバA(2-1)に移動させる時に、バックエンドファイルサーバA(2-1)の記憶容量が不足している場合、バックエンドファイルサーバA(2-1)に格納されるファイルの一部をバックエンドファイルサーバB(2-2)に移動するように制御してもよい。また、バックエンドファイルサーバA(2-1)が過負荷状態である場合、フロントエンドファイルサーバ1は、ファイルの移動先として、バックエンドファイルサーバB(2-2)を選択するように制御してもよい。 Note that the hierarchical storage configuration may be a multi-stage configuration. For example, the back end file server B (2-2) may be included. When the front-end file server 1 moves the file to the back-end file server A (2-1), if the storage capacity of the back-end file server A (2-1) is insufficient, the back-end file server A (2 It may be controlled to move a part of the file stored in -1) to the back-end file server B (2-2). When the back-end file server A (2-1) is overloaded, the front-end file server 1 controls to select the back-end file server B (2-2) as the file transfer destination. May be.
 データソース4は、格納対象のデータを生成する装置である。データソース4としては、例えば、電子カルテ情報を登録し、当該電子カルテ情報を管理する電子カルテサーバ、及び監視カメラを用いて録画された監視用の動画データを蓄積する監視サーバが考えられる。 Data source 4 is a device that generates data to be stored. As the data source 4, for example, an electronic medical record server that registers electronic medical record information and manages the electronic medical record information, and a monitoring server that accumulates video data for monitoring recorded using a monitoring camera can be considered.
 フロントエンドファイルサーバ1は、データソース4によって生成された各種データをファイル形式のデータとして格納する。また、フロントエンドファイルサーバ1は、複数のクライアント5がデータにアクセスし、データを共有できるようにデータを管理する。 The front-end file server 1 stores various data generated by the data source 4 as file format data. The front-end file server 1 manages data so that a plurality of clients 5 can access the data and share the data.
 また、フロントエンドファイルサーバ1は、格納されるデータから抽出されるメタデータも格納し、共有可能なデータとして管理する。メタデータの例として、電子カルテデータに含まれる患者識別用の患者ID、及び動画データに含まれる人物の画像をもとに特定された当該動画に映る人物の識別情報等が該当する。 The front-end file server 1 also stores metadata extracted from stored data and manages it as sharable data. Examples of metadata include a patient ID for patient identification included in the electronic medical record data, identification information of a person shown in the moving image specified based on a person image included in the moving image data, and the like.
 また、本実施例の計算機システムは、検索サーバ(図示省略)を含んでいてもよい。この場合、検索サーバは、データ及び当該データから抽出されたメタデータを検索するために、ファイル及びメタデータに対してインデクシングを行うことによって検索インデックスを生成する。検索サーバが有する機能は、フロントエンドファイルサーバ1又はバックエンドファイルサーバ2を用いて実現してもよいし、図示しない他のサーバを用いて実現してもよい。 Further, the computer system of this embodiment may include a search server (not shown). In this case, the search server generates a search index by indexing the file and metadata in order to search for data and metadata extracted from the data. The function of the search server may be realized using the front-end file server 1 or the back-end file server 2, or may be realized using another server (not shown).
 また、計算機システムにおいて、ユーザサイドの拠点内にフロントエンドファイルサーバ1及びデータソース4を構築し、データセンタにバックエンドファイルサーバ2を構築する構成をとるようにしてもよい。前述した構成では、階層ストレージを用いて、データ及び当該データから抽出されたメタデータを管理できるようにする。 In the computer system, the front end file server 1 and the data source 4 may be constructed in the user side base, and the back end file server 2 may be constructed in the data center. In the configuration described above, data and metadata extracted from the data can be managed using a hierarchical storage.
 ユーザサイドのデータソース4によって生成されたデータを効率よく活用するために、抽出されたメタデータを用いてデータを検索できるようにする必要がある。特に、ユーザサイドが複数存在する場合、各ユーザサイドにおいてメタデータを用いた検索処理を可能にすることはデータ活用の利便性向上に寄与する。したがって、各ユーザサイドからアクセス可能なデータセンタ側のバックエンドファイルサーバ2に当該メタデータを格納することが望ましい。 In order to efficiently use the data generated by the data source 4 on the user side, it is necessary to be able to search for data using the extracted metadata. In particular, when there are a plurality of user sides, enabling search processing using metadata on each user side contributes to improving the convenience of data utilization. Therefore, it is desirable to store the metadata in the back-end file server 2 on the data center side accessible from each user side.
 本発明は、前述したような理由から、メタデータを確実にファイルサーバ間で転送できるように制御することを実現する。なお、本発明は、ファイルストレージに限定するものではなく、ブロックストレージにも適用できる。また、本発明は、ファイルサーバに限定されず、ファイルを格納するストレージシステムにも適用できる。 The present invention implements control so that metadata can be reliably transferred between file servers for the reasons described above. The present invention is not limited to file storage but can be applied to block storage. Further, the present invention is not limited to a file server, but can be applied to a storage system that stores files.
 なお、ストレージシステムの構成については図示していないが、ストレージシステムは、CPU及びメモリを有するコントローラ、I/F、並びに補助記憶装置を有する。 Although the storage system configuration is not shown, the storage system includes a controller having a CPU and a memory, an I / F, and an auxiliary storage device.
 以下、本発明における動作を処理手順にしたがって説明する。 Hereinafter, the operation of the present invention will be described according to the processing procedure.
 本実施例では、フロントエンドファイルサーバ1は、データソース4から格納対象のファイルを受信するものとする。以下の説明では、格納対象のファイルを、実データファイル180とも記載する。 In this embodiment, it is assumed that the front-end file server 1 receives a file to be stored from the data source 4. In the following description, the file to be stored is also referred to as an actual data file 180.
 フロントエンドファイルサーバ1は、実データファイル180を、メモリ上のデータ受付バッファ160に一時的に格納する。なお、フロントエンドファイルサーバ1は、外部装置からファイルを受け付ける形態に限定されず、外部装置にファイルの取得要求を送信することによって、実データファイル180を取得する形態でもよい。 The front end file server 1 temporarily stores the actual data file 180 in the data reception buffer 160 on the memory. The front-end file server 1 is not limited to a mode of receiving a file from an external device, but may be a mode of acquiring the actual data file 180 by transmitting a file acquisition request to the external device.
 ステップS1では、フロントエンドファイルサーバ1のメタデータ生成部120(図2参照)が、データ受付バッファ160に格納される実データファイル180からメタデータを抽出する。メタデータ生成部120は、抽出されたメタデータをファイル形式のデータとして補助記憶装置13上のデータ格納領域170に格納する。このとき、メタデータ生成部120は、実データファイル180もデータ格納領域170に格納する。 In step S1, the metadata generation unit 120 (see FIG. 2) of the front-end file server 1 extracts metadata from the actual data file 180 stored in the data reception buffer 160. The metadata generation unit 120 stores the extracted metadata in the data storage area 170 on the auxiliary storage device 13 as file format data. At this time, the metadata generation unit 120 also stores the actual data file 180 in the data storage area 170.
 以下の説明では、ファイル形式のメタデータをメタデータファイル181とも記載する。また、本実施例では、実データファイル180又はメタデータファイル181の少なくともいずれかを含むデータをファイルと記載する。 In the following description, file format metadata is also referred to as a metadata file 181. In this embodiment, data including at least one of the actual data file 180 and the metadata file 181 is described as a file.
 メタデータ生成部120は、実データファイル180とメタデータファイル181との対応関係をファイル対応管理表152に格納し、実データファイル180及びメタデータファイル181の格納場所に関する情報を格納ファイル管理表154に格納する。また、メタデータ生成部120は、データ格納領域170へのファイルの格納に伴って変化したデータ格納領域170の残容量に関する情報等を稼働管理表153に格納する。 The metadata generation unit 120 stores the correspondence between the actual data file 180 and the metadata file 181 in the file correspondence management table 152, and stores information on the storage locations of the actual data file 180 and the metadata file 181 in the storage file management table 154. To store. In addition, the metadata generation unit 120 stores, in the operation management table 153, information related to the remaining capacity of the data storage area 170 that has changed with the storage of the file in the data storage area 170.
 ステップS2では、フロントエンドファイルサーバ1のファイル移動制御部130(図2参照)が、データ格納領域170に格納されるファイルの中から移動候補ファイルを選択する。具体的には、以下のような処理が実行される。 In step S2, the file movement control unit 130 (see FIG. 2) of the front-end file server 1 selects a movement candidate file from the files stored in the data storage area 170. Specifically, the following processing is executed.
 ファイル移動制御部130は、稼働管理表153からフロントエンドファイルサーバ1の稼働情報を取得する。ファイル移動制御部130は、移動条件管理表151を参照し、取得された稼働情報と登録される移動条件とを照合し、移動処理の処理内容を決定する。 The file movement control unit 130 acquires the operation information of the front end file server 1 from the operation management table 153. The file movement control unit 130 refers to the movement condition management table 151, collates the acquired operation information with the registered movement condition, and determines the processing content of the movement process.
 その後、ファイル移動制御部130は、決定された移動処理の処理内容に基づいて、格納ファイル管理表154を参照し、データ格納領域170に格納されるファイルの中から移動対象のファイルを選択する。ファイル移動制御部130は、選択されたファイルの情報をファイル移動管理表155に格納する。 Thereafter, the file movement control unit 130 refers to the storage file management table 154 based on the determined processing contents of the movement process, and selects a file to be moved from among the files stored in the data storage area 170. The file movement control unit 130 stores the information of the selected file in the file movement management table 155.
 このとき、ファイル移動制御部130は、移動対象のファイルが実データファイル180又はメタデータファイル181のいずれであるかを区別するために、ファイル対応管理表152を参照する。また、ファイル移動制御部130は、階層ストレージ構成管理表150から、ファイルの移動先のファイルサーバの識別情報等を取得する。 At this time, the file migration control unit 130 refers to the file correspondence management table 152 in order to distinguish whether the migration target file is the actual data file 180 or the metadata file 181. In addition, the file migration control unit 130 acquires the identification information of the file server to which the file is migrated from the hierarchical storage configuration management table 150.
 次に、ステップS3では、フロントエンドファイルサーバ1のファイル移動制御部130が、ファイル移動処理を実行する。具体的には、ファイル移動制御部130は、ファイル移動管理表155を参照し、逐次、移動先のファイルサーバに移動対象のファイルを移動する。 Next, in step S3, the file movement control unit 130 of the front end file server 1 executes a file movement process. Specifically, the file migration control unit 130 refers to the file migration management table 155 and sequentially migrates the migration target file to the migration destination file server.
 なお、ファイル移動制御部130は、ファイルの移動後、データ格納領域170に格納される実データファイル180及びメタデータファイル181を削除してもよいし、実データファイル180及びメタデータファイル181の格納先に関するリンク情報を含むスタブファイルに置き換えてもよい。 The file movement control unit 130 may delete the actual data file 180 and the metadata file 181 stored in the data storage area 170 after moving the file, or store the actual data file 180 and the metadata file 181. It may be replaced with a stub file containing link information regarding the destination.
 ファイル移動制御部130は、ファイルの移動に関する情報を格納ファイル管理表154に反映する。また、ファイル移動制御部130は、ファイル削除又はスタブファイルへの置き換えに伴うデータ格納領域170の残容量に関する情報等を稼働管理表153に反映する。 The file movement control unit 130 reflects information related to file movement in the stored file management table 154. In addition, the file movement control unit 130 reflects information on the remaining capacity of the data storage area 170 associated with file deletion or replacement with a stub file in the operation management table 153.
 図1に示す例では、ファイルの移動後の様子を示す。 The example shown in FIG. 1 shows the state after the file is moved.
 ファイル280-1は、実データファイル180及びメタデータファイル181が一つのファイルとしてバックエンドファイルサーバA(2-1)に格納されることを示す。 The file 280-1 indicates that the actual data file 180 and the metadata file 181 are stored in the backend file server A (2-1) as one file.
 ファイル280-2は、メタデータファイル181のみを含むファイルとしてバックエンドファイルサーバA(2-1)に格納され、ファイル280-3は、実データのみを含むファイルとしてバックエンドファイルサーバB(2-2)に格納されることを示す。すなわち、実データファイル180とメタデータファイル181とが異なるバックエンドファイルサーバ2に格納されることを示す。 The file 280-2 is stored in the backend file server A (2-1) as a file including only the metadata file 181. The file 280-3 is stored as a file including only actual data in the backend file server B (2- 2) indicates that it is stored. That is, the actual data file 180 and the metadata file 181 are stored in different back-end file servers 2.
 ファイル280-2に含まれるメタデータファイル181の中には、実データの格納場所を示す格納先情報が含まれる。例えば、対応する実データファイル180を含むファイル280-3に関する情報が含まれる。 The metadata file 181 included in the file 280-2 includes storage location information indicating the storage location of actual data. For example, information on the file 280-3 including the corresponding actual data file 180 is included.
 以上が、実施例1における計算機システムの処理の概要である。 The above is the outline of the processing of the computer system in the first embodiment.
 次に、計算機システムの具体的な構成を説明する。 Next, the specific configuration of the computer system will be described.
 図2は、本発明の実施例1の計算機システムの構成例を説明するブロック図である。 FIG. 2 is a block diagram illustrating a configuration example of the computer system according to the first embodiment of this invention.
 計算機システムには、フロントエンドファイルサーバ1、複数のバックエンドファイルサーバ2、データソース4及びクライアント5から構成され、ネットワーク6を介して互いにデータ通信可能に接続される。 The computer system includes a front-end file server 1, a plurality of back-end file servers 2, a data source 4, and a client 5, and is connected to each other via a network 6 so that data communication is possible.
 なお、ネットワーク6は、LAN(Local Area Network)、WAN(Wide Area Network)又はインターネット等が適用できる。また、ネットワークの接続形式に限定されず、有線又は無線のいずれであってもよい。また、必要に応じて複数の異なるネットワークを介して接続するような構成であってもよい。 The network 6 may be a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, or the like. Moreover, it is not limited to the network connection type, and may be either wired or wireless. Moreover, the structure which connects via several different networks as needed may be sufficient.
 例えば、フロントエンドファイルサーバ1、データソース4及びクライアント5はLANを介した互いを接続し、複数のバックエンドファイルサーバ2の各々はサブネット等が異なる他のLANを介して接続し、WAN又はインターネットを介して二つのLANを接続する構成が考えられる。 For example, the front-end file server 1, the data source 4, and the client 5 are connected to each other via a LAN, and each of the plurality of back-end file servers 2 is connected to another LAN having a different subnet, etc. A configuration in which two LANs are connected via a LAN is conceivable.
 システム構成によっては、一部にPCI等の各種のバスを適用してもよい。ここで、各ファイルサーバは、カスケード接続及びリング形式の接続等が適用でき、フロントエンドファイルサーバ1及び複数のバックエンドファイルサーバ2に格納されるデータは、一つのファイルパスを用いてアクセス可能となっている。なお、本発明はこれに限定されるものではなく、各ファイルサーバに対して、それぞれ独立したファイルパスを用いてもよい。 Depending on the system configuration, various buses such as PCI may be applied in part. Here, each file server can be applied with cascade connection or ring connection, and data stored in the front-end file server 1 and the plurality of back-end file servers 2 can be accessed using one file path. It has become. The present invention is not limited to this, and an independent file path may be used for each file server.
 フロントエンドファイルサーバ1は、クライアント5にファイル格納サービス及びファイル共有サービスを提供する。また、複数のバックエンドファイルサーバ2は、フロントエンドファイルサーバ1に格納されるファイルを格納する。データソース4は、格納対象のファイルを生成する装置である。クライアント5は、ユーザがデータの取得又はデータの検索を行うために操作する計算機である。 The front end file server 1 provides the client 5 with a file storage service and a file sharing service. The plurality of back-end file servers 2 store files stored in the front-end file server 1. The data source 4 is a device that generates a file to be stored. The client 5 is a computer that the user operates to acquire data or search for data.
 フロントエンドファイルサーバ1は、データソース4が生成したファイルを、自身の記憶領域、又は、バックエンドファイルサーバ2に格納する。また、フロントエンドファイルサーバ1は、クライアント5送信されたファイルアクセス要求に応じて、実データファイル180又はメタデータファイル181の少なくともいずれかを含むファイルを応答する。 The front end file server 1 stores the file generated by the data source 4 in its own storage area or the back end file server 2. Further, the front-end file server 1 responds with a file including at least one of the actual data file 180 and the metadata file 181 in response to the file access request transmitted from the client 5.
 本実施例では、簡単のために各構成要素が一つである例を説明するが、各構成は複数存在してもよい。また、階層ストレージを構成するフロントエンドファイルサーバ1、及び複数のバックエンドファイルサーバ2は、他のファイルストレージ又はファイルサーバを階層的に追加することも可能であり、同一階層に複数のファイルストレージ又はファイルサーバを設定することも可能である。 In this embodiment, an example in which each component is one is described for simplicity, but a plurality of components may exist. In addition, the front-end file server 1 and the plurality of back-end file servers 2 constituting the tiered storage can add another file storage or file server in a hierarchy, and a plurality of file storages or It is also possible to set up a file server.
 また、フロントエンドファイルサーバ1は、データソース4が生成したデータを格納対象としているが、本発明はこれに限定されない。フロントエンドファイルサーバ1は、別の装置が生成したデータを格納対象としてもよいし、当該フロントエンドファイルサーバ1内で生成されたデータを格納対象としてもよい。 Further, although the front-end file server 1 is intended for storing data generated by the data source 4, the present invention is not limited to this. The front-end file server 1 may store data generated by another device or may store data generated in the front-end file server 1.
 まず、フロントエンドファイルサーバ1について説明する。 First, the front end file server 1 will be described.
 フロントエンドファイルサーバ1は、汎用的な計算機が用いられ、CPU10、メモリ11、I/F12及び補助記憶装置13を有する。 The front-end file server 1 uses a general-purpose computer and includes a CPU 10, a memory 11, an I / F 12, and an auxiliary storage device 13.
 CPU10は、メモリ11に格納されるプログラムを実行する。CPU10がプログラムを実行することによって、フロントエンドファイルサーバ1が有する機能を実現できる。なお、以下の説明では、プログラムを主語に処理を記載する場合には、CPU10が当該プログラムを実行していることを示す。 CPU 10 executes a program stored in the memory 11. The functions of the front-end file server 1 can be realized by the CPU 10 executing the program. In the following description, when a process is described with a program as the subject, it indicates that the CPU 10 is executing the program.
 メモリ11は、CPU10が実行するプログラム及び当該プログラムの実行に必要な情報を格納する。メモリ11に格納されるプログラム及び情報については後述する。 The memory 11 stores a program executed by the CPU 10 and information necessary for executing the program. The program and information stored in the memory 11 will be described later.
 I/F12は、外部装置との間のデータ通信を制御する。補助記憶装置13は、大容量の記憶領域を提供する装置である。補助記憶装置13は、例えば、HDD(Hard Disk Drive)及びSSD(Solid State Drive)等が考えられる。なお、複数の補助記憶装置13を用いてRAIDが構成されてもよい。本実施例では、補助記憶装置13がデータ格納領域170として用いられる。 The I / F 12 controls data communication with an external device. The auxiliary storage device 13 is a device that provides a large-capacity storage area. As the auxiliary storage device 13, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like can be considered. Note that a RAID may be configured using a plurality of auxiliary storage devices 13. In this embodiment, the auxiliary storage device 13 is used as the data storage area 170.
 ここで、メモリ11に格納されるプログラム及び情報について説明する。本実施例では、メモリ11は、ファイル管理部100、ファイルアクセス制御部110、メタデータ生成部120及びファイル移動制御部130を実現するためのプログラムを格納する。また、メモリ11は、階層ストレージ構成管理表150、移動条件管理表151、ファイル対応管理表152、稼働管理表153、格納ファイル管理表154及びファイル移動管理表155を格納する。また、メモリ11は、データ受付バッファ160を実現する記憶領域も有する。 Here, the program and information stored in the memory 11 will be described. In the present embodiment, the memory 11 stores programs for realizing the file management unit 100, the file access control unit 110, the metadata generation unit 120, and the file movement control unit 130. The memory 11 also stores a tiered storage configuration management table 150, a migration condition management table 151, a file correspondence management table 152, an operation management table 153, a storage file management table 154, and a file migration management table 155. The memory 11 also has a storage area for realizing the data reception buffer 160.
 階層ストレージ構成管理表150、移動条件管理表151、ファイル対応管理表152、稼働管理表153、格納ファイル管理表154及びファイル移動管理表155については、図3から図8を用いて後述する。 Hierarchical storage configuration management table 150, migration condition management table 151, file correspondence management table 152, operation management table 153, storage file management table 154, and file migration management table 155 will be described later with reference to FIGS.
 ファイル管理部100は、ファイルを管理するために用いられるファイルシステムを提供する。なお、ファイル管理部100は、ファイルシステムの代わりにデータベースを提供してもよい。 The file management unit 100 provides a file system used for managing files. Note that the file management unit 100 may provide a database instead of the file system.
 ファイルアクセス制御部110は、クライアント5等の外部装置から送信されるファイルアクセス要求を受け付け、ファイルに対するアクセスを制御する。 The file access control unit 110 receives a file access request transmitted from an external device such as the client 5 and controls access to the file.
 例えば、ファイルアクセス制御部110は、クライアント5から要求されたファイルがバックエンドファイルサーバ2に格納される場合、当該バックエンドファイルサーバ2からファイルを読み出し、読み出されたファイルをクライアント5に応答する。また、クライアント5から要求されたファイルがバックエンドファイルサーバ2からテープ装置等の他のストレージ装置に移動された場合、ファイルアクセス制御部110は、当該ストレージ装置からバックエンドファイルサーバ2に読み出されたファイルをクライアント5に応答する。 For example, when the file requested from the client 5 is stored in the back-end file server 2, the file access control unit 110 reads the file from the back-end file server 2 and returns the read file to the client 5. . When the file requested from the client 5 is moved from the back-end file server 2 to another storage device such as a tape device, the file access control unit 110 is read from the storage device to the back-end file server 2. The file is returned to the client 5.
 メタデータ生成部120は、実データファイル180からメタデータファイル181を生成するためのメタデータ抽出処理を実行する。メタデータ抽出処理の詳細については、図10を用いて後述する。メタデータ生成部120は、実データ取得部121、メタデータ抽出部122及びメタデータファイル生成部123の複数の機能部を含む。 The metadata generation unit 120 executes a metadata extraction process for generating the metadata file 181 from the actual data file 180. Details of the metadata extraction processing will be described later with reference to FIG. The metadata generation unit 120 includes a plurality of functional units such as an actual data acquisition unit 121, a metadata extraction unit 122, and a metadata file generation unit 123.
 実データ取得部121は、データ受付バッファ160に一時的に格納される実データファイル180を適宜読み出す。また、実データ取得部121は、移動条件管理表151に登録された条件及び処理内容に基づいて、実データファイル180からメタデータを抽出用のファイルを取得するためのフィルタリング処理を実行する。フィルタリング処理の詳細については、図10を用いて後述する。 The actual data acquisition unit 121 reads the actual data file 180 temporarily stored in the data reception buffer 160 as appropriate. In addition, the actual data acquisition unit 121 executes a filtering process for acquiring a file for extracting metadata from the actual data file 180 based on the conditions and processing contents registered in the movement condition management table 151. Details of the filtering process will be described later with reference to FIG.
 メタデータ抽出部122は、取得された実データファイル180からメタデータを抽出する。具体的には、メタデータ抽出部122は、実データファイル180のデータ種別を特定し、特定されたデータ種別に基づいてメタデータを抽出するためにメタデータ抽出処理を実行する。 The metadata extraction unit 122 extracts metadata from the acquired actual data file 180. Specifically, the metadata extraction unit 122 specifies the data type of the actual data file 180, and executes a metadata extraction process to extract metadata based on the specified data type.
 例えば、メタデータ抽出部122は、実データファイル180のファイル名に付与される拡張子名に基づいて、実データファイル180のデータ種別を特定してもよい。また、メタデータ抽出部122は、実データファイル180を解析し、解析結果に基づいて実データファイル180のデータ種別を特定してもよい。したがって、メタデータ抽出部122は、データ種別、及び当該データ種別に対応したメタデータ抽出モジュール(図示省略)を保持する。 For example, the metadata extraction unit 122 may specify the data type of the actual data file 180 based on the extension name given to the file name of the actual data file 180. Further, the metadata extraction unit 122 may analyze the actual data file 180 and specify the data type of the actual data file 180 based on the analysis result. Therefore, the metadata extraction unit 122 holds a data type and a metadata extraction module (not shown) corresponding to the data type.
 ここで、画像ファイルを例に、メタデータ抽出部122によって抽出されるメタデータのデータ内容について説明する。メタデータ抽出部122は、ファイルのメタデータとして、主に次の二種類の情報を抽出する。 Here, the data content of the metadata extracted by the metadata extraction unit 122 will be described using an image file as an example. The metadata extraction unit 122 mainly extracts the following two types of information as file metadata.
 第一に、メタデータ抽出部122は、ファイルの属性情報として付与されている情報をファイルから抽出する。具体的には、ファイルサイズ、ファイル所有者、ファイル作成日時及びファイル最終更新日時等が抽出される。 First, the metadata extraction unit 122 extracts information given as file attribute information from the file. Specifically, the file size, file owner, file creation date and time, file last update date and time, and the like are extracted.
 第二に、メタデータ抽出部122は、ファイルの内容を解析し、解析の結果として取得された情報を抽出する。具体的には、当該画像ファイルの画像に建造物が映っている場合に、当該建造物の形状、色彩等の特徴情報が抽出される。また、当該建造物の立地場所が識別可能な場合、メタデータ抽出部122は、当該建造物の名称及び立地場所等の特徴情報もあわせて抽出する。 Second, the metadata extraction unit 122 analyzes the contents of the file and extracts information acquired as a result of the analysis. Specifically, when a building is reflected in the image of the image file, feature information such as the shape and color of the building is extracted. When the location of the building is identifiable, the metadata extraction unit 122 also extracts feature information such as the name of the building and the location.
 メタデータファイル生成部123では、抽出されたメタデータからファイル形式のデータ、すなわち、メタデータファイル181を生成する。具体的に、以下のような処理が実行される。 The metadata file generation unit 123 generates file format data, that is, a metadata file 181 from the extracted metadata. Specifically, the following processing is executed.
 メタデータファイル生成部123は、抽出されたメタデータを含むメタデータファイル181を新たに生成し、対応する実データファイル180及びメタデータファイル181をデータ格納領域170に格納する。このとき、メタデータファイル生成部123は、実データファイル180とメタデータファイル181との対応関係をファイル対応管理表152に格納する。 The metadata file generation unit 123 newly generates a metadata file 181 including the extracted metadata, and stores the corresponding actual data file 180 and metadata file 181 in the data storage area 170. At this time, the metadata file generation unit 123 stores the correspondence relationship between the actual data file 180 and the metadata file 181 in the file correspondence management table 152.
 また、メタデータファイル生成部123は、実データファイル180及びメタデータファイル181の格納場所に関する情報を格納ファイル管理表154に格納する。メタデータファイル生成部123は、データ格納領域170へのファイルの格納に伴って変化したデータ格納領域170の残容量、すなわち補助記憶装置13の残容量に関する情報等を稼働管理表153に格納する。 Further, the metadata file generation unit 123 stores information regarding the storage locations of the actual data file 180 and the metadata file 181 in the storage file management table 154. The metadata file generation unit 123 stores, in the operation management table 153, the remaining capacity of the data storage area 170 that has changed along with the storage of the file in the data storage area 170, that is, information on the remaining capacity of the auxiliary storage device 13, and the like.
 ファイル移動制御部130は、データ格納領域170に格納されたファイルの中から移動候補のファイルを選択し、選択されたファイルの移動を制御する。ファイル移動制御部130は、情報取得部131、判定部132及びファイル移動部133の複数の機能部を含む。 The file movement control unit 130 selects a movement candidate file from the files stored in the data storage area 170, and controls the movement of the selected file. The file movement control unit 130 includes a plurality of functional units such as an information acquisition unit 131, a determination unit 132, and a file movement unit 133.
 情報取得部131は、移動候補ファイルを選択するために用いられる各管理表から情報を取得する。具体的には、情報取得部131は、階層ストレージ構成管理表150、移動条件管理表151、ファイル対応管理表152、稼働管理表153、格納ファイル管理表154及びファイル移動管理表155から情報を取得する。 The information acquisition unit 131 acquires information from each management table used for selecting a movement candidate file. Specifically, the information acquisition unit 131 acquires information from the hierarchical storage configuration management table 150, the migration condition management table 151, the file correspondence management table 152, the operation management table 153, the storage file management table 154, and the file migration management table 155. To do.
 判定部132は、各管理表から取得された情報に基づいて、移動処理の処理内容を決定する。具体的には、以下のような処理が実行される。 <The determination part 132 determines the processing content of a movement process based on the information acquired from each management table. Specifically, the following processing is executed.
 判定部132は、移動条件管理表151に登録される条件と、稼働管理表153から取得された情報とを比較し、合致する条件を検索する。判定部132は、合致した条件に対応するアクションを特定し、特定されたアクションを移動処理の処理内容として決定する。 The determination unit 132 compares the condition registered in the movement condition management table 151 with the information acquired from the operation management table 153, and searches for a matching condition. The determination unit 132 specifies an action corresponding to the matched condition, and determines the specified action as the processing content of the movement process.
 さらに、判定部132は、決定された移動処理の処理内容に基づいて、移動候補ファイルを選択し、選択されたファイルの情報をファイル移動管理表155に格納する。 Further, the determination unit 132 selects a movement candidate file based on the processing content of the determined movement process, and stores information on the selected file in the file movement management table 155.
 より具体的には、判定部132は、決定された移動処理の処理内容に基づいて格納ファイル管理表154を参照し、データ格納領域170に格納されるファイルの中から移動候補ファイルを選択する。判定部132は、選択された移動候補ファイルの情報をファイル移動管理表155に格納する。 More specifically, the determination unit 132 refers to the storage file management table 154 based on the processing content of the determined transfer process, and selects a transfer candidate file from the files stored in the data storage area 170. The determination unit 132 stores information on the selected movement candidate file in the file movement management table 155.
 このとき、判定部132は、移動候補ファイルが実データファイル180又はメタデータファイル181のいずれであるかを区別するために、ファイル対応管理表152を参照する。また、判定部132は、階層ストレージ構成管理表150から、適宜、移動候補ファイルの移動先のファイルサーバの識別情報を取得する。 At this time, the determination unit 132 refers to the file correspondence management table 152 in order to distinguish whether the migration candidate file is the actual data file 180 or the metadata file 181. In addition, the determination unit 132 appropriately acquires the identification information of the file server that is the migration destination file from the hierarchical storage configuration management table 150.
 ファイル移動部133は、移動候補のファイルを、所定の移動先のファイルサーバに移動する。具体的には、ファイル移動部133は、ファイル移動管理表155を参照し、移動候補のファイルを、逐次、移動先のファイルサーバに移動する。 The file mover 133 moves the move candidate file to a predetermined move destination file server. Specifically, the file mover 133 refers to the file move management table 155 and sequentially moves the move candidate files to the move destination file server.
 次に、バックエンドファイルサーバ2について説明する。 Next, the back-end file server 2 will be described.
 バックエンドファイルサーバ2は、汎用的な計算機が用いられ、CPU20、メモリ21、I/F22及び補助記憶装置23を有する。 The back-end file server 2 is a general-purpose computer and includes a CPU 20, a memory 21, an I / F 22, and an auxiliary storage device 23.
 CPU20は、メモリ21に格納されるプログラムを実行する。CPU20がプログラムを実行することによって、バックエンドファイルサーバ2が有する機能を実現できる。なお、以下の説明では、プログラムを主語に処理を記載する場合には、CPU20が当該プログラムを実行していることを示す。 CPU 20 executes a program stored in memory 21. The functions of the back-end file server 2 can be realized by the CPU 20 executing the program. In the following description, when a process is described with a program as a subject, it indicates that the CPU 20 is executing the program.
 メモリ21は、CPU20が実行するプログラム及び当該プログラムの実行に必要な情報を格納する。メモリ21に格納されるプログラム及び情報については後述する。 The memory 21 stores a program executed by the CPU 20 and information necessary for executing the program. The program and information stored in the memory 21 will be described later.
 I/F22は、外部装置との間のデータ通信を制御する。補助記憶装置23は、大容量の記憶領域を提供する装置である。補助記憶装置23は、例えば、HDD及びSSD等が考えられる。なお、複数の補助記憶装置23を用いてRAIDが構成されてもよい。 The I / F 22 controls data communication with an external device. The auxiliary storage device 23 is a device that provides a large-capacity storage area. The auxiliary storage device 23 may be, for example, an HDD or an SSD. A RAID may be configured using a plurality of auxiliary storage devices 23.
 ここで、メモリ21に格納されるプログラム及び情報について説明する。本実施例では、メモリ21は、ファイル管理部201及びファイルアクセス制御部202を実現するプログラムを格納する。また、メモリ21は、バックエンド格納ファイル管理表250を格納する。 Here, the program and information stored in the memory 21 will be described. In the present embodiment, the memory 21 stores programs for realizing the file management unit 201 and the file access control unit 202. The memory 21 also stores a back-end storage file management table 250.
 ファイル管理部201及びファイルアクセス制御部202は、フロントエンドファイルサーバ1が有するファイル管理部100及びファイルアクセス制御部110と同一のものであるため説明を省略する。バックエンド格納ファイル管理表250の説明については、後述する。 Since the file management unit 201 and the file access control unit 202 are the same as the file management unit 100 and the file access control unit 110 included in the front-end file server 1, description thereof is omitted. The back end storage file management table 250 will be described later.
 なお、各バックエンドファイルサーバ2が有するCPUの種類、補助記憶装置23の種類及び容量、並びにメモリ21の容量等は異なっていてもよい。 Note that the CPU type, the type and capacity of the auxiliary storage device 23, the capacity of the memory 21, and the like included in each back-end file server 2 may be different.
 次に、データソース4について説明する。 Next, the data source 4 will be described.
 データソース4は、汎用的な計算機が用いられ、CPU40、メモリ41、I/F42及び補助記憶装置43を有する。 The data source 4 is a general-purpose computer and includes a CPU 40, a memory 41, an I / F 42, and an auxiliary storage device 43.
 CPU40は、メモリ41に格納されるプログラムを実行する。CPU40がプログラムを実行することによって、データソース4が有する機能を実現できる。なお、以下の説明では、プログラムを主語に処理を記載する場合には、CPU40が当該プログラムを実行していることを示す。 CPU 40 executes a program stored in memory 41. The function of the data source 4 can be realized by the CPU 40 executing the program. In the following description, when a process is described with a program as a subject, it indicates that the CPU 40 is executing the program.
 メモリ41は、CPU40が実行するプログラム及び当該プログラムの実行に必要な情報を格納する。メモリ41に格納されるプログラム及び情報については後述する。 The memory 41 stores a program executed by the CPU 40 and information necessary for executing the program. The program and information stored in the memory 41 will be described later.
 I/F42は、外部装置との間のデータ通信を制御する。補助記憶装置43は、大容量の記憶領域を提供する装置である。補助記憶装置43は、例えば、HDD及びSSD等が考えられる。 The I / F 42 controls data communication with an external device. The auxiliary storage device 43 is a device that provides a large-capacity storage area. As the auxiliary storage device 43, for example, an HDD and an SSD can be considered.
 ここで、メモリ41に格納されるプログラム及び情報について説明する。本実施例では、メモリ11は、データ管理部401及びデータ提供部402を実現するためのプログラムを格納する。 Here, the program and information stored in the memory 41 will be described. In this embodiment, the memory 11 stores programs for realizing the data management unit 401 and the data providing unit 402.
 データ管理部401は、データソース4内で生成され、保持されるデータを管理する。具体的には、ファイルシステム機能又はデータベース機能を提供し、当該機能を利用できるように制御する。 The data management unit 401 manages data generated and held in the data source 4. Specifically, a file system function or a database function is provided, and control is performed so that the function can be used.
 データ提供部402は、データ管理部401によって管理される各種データを、データソース4の外部に提供する。本実施例では、データソース4に格納されるデータをファイルとしてフロントエンドファイルサーバ1に格納する処理、又はフロントエンドファイルサーバ1等からの要求に応じて、当該ファイルを提供する処理を実行する。 The data providing unit 402 provides various data managed by the data management unit 401 to the outside of the data source 4. In the present embodiment, processing for storing data stored in the data source 4 as a file in the front-end file server 1 or processing for providing the file is executed in response to a request from the front-end file server 1 or the like.
 なお、データソース4は、汎用的な計算機以外の装置で実現してもよい。例えば、動画を録画するカメラ装置に、当該録画データを管理する機能を組み込まれた装置等が考えられる。 Note that the data source 4 may be realized by a device other than a general-purpose computer. For example, an apparatus in which a function for managing the recording data is incorporated into a camera apparatus that records a moving image can be considered.
 次に、クライアント5について説明する。 Next, the client 5 will be described.
 クライアント5は、汎用的な計算機が用いられ、CPU50、メモリ51、I/F52及び補助記憶装置53を有する。 The client 5 is a general-purpose computer and includes a CPU 50, a memory 51, an I / F 52, and an auxiliary storage device 53.
 CPU50は、メモリ51に格納されるプログラムを実行する。CPU50がプログラムを実行することによって、クライアント5が有する機能を実現できる。なお、以下の説明では、プログラムを主語に処理を記載する場合には、CPU50が当該プログラムを実行していることを示す。 CPU 50 executes a program stored in memory 51. The functions of the client 5 can be realized by the CPU 50 executing the program. In the following description, when a process is described with a program as a subject, it indicates that the CPU 50 is executing the program.
 メモリ51は、CPU50が実行するプログラム及び当該プログラムの実行に必要な情報を格納する。メモリ51に格納されるプログラム及び情報については後述する。 The memory 51 stores a program executed by the CPU 50 and information necessary for executing the program. The program and information stored in the memory 51 will be described later.
 I/F52は、外部装置との間のデータ通信を制御する。補助記憶装置53は、大容量の記憶領域を提供する装置である。補助記憶装置53は、例えば、HDD及びSSD等が考えられる。 The I / F 52 controls data communication with an external device. The auxiliary storage device 53 is a device that provides a large-capacity storage area. As the auxiliary storage device 53, for example, an HDD and an SSD can be considered.
 ここで、メモリ51に格納されるプログラム及び情報について説明する。本実施例では、メモリ51は、ファイル管理部501、ファイルアクセスクライアント制御部502及びファイル共有管理部503を実現するためのプログラムを格納する。 Here, the program and information stored in the memory 51 will be described. In this embodiment, the memory 51 stores programs for realizing the file management unit 501, the file access client control unit 502, and the file share management unit 503.
 ファイル管理部201は、フロントエンドファイルサーバ1が有するファイル管理部100と同一であるため、説明を省略する。 Since the file management unit 201 is the same as the file management unit 100 included in the front-end file server 1, description thereof is omitted.
 ファイルアクセスクライアント制御部502は、ユーザ等から入力されたファイルアクセス要求に基づいて、フロントエンドファイルサーバ1に対してファイルアクセス要求を送信し、取得されたファイルを要求元に提供する。本実施例では、ファイルアクセスクライアント制御部502は、実データファイル180及びメタデータファイル181を取得する。なお、ファイルアクセス要求の送信先は、フロントエンドファイルサーバ1に限定されず、バックエンドファイルサーバ2に対してアクセス要求が送信されてもよい。 The file access client control unit 502 transmits a file access request to the front-end file server 1 based on the file access request input from the user or the like, and provides the acquired file to the request source. In the present embodiment, the file access client control unit 502 acquires the actual data file 180 and the metadata file 181. The transmission destination of the file access request is not limited to the front end file server 1, and the access request may be transmitted to the back end file server 2.
 ファイル共有管理部503は、クライアント5から各ファイルサーバによって共有されるファイルにアクセスするために用いられるファイル共有機能を提供する。 The file sharing management unit 503 provides a file sharing function used for accessing a file shared by each file server from the client 5.
 図3は、本発明の実施例1における階層ストレージ構成管理表150の構成例を示す説明図である。 FIG. 3 is an explanatory diagram illustrating a configuration example of the hierarchical storage configuration management table 150 according to the first embodiment of this invention.
 階層ストレージ構成管理表150は、階層ストレージを構成するファイルサーバの構成に関する情報を管理する。本実施例では、フロントエンドファイルサーバ1及びバックエンドファイルサーバ2に関する情報が格納される。具体的には、階層ストレージ構成管理表150は、階層名1501、ストレージ識別情報1502、メディア種別情報1503及びアクセスプロトコル1504を含む。なお、階層ストレージ構成管理表150に含まれるカラムは、前述したものに限定されない。 The hierarchical storage configuration management table 150 manages information related to the configuration of the file server that configures the hierarchical storage. In this embodiment, information about the front-end file server 1 and the back-end file server 2 is stored. Specifically, the tier storage configuration management table 150 includes a tier name 1501, storage identification information 1502, media type information 1503, and access protocol 1504. The columns included in the hierarchical storage configuration management table 150 are not limited to those described above.
 階層名1501は、階層ストレージにおけるファイルサーバの管理階層を示す情報を格納する。例えば、フロントエンドファイルサーバ1に対応するレコードには「Tier0」が格納され、バックエンドファイルサーバA(2-1)に対応するレコードには「Tier1」が格納される。 The tier name 1501 stores information indicating the management tier of the file server in the tier storage. For example, “Tier0” is stored in the record corresponding to the front-end file server 1, and “Tier1” is stored in the record corresponding to the back-end file server A (2-1).
 ストレージ識別情報1502は、ファイルサーバの識別情報を格納する。例えば、ストレージ識別情報1502には、ファイルサーバのIPアドレス又はホスト名等が格納される。 Storage identification information 1502 stores file server identification information. For example, the storage identification information 1502 stores the IP address or host name of the file server.
 メディア種別情報1503は、ファイルサーバがデータを格納するために用いる記録媒体の種別を示す情報を格納する。例えば、「SSD」、「HDD」又は「磁気テープ」等の情報が格納される。 The media type information 1503 stores information indicating the type of recording medium used by the file server for storing data. For example, information such as “SSD”, “HDD”, or “magnetic tape” is stored.
 なお、メディア種別情報1503には、より詳細な情報が格納されてもよい。例えば、HDDにデータが格納される場合、シリアル番号、SAS若しくはSATA等のストレージインタフェースに関する情報、又はベンダ名等が格納されてもよい。また、テープ装置にデータが格納される場合、テープカートリッジの識別情報、及び装置ベンダ名等が格納されてもよい。 Note that the media type information 1503 may store more detailed information. For example, when data is stored in the HDD, information regarding a storage interface such as a serial number, SAS or SATA, or a vendor name may be stored. When data is stored in the tape device, tape cartridge identification information, device vendor name, and the like may be stored.
 アクセスプロトコル1504は、ファイルサーバに対してアクセス要求を出力する場合に用いられるアクセスプロトコルに関する情報を格納する。例えば、HTTP(Hyper Text Transfer Protocol)、NFS(Network File System)、又はLTFS(Linear Tape File System)等の識別情報が格納される。 The access protocol 1504 stores information related to the access protocol used when outputting an access request to the file server. For example, identification information such as HTTP (Hyper Text Transfer Protocol), NFS (Network File System), or LTFS (Linear Tape File System) is stored.
 なお、アクセスプロトコル1504には、より詳細な情報が格納されてもよい。例えば、ファイルサーバへのアクセス時に認証処理が必要な場合、当該認証処理における認証方法を識別するための情報が格納されてもよい。 Note that the access protocol 1504 may store more detailed information. For example, when an authentication process is required when accessing the file server, information for identifying an authentication method in the authentication process may be stored.
 なお、データソース4にもファイルが格納されるため、階層ストレージ構成管理表150にはデータソース4に関する情報も格納される。この場合、階層名1501には「Data Source」が格納される。 Note that since the file is also stored in the data source 4, information related to the data source 4 is also stored in the hierarchical storage configuration management table 150. In this case, “Data Source” is stored in the hierarchy name 1501.
 図4は、本発明の実施例1における移動条件管理表151の構成例を示す説明図である。 FIG. 4 is an explanatory diagram illustrating a configuration example of the movement condition management table 151 according to the first embodiment of this invention.
 移動条件管理表151は、移動候補ファイルの選択条件及び移動候補ファイルに対するアクションを関連付けて管理する。具体的には、移動条件管理表151は、条件管理番号1511、判定順番1512、条件1513及びアクション1514を含む。なお、移動条件管理表151に含まれるカラムは、前述したものに限定されない。 The movement condition management table 151 manages the selection condition of the movement candidate file and the action for the movement candidate file in association with each other. Specifically, the movement condition management table 151 includes a condition management number 1511, a determination order 1512, a condition 1513, and an action 1514. The columns included in the movement condition management table 151 are not limited to those described above.
 条件管理番号1511は、移行候補のファイルを選択するためのアルゴリズムを管理するための番号を格納する。条件管理番号1511に同一の番号が格納されるレコードは、同一のアルゴリズムであることを示す。また、条件管理番号1511に異なる番号が格納される場合、異なるアルゴリズムであることを示す。前述したように、本実施例では、複数のアルゴリズムを登録することができる。 The condition management number 1511 stores a number for managing an algorithm for selecting a migration candidate file. Records having the same number stored in the condition management number 1511 indicate the same algorithm. Further, when a different number is stored in the condition management number 1511, it indicates a different algorithm. As described above, in this embodiment, a plurality of algorithms can be registered.
 判定順番1512は、同一アルゴリズム内における判定の順番を格納する。本実施例では、判定部132は判定順番1512の値の昇順に条件を判定する。 The determination order 1512 stores the determination order in the same algorithm. In this embodiment, the determination unit 132 determines the conditions in ascending order of the determination order 1512 values.
 条件1513は、判定用の条件式を格納する。本実施例では、後述する稼働管理表153から取得される情報を用いることによって判定可能な条件式が格納される。また、条件1513には、AND条件又はOR条件を用いて複数の条件式を組み合わせた条件式が格納されてもよい。なお、稼働管理表153に含まれない情報を用いた条件式が格納されてもよい。  The condition 1513 stores a conditional expression for determination. In this embodiment, a conditional expression that can be determined by using information acquired from an operation management table 153 described later is stored. The condition 1513 may store a conditional expression obtained by combining a plurality of conditional expressions using an AND condition or an OR condition. A conditional expression using information not included in the operation management table 153 may be stored.
 アクション1514は、条件1513に合致した場合に実行される処理の内容を格納する。具体的には、実データファイル180の移動先又はメタデータファイル181の移動先に関する情報等を設定できるようにする。また、以下のようにシステム状態を考慮した処理内容を格納することもできる。 The action 1514 stores the content of the process executed when the condition 1513 is met. Specifically, information about the movement destination of the actual data file 180 or the movement destination of the metadata file 181 can be set. In addition, the processing contents considering the system state can be stored as follows.
 データ受付バッファ160の残容量が少なくなった場合に備え以下のような処理内容を格納する。 The following processing contents are stored in case the remaining capacity of the data reception buffer 160 decreases.
 データ受付バッファ160に格納されるデータに対し、フィルタリング処理を実行し、その後、メタデータ抽出処理を実行する。 The filtering process is executed on the data stored in the data reception buffer 160, and then the metadata extraction process is executed.
 前述した処理が実行されることによって、ログファイル及び動画ファイルに追加データが格納されるケース等、メタデータ抽出処理を実行する契機が明確でない場合においても、所定の条件になった時に、強制的に実データをファイルとして抽出し、メタデータ抽出処理を実行することができる。 Even if the trigger for executing the metadata extraction process is not clear, such as when additional data is stored in the log file and movie file by executing the process described above, it is compulsory when the specified conditions are met. The actual data can be extracted as a file and the metadata extraction process can be executed.
 フロントエンドファイルサーバ1の記憶容量に余裕がない場合に備えて以下のような処理内容を格納する。 The following processing contents are stored in case the storage capacity of the front-end file server 1 is not enough.
 実データファイル180を下位階層のストレージに移動、又は削除する処理を実行する。また、移動処理又は削除処理が実行された後、フロントエンドファイルサーバ1の記憶容量に余裕がある場合、移動された実データファイル180をフロントエンドファイルサーバ1に移動する処理、削除された実データファイル180をデータソース4から取得する処理を実行する。具体的には、条件1513に「"HDD使用率"<30%」という条件を格納し、アクション1514に「"実データ移動先"に"フロントエンドファイルサーバ"を設定する」という処理内容のレコードを移動条件管理表151に登録すればよい。 Execute the process to move or delete the actual data file 180 to the lower tier storage. In addition, when the storage capacity of the front-end file server 1 is sufficient after the move process or the delete process is executed, the process of moving the moved real data file 180 to the front-end file server 1 or the deleted real data A process of acquiring the file 180 from the data source 4 is executed. Specifically, the condition 1513 stores the condition “HDD usage rate” <30% ”, and the action 1514 records the processing content“ set “front-end file server” as “actual data transfer destination” ”. May be registered in the movement condition management table 151.
 また、フロントエンドファイルサーバ1の記憶容量に余裕がない場合に以下のような処理内容を登録する。 Also, if the storage capacity of the front-end file server 1 is not sufficient, the following processing contents are registered.
 データ格納領域170における、HDDの総容量に対する実データファイル180の占めるサイズが所定のしきい値より大きい場合、実データファイル180をメタデータファイル181の転送先とは異なるファイルサーバに転送する。 When the size occupied by the actual data file 180 with respect to the total capacity of the HDD in the data storage area 170 is larger than a predetermined threshold, the actual data file 180 is transferred to a file server different from the transfer destination of the metadata file 181.
 具体的には、条件1513に「"HDD使用率"≧80% AND "実データファイル合計サイズ比率"≧75%」という条件を格納し、アクション1514に「"メタデータ転送先"に"バックエンドファイルサーバA"を設定する。」、及び、「"実データ転送先"に"バックエンドファイルサーバB"を設定する。」という処理内容のレコードを移動条件管理表151に登録すればよい。 Specifically, the condition 1513 “HDD usage rate” ≧ 80% AND “actual data file total size ratio” ≧ 75% ”is stored, and action 1514 is“ backend to “metadata transfer destination”. It is only necessary to register in the migration condition management table 151 the processing contents of “setting file server A” and “setting“ back-end file server B ”as“ actual data transfer destination ””.
 前述した処理は、データ格納領域170に格納されるメタデータファイル181を格納するための記憶領域を早急に確保するための処理である。 The above-described process is a process for quickly securing a storage area for storing the metadata file 181 stored in the data storage area 170.
 ここで、「実データファイル合計サイズ比率」は、HDDの総容量に対する、データ格納領域170に格納される全実データファイル180の合計サイズの比率を示す。例えば、HDDの総容量が10GBで、実データファイル180の合計サイズが8GBであった場合、実データファイル合計サイズ比率は80%となる。 Here, “actual data file total size ratio” indicates the ratio of the total size of all actual data files 180 stored in the data storage area 170 to the total capacity of the HDD. For example, if the total capacity of the HDD is 10 GB and the total size of the actual data files 180 is 8 GB, the actual data file total size ratio is 80%.
 なお、実データファイル合計サイズ比率を算出するために、実データファイル180の合計サイズが管理情報として管理されてもよい。本実施例は、後述するように稼働管理表153には実データファイル合計サイズ1533が含まれる。 In addition, in order to calculate the actual data file total size ratio, the total size of the actual data file 180 may be managed as management information. In this embodiment, as will be described later, the operation management table 153 includes the actual data file total size 1533.
 図5は、本発明の実施例1におけるファイル対応管理表152の構成例を示す説明図である。 FIG. 5 is an explanatory diagram showing a configuration example of the file correspondence management table 152 according to the first embodiment of the present invention.
 ファイル対応管理表152は、データ格納領域170に格納される実データファイル180とメタデータファイル181との対応関係を管理する。具体的には、ファイル対応管理表152は、実データファイル名1521、メタデータファイル名1522、実データファイル最終更新日時1523、及びメタデータファイル最終更新日時1524を含む。なお、ファイル対応管理表152に含まれるカラムは、前述したものに限定されない。 The file correspondence management table 152 manages the correspondence between the actual data file 180 stored in the data storage area 170 and the metadata file 181. Specifically, the file correspondence management table 152 includes an actual data file name 1521, a metadata file name 1522, an actual data file last update date / time 1523, and a metadata file last update date / time 1524. The columns included in the file correspondence management table 152 are not limited to those described above.
 実データファイル名1521は、実データファイル180のファイル名を格納する。実データファイル名1521には、実データファイル180がフロントエンドファイルサーバ1に格納される時のファイル名が格納される。 The actual data file name 1521 stores the file name of the actual data file 180. The actual data file name 1521 stores the file name when the actual data file 180 is stored in the front end file server 1.
 メタデータファイル名1522は、メタデータファイル181のファイル名を格納する。メタデータファイル名1522には、メタデータファイル181の生成時に当該メタデータファイル181に付与されるファイル名が格納される。ここで、メタデータ生成部120によって付与されるメタデータファイル181のファイル名は、所定の規則に基づいて変換されるようにする。なお、ファイル名の変換規則は、システム管理者等が登録できるようにしてもよい。 The metadata file name 1522 stores the file name of the metadata file 181. The metadata file name 1522 stores a file name given to the metadata file 181 when the metadata file 181 is generated. Here, the file name of the metadata file 181 given by the metadata generation unit 120 is converted based on a predetermined rule. The file name conversion rule may be registered by a system administrator or the like.
 実データファイル最終更新日時1523は、実データファイル180のファイル属性として保持される最終更新日時を格納する。メタデータファイル最終更新日時1524も同様に、メタデータファイル181のファイル属性として保持される最終更新日時を格納する。 The actual data file last update date and time 1523 stores the last update date and time held as the file attribute of the actual data file 180. Similarly, the metadata file last update date and time 1524 stores the last update date and time held as the file attribute of the metadata file 181.
 ここで、メタデータファイル最終更新日時1524に格納される日時は、メタデータ生成部120が実データファイル180からメタデータを抽出し、抽出されたメタデータからメタデータファイル181を生成した日時である。 Here, the date and time stored in the metadata file last update date and time 1524 is the date and time when the metadata generation unit 120 extracts the metadata from the actual data file 180 and generates the metadata file 181 from the extracted metadata. .
 図6は、本発明の実施例1における稼働管理表153の構成例を示す説明図である。 FIG. 6 is an explanatory diagram illustrating a configuration example of the operation management table 153 according to the first embodiment of this invention.
 稼働管理表153は、フロントエンドファイルサーバ1における各構成の稼働状態を示す情報を管理する。稼働状態を示す情報は、周期的に又は必要になった時に収集され、収集された情報が稼働管理表153に格納される。 The operation management table 153 manages information indicating the operation state of each component in the front-end file server 1. Information indicating the operating state is collected periodically or when necessary, and the collected information is stored in the operation management table 153.
 稼働管理表153は、記憶領域使用率1531、記憶領域総容量1532、実データファイル合計サイズ1533、メタデータファイル合計サイズ1534、データ受付バッファメモリ使用サイズ1535、及び最終更新日時1536を含む。 The operation management table 153 includes a storage area usage rate 1531, a storage area total capacity 1532, a real data file total size 1533, a metadata file total size 1534, a data reception buffer memory usage size 1535, and a last update date 1536.
 記憶領域使用率1531は、データ格納領域170として使用される記憶媒体の使用率の値を格納する。記憶領域使用率1531に格納される値は、データ格納領域170に格納される全ファイルのサイズを、データ格納領域170のサイズで除算することによって算出される。 The storage area usage rate 1531 stores the usage rate value of the storage medium used as the data storage area 170. The value stored in the storage area usage rate 1531 is calculated by dividing the size of all files stored in the data storage area 170 by the size of the data storage area 170.
 記憶領域総容量1532は、データ格納領域170として使用される記憶媒体の全体のサイズを示す値を格納する。 The storage area total capacity 1532 stores a value indicating the overall size of the storage medium used as the data storage area 170.
 実データファイル合計サイズ1533は、データ格納領域170に格納される全実データファイル180のサイズの合計値を格納する。メタデータファイル合計サイズ1534は、データ格納領域170に格納される全メタデータファイル181のサイズの合計値を格納する。 The real data file total size 1533 stores the total size of all real data files 180 stored in the data storage area 170. The metadata file total size 1534 stores the total size of all metadata files 181 stored in the data storage area 170.
 記憶領域総容量1532、実データファイル合計サイズ1533及びメタデータファイル合計サイズ1534を用いることによって、データ格納領域170に格納される全ファイルに対する実データファイル180の割合、又はメタデータファイル181の割合を算出することができる。 By using the total storage area capacity 1532, the actual data file total size 1533, and the metadata file total size 1534, the ratio of the actual data file 180 or the ratio of the metadata file 181 to all the files stored in the data storage area 170 can be determined. Can be calculated.
 データ受付バッファメモリ使用サイズ1535は、データ受付バッファ160に格納される全実データファイル180のサイズの合計値を格納する。データ受付バッファ160に格納される実データファイル180は、所定の処理が実行された後、データ格納領域170に格納されるため、データ格納領域170の稼働状況を把握するために有益な情報の一つになる。 The data reception buffer memory use size 1535 stores the total size of all actual data files 180 stored in the data reception buffer 160. Since the actual data file 180 stored in the data reception buffer 160 is stored in the data storage area 170 after a predetermined process is executed, it is useful information for grasping the operation status of the data storage area 170. Become one.
 最終更新日時1536は、レコードが登録され日時、又はレコードの値が最後に更新された日時を格納する。 The last update date / time 1536 stores the date / time when the record was registered or the value of the record was last updated.
 なお、稼働管理表153に含まれるカラムは、前述したものに限定されない。例えば、CPU使用率、ネットワークの性能(スループット又はレスポンスタイム)、HDDのI/O性能(スループット又はレスポンスタイム)、キャッシュのヒット率等が管理されてもよい。 Note that the columns included in the operation management table 153 are not limited to those described above. For example, the CPU usage rate, network performance (throughput or response time), HDD I / O performance (throughput or response time), cache hit rate, and the like may be managed.
 また、フロントエンドファイルサーバ1は、稼働管理表153そのものを保持する必要はなく、所定のタイミングで各情報を個別に取得してもよい。例えば、記憶領域使用率1531については、フロントエンドファイルサーバ1が、情報を取得するためのコマンド等を周期的に実行するのではなく、必要な時に当該コマンドを実行し、情報を取得するようにしてもよい。 Further, the front-end file server 1 does not need to hold the operation management table 153 itself, and may acquire each information individually at a predetermined timing. For example, regarding the storage area usage rate 1531, the front-end file server 1 does not periodically execute a command for acquiring information, but executes the command when necessary to acquire information. May be.
 図7は、本発明の実施例1における格納ファイル管理表154の構成例を示す説明図である。 FIG. 7 is an explanatory diagram illustrating a configuration example of the storage file management table 154 according to the first embodiment of this invention.
 格納ファイル管理表154は、階層ストレージを構成するファイルサーバに格納されるファイルに関する情報を管理する。具体的には、格納ファイル管理表154は、ファイル名1541、ファイル格納階層1542、ファイルパス1543、及び最終更新日時1544を含む。なお、格納ファイル管理表154に含まれるカラムは、前述したものに限定されない。 The stored file management table 154 manages information related to files stored in the file server constituting the hierarchical storage. Specifically, the storage file management table 154 includes a file name 1541, a file storage hierarchy 1542, a file path 1543, and a last update date / time 1544. The columns included in the storage file management table 154 are not limited to those described above.
 ファイル名1541は、階層ストレージに格納されるファイルのアクセスパス名を格納する。アクセスパス名は、階層ストレージに格納されるファイルにアクセスする場合に用いられる。例えば、ユーザは、階層ストレージに格納されるファイルへのアクセスを要求する場合、ファイル名1541に格納されるアクセスパス名を利用する。 The file name 1541 stores the access path name of the file stored in the tiered storage. The access path name is used when accessing a file stored in the hierarchical storage. For example, when the user requests access to a file stored in the tiered storage, the access path name stored in the file name 1541 is used.
 ファイル格納階層1542は、ファイルが実際に格納されるファイルサーバの識別情報を格納する。本実施例では、ファイル格納階層1542に格納される情報は、階層ストレージ構成管理表150の階層名1501と同一の情報である。 The file storage hierarchy 1542 stores the identification information of the file server where the file is actually stored. In this embodiment, the information stored in the file storage tier 1542 is the same information as the tier name 1501 in the tier storage configuration management table 150.
 なお、ファイルが複数のファイルサーバに格納される場合、ファイル格納階層1542には、ファイルを格納する各ファイルサーバの識別情報が格納されるようにしてもよい。 When a file is stored in a plurality of file servers, the file storage hierarchy 1542 may store identification information of each file server that stores the file.
 なお、実データファイル180が階層ストレージから削除された場合、当該実データファイル180に対応するレコードのファイル格納階層1542には、当該実データファイルの生成元であるデータソース4の識別情報が格納される。ファイル格納階層1542にデータソース4の識別情報が格納される場合、フロントエンドファイルサーバ1は、当該データソース4に対して、実データファイルの取得要求を送信し、取得された実データファイルを要求元に提供する。 When the actual data file 180 is deleted from the tiered storage, the identification information of the data source 4 that is the generation source of the actual data file is stored in the file storage hierarchy 1542 of the record corresponding to the actual data file 180. The When the identification information of the data source 4 is stored in the file storage hierarchy 1542, the front-end file server 1 transmits an acquisition request for the actual data file to the data source 4, and requests the acquired actual data file. Provide to the original.
 ファイルパス1543は、ファイルサーバ内におけるファイルのパス名を格納する。なお、ファイルが複数のファイルサーバに格納される場合、ファイルパス1543には、ファイルを格納する各ファイルサーバのパス名が格納されてもよい。また、ファイルがデータソース4等の外部装置に格納される場合、当該装置におけるパス名が格納されてもよい。 The file path 1543 stores the path name of the file in the file server. When the file is stored in a plurality of file servers, the file path 1543 may store the path name of each file server that stores the file. When the file is stored in an external device such as the data source 4, the path name in the device may be stored.
 最終更新日時1544は、レコードが登録された日時、又は、レコードの値が最後に更新された日時を格納する。 The last update date / time 1544 stores the date / time when the record was registered or the date / time when the value of the record was last updated.
 フロントエンドファイルサーバ1は、ファイルアクセス要求を受けた場合、格納ファイル管理表154に基づいて、ファイルアクセス要求を転送するファイルサーバを特定することができる。 When the front-end file server 1 receives the file access request, the front-end file server 1 can specify the file server to which the file access request is transferred based on the stored file management table 154.
 図8は、本発明の実施例1におけるファイル移動管理表155の構成例を示す説明図である。 FIG. 8 is an explanatory diagram illustrating a configuration example of the file movement management table 155 according to the first embodiment of this invention.
 ファイル移動管理表155は、ファイル移動制御部130によって抽出された移動候補ファイル、及び移動処理の進捗状態を管理する。具体的には、ファイル移動管理表155は、実データファイル名1551、メタデータファイル名1552、実データファイル移動状態1553、メタデータファイル移動状態1554、実データファイル移動先1555、メタデータファイル移動先1556、及び最終更新日時1557を含む。なお、格納ファイル管理表154に含まれるカラムは、前述したものに限定されない。 The file movement management table 155 manages the movement candidate files extracted by the file movement control unit 130 and the progress status of the movement process. Specifically, the file move management table 155 includes an actual data file name 1551, a metadata file name 1552, an actual data file move state 1553, a metadata file move state 1554, an actual data file move destination 1555, and a metadata file move destination. 1556 and last update date and time 1557. The columns included in the storage file management table 154 are not limited to those described above.
 実データファイル名1551は、移動候補の実データファイル180のアクセスパス名を格納する。実データファイル名1551に格納される情報は、ファイル対応管理表152の実データファイル名1521と同一のものであってもよい。 The real data file name 1551 stores the access path name of the migration candidate real data file 180. The information stored in the actual data file name 1551 may be the same as the actual data file name 1521 in the file correspondence management table 152.
 メタデータファイル名1552は、移動候補のメタデータファイル181のアクセスパス名を格納する。メタデータファイル名1552に格納される情報は、ファイル対応管理表152のメタデータファイル名1522と同一のものであってもよい。 The metadata file name 1552 stores the access path name of the migration candidate metadata file 181. The information stored in the metadata file name 1552 may be the same as the metadata file name 1522 of the file correspondence management table 152.
 実データファイル移動状態1553は、移動候補の実データファイル180の移動処理の進捗状態を示す情報を格納する。例えば、実データファイル移動状態1553は「未移動」が格納される場合、実データファイル180が移動されていないことを示し、実データファイル移動状態1553に「移動済」が格納される場合、実データファイル180が格納されたことを示す。 The real data file movement status 1553 stores information indicating the progress status of the migration processing of the migration candidate real data file 180. For example, when “not moved” is stored in the actual data file movement state 1553, this indicates that the actual data file 180 has not been moved, and when “moved” is stored in the actual data file movement state 1553, Indicates that the data file 180 has been stored.
 メタデータファイル移動状態1554は、移動候補のメタデータファイル181の移動処理の進捗状態を示す情報を格納する。メタデータファイル移動状態1554に格納される情報は、実データファイル移動状態1553に格納されるものと同一である。 The metadata file movement status 1554 stores information indicating the progress status of the migration processing of the migration candidate metadata file 181. The information stored in the metadata file move state 1554 is the same as that stored in the actual data file move state 1553.
 実データファイル移動先1555は、移動候補の実データファイル180の移動先となるファイルサーバの識別情報を格納する。実データファイル移動先1555に格納される情報は、階層ストレージ構成管理表150の階層名1501と同一の情報であってもよい。 The real data file migration destination 1555 stores identification information of the file server that is the migration destination of the migration candidate real data file 180. The information stored in the actual data file migration destination 1555 may be the same information as the tier name 1501 of the tier storage configuration management table 150.
 メタデータファイル移動先1556は、移動候補のメタデータファイル181の移動先となるファイルサーバの識別情報を格納する。メタデータファイル移動先1556に格納される情報は、階層ストレージ構成管理表150の階層名1501と同一の情報であってもよい。 The metadata file migration destination 1556 stores identification information of the file server that is the migration destination of the migration candidate metadata file 181. The information stored in the metadata file migration destination 1556 may be the same information as the tier name 1501 of the tier storage configuration management table 150.
 最終更新日時1557は、レコードが登録された日時、又は、レコードの値が最後に更新された日時を格納する。 The last update date and time 1557 stores the date and time when the record was registered or the date and time when the value of the record was last updated.
 図8に示すように、実データファイル名1551とメタデータファイル名1552とを一つのレコードとして関連付けて管理することによって、移動候補ファイルを移動する場合に、実データファイル180及びメタデータファイル181を関連付けることができる。 As shown in FIG. 8, by managing the actual data file name 1551 and the metadata file name 1552 in association with each other as one record, when moving the migration candidate file, the actual data file 180 and the metadata file 181 are changed. Can be associated.
 また、メタデータファイル181のみが移動候補ファイルである場合、当該メタデータファイル181と関連付けられる実データファイル180は移動する必要がないため、実データファイル移動状態1553、及び実データファイル移動先1555には、「Null」の値を格納する。これによって、実データファイル180が移動候補でないことが分かる。 If only the metadata file 181 is a migration candidate file, the actual data file 180 associated with the metadata file 181 does not need to be migrated, so the actual data file migration state 1553 and the actual data file migration destination 1555 are displayed. Stores the value of “Null”. Thus, it can be seen that the actual data file 180 is not a movement candidate.
 また、実データファイル移動状態1553及びメタデータファイル移動状態1554が共に「移動済」となったレコードは、適宜削除されてもよい。 In addition, a record in which both the actual data file movement state 1553 and the metadata file movement state 1554 are “moved” may be deleted as appropriate.
 図9は、本発明の実施例1におけるバックエンド格納ファイル管理表250の構成例を示す説明図である。 FIG. 9 is an explanatory diagram illustrating a configuration example of the back-end storage file management table 250 according to the first embodiment of this invention.
 バックエンド格納ファイル管理表250は、階層ストレージにおいて、フロントエンドファイルサーバ1からバックエンドファイルサーバ2に移動したファイルを管理する。具体的には、バックエンド格納ファイル管理表250は、ファイルパス2501、メタデータファイル格納階層2502、実データファイル格納階層2503、メタデータファイル最終更新日時2504、及び実データファイル最終更新日時2505を含む。なお、バックエンド格納ファイル管理表250に含まれるカラムは、前述したものに限定されない。 The backend storage file management table 250 manages files moved from the frontend file server 1 to the backend file server 2 in the hierarchical storage. Specifically, the back-end storage file management table 250 includes a file path 2501, a metadata file storage hierarchy 2502, an actual data file storage hierarchy 2503, a metadata file last update date and time 2504, and an actual data file last update date and time 2505. . The columns included in the back-end storage file management table 250 are not limited to those described above.
 ファイルパス2501は、バックエンドファイルサーバ2に移動したファイルを特定するための識別情報を格納する。ファイルパス2501には、階層ストレージにおいて一意に識別可能なファイルパスが格納される。例えば、ファイルパス1543と同一の情報が格納される。 The file path 2501 stores identification information for specifying the file moved to the back-end file server 2. The file path 2501 stores a file path that can be uniquely identified in the hierarchical storage. For example, the same information as the file path 1543 is stored.
 メタデータファイル格納階層2502は、メタデータファイルが格納されるファイルサーバを特定するための情報を格納する。 The metadata file storage hierarchy 2502 stores information for specifying a file server in which the metadata file is stored.
 本実施例では、バックエンドファイルサーバ2自身に格納されるメタデータファイル181の場合、メタデータファイル格納階層2502には「Local」が格納される。他のファイルサーバに格納されるメタデータファイル181の場合、メタデータファイル格納階層2502にはファイルサーバの管理階層を示す情報が格納される。例えば、階層名1501と同一の情報が格納される。 In this embodiment, in the case of the metadata file 181 stored in the back-end file server 2 itself, “Local” is stored in the metadata file storage hierarchy 2502. In the case of the metadata file 181 stored in another file server, the metadata file storage hierarchy 2502 stores information indicating the management hierarchy of the file server. For example, the same information as the hierarchy name 1501 is stored.
 実データファイル格納階層2503は、実データファイルが格納されるファイルサーバを特定するための情報を格納する。具体的には、メタデータファイル格納階層2502と同一の情報が格納される。 The actual data file storage hierarchy 2503 stores information for specifying a file server in which the actual data file is stored. Specifically, the same information as the metadata file storage hierarchy 2502 is stored.
 メタデータファイル最終更新日時2504は、当該レコードのメタデータファイル格納階層2502に新たに値が格納され、又は、値が更新された日時を格納する。 The metadata file last update date and time 2504 stores a new value in the metadata file storage hierarchy 2502 of the record or the date and time when the value was updated.
 実データファイル最終更新日時2505は、当該レコードの実データファイル格納階層2503に新たに値が格納され、又は、値が更新された日時を格納する。 The actual data file last update date and time 2505 stores a new value in the actual data file storage hierarchy 2503 of the record or the date and time when the value was updated.
 バックエンドファイルサーバ2は、バックエンド格納ファイル管理表250を用いることによって、当該バックエンドファイルサーバ2にファイルが移動された後に、さらに当該ファイルに含まれる実データファイル180又はメタデータファイル181が他のバックエンドファイルサーバ2に移動された場合、実データファイル180又はメタデータファイル181の移動先を特定することできる。 The back-end file server 2 uses the back-end storage file management table 250, so that after the file is moved to the back-end file server 2, the actual data file 180 or the metadata file 181 included in the file is further stored. When the file is moved to the back-end file server 2, the movement destination of the actual data file 180 or the metadata file 181 can be specified.
 なお、バックエンド格納ファイル管理表250は必ずしも必要ではなく、フロントエンドファイルサーバ1が保持する格納ファイル管理表154のみを用いてファイルの格納場所を特定できるようにしてもよい。この場合、バックエンドファイルサーバ2間でファイルが移動される場合、バックエンドファイルサーバ2が、当該ファイルの移動先に関する情報をフロントエンドファイルサーバ1に通知する。フロントエンドファイルサーバ1は、通知された情報を格納ファイル管理表154に反映する。 Note that the back-end storage file management table 250 is not always necessary, and the storage location of the file may be specified using only the storage file management table 154 held by the front-end file server 1. In this case, when a file is moved between the back-end file servers 2, the back-end file server 2 notifies the front-end file server 1 of information regarding the movement destination of the file. The front-end file server 1 reflects the notified information on the storage file management table 154.
 以上が計算機システムの構成の説明である。 The above is the description of the configuration of the computer system.
 次に、計算機システムの処理の流れを説明する。以下の説明では、図10A及び図10Bを用いてメタデータ抽出処理を説明し、図11を用いて移動候補ファイルの選択処理を説明し、図12を用いてファイル移動処理を説明し、図13を用いてファイルアクセス処理を説明する。 Next, the processing flow of the computer system will be described. In the following description, the metadata extraction process will be described with reference to FIGS. 10A and 10B, the movement candidate file selection process will be described with reference to FIG. 11, the file movement process will be described with reference to FIG. The file access process will be described using
 はじめに、メタデータ抽出処理について説明する。 First, the metadata extraction process will be described.
 図10A及び図10Bは、本発明の実施例におけるメタデータ抽出処理を説明するフローチャートである。 10A and 10B are flowcharts for explaining the metadata extraction processing in the embodiment of the present invention.
 メタデータ抽出処理では、フロントエンドファイルサーバ1が、実データファイル180からメタデータを抽出し、抽出されたメタデータを用いてメタデータファイル181を生成する。さらに、フロントエンドファイルサーバ1は、生成されたメタデータファイル181をデータ格納領域170に格納する。また、フロントエンドファイルサーバ1は、稼働状態に応じて、実データファイル180をデータ格納領域170に格納するか否かを判定する。 In the metadata extraction process, the front-end file server 1 extracts metadata from the actual data file 180, and generates a metadata file 181 using the extracted metadata. Further, the front end file server 1 stores the generated metadata file 181 in the data storage area 170. Further, the front-end file server 1 determines whether to store the actual data file 180 in the data storage area 170 according to the operating state.
 メタデータ生成部120は、周期的、実データファイル180を受信した場合、又はシステム管理者等からの指示を受け付けた場合に、メタデータ抽出処理を開始する。 The metadata generation unit 120 starts the metadata extraction process periodically when the actual data file 180 is received or when an instruction from a system administrator or the like is received.
 メタデータ生成部120は、稼働管理表153、及び移動条件管理表151から情報を取得する(ステップS101)。 The metadata generation unit 120 acquires information from the operation management table 153 and the movement condition management table 151 (step S101).
 なお、メタデータ生成部120は、フロントエンドファイルサーバ1の稼働状態を把握するために、稼働管理表153から稼働情報を取得しているが、本発明はこれに限定されない。例えば、メタデータ生成部120は、フロントエンドファイルサーバ1によって用いられるファイルシステムが提供する管理用コマンド等を実行して、記憶領域の総容量、記憶領域の使用率、メモリの使用サイズ等の稼働情報を取得してもよい。 Note that the metadata generation unit 120 acquires the operation information from the operation management table 153 in order to grasp the operation state of the front-end file server 1, but the present invention is not limited to this. For example, the metadata generation unit 120 executes management commands and the like provided by the file system used by the front-end file server 1 to operate the total storage area capacity, the storage area usage rate, the memory usage size, and the like. Information may be acquired.
 メタデータ生成部120は、取得された情報に基づいて、移動条件管理表151の条件1513を満たすか否かを判定する(ステップS103)。具体的には、以下のような処理が実行される。 The metadata generation unit 120 determines whether or not the condition 1513 of the movement condition management table 151 is satisfied based on the acquired information (step S103). Specifically, the following processing is executed.
 メタデータ生成部120は、稼働管理表153から取得された稼働情報と移動条件管理表151の条件とを比較し、取得された稼働状態と一致する条件1513を検索する。このとき、メタデータ生成部120は、取得された稼働状態と一致す条件1513を全て検索する。 The metadata generation unit 120 compares the operation information acquired from the operation management table 153 with the conditions of the movement condition management table 151, and searches for a condition 1513 that matches the acquired operation state. At this time, the metadata generation unit 120 searches all the conditions 1513 that match the acquired operating state.
 このとき、メタデータ生成部120は、条件管理番号1511の昇順に処理を実行するものとする。また、一つの判定アルゴリズムに対して複数の判定項目が存在する場合、メタデータ生成部120は、さらに、判定順番1512の昇順に処理を実行する。 At this time, the metadata generation unit 120 executes processing in ascending order of the condition management number 1511. In addition, when there are a plurality of determination items for one determination algorithm, the metadata generation unit 120 further performs processing in ascending order of the determination order 1512.
 稼働状態と一致する条件1513が存在する場合、メタデータ生成部120は、移動条件管理表151の条件1513を満たすと判定する。 If there is a condition 1513 that matches the operating state, the metadata generation unit 120 determines that the condition 1513 of the movement condition management table 151 is satisfied.
 なお、メタデータ生成部120は、稼働条件と一致する条件1513に対応するレコードのアクション1514を参照し、実行する処理の処理内容を一時保持する。メタデータ生成部120は、メタデータ抽出処理が終了した後、保持される処理内容を削除してもよい。 Note that the metadata generation unit 120 refers to the action 1514 of the record corresponding to the condition 1513 that matches the operating condition, and temporarily holds the processing content of the process to be executed. The metadata generation unit 120 may delete the retained processing content after the metadata extraction processing is completed.
 以上がステップS103の処理の説明である。 The above is the description of the processing in step S103.
 条件1513を満たさないと判定された場合(ステップS103がNo)、メタデータ生成部120は、処理を終了するする。 If it is determined that the condition 1513 is not satisfied (No in step S103), the metadata generation unit 120 ends the process.
 条件1513を満たすと判定された場合(ステップS103がYes)、メタデータ生成部120は、データ格納領域170に格納されるファイルを移動するか否かを判定する(ステップS105)。 When it is determined that the condition 1513 is satisfied (step S103 is Yes), the metadata generation unit 120 determines whether to move the file stored in the data storage area 170 (step S105).
 具体的には、メタデータ生成部120は、一時的に保持される処理内容に、ファイル移動処理の実行を指示する処理内容が含まれるか否かを判定する。 Specifically, the metadata generation unit 120 determines whether or not the processing content that is temporarily stored includes processing content that instructs execution of the file move processing.
 データ格納領域170に格納されるファイルを移動しないと判定された場合(ステップS105がNo)、メタデータ生成部120は、ステップS109に進む。 If it is determined not to move the file stored in the data storage area 170 (No in step S105), the metadata generation unit 120 proceeds to step S109.
 データ格納領域170に格納されるファイルを移動すると判定された場合(ステップS105がYes)、メタデータ生成部120は、ファイル移動制御部130に移動候補ファイルの選択処理の実行を指示し(ステップS107)、ステップS109に進む。 When it is determined that the file stored in the data storage area 170 is to be moved (Yes in step S105), the metadata generation unit 120 instructs the file movement control unit 130 to execute the movement candidate file selection process (step S107). ), The process proceeds to step S109.
 このとき、メタデータ生成部120は、一時的に保持される処理内容の中から、ファイル移動処理に関連する処理内容を実行指示に含める。当該指示を受け付けたファイル移動制御部130は、後述する移動候補ファイルの選択処理を実行する。 At this time, the metadata generation unit 120 includes the processing content related to the file move processing from the temporarily stored processing content in the execution instruction. Receiving the instruction, the file movement control unit 130 executes a movement candidate file selection process described later.
 ステップS105又はステップS107の処理の実行後、メタデータ生成部120は、メタデータファイル181を生成するか否かを判定する(ステップS109)。 After execution of the process of step S105 or step S107, the metadata generation unit 120 determines whether to generate the metadata file 181 (step S109).
 具体的には、メタデータ生成部120は、一時的に保持される処理内容に、メタデータファイル181の生成を指示する処理内容が含まれるか否かを判定する。 Specifically, the metadata generation unit 120 determines whether or not the processing content that is temporarily stored includes processing content that instructs generation of the metadata file 181.
 メタデータを抽出しないと判定された場合(ステップS109がNo)、メタデータ生成部120は、処理を終了する。 If it is determined not to extract metadata (No in step S109), the metadata generation unit 120 ends the process.
 メタデータを抽出すると判定された場合(ステップS109がYes)、メタデータ生成部120は、データ受付バッファ160に格納される全ての実データファイル180に対して処理が完了したか否かを判定する(ステップS111)。 When it is determined that the metadata is to be extracted (Yes in step S109), the metadata generation unit 120 determines whether the processing has been completed for all the actual data files 180 stored in the data reception buffer 160. (Step S111).
 具体的には、メタデータ生成部120が実データ取得部121に実データファイル180の取得を指示し、実データファイル180が取得されたか否かを判定する。実データファイル180が取得されない場合、メタデータ生成部120は、データ受付バッファ160に格納される全ての実データファイル180に対して処理が完了したと判定する。 Specifically, the metadata generation unit 120 instructs the actual data acquisition unit 121 to acquire the actual data file 180, and determines whether or not the actual data file 180 has been acquired. When the actual data file 180 is not acquired, the metadata generation unit 120 determines that the processing has been completed for all the actual data files 180 stored in the data reception buffer 160.
 全ての実データファイル180に対して処理が完了したと判定された場合(ステップS111がYes)、メタデータ生成部120は処理を終了する。 If it is determined that the processing has been completed for all actual data files 180 (Yes in step S111), the metadata generation unit 120 ends the processing.
 全ての実データファイル180に対して処理が完了していないと判定された場合(ステップS111がNo)、メタデータ生成部120は、データ受付バッファ160から任意の実データファイル180を一つ選択する(ステップS113)。 When it is determined that the processing has not been completed for all the actual data files 180 (No in step S111), the metadata generation unit 120 selects one arbitrary actual data file 180 from the data reception buffer 160. (Step S113).
 具体的には、メタデータ生成部120は、実データ取得部121に、実データファイル180の選択を指示する。実データ取得部121は、当該指示を受け付けると、データ受付バッファ160から任意の実データファイル180を一つ選択する。 Specifically, the metadata generation unit 120 instructs the actual data acquisition unit 121 to select the actual data file 180. When receiving the instruction, the actual data acquisition unit 121 selects one arbitrary actual data file 180 from the data reception buffer 160.
 メタデータ生成部120は、選択された実データファイル180がクローズされているか否かを判定する(ステップS115)。 The metadata generation unit 120 determines whether or not the selected actual data file 180 is closed (step S115).
 具体的には、実データ取得部121が、フロントエンドファイルサーバ1が用いるファイルシステムにおいて、選択された実データファイル180がクローズ状態になっているか否かを判定する。ここで、クローズ状態とは、書き込みが要求されたデータが全てファイルに反映されている状態を示す。 Specifically, the actual data acquisition unit 121 determines whether or not the selected actual data file 180 is in a closed state in the file system used by the front-end file server 1. Here, the closed state indicates a state in which all data requested to be written are reflected in the file.
 選択された実データファイル180がクローズされていると判定された場合(ステップS115がYes)、メタデータ生成部120は、ステップS123に進む。 If it is determined that the selected actual data file 180 is closed (step S115 is Yes), the metadata generation unit 120 proceeds to step S123.
 選択された実データファイル180がクローズされていないと判定された場合(ステップS115がNo)、メタデータ生成部120は、選択された実データファイル180のサイズが所定のしきい値より大きいか否かを判定する(ステップS117)。 When it is determined that the selected actual data file 180 is not closed (No in step S115), the metadata generation unit 120 determines whether the size of the selected actual data file 180 is larger than a predetermined threshold value. Is determined (step S117).
 具体的には、実データ取得部121が、選択された実データファイル180のサイズが所定のしきい値より大きいか否かを判定する。なお、実データファイル180のサイズは、ファイルシステムによって提供される属性情報等から取得することができる。なお、所定のしきい値は、システム管理者が予め設定するものとする。システム管理者は、適宜、当該所定のしきい値を変更することができる。 Specifically, the actual data acquisition unit 121 determines whether the size of the selected actual data file 180 is larger than a predetermined threshold value. The size of the actual data file 180 can be obtained from attribute information provided by the file system. Note that the predetermined threshold value is set in advance by the system administrator. The system administrator can change the predetermined threshold value as appropriate.
 ステップS117の処理によって、データ受付バッファ160に格納される実データファイルの中で、サイズが所定のしきい値より大きい実データファイル180を選択し、当該実データファイル180に対してフィルタリング処理を実行できる。また、これによって、データ受付バッファ160の使用量が低減されるため、当該データ受付バッファ160を有効に活用できる。 By the process of step S117, the actual data file 180 having a size larger than a predetermined threshold is selected from the actual data files stored in the data reception buffer 160, and the filtering process is executed on the actual data file 180. it can. Further, this reduces the amount of use of the data reception buffer 160, so that the data reception buffer 160 can be used effectively.
 選択された実データファイル180のサイズが所定のしきい値より大きいと判定された場合(ステップS117がYes)、メタデータ生成部120はステップS121に進む。 If it is determined that the size of the selected actual data file 180 is larger than the predetermined threshold value (Yes in step S117), the metadata generation unit 120 proceeds to step S121.
 選択された実データファイル180のサイズが所定のしきい値以下であると判定された場合(ステップS117がNo)、メタデータ生成部120は、選択された実データファイル180が生成されてから所定の期間が経過しているか否かを判定する(ステップS119)。 If it is determined that the size of the selected actual data file 180 is equal to or smaller than the predetermined threshold (No in step S117), the metadata generation unit 120 determines the predetermined size after the selected actual data file 180 is generated. It is determined whether or not the period has elapsed (step S119).
 具体的には、実データ取得部121が、選択された実データファイル180が生成されてから所定の期間が経過しているか否かを判定する。実データファイル180の生成日時は、ファイルシステムによって提供される属性情報等から取得することができる。なお、所定の期間は、システム管理者が予め設定するものとする。システム管理者は、適宜、当該所定の期間を変更することができる。 Specifically, the actual data acquisition unit 121 determines whether or not a predetermined period has elapsed since the selected actual data file 180 was generated. The generation date and time of the actual data file 180 can be obtained from attribute information provided by the file system. The predetermined period is set in advance by the system administrator. The system administrator can change the predetermined period as appropriate.
 ステップS119の処理によって、データ受付バッファ160に格納される実データファイル180の中から、生成されてから所定の期間経過している実データファイル180を選択し、当該実データファイル180に対してフィルタリング処理を実行することができる。また、これによって、データ受付バッファ160の使用量が低減されるため、当該データ受付バッファ160を有効に活用することができる。 By the process of step S119, the actual data file 180 that has been generated for a predetermined period is selected from the actual data files 180 stored in the data reception buffer 160, and the actual data file 180 is filtered. Processing can be executed. Further, this reduces the amount of use of the data reception buffer 160, so that the data reception buffer 160 can be used effectively.
 選択された実データファイル180が生成されてから所定の期間が経過していないと判定された場合(ステップS119がNo)、メタデータ生成部120は、ステップS111に戻り、同様の処理を実行する。これは、選択された実データファイル180がメタデータの抽出対象ではないためである。したがって、現時点では、選択された実データファイル180には、ステップS121以降の処理が実行されない。 When it is determined that the predetermined period has not elapsed since the generation of the selected actual data file 180 (No in step S119), the metadata generation unit 120 returns to step S111 and executes the same processing. . This is because the selected actual data file 180 is not a metadata extraction target. Therefore, at the present time, the processing after step S121 is not executed on the selected actual data file 180.
 選択された実データファイル180が生成されてから所定の期間が経過していると判定された場合(ステップS119がYes)、メタデータ生成部120は、ステップS121に進む。 When it is determined that a predetermined period has elapsed since the selected actual data file 180 was generated (Yes in step S119), the metadata generation unit 120 proceeds to step S121.
 ステップS117がYes又はステップS119がYesの場合、メタデータ生成部120は、選択された実データファイル180に対してフィルタリング処理を実行する(ステップS121)。具体的には、以下のような処理が実行される。 If Step S117 is Yes or Step S119 is Yes, the metadata generation unit 120 performs a filtering process on the selected actual data file 180 (Step S121). Specifically, the following processing is executed.
 実データ取得部121は、ファイルアクセス制御部110に、選択された実データファイル180に対するファイルアクセス要求の一時中断を指示する。次に、実データ取得部121は、ファイルアクセス制御部110に、選択された実データファイル180に対する更新処理の実行を指示する。これによって、更新が完了していないデータが選択された実データファイル180に反映される。 The actual data acquisition unit 121 instructs the file access control unit 110 to suspend the file access request for the selected actual data file 180. Next, the actual data acquisition unit 121 instructs the file access control unit 110 to execute an update process on the selected actual data file 180. As a result, data that has not been updated is reflected in the selected actual data file 180.
 実データ取得部121は、選択された実データファイル180のファイル名をメタデータ抽出用のファイル名に変更(リネーム)する。さらに、実データ取得部121は、リネーム前のファイル名が付与されたファイルを新たに生成する。このとき、生成されたファイルにはデータは含まれない。 The actual data acquisition unit 121 changes (renames) the file name of the selected actual data file 180 to the file name for metadata extraction. Furthermore, the actual data acquisition unit 121 newly generates a file with the file name before renaming. At this time, data is not included in the generated file.
 実データ取得部121は、ファイルアクセス制御部110に、選択された実データファイル180に対するファイルアクセス要求の再開を指示する。 The actual data acquisition unit 121 instructs the file access control unit 110 to resume the file access request for the selected actual data file 180.
 以上の処理によって、データ受付バッファ160における、選択された実データファイル180のサイズがゼロになり、当該実データファイル180に格納されたデータを別ファイルとして取得することができる。 Through the above processing, the size of the selected actual data file 180 in the data reception buffer 160 becomes zero, and the data stored in the actual data file 180 can be acquired as a separate file.
 さらに、実データ取得部121は、取得されたファイルをメタデータ抽出部122に出力し、メタデータの抽出を指示する。 Furthermore, the actual data acquisition unit 121 outputs the acquired file to the metadata extraction unit 122 and instructs the extraction of metadata.
 以上がステップS121の処理の説明である。 The above is the description of the processing in step S121.
 前述したようなフィルタリング処理が実行されることによって、オープン状態のファイルに継続的にデータが追加される場合であっても、フロントエンドファイルサーバ1は、メタデータを抽出することができる。オープン状態のファイルに継続的にデータを追加する利用形態としては、ログファイルへログデータを逐次格納する場合、録画データを逐次格納する場合等が考えられる。 The front-end file server 1 can extract metadata even when data is continuously added to an open file by executing the filtering process as described above. As a usage mode in which data is continuously added to an open file, there are a case where log data is sequentially stored in a log file, a case where recorded data is stored sequentially, and the like.
 次に、ステップS115がYes、又は、ステップS121の処理の実行後、メタデータ生成部120は、メタデータ抽出方法を決定する(ステップS123)。 Next, after step S115 is Yes or the processing of step S121 is executed, the metadata generation unit 120 determines a metadata extraction method (step S123).
 具体的には、メタデータ抽出部122が、選択された実データファイル180のデータ種別を判定し、判定結果に基づいてメタデータの抽出方法を決定する。例えば、メタデータ抽出部122は、メタデータを抽出するためのメタデータ抽出モジュール(図示省略)を決定する。この場合、メタデータ抽出部122は、決定されたメタデータ抽出モジュールを用いて、以下の処理を実行する。 Specifically, the metadata extraction unit 122 determines the data type of the selected actual data file 180, and determines a metadata extraction method based on the determination result. For example, the metadata extraction unit 122 determines a metadata extraction module (not shown) for extracting metadata. In this case, the metadata extraction unit 122 executes the following processing using the determined metadata extraction module.
 なお、データ種別を判定する方法として、例えば、選択された実データファイル180のファイル名に付与される拡張子名に基づいてデータ種別を判定する方法、実データファイル180の内容を読み出し、読み出された内容に基づいてデータ種別を判定する方法が考えられる。 As a method for determining the data type, for example, a method for determining the data type based on the extension name given to the file name of the selected actual data file 180, the contents of the actual data file 180 are read and read. A method of determining the data type based on the content that has been performed is conceivable.
 メタデータ生成部120は、選択された実データファイル180のメタデータを抽出し、抽出されたメタデータを用いてメタデータファイル181を生成し、生成されたメタデータファイル181をデータ格納領域170に格納する(ステップS125)。具体的には、以下のような処理が実行される。 The metadata generation unit 120 extracts metadata of the selected actual data file 180, generates a metadata file 181 using the extracted metadata, and stores the generated metadata file 181 in the data storage area 170. Store (step S125). Specifically, the following processing is executed.
 メタデータ抽出部122は、ステップS113において決定されたメタデータ抽出モジュールを用いて、選択された実データファイル180からメタデータを抽出する。メタデータ抽出部122は、抽出されたメタデータをメタデータファイル生成部123に出力する。 The metadata extraction unit 122 extracts metadata from the selected actual data file 180 using the metadata extraction module determined in step S113. The metadata extraction unit 122 outputs the extracted metadata to the metadata file generation unit 123.
 メタデータファイル生成部123は、入力されたメタデータからメタデータファイル181を生成し、生成されたメタデータファイル181をデータ格納領域170に格納する。 The metadata file generation unit 123 generates a metadata file 181 from the input metadata, and stores the generated metadata file 181 in the data storage area 170.
 以上がステップS115の処理の説明である。 The above is the description of the processing in step S115.
 次に、メタデータ生成部120は、選択された実データファイル180がデータ格納領域170に格納されるか否かを判定する(ステップS127)。 Next, the metadata generation unit 120 determines whether or not the selected actual data file 180 is stored in the data storage area 170 (step S127).
 具体的には、メタデータ生成部120は、一時的に保持される処理内容に、データ格納領域への実データファイル180の格納を指示する処理内容が含まれるか否かを判定する。 Specifically, the metadata generation unit 120 determines whether or not the processing content that is temporarily stored includes processing content that instructs to store the actual data file 180 in the data storage area.
 選択された実データファイル180がデータ格納領域170に格納されると判定された場合(ステップS127がYes)、メタデータ生成部120は、選択された実データファイル180をデータ格納領域170に格納し(ステップS129)、ステップS133に進む。 When it is determined that the selected actual data file 180 is stored in the data storage area 170 (Yes in step S127), the metadata generation unit 120 stores the selected actual data file 180 in the data storage area 170. (Step S129), the process proceeds to Step S133.
 選択された実データファイル180がデータ格納領域170に格納されないと判定された場合(ステップS127がNo)、メタデータ生成部120は、メタデータファイル181に選択された実データファイル180の格納先情報を追加し(ステップS131)、ステップS133に進む。 When it is determined that the selected actual data file 180 is not stored in the data storage area 170 (No in step S127), the metadata generation unit 120 stores the storage location information of the actual data file 180 selected as the metadata file 181. Is added (step S131), and the process proceeds to step S133.
 ここで、実データファイル180の格納先情報には、当該実データファイル180を取得可能なデータソース4、又は、当該実データファイル180が格納されるファイルサーバに関する情報等が含まれる。すなわち、実データファイル180にアクセスするための情報がメタデータファイル181に追加される。なお、実データファイル180の格納先情報は、予めシステム管理者が指定してもよい。格納先情報が追加されたメタデータファイルについては、図14を用いて後述する。 Here, the storage location information of the actual data file 180 includes information on the data source 4 from which the actual data file 180 can be acquired or a file server in which the actual data file 180 is stored. That is, information for accessing the actual data file 180 is added to the metadata file 181. The storage location information of the actual data file 180 may be designated in advance by the system administrator. The metadata file to which the storage destination information is added will be described later with reference to FIG.
 ステップS129又はステップS131の処理の実行後、メタデータ生成部120は、各管理表を更新し(ステップS133)、その後、ステップS111に戻る。具体的には以下のような処理が実行される。 After execution of the process of step S129 or step S131, the metadata generation unit 120 updates each management table (step S133), and then returns to step S111. Specifically, the following processing is executed.
 まず、メタデータ生成部120は、ファイル対応管理表152に、選択された実データファイル180、及び生成されたメタデータファイル181の情報を格納する。ここでは、実データファイル180のファイル名、及びメタデータファイル181のファイル名が対応づけられたレコードが格納される。 First, the metadata generation unit 120 stores information on the selected actual data file 180 and the generated metadata file 181 in the file correspondence management table 152. Here, a record in which the file name of the actual data file 180 and the file name of the metadata file 181 are associated with each other is stored.
 次に、メタデータ生成部120は、格納ファイル管理表154を更新する。具体的には、メタデータ生成部120は、データ格納領域170に格納されるファイルのファイル名1541に、当該ファイルのファイル名を格納し、ファイル格納階層1542にフロントエンドファイルサーバ1の識別情報を格納する。また、メタデータ生成部120は、この時点ではファイルが他のファイルサーバに移動していないため、ファイルパス1543に「Null」を格納する。 Next, the metadata generation unit 120 updates the storage file management table 154. Specifically, the metadata generation unit 120 stores the file name of the file in the file name 1541 of the file stored in the data storage area 170, and the identification information of the front-end file server 1 in the file storage hierarchy 1542. Store. Also, the metadata generation unit 120 stores “Null” in the file path 1543 because the file has not been moved to another file server at this time.
 次に、メタデータ生成部120は、稼働管理表153を更新する。具体敵意は、メタデータ生成部120は、データ受付バッファ160のメモリサイズ、データ格納領域170の使用率等を取得し、取得された各種情報を稼働管理表153に格納する。 Next, the metadata generation unit 120 updates the operation management table 153. Specifically, the metadata generation unit 120 acquires the memory size of the data reception buffer 160, the usage rate of the data storage area 170, and the like, and stores the acquired various types of information in the operation management table 153.
 本実施例では、メタデータ生成部120が、フロントエンドファイルサーバ1の稼働状態に基づいて、実行される処理を特定したが本発明はこれに限定されない。 In the present embodiment, the metadata generation unit 120 specifies the process to be executed based on the operating state of the front-end file server 1, but the present invention is not limited to this.
 例えば、メタデータ生成部120は、判定部132に判定処理の実行を指示してもよい。この場合、判定部132が後述する判定処理を実行し、判定結果をメタデータ生成部120に出力する。したがって、ステップS101、ステップS103の処理を省略できる。 For example, the metadata generation unit 120 may instruct the determination unit 132 to execute the determination process. In this case, the determination unit 132 executes a determination process described later, and outputs a determination result to the metadata generation unit 120. Therefore, the process of step S101 and step S103 can be omitted.
 また、メタデータ生成部120は、ファイル移動管理表155を参照し、選択された実データファイル180のレコードが登録されているか否かを判定してもよい。ファイル移動管理表155に選択された実データファイル180のレコードが登録されている場合、メタデータ生成部120は、選択された実データファイル180をデータ格納領域170に格納しないと判定する。 Further, the metadata generation unit 120 may determine whether or not the record of the selected actual data file 180 is registered with reference to the file movement management table 155. When the record of the selected actual data file 180 is registered in the file movement management table 155, the metadata generation unit 120 determines that the selected actual data file 180 is not stored in the data storage area 170.
 本実施例では、データ受付バッファ160に余裕がない場合等に、メタデータファイル181が生成されるが、本発明はこれに限定されない。例えば、フロントエンドファイルサーバ1の稼働状態に依存することなく、常時、メタデータファイル181を生成してもよい。 In this embodiment, the metadata file 181 is generated when there is no room in the data reception buffer 160, but the present invention is not limited to this. For example, the metadata file 181 may be always generated without depending on the operating state of the front-end file server 1.
 本実施例では、メタデータ生成部120は、実データファイル180が削除される場合にメタデータファイル181に格納先情報を追加していたが、本発明はこれに限定されない。例えば、全てのメタデータファイル181に格納先情報が追加されてもよい。この場合、ステップS109、ステップS127、及びステップS129の処理が省略され、また、ステップS125の処理の実行後、ステップS131の処理が実行される。 In this embodiment, the metadata generation unit 120 adds the storage location information to the metadata file 181 when the actual data file 180 is deleted, but the present invention is not limited to this. For example, the storage location information may be added to all the metadata files 181. In this case, the process of step S109, step S127, and step S129 is abbreviate | omitted, and the process of step S131 is performed after execution of the process of step S125.
 次に、移動候補ファイルの選択処理について説明する。 Next, the process for selecting a migration candidate file will be described.
 図11は、本発明の実施例1の移動候補ファイルの選択処理を説明するフローチャートである。 FIG. 11 is a flowchart for explaining the selection process of the movement candidate file according to the first embodiment of the present invention.
 移動候補ファイルの選択処理では、フロントエンドファイルサーバ1がデータ格納領域170に格納される実データファイル180及びメタデータファイル181の中から、バックエンドファイルサーバ2に移動する移動候補ファイルを選択する。また、フロントエンドファイルサーバ1は、ファイル移動管理表155に、移動候補ファイルとして選択されたファイルの情報を格納する。 In the move candidate file selection process, the front end file server 1 selects a move candidate file to be moved to the back end file server 2 from the actual data file 180 and the metadata file 181 stored in the data storage area 170. Further, the front-end file server 1 stores information on the file selected as the migration candidate file in the file migration management table 155.
 ファイル移動制御部130は、周期的、メタデータ生成部120から実行指示を受け付けた場合、又はシステム管理者等からの指示を受け付けた場合に、移動候補ファイルの選択処理を実行する。 The file movement control unit 130 executes the movement candidate file selection process periodically when an execution instruction is received from the metadata generation unit 120 or when an instruction from a system administrator or the like is received.
 ファイル移動制御部130は、階層ストレージ構成管理表150、稼働管理表153、及び移動条件管理表151から情報を取得する(ステップS201)。 The file migration control unit 130 acquires information from the hierarchical storage configuration management table 150, the operation management table 153, and the migration condition management table 151 (step S201).
 具体的には、ファイル移動制御部130は、情報取得部131に情報の取得を指示する。情報取得部131は、階層ストレージ構成管理表150、稼働管理表153、及び移動条件管理表151から必要な情報を取得する。 Specifically, the file movement control unit 130 instructs the information acquisition unit 131 to acquire information. The information acquisition unit 131 acquires necessary information from the hierarchical storage configuration management table 150, the operation management table 153, and the migration condition management table 151.
 なお、情報取得部131は、フロントエンドファイルサーバ1の稼働状態を把握するために、稼働管理表153から稼働情報を取得しているが、本発明はこれに限定されない。例えば、情報取得部131は、フロントエンドファイルサーバ1によって用いられるファイルシステムが提供する管理用コマンド等を実行して、記憶領域の総容量、記憶領域の使用率、メモリの使用サイズ等の稼働情報を取得してもよい。 The information acquisition unit 131 acquires the operation information from the operation management table 153 in order to grasp the operation state of the front end file server 1, but the present invention is not limited to this. For example, the information acquisition unit 131 executes a management command or the like provided by the file system used by the front-end file server 1, and operates information such as the total capacity of the storage area, the storage area usage rate, and the memory usage size May be obtained.
 ファイル移動制御部130は、取得された情報に基づいて、移動処理の処理内容を決定する(ステップS203)。具体的には、以下のような処理が実行される。 The file movement control unit 130 determines the content of the movement process based on the acquired information (step S203). Specifically, the following processing is executed.
 ファイル移動制御部130が、判定部132に移動処理の処理内容の決定を指示する。判定部132は、稼働管理表153から取得された稼働情報と移動条件管理表151の条件とを比較し、移動条件管理表151の条件1513と一致する稼働状態であるか否かを判定する。 The file movement control unit 130 instructs the determination unit 132 to determine the processing content of the movement process. The determination unit 132 compares the operation information acquired from the operation management table 153 with the conditions of the movement condition management table 151 and determines whether or not the operation state matches the condition 1513 of the movement condition management table 151.
 このとき、判定部132は、条件管理番号1511の昇順に処理を実行するものとする。また、一つの判定アルゴリズムに対して複数の判定項目が存在する場合、判定部132は、さらに、判定順番1512の昇順に処理を実行する。 At this time, the determination unit 132 executes processing in ascending order of the condition management number 1511. When there are a plurality of determination items for one determination algorithm, the determination unit 132 further performs processing in ascending order of the determination order 1512.
 条件1513と一致する稼働状態である場合、すなわち、取得された稼働情報に一致する条件1513が存在する場合、判定部132は、一致する条件1513に対応するレコードのアクション1514を移動処理の処理内容として決定する。 When the operating state matches the condition 1513, that is, when there is a condition 1513 that matches the acquired operating information, the determination unit 132 changes the action 1514 of the record corresponding to the matching condition 1513 to the processing content of the movement process. Determine as.
 以上がステップS203の処理の説明である。 The above is the description of the processing in step S203.
 なお、メタデータ生成部120から実行が指示された場合、実行指示には移動処理の処理内容が含まれるため、ステップS201及びステップS203の処理を省略してもよい。 When execution is instructed from the metadata generation unit 120, the execution instruction includes the processing contents of the movement process, and thus the processing in step S201 and step S203 may be omitted.
 次に、ファイル移動制御部130は、メタデータ生成部120に、フィルタリング処理及びメタデータ抽出処理の実行を指示する(ステップS205)。このとき、アクション1514に処理対象の実データファイル180が指定されている場合、ファイル移動制御部130は、メタデータ生成部120に、当該処理対象の実データファイル180に対する処理の実行を指示する。また、アクション1514に処理対象の実データファイル180が指定されていない場合、ファイル移動制御部130は、メタデータ生成部120に、全ての実データファイル180に対する処理の実行を指示する。 Next, the file movement control unit 130 instructs the metadata generation unit 120 to execute filtering processing and metadata extraction processing (step S205). At this time, if the actual data file 180 to be processed is specified in the action 1514, the file movement control unit 130 instructs the metadata generation unit 120 to execute the process on the actual data file 180 to be processed. If the actual data file 180 to be processed is not specified in the action 1514, the file movement control unit 130 instructs the metadata generation unit 120 to execute processing for all the actual data files 180.
 メタデータ生成部120は、指定された実データファイル180に対して、ステップS115からステップS121までの処理を実行する。 The metadata generation unit 120 executes the processing from step S115 to step S121 on the specified actual data file 180.
 なお、ステップS205の処理は、アクション1514にフィルタリング処理及びメタデータ抽出処理の実行を指示する旨の情報が格納されている場合に実行される。したがって、アクション1514に前述した情報が格納されていない場合、ステップS205の処理は省略される。 Note that the process of step S205 is executed when the action 1514 stores information indicating that the filtering process and the metadata extraction process are to be executed. Therefore, when the above-described information is not stored in the action 1514, the process of step S205 is omitted.
 ファイル移動制御部130は、移動候補ファイルの選択処理が完了したか否かを判定する(ステップS207)。 The file movement control unit 130 determines whether or not the movement candidate file selection process has been completed (step S207).
 具体的には、ファイル移動制御部130は、ステップS203において決定された全ての移動処理の処理内容について処理が完了したか否かを判定する。全ての移動処理の処理内容について処理が完了したと判定された場合、ファイル移動制御部130は、移動候補ファイルの選択処理が完了したと判定する。 Specifically, the file movement control unit 130 determines whether or not the processing has been completed for all of the movement contents determined in step S203. When it is determined that the processing has been completed for all the movement processing contents, the file movement control unit 130 determines that the movement candidate file selection processing has been completed.
 移動候補ファイルの選択処理が完了していないと判定された場合、ファイル移動制御部130は、決定された移動処理の処理内容に基づいて、移動候補ファイルを選択する。決定された移動処理の処理内容が複数存在する場合、ファイル移動制御部130は、各々の移動処理の内容について、移動候補ファイルを選択する。すなわち、ステップS211からステップS219の処理が逐次的に実行される。 When it is determined that the movement candidate file selection process has not been completed, the file movement control unit 130 selects a movement candidate file based on the processing content of the determined movement process. When there are a plurality of processing contents of the determined migration process, the file migration control unit 130 selects a migration candidate file for each migration process content. That is, the processing from step S211 to step S219 is executed sequentially.
 なお、複数の移動処理の処理内容について並列的に移動候補ファイルの選択が可能な場合、並列して移動候補ファイルを選択してもよい。 In addition, when a movement candidate file can be selected in parallel for processing contents of a plurality of movement processes, the movement candidate file may be selected in parallel.
 移動候補ファイルの選択処理が完了したと判定された場合(ステップS207がYes)、ファイル移動制御部130は、処理を終了する。 If it is determined that the migration candidate file selection process has been completed (Yes in step S207), the file migration control unit 130 ends the process.
 移動候補ファイルの選択処理が完了していないと判定された場合(ステップS207がNo)、ファイル移動制御部130は、決定された移動処理の処理内容に基づいて、移動候補ファイルを選択する(ステップS209からステップS219)。 When it is determined that the movement candidate file selection process has not been completed (No in step S207), the file movement control unit 130 selects a movement candidate file based on the determined content of the movement process (step S207). S209 to step S219).
 ここで、決定された移動処理の処理内容が複数存在する場合、ファイル移動制御部130は、移動処理の処理内容毎に、移動候補ファイルを選択する。すなわち、ステップS209からステップS219の処理が逐次的に実行される。 Here, when there are a plurality of processing contents of the determined migration process, the file migration control unit 130 selects a migration candidate file for each process content of the migration process. That is, the processing from step S209 to step S219 is sequentially executed.
 なお、ファイル移動制御部130は、複数の移動処理の処理内容について、並列的に、移動候補ファイルを選択してもよい。 Note that the file movement control unit 130 may select a movement candidate file in parallel for the processing contents of a plurality of movement processes.
 以下、ステップS209からステップS219の処理について説明する。 Hereinafter, the processing from step S209 to step S219 will be described.
 まず、ファイル移動制御部130は、格納ファイル管理表154から情報を取得する(ステップS209)。 First, the file movement control unit 130 acquires information from the stored file management table 154 (step S209).
 具体的には、ファイル移動制御部130は、情報取得部131に情報の取得を指示する。情報取得部131は、格納ファイル管理表154から情報を取得する。このとき、情報取得部131は、格納ファイル管理表154に格納される全てのファイルの情報を取得してもよいし、フロントエンドファイルサーバ1に格納されるファイルの情報のみを取得してもよい。ファイル移動制御部130は、取得されたファイルについて以下の処理を実行する。 Specifically, the file movement control unit 130 instructs the information acquisition unit 131 to acquire information. The information acquisition unit 131 acquires information from the stored file management table 154. At this time, the information acquisition unit 131 may acquire information on all files stored in the storage file management table 154, or may acquire only information on files stored in the front-end file server 1. . The file movement control unit 130 executes the following processing for the acquired file.
 以下の説明では、ステップS209において格納ファイル管理表154から取得された情報に対応するファイルを対象ファイルとも記載する。 In the following description, a file corresponding to the information acquired from the stored file management table 154 in step S209 is also described as a target file.
 ファイル移動制御部130は、全ての対象ファイルに対する処理が完了したか否かを判定する(ステップS211)。 The file movement control unit 130 determines whether or not processing for all target files has been completed (step S211).
 全ての対象ファイルに対する処理が完了したと判定された場合(ステップS211がYes)、ファイル移動制御部130は、ステップS204に戻り同様の処理を実行する。 If it is determined that the processing for all the target files has been completed (Yes in step S211), the file movement control unit 130 returns to step S204 and executes the same processing.
 全ての対象ファイルに対する処理が完了していないと判定された場合(ステップS211がNo)、ファイル移動制御部130は、複数の対象ファイルの中から任意の対象ファイルを一つ選択する(ステップS213)。 When it is determined that the processing has not been completed for all target files (No in step S211), the file movement control unit 130 selects one arbitrary target file from the plurality of target files (step S213). .
 ファイル移動制御部130は、選択された対象ファイルの種類を特定する(ステップS215)。すなわち、選択された対象ファイルが実データファイル180又はメタデータファイル181のいずれであるかが判定される。 The file movement control unit 130 identifies the type of the selected target file (step S215). That is, it is determined whether the selected target file is the actual data file 180 or the metadata file 181.
 具体的には、ファイル移動制御部130は、情報取得部131にファイル対応管理表152からの情報の取得を指示する。ファイル移動制御部130は、ファイル対応管理表152の実データファイル名1521及びメタデータファイル名1522を参照し、選択された対象ファイルのファイル名と一致するファイル名を検索する。 Specifically, the file movement control unit 130 instructs the information acquisition unit 131 to acquire information from the file correspondence management table 152. The file movement control unit 130 refers to the actual data file name 1521 and the metadata file name 1522 in the file correspondence management table 152 and searches for a file name that matches the file name of the selected target file.
 選択されたファイル名が実データファイル名1521に格納されるファイル名と一致した場合、ファイル移動制御部130は、選択された対象ファイルが実データファイル180であると判定する。また、選択されたファイル名がメタデータファイル名1522に格納されるファイル名と一致した場合、ファイル移動制御部130は、選択された対象ファイルがメタデータファイル181であると判定する。 If the selected file name matches the file name stored in the actual data file name 1521, the file movement control unit 130 determines that the selected target file is the actual data file 180. If the selected file name matches the file name stored in the metadata file name 1522, the file movement control unit 130 determines that the selected target file is the metadata file 181.
 なお、選択された対象ファイルが実データファイル180の場合、ファイル移動制御部130は、ファイル対応管理表152の対応するレコードのメタデータファイル名1522から、関連するメタデータファイル181のファイル名を取得する。一方、選択された対象ファイルがメタデータファイル181の場合、ファイル移動制御部130は、ファイル対応管理表152の対応するレコードの実データファイル名1521から、関連する実データファイル180のファイル名を取得する。 When the selected target file is the actual data file 180, the file movement control unit 130 acquires the file name of the related metadata file 181 from the metadata file name 1522 of the corresponding record in the file correspondence management table 152. To do. On the other hand, when the selected target file is the metadata file 181, the file movement control unit 130 acquires the file name of the related actual data file 180 from the actual data file name 1521 of the corresponding record in the file correspondence management table 152. To do.
 ファイル移動制御部130は、対象ファイルが移動条件に合致するか否かを判定する(ステップS217)。 The file movement control unit 130 determines whether or not the target file matches the movement condition (step S217).
 具体的には、ファイル移動制御部130は、判定部132に処理の実行を指示する。判定部132は、ステップS203において決定された移動処理の処理内容、すなわち、アクション1514に基づいて、対象ファイルをさらに絞り込む。 Specifically, the file movement control unit 130 instructs the determination unit 132 to execute processing. The determination unit 132 further narrows down the target file based on the processing content of the movement processing determined in step S203, that is, the action 1514.
 例えば、移動条件管理表151のアクション1514には、移動候補ファイルを絞り込むための処理として、ファイル名に特定の拡張子を持つファイル、特定のユーザが所有者であるファイルを移動候補から除外すると等の処理内容が格納される。 For example, in the action 1514 of the movement condition management table 151, as a process for narrowing down movement candidate files, a file having a specific extension in the file name or a file owned by a specific user is excluded from the movement candidates. Is stored.
 判定部132は、アクション1514に格納される情報に基づいて、移動候補ファイルの絞り込み処理を実行する。 The determination unit 132 executes a movement candidate file narrowing process based on the information stored in the action 1514.
 対象ファイルが移動条件に合致しないと判定された場合(ステップS217がNo)、ファイル移動制御部130は、ステップS211に戻り同様の処理を実行する。 When it is determined that the target file does not match the movement condition (No in step S217), the file movement control unit 130 returns to step S211 and executes the same processing.
 対象ファイルが移動条件に合致すると判定された場合(ステップS217がYes)、ファイル移動制御部130は、対象ファイルの情報をファイル移動管理表155に格納し(ステップS219)、ステップS211に戻る。具体的には、以下のような処理が実行される。 When it is determined that the target file matches the movement condition (Yes in step S217), the file movement control unit 130 stores the information of the target file in the file movement management table 155 (step S219), and returns to step S211. Specifically, the following processing is executed.
 ファイル移動制御部130は、ファイル移動管理表155に新たなレコードを追加する。ファイル移動制御部130は、追加されたレコードの実データファイル名1551及びメタデータファイル名1552のそれぞれにアクセスパス名を格納する。 The file movement control unit 130 adds a new record to the file movement management table 155. The file movement control unit 130 stores the access path name in each of the actual data file name 1551 and the metadata file name 1552 of the added record.
 また、ファイル移動制御部130は、追加されたレコードの実データファイル移動状態1553及びメタデータファイル移動状態1554に「未移動」を格納する。ファイル移動制御部130は、ステップS203において決定された移動処理の処理内容に基づいて、実データファイル移動先1555及びメタデータファイル移動先1556に、移動先に関する情報を格納する。なお、実データファイル180が移動候補ファイルでない場合、実データファイル移動状態1553及び実データファイル移動先1555には「Null」が格納される。 Further, the file movement control unit 130 stores “not moved” in the actual data file movement state 1553 and the metadata file movement state 1554 of the added record. The file movement control unit 130 stores information on the migration destination in the actual data file migration destination 1555 and the metadata file migration destination 1556 based on the processing content of the migration processing determined in step S203. If the actual data file 180 is not a migration candidate file, “Null” is stored in the actual data file migration state 1553 and the actual data file migration destination 1555.
 次に、ファイル移動処理について説明する。 Next, the file move process will be described.
 図12は、本発明の実施例1のファイル移動処理を説明するフローチャートである。 FIG. 12 is a flowchart for explaining the file move process according to the first embodiment of the present invention.
 ファイル移動処理では、フロントエンドファイルサーバ1がファイル移動管理表155に基づいて移動候補ファイルを移動する。 In the file movement process, the front-end file server 1 moves the movement candidate file based on the file movement management table 155.
 ファイル移動制御部130は、周期的、又は、システム管理者等からの指示を受け付けた場合に、ファイル移動処理を開始する。また、ファイル移動制御部130は、移動候補ファイルの選択処理が終了した後、ファイル移動処理を開始してもよい。なお、実行周期は、移動候補ファイルの選択処理より長い周期が望ましい。 The file movement control unit 130 starts the file movement process periodically or when receiving an instruction from a system administrator or the like. Further, the file movement control unit 130 may start the file movement process after the movement candidate file selection process is completed. The execution cycle is preferably longer than the move candidate file selection process.
 ファイル移動制御部130は、ファイル移動管理表155から情報を取得する(ステップS301)。 The file movement control unit 130 acquires information from the file movement management table 155 (step S301).
 具体的には、ファイル移動制御部130が、情報取得部131にファイル移動管理表155からの情報の取得を指示する。情報取得部131は、ファイル移動管理表155からレコードを取得する。このとき、情報取得部131は、ファイル移動管理表155に含まれる全てのレコードを取得してもよいし、所定の数だけレコードを取得してもよい。 Specifically, the file movement control unit 130 instructs the information acquisition unit 131 to acquire information from the file movement management table 155. The information acquisition unit 131 acquires a record from the file movement management table 155. At this time, the information acquisition unit 131 may acquire all the records included in the file movement management table 155 or may acquire a predetermined number of records.
 ファイル移動制御部130は、ファイル移動管理表155から取得された全てのレコードについて処理が完了したか否かを判定する(ステップS303)。 The file movement control unit 130 determines whether or not processing has been completed for all the records acquired from the file movement management table 155 (step S303).
 ファイル移動管理表155から取得された全てのレコードについて処理が完了したと判定された場合(ステップS303がYes)、ファイル移動制御部130は処理を終了する。 If it is determined that the processing has been completed for all the records acquired from the file movement management table 155 (Yes in step S303), the file movement control unit 130 ends the processing.
 ファイル移動管理表155から取得された全てのレコードについて処理が完了していないと判定された場合(ステップS303がNo)、ファイル移動制御部130は、取得された複数のレコードの中から任意のレコードを一つ選択する(ステップS305)。 When it is determined that the processing has not been completed for all the records acquired from the file movement management table 155 (No in step S303), the file movement control unit 130 selects any record from the plurality of acquired records. Is selected (step S305).
 ファイル移動制御部130は、ファイル移動部133に、以下で説明する処理の実行を指示する。以下の説明では、選択されたレコードを対象レコードとも記載する。 The file movement control unit 130 instructs the file movement unit 133 to execute processing described below. In the following description, the selected record is also described as a target record.
 ファイル移動部133は、対象レコードに対応するメタデータファイル181が移動済みであるか否かを判定する(ステップS307)。 The file moving unit 133 determines whether or not the metadata file 181 corresponding to the target record has been moved (step S307).
 具体的には、ファイル移動部133は、対象レコードのメタデータファイル移動状態1554が「未移動」であるか否かが判定する。対象レコードのメタデータファイル移動状態1554が「未移動」であると判定された場合、ファイル移動部133は、対象レコードに対応するメタデータファイル181が移動されていないと判定する。 Specifically, the file mover 133 determines whether or not the metadata file move state 1554 of the target record is “not moved”. When it is determined that the metadata file movement state 1554 of the target record is “not moved”, the file moving unit 133 determines that the metadata file 181 corresponding to the target record has not been moved.
 対象レコードに対応するメタデータファイル181が移動済みであると判定された場合(ステップS307がYes)、ファイル移動部133はステップS319に進む。 When it is determined that the metadata file 181 corresponding to the target record has been moved (Yes in step S307), the file moving unit 133 proceeds to step S319.
 対象レコードに対応するメタデータファイル181が移動されていないと判定された場合(ステップS307がNo)、ファイル移動部133は、対象レコードに対応する実データファイル180が移動候補ファイルであるか否かを判定する(ステップS309)。 When it is determined that the metadata file 181 corresponding to the target record has not been moved (No in step S307), the file moving unit 133 determines whether or not the actual data file 180 corresponding to the target record is a movement candidate file. Is determined (step S309).
 具体的には、ファイル移動部133は、対象レコードの実データファイル名1551が「Null」であるか否かを判定する。対象レコードの実データファイル名1551が「Null」である場合、ファイル移動部133は、対象レコードに対応する実データファイル180が移動候補ファイルでないと判定する。 Specifically, the file moving unit 133 determines whether or not the actual data file name 1551 of the target record is “Null”. If the actual data file name 1551 of the target record is “Null”, the file migration unit 133 determines that the actual data file 180 corresponding to the target record is not a migration candidate file.
 対象レコードに対応する実データファイル180が移動候補ファイルであると判定された場合(ステップS309がYes)、ファイル移動部133は、ステップS317に進む。 When it is determined that the actual data file 180 corresponding to the target record is a movement candidate file (Yes in step S309), the file moving unit 133 proceeds to step S317.
 対象レコードに対応する実データファイル180が移動候補ファイルでないと判定された場合(ステップS309がNo)、ファイル移動部133は、対象レコードに対応するメタデータファイル181に、当該実データファイル180の格納先情報を追加する(ステップS311)。 When it is determined that the actual data file 180 corresponding to the target record is not a movement candidate file (No in step S309), the file moving unit 133 stores the actual data file 180 in the metadata file 181 corresponding to the target record. Previous information is added (step S311).
 ここで、実データファイル180の格納先情報としては、ファイル移動管理表155の実データファイル名1551に格納される情報が考えられる。また、必要に応じて、データソース4等の外部装置における格納場所に関する情報が追加されてもよい。格納先情報が追加されたメタデータファイルについては、図14を用いて後述する。 Here, as the storage destination information of the actual data file 180, information stored in the actual data file name 1551 of the file movement management table 155 can be considered. Further, if necessary, information regarding the storage location in the external device such as the data source 4 may be added. The metadata file to which the storage destination information is added will be described later with reference to FIG.
 ファイル移動部133は、データ格納領域170から、対象レコードに対応する実データファイル180を削除するか否かを判定する(ステップS313)。 The file moving unit 133 determines whether or not to delete the actual data file 180 corresponding to the target record from the data storage area 170 (step S313).
 具体的には、ファイル移動部133は、ステップS202において決定された移動処理の処理内容に、実データファイル180を削除する旨の処理内容が含まれるか否かを判定する。 Specifically, the file moving unit 133 determines whether or not the processing content for deleting the actual data file 180 is included in the processing content of the moving processing determined in step S202.
 対象レコードに対応する実データファイル180を削除しないと判定された場合(ステップS313がNo)、ファイル移動部133は、ステップS317に進む。 If it is determined not to delete the actual data file 180 corresponding to the target record (No in step S313), the file moving unit 133 proceeds to step S317.
 対象レコードに対応する実データファイル180を削除すると判定された場合(ステップS313がYes)、ファイル移動部133は、データ格納領域170から当該実データファイル180を削除する(ステップS315)。なお、ファイル移動部133は、実データファイル180の削除は逐次的に実行されてもよいし、削除する実データファイル180のリストアップを行い、本処理の最後でまとめて削除してもよい。 When it is determined that the actual data file 180 corresponding to the target record is to be deleted (Yes in step S313), the file moving unit 133 deletes the actual data file 180 from the data storage area 170 (step S315). The file moving unit 133 may delete the actual data files 180 sequentially, or may list the actual data files 180 to be deleted and delete them at the end of this process.
 ステップS309がYes、ステップS313がNo、又はステップS315の処理の実行後、ファイル移動部133は、対象レコードに対応するメタデータファイル181を所定のファイルサーバに移動する(ステップS319)。 After step S309 is Yes, step S313 is No, or the process of step S315 is executed, the file moving unit 133 moves the metadata file 181 corresponding to the target record to a predetermined file server (step S319).
 具体的には、ファイル移動部133は、対象レコードのメタデータファイル移動先1556に対応するファイルサーバに、メタデータファイル181を移動する。なお、移動に伴って、データ格納領域170に格納されるメタデータファイル181は、削除、又は、スタブファイルへの置き換えを行ってもよい。 Specifically, the file moving unit 133 moves the metadata file 181 to the file server corresponding to the metadata file moving destination 1556 of the target record. Note that the metadata file 181 stored in the data storage area 170 may be deleted or replaced with a stub file as it moves.
 ファイル移動部133は、対象レコードに対応する実データファイル180が移動済みであるか否かを判定する(ステップS319)。 The file moving unit 133 determines whether or not the actual data file 180 corresponding to the target record has been moved (step S319).
 具体的には、ファイル移動部133は、対象レコードの実データファイル移動状態1553が「未移動」であるか否かを判定する。対象レコードの実データファイル移動状態1553が「未移動」である場合、ファイル移動部133は、対象レコードに対応する実データファイル180が移動していないと判定する。 Specifically, the file moving unit 133 determines whether or not the actual data file moving state 1553 of the target record is “not moved”. When the actual data file movement state 1553 of the target record is “not moved”, the file moving unit 133 determines that the actual data file 180 corresponding to the target record has not been moved.
 対象レコードに対応する実データファイル180が移動済みであると判定された場合(ステップS319がYes)、ファイル移動部133は、ステップS323に進む。 When it is determined that the actual data file 180 corresponding to the target record has been moved (Yes in Step S319), the file moving unit 133 proceeds to Step S323.
 対象レコードに対応する実データファイル180が移動していないと判定された場合(ステップS319がNo)、ファイル移動部133は、当該実データファイル180を所定のファイルサーバに移動する(ステップS321)。 When it is determined that the actual data file 180 corresponding to the target record has not been moved (No in step S319), the file moving unit 133 moves the actual data file 180 to a predetermined file server (step S321).
 具体的には、ファイル移動部133は、対象レコードの実データファイル移動先1555に対応するファイルサーバに、実データファイル180を移動する。なお、移動に伴って、データ格納領域170に格納される実データファイル180は、削除、又は、スタブファイルへの置き換えを行ってもよい。 Specifically, the file moving unit 133 moves the actual data file 180 to the file server corresponding to the actual data file destination 1555 of the target record. Note that the actual data file 180 stored in the data storage area 170 may be deleted or replaced with a stub file as it moves.
 ファイル移動部133は、格納ファイル管理表154及び稼働管理表153を更新し(ステップS323)、その後ステップS303に戻る。具体的には、以下のような処理が実行される。 The file moving unit 133 updates the storage file management table 154 and the operation management table 153 (step S323), and then returns to step S303. Specifically, the following processing is executed.
 ファイル移動部133は、移動したメタデータファイル181及び移動した実データファイル180の移動先の情報を、格納ファイル管理表154の対応するレコードのファイル格納階層1542、及びファイルパス1543に格納する。 The file moving unit 133 stores the information on the moved destination of the moved metadata file 181 and the moved actual data file 180 in the file storage hierarchy 1542 and the file path 1543 of the corresponding record in the stored file management table 154.
 ファイル移動部133は、データ格納領域170から実データファイル180及びメタデータファイル181の削除、又は、スタブファイルへの置き換えに伴って変化した記憶領域使用率等の更新内容を、稼働管理表153に格納する。 The file moving unit 133 updates the operation management table 153 with the updated contents such as the storage area usage rate that have changed with the deletion of the actual data file 180 and the metadata file 181 from the data storage area 170 or the replacement with the stub file. Store.
 次に、ファイルアクセス処理について説明する。 Next, file access processing will be described.
 図13は、本発明の実施例1のファイルアクセス処理を説明するフローチャートである。 FIG. 13 is a flowchart for explaining file access processing according to the first embodiment of the present invention.
 ファイルアクセス処理では、フロントエンドファイルサーバ1が、ユーザ等が操作するクライアント5から指定されたファイルを提供する。 In the file access process, the front-end file server 1 provides a file designated by the client 5 operated by the user or the like.
 ファイルアクセス制御部110は、ファイルアクセス要求を受信する(ステップS401)。ファイルアクセス要求は、フロントエンドファイルサーバ1が提供するファイルアクセスプロトコルに準拠した形式のものであり、以下の二つの情報が含まれる。 The file access control unit 110 receives a file access request (step S401). The file access request has a format conforming to the file access protocol provided by the front-end file server 1 and includes the following two pieces of information.
 一つの目の情報は、アクセス対象のファイルを特定するための情報である。具体的には、実データファイル180のファイル名を指定する情報である。例えば、格納ファイル管理表154のファイル名1541と同一の情報が含まれる。 The first information is information for specifying a file to be accessed. Specifically, this is information specifying the file name of the actual data file 180. For example, the same information as the file name 1541 of the stored file management table 154 is included.
 二つ目の情報は、実際のアクセス対象のファイルを指定する情報である。例えば、アクセス対象のファイルが、実データファイル180のみ、メタデータファイル181のみ、又は、実データファイル180及びメタデータファイル181のいずれであるかを指定する情報が含まれる。以下、当該情報をアクセス指定情報とも記載する。 The second information is information that specifies the actual file to be accessed. For example, information specifying whether the file to be accessed is only the actual data file 180, only the metadata file 181, or the actual data file 180 and the metadata file 181 is included. Hereinafter, this information is also referred to as access designation information.
 なお、ファイルアクセス要求には、前述した情報以外の情報が含まれてもよい。また、ファイルアクセス要求におけるアクセス対象のファイルの数は、複数であってもよい。 Note that information other than the information described above may be included in the file access request. Further, the number of files to be accessed in the file access request may be plural.
 ファイルアクセス制御部110は、アクセス対象のファイルにメタデータファイル181が含まれるか否かを判定する(ステップS403)。 The file access control unit 110 determines whether the metadata file 181 is included in the access target file (step S403).
 具体的には、ファイルアクセス制御部110は、ファイルアクセス要求に含まれるアクセス指定情報を参照し、メタデータファイル181がアクセス対象のファイルとして指定されているか否かを判定する。例えば、アクセス対象のファイルとして、メタデータファイル181のみ、又は、実データファイル180及びメタデータファイル181のいずれかを指定する情報がアクセス指定情報に含まれる場合、ファイルアクセス制御部110は、アクセス対象のファイルにメタデータファイル181が含まれると判定する。 Specifically, the file access control unit 110 refers to the access designation information included in the file access request, and determines whether or not the metadata file 181 is designated as an access target file. For example, when the access specification information includes only the metadata file 181 or information specifying either the actual data file 180 or the metadata file 181 as the access target file, the file access control unit 110 may It is determined that the metadata file 181 is included in this file.
 アクセス対象のファイルにメタデータファイル181が含まれないと判定された場合(ステップS403がNo)、ファイルアクセス制御部110は、ステップS409に進む。 If it is determined that the metadata file 181 is not included in the access target file (No in step S403), the file access control unit 110 proceeds to step S409.
 アクセス対象のファイルにメタデータファイル181が含まれると判定された場合(ステップS403がYes)、ファイルアクセス制御部110は、ファイル対応管理表152及び格納ファイル管理表154に基づいて、アクセス対象のメタデータファイル181の格納先を示す情報を取得する(ステップS405)。具体的には、以下のような処理が実行される。 When it is determined that the metadata file 181 is included in the access target file (Yes in step S403), the file access control unit 110 determines the access target meta data based on the file correspondence management table 152 and the stored file management table 154. Information indicating the storage location of the data file 181 is acquired (step S405). Specifically, the following processing is executed.
 ファイルアクセス制御部110は、ファイル対応管理表152を参照し、実データファイル名1521がファイルアクセス要求に含まれる実データファイル180のファイル名と一致するレコードを検索する。ファイルアクセス制御部110は、検索されたレコードのメタデータファイル名1522の値を、アクセス対象のメタデータファイル181のファイル名として取得する。 The file access control unit 110 refers to the file correspondence management table 152 and searches for a record in which the actual data file name 1521 matches the file name of the actual data file 180 included in the file access request. The file access control unit 110 acquires the value of the metadata file name 1522 of the retrieved record as the file name of the metadata file 181 to be accessed.
 ファイルアクセス制御部110は、格納ファイル管理表154を参照し、ファイル名1541が取得されたメタデータファイル181のファイル名と一致するレコードを検索する。ファイルアクセス制御部110は、検索されたレコードのファイル格納階層1542及びファイルパス1543の値を取得する。 The file access control unit 110 refers to the stored file management table 154 and searches for a record that matches the file name of the metadata file 181 from which the file name 1541 is acquired. The file access control unit 110 acquires the values of the file storage hierarchy 1542 and the file path 1543 of the retrieved record.
 以上が、ステップS405の処理の説明である。 The above is the description of the processing in step S405.
 ファイルアクセス制御部110は、取得された情報に基づいて、アクセス対象のメタデータファイル181を取得する(ステップS407)。具体的には、以下のような処理が実行される。 The file access control unit 110 acquires the access target metadata file 181 based on the acquired information (step S407). Specifically, the following processing is executed.
 ファイルアクセス制御部110は、ファイル格納階層1542の値に基づいて、メタデータファイル181がフロントエンドファイルサーバ1に格納されるか否かを判定する。メタデータファイル181がフロントエンドファイルサーバ1に格納されると判定された場合、ファイルアクセス制御部110は、ファイルパス1543の値の情報に基づいて、メタデータファイル181を取得する。 The file access control unit 110 determines whether the metadata file 181 is stored in the front-end file server 1 based on the value of the file storage hierarchy 1542. When it is determined that the metadata file 181 is stored in the front-end file server 1, the file access control unit 110 acquires the metadata file 181 based on the value information of the file path 1543.
 メタデータファイル181がバックエンドファイルサーバ2に格納されると判定された場合、ファイルアクセス制御部110は、バックエンドファイルサーバ2からメタデータファイル181を取得する。例えば、ファイルアクセス制御部110は、バックエンドファイルサーバ2にファイルパス1543の値が含まれる読出要求を送信する。 When it is determined that the metadata file 181 is stored in the back-end file server 2, the file access control unit 110 acquires the metadata file 181 from the back-end file server 2. For example, the file access control unit 110 transmits a read request including the value of the file path 1543 to the back-end file server 2.
 以上が、ステップS407の処理の説明である。 The above is the description of the processing in step S407.
 次に、ファイルアクセス制御部110は、アクセス対象のファイルに実データファイル180が含まれるか否かを判定する(ステップS409)。 Next, the file access control unit 110 determines whether or not the actual data file 180 is included in the file to be accessed (step S409).
 具体的には、ファイルアクセス制御部110は、ファイルアクセス要求に含まれるアクセス指定情報を参照し、実データファイル180がアクセス対象のファイルとして指定されているか否かを判定する。例えば、アクセス対象のファイルとして、実データファイル180のみ、又は、実データファイル180及びメタデータファイル181のいずれかを指定する情報がアクセス指定情報に含まれる場合、ファイルアクセス制御部110は、アクセス対象のファイルに実データファイル180が含まれると判定する。 Specifically, the file access control unit 110 refers to the access designation information included in the file access request and determines whether or not the actual data file 180 is designated as an access target file. For example, when the access designation information includes only the actual data file 180 or information designating either the actual data file 180 or the metadata file 181 as the access target file, the file access control unit 110 may It is determined that the actual data file 180 is included in this file.
 アクセス対象のファイルに実データファイル180が含まれないと判定された場合(ステップS409がNo)、ファイルアクセス制御部110は、ステップS415に進む。 When it is determined that the actual data file 180 is not included in the access target file (No in step S409), the file access control unit 110 proceeds to step S415.
 アクセス対象のファイルに実データファイル180が含まれると判定された場合(ステップS409がYes)、ファイルアクセス制御部110は、格納ファイル管理表154からアクセス対象の実データファイル180の格納先を示す情報を取得する(ステップS411)。 When it is determined that the actual data file 180 is included in the file to be accessed (Yes in step S409), the file access control unit 110 indicates the storage destination of the actual data file 180 to be accessed from the storage file management table 154. Is acquired (step S411).
 具体的には、ファイルアクセス制御部110は、ファイル名1541がファイルアクセス要求に含まれる実データファイル180のファイル名と一致するレコードを検索する。ファイルアクセス制御部110は、検索されたレコードのファイル格納階層1542及びファイルパス1543の値を取得する。 Specifically, the file access control unit 110 searches for a record in which the file name 1541 matches the file name of the actual data file 180 included in the file access request. The file access control unit 110 acquires the values of the file storage hierarchy 1542 and the file path 1543 of the retrieved record.
 ファイルアクセス制御部110は、取得された情報に基づいて、アクセス対象の実データファイル180を取得する(ステップS413)。具体的には、以下のような処理が実行される。 The file access control unit 110 acquires the actual data file 180 to be accessed based on the acquired information (step S413). Specifically, the following processing is executed.
 ファイルアクセス制御部110は、ファイル格納階層1542の値に基づいて、実データファイル180がフロントエンドファイルサーバ1に格納されるか否かを判定する。実データファイル180がフロントエンドファイルサーバ1に格納されると判定された場合、ファイルアクセス制御部110は、ファイル格納階層1542の値に基づいて、アクセス対象の実データファイル180を取得する。 The file access control unit 110 determines whether or not the actual data file 180 is stored in the front-end file server 1 based on the value of the file storage hierarchy 1542. When it is determined that the actual data file 180 is stored in the front-end file server 1, the file access control unit 110 acquires the actual data file 180 to be accessed based on the value of the file storage hierarchy 1542.
 実データファイル180がバックエンドファイルサーバ2に格納されると判定された場合、ファイルアクセス制御部110は、バックエンドファイルサーバ2から実データファイル180を取得する。例えば、ファイルアクセス制御部110は、バックエンドファイルサーバ2にファイルパス1543の値が含まれる読出要求を送信する。 When it is determined that the actual data file 180 is stored in the back-end file server 2, the file access control unit 110 acquires the actual data file 180 from the back-end file server 2. For example, the file access control unit 110 transmits a read request including the value of the file path 1543 to the back-end file server 2.
 以上が、ステップS413の処理の説明である。 The above is the description of step S413.
 次に、ファイルアクセス制御部110は、取得されたファイルを要求元のクライアント5に送信し(ステップS415)、処理を終了する。ここで、取得されるファイルが何もない場合、又は、要求されたファイルが存在しない場合には、ファイルアクセス制御部110は、その旨を要求元のクライアント5に応答する。 Next, the file access control unit 110 transmits the acquired file to the requesting client 5 (step S415), and ends the process. Here, when there is no file to be acquired or when the requested file does not exist, the file access control unit 110 responds to the requesting client 5 to that effect.
 図14は、本発明の実施例1のメタデータファイル181のデータ構成の一例を示す説明図である。 FIG. 14 is an explanatory diagram illustrating an example of a data configuration of the metadata file 181 according to the first embodiment of this invention.
 図14では、メタデータファイル181に含まれるメタデータの内容であるデータ構成156を示す。データ構成156は、メタデータ種別1561、メタデータ名1562、及びメタデータ値1563を含む。なお、データ構成156に含まれるカラムは、前述したものに限定されない。 FIG. 14 shows a data structure 156 that is the content of the metadata included in the metadata file 181. The data structure 156 includes a metadata type 1561, a metadata name 1562, and a metadata value 1563. Note that the columns included in the data structure 156 are not limited to those described above.
 メタデータ種別1561は、メタデータファイル181に格納されるメタデータの種別を示す情報を格納する。図14では、一例として三つのメタデータの種別を示している。 The metadata type 1561 stores information indicating the type of metadata stored in the metadata file 181. FIG. 14 shows three types of metadata as an example.
 「ファイル属性情報由来のメタデータ」は、実データファイル180の属性情報から取得されたメタデータに対応する。また、「実データ由来のメタデータ」は、メタデータ抽出部122が実データファイル180を解析することによって抽出されたメタデータに対応する。また、「階層ストレージ由来のメタデータ」は、階層ストレージ内において、メタデータファイル181に対応する実データファイル180を管理するためのメタデータに対応する。ここで、階層ストレージ内において、メタデータファイル181に対応する実データファイル180を管理するためのメタデータとしては、例えば、実データファイル180が格納されるファイルサーバの識別情報、及び、ファイルサーバ内のファイルパス等の情報が考えられる。 “Metadata derived from file attribute information” corresponds to the metadata acquired from the attribute information of the actual data file 180. “Metadata derived from actual data” corresponds to metadata extracted by the metadata extraction unit 122 analyzing the actual data file 180. Further, “metadata derived from hierarchical storage” corresponds to metadata for managing the actual data file 180 corresponding to the metadata file 181 in the hierarchical storage. Here, as metadata for managing the actual data file 180 corresponding to the metadata file 181 in the hierarchical storage, for example, the identification information of the file server in which the actual data file 180 is stored, Information such as file path can be considered.
 「階層ストレージ由来のメタデータ」は、ステップS131又はステップS311において追加される実データファイルの格納先情報に対応する。 “Metadata derived from tiered storage” corresponds to the storage location information of the actual data file added in step S131 or step S311.
 メタデータ名1562は、メタデータの識別情報を格納する。メタデータの識別情報としては、例えば、メタデータを特定するための識別名、又は識別番号等が考えられる。 The metadata name 1562 stores metadata identification information. As the identification information of the metadata, for example, an identification name or an identification number for specifying the metadata can be considered.
 メタデータ値1563は、メタデータの値を格納する。メタデータ名1562に対して一つ又は複数の値が格納される。本実施例では、実データファイルの格納先情報に対応するメタデータ値1563には、実データファイル180にアクセスするためのURLが格納される。 The metadata value 1563 stores a metadata value. One or more values are stored for the metadata name 1562. In this embodiment, the metadata value 1563 corresponding to the storage destination information of the actual data file stores a URL for accessing the actual data file 180.
 なお、図14に示す例では、メタデータファイル181のデータ構成156を表形式のデータとして説明したが、本発明はこれに限定されない、例えば、CSV(Comma Separated Values)形式、又はXML形式等を用いてもよい。 In the example shown in FIG. 14, the data structure 156 of the metadata file 181 has been described as tabular data. However, the present invention is not limited to this, for example, the CSV (Comma Separated Values) format or the XML format. It may be used.
 図15は、本発明の実施例1において用いられるファイル一覧画面190の一例を示す説明図である。 FIG. 15 is an explanatory diagram showing an example of the file list screen 190 used in the first embodiment of the present invention.
 ファイル一覧画面190は、階層ストレージにおけるファイルの格納情報を参照するために用いられるGUIである。システム管理者等がクライアント5等を操作してフロントエンドファイルサーバ1にアクセスすることによって、階層ストレージに格納されているファイルの格納場所及び移動後のファイルの格納情報等がファイル一覧画面190に表示される。 The file list screen 190 is a GUI used to refer to file storage information in the tiered storage. When the system administrator or the like operates the client 5 or the like to access the front-end file server 1, the storage location of the file stored in the tiered storage and the storage information of the moved file are displayed on the file list screen 190. Is done.
 ファイル一覧画面190には、ファイル一覧表示欄191、フィルタ条件入力欄192、ソート条件入力欄193、及びリフレッシュボタン194が表示される。 In the file list screen 190, a file list display field 191, a filter condition input field 192, a sort condition input field 193, and a refresh button 194 are displayed.
 ファイル一覧表示欄191は、階層ストレージに格納されるファイルに関する情報を表示する。ファイル一覧表示欄191には、実データファイル名1911、メタデータファイル名1912、実データファイル格納状態1913、メタデータファイル格納状態1914、実データファイル格納先URL1915、及びメタデータファイル格納先URL1916を含む。 The file list display field 191 displays information on files stored in the tiered storage. The file list display column 191 includes an actual data file name 1911, a metadata file name 1912, an actual data file storage state 1913, a metadata file storage state 1914, an actual data file storage destination URL 1915, and a metadata file storage destination URL 1916. .
 実データファイル名1911には、階層ストレージに格納される実データファイル180のファイル名が表示される。 In the actual data file name 1911, the file name of the actual data file 180 stored in the hierarchical storage is displayed.
 メタデータファイル名1912には、階層ストレージに格納されるメタデータファイル181のファイル名が表示される。 In the metadata file name 1912, the file name of the metadata file 181 stored in the hierarchical storage is displayed.
 実データファイル格納状態1913には、実データファイル180の格納状態が表示される。例えば、階層ストレージに実データファイル180が格納される場合、実データファイル格納状態1913は「格納済」と表示され、階層ストレージから実データファイル180が削除された場合、実データファイル格納状態1913は「削除済」と表示される。 In the actual data file storage state 1913, the storage state of the actual data file 180 is displayed. For example, when the actual data file 180 is stored in the hierarchical storage, the actual data file storage state 1913 is displayed as “stored”, and when the actual data file 180 is deleted from the hierarchical storage, the actual data file storage state 1913 is “Deleted” is displayed.
 メタデータファイル格納状態1914には、メタデータファイル181の格納状態が表示される。メタデータファイル格納状態1914に表示される情報は、実データファイル格納状態1913と同一のものである。 In the metadata file storage state 1914, the storage state of the metadata file 181 is displayed. The information displayed in the metadata file storage state 1914 is the same as that in the actual data file storage state 1913.
 実データファイル格納先URL1915には、実データファイル180にアクセスするための情報が表示される。例えば、階層ストレージにおける階層名、及び当該階層に対応するファイルサーバのファイルパスを組み合わせた情報が表示される。 In the actual data file storage destination URL 1915, information for accessing the actual data file 180 is displayed. For example, information combining the tier name in the tier storage and the file path of the file server corresponding to the tier is displayed.
 メタデータファイル格納先URL1916には、メタデータファイル181にアクセスするための情報が表示される。メタデータファイル格納先URL1916に表示される情報は、実データファイル格納先URL1915と同一のものである。 In the metadata file storage destination URL 1916, information for accessing the metadata file 181 is displayed. The information displayed in the metadata file storage location URL 1916 is the same as the actual data file storage location URL 1915.
 フィルタ条件入力欄192は、表示するファイルのフィルタリングを行うための条件を入力する表示欄である。ソート条件入力欄193は、表示するレコードの順番を指定するための条件を入力する表示欄である。また、リフレッシュボタン194は、ファイル一覧表示欄191等の表示内容を最新状態に更新するための操作ボタンである。 The filter condition input field 192 is a display field for inputting a condition for filtering a file to be displayed. The sort condition input field 193 is a display field for inputting a condition for designating the order of records to be displayed. The refresh button 194 is an operation button for updating the display contents of the file list display field 191 and the like to the latest state.
 なお、GUIの画面として、階層ストレージにおけるファイルの格納情報が表示されていたが、本発明はこれに限定されない。例えば、ファイルの格納情報を取得するためのコマンド又はプログラム用メソッドを提供し、CLI又はAPIが提供されてもよい。 Although the storage information of the file in the tiered storage is displayed as the GUI screen, the present invention is not limited to this. For example, a command or a program method for acquiring file storage information may be provided, and a CLI or API may be provided.
 以上で説明したように、実施例1によれば、階層ストレージを構成するファイルサーバは、実データファイル180のメタデータ(メタデータファイル181)を確実に階層ストレージに保持することができる。例えば、データ格納領域170の空き容量が少なく、フロントエンドファイルサーバ1が新規ファイルの格納が困難な場合であっても、当該ファイルのメタデータを確実に取得することができる。 As described above, according to the first embodiment, the file server configuring the hierarchical storage can reliably hold the metadata (metadata file 181) of the actual data file 180 in the hierarchical storage. For example, even if the free space of the data storage area 170 is small and it is difficult for the front-end file server 1 to store a new file, the metadata of the file can be reliably acquired.
 また、実施例1によれば、上位階層のストレージ(ファイルサーバ)から下位階層のストレージ(ファイルサーバ)へ当該メタデータを確実に移動することができる。特に、一度に大量のデータが格納し、又は、ファイルサーバ間で大量のデータを移動等することによって、計算機システムの負荷が大きい場合であっても、上位階層のファイルサーバの稼働情報に基づいて、移動候補ファイルの選択、及びファイルの移動を制御できる。 Further, according to the first embodiment, it is possible to reliably move the metadata from the upper tier storage (file server) to the lower tier storage (file server). In particular, a large amount of data is stored at one time, or a large amount of data is moved between file servers, etc. The selection of the movement candidate file and the movement of the file can be controlled.
 これによって、階層ストレージの性能及び利便性を確保したまま、メタデータの確実な保持及び転送を実現できる。したがって、メタデータを利用したデータ検索及び分析サービスの利便性が向上する。 This makes it possible to reliably hold and transfer metadata while ensuring the performance and convenience of hierarchical storage. Therefore, the convenience of the data search and analysis service using metadata is improved.
 なお、実施例1では、ファイル単位のデータを扱うシステムについて説明したが、ブロック単位のデータを扱うシステムにも適用できる。この場合、ファイルパス1543の代わりに、ブロックのアドレス及びブロック長等を用いて、ブロックの物理的な格納場所を特定すればよい。 In the first embodiment, a system that handles data in units of files has been described. However, the present invention can also be applied to a system that handles data in units of blocks. In this case, instead of the file path 1543, the physical storage location of the block may be specified using the block address, block length, and the like.
 [実施例2] [Example 2]
 実施例1では、階層ストレージを構成するファイルサーバ間でファイルを移動する場合、ファイルの移動元のフロントエンドファイルサーバ1が、移動先のファイルサーバのファイルパスを指定する。また、フロントエンドファイルサーバ1は、ファイルの移動後、当該ファイルと移動先のファイルサーバにおけるファイルパスとを関連付けて管理する。これによって、ファイルの移動後に当該ファイルに対するファイルアクセス要求を受信した場合、フロントエンドファイルサーバ1は、当該ファイルを移動先のファイルサーバから読み出して、要求元に読み出されたファイルを応答できる。 In the first embodiment, when a file is moved between file servers that constitute a hierarchical storage, the front-end file server 1 that is the movement source of the file designates the file path of the file server that is the movement destination. Further, after the file is moved, the front-end file server 1 manages the file and the file path in the destination file server in association with each other. Thus, when a file access request for the file is received after the file is moved, the front-end file server 1 can read the file from the destination file server and respond to the read file to the request source.
 ファイルの格納場所が一元的に管理される計算機システム全体では、前述したような構成でなくてよい。例えば、管理対象のファイルに対し、計算機システム全体において一意な識別番号及び識別名を付与し、付与された情報を用いて当該ファイルにアクセスする計算機システムの形態が考えられる。前述した計算機システムでは、任意のファイルサーバ又は専用のサーバが、識別番号及び識別名を付与し、また管理する。 The entire computer system in which the file storage locations are managed centrally need not be configured as described above. For example, a form of a computer system in which an identification number and an identification name unique to the entire computer system are assigned to a file to be managed and the file is accessed using the assigned information can be considered. In the computer system described above, an arbitrary file server or dedicated server assigns and manages an identification number and an identification name.
 実施例2では、ファイルの識別番号及び識別名が一元的に管理される計算機システムに本発明を適用した例を説明する。実施例2について、図16から図18を用いて、実施例1との差異を中心に説明する。 Example 2 describes an example in which the present invention is applied to a computer system in which file identification numbers and identification names are managed in a unified manner. The second embodiment will be described with reference to FIGS. 16 to 18 focusing on differences from the first embodiment.
 図16は、本発明の実施例2の計算機システムの構成例を説明するブロック図である。 FIG. 16 is a block diagram illustrating a configuration example of the computer system according to the second embodiment of this invention.
 実施例2では、新たに、計算機システムに名前空間管理サーバ7が含まれる。名前空間管理サーバ7は、ネットワーク6を介して他の装置とデータ通信を行う。 In the second embodiment, a name space management server 7 is newly included in the computer system. The namespace management server 7 performs data communication with other devices via the network 6.
 なお、フロントエンドファイルサーバ1、バックエンドファイルサーバ2、データソース4、及びクライアント5の構成は、実施例1と同一であるため詳細な構成は省略している。 Note that the configurations of the front-end file server 1, the back-end file server 2, the data source 4, and the client 5 are the same as those in the first embodiment, and thus detailed configurations are omitted.
 名前空間管理サーバ7は、階層ストレージに格納されるファイルの識別番号及び識別名を一元的に管理する。実施例2では、名前空間管理サーバ7によって付与されたファイルの識別番号及び識別名に基づいて、ファイルパスが決定される。 The namespace management server 7 centrally manages the identification numbers and identification names of files stored in the tiered storage. In the second embodiment, the file path is determined based on the file identification number and the identification name assigned by the namespace management server 7.
 名前空間管理サーバ7は、汎用的な計算機が用いられ、CPU70、メモリ71、I/F72、及び補助記憶装置73を有する。 The name space management server 7 uses a general-purpose computer and includes a CPU 70, a memory 71, an I / F 72, and an auxiliary storage device 73.
 CPU70は、メモリ71に格納されるプログラムを実行する。CPU70がプログラムを実行することによって、名前空間管理サーバ7が有する機能を実現できる。なお、以下の説明では、プログラムを主語に処理を記載する場合には、CPU70が当該プログラムを実行していることを示す。 CPU 70 executes a program stored in memory 71. The functions of the namespace management server 7 can be realized by the CPU 70 executing the program. In the following description, when a process is described with a program as the subject, it indicates that the CPU 70 is executing the program.
 メモリ71は、CPU70が実行するプログラム及び当該プログラムの実行に必要な情報を格納する。メモリ71に格納されるプログラム及び情報については後述する。 The memory 71 stores a program executed by the CPU 70 and information necessary for executing the program. The program and information stored in the memory 71 will be described later.
 I/F72は、外部装置との間のデータ通信を制御する。補助記憶装置73は、大容量の記憶領域を提供するために用いられる装置である。補助記憶装置73は、例えば、HDD及びSSD等が考えられる。なお、複数の補助記憶装置73を用いてRAIDが構成されてもよい。 The I / F 72 controls data communication with an external device. The auxiliary storage device 73 is a device used to provide a large capacity storage area. As the auxiliary storage device 73, for example, an HDD and an SSD can be considered. Note that a RAID may be configured using a plurality of auxiliary storage devices 73.
 ここで、メモリ71に格納されるプログラム及び情報について説明する。本実施例では、メモリ71は、名前空間管理部701を実現するためのプログラム、及び名前空間管理表750を格納する。 Here, the program and information stored in the memory 71 will be described. In this embodiment, the memory 71 stores a program for realizing the namespace management unit 701 and a namespace management table 750.
 名前空間管理表750については、図17を用いて後述する。 The name space management table 750 will be described later with reference to FIG.
 名前空間管理部701は、階層ストレージに格納されるファイルに一意な識別番号及び識別名を付与する。付与された識別番号及び識別名に関する情報は、後述する名前空間管理表750に格納される。以下の説明では、ファイルに付与される一意な識別番号及び識別名をグローバル名とも記載する。 The name space management unit 701 assigns a unique identification number and identification name to a file stored in the tier storage. Information about the assigned identification number and identification name is stored in a namespace management table 750 described later. In the following description, a unique identification number and identification name assigned to a file are also referred to as a global name.
 名前空間管理部701は、グローバル名をファイルに付与する場合、当該ファイルが格納されるファイルサーバの識別情報、当該ファイルサーバ内の格納場所を示すファイルパスも付与する。 When assigning a global name to a file, the namespace management unit 701 also assigns identification information of the file server in which the file is stored and a file path indicating a storage location in the file server.
 なお、フロントエンドファイルサーバ1は、グローバル名の付与を要求する場合に、ファイルの格納先の候補となるファイルサーバの識別情報、ファイルパスの候補を指定してもよい。この場合、名前空間管理部701は、指定された内容に基づいて、既存ファイルとの重複又は不整合が発生しないか否かを判定し、重複又は不整合が発生しない場合、指定された内容を用いて、ファイルサーバの識別情報、及びファイルパスを付与する。 The front-end file server 1 may specify identification information of a file server that is a file storage destination candidate and a file path candidate when requesting the assignment of a global name. In this case, the namespace management unit 701 determines whether or not duplication or inconsistency with an existing file occurs based on the designated content, and if no duplication or inconsistency occurs, the designated content is Used to give file server identification information and file path.
 また、名前空間管理部701は、付与されたグローバル名を含む名前解決要求を受け付け、当該グローバル名に関連付けられるファイルの格納場所又はアクセスパスを応答する。なお、名前空間管理部701は、ファイルの格納場所及びアクセスパスに関する情報の更新要求も受け付ける。 Also, the namespace management unit 701 receives a name resolution request including the assigned global name, and responds with a file storage location or access path associated with the global name. Note that the name space management unit 701 also receives an update request for information regarding the storage location and access path of the file.
 図16に示す例では、名前空間管理サーバ7は、ファイルサーバとは独立した構成として説明したが、本発明はこれに限定されない。一つのファイルサーバが名前空間管理サーバ7の機能を有する構成でもよい。また、複数のファイルサーバが連携して名前空間管理サーバ7が有する機能を実現する構成でもよい。 In the example shown in FIG. 16, the namespace management server 7 has been described as a configuration independent of the file server, but the present invention is not limited to this. One file server may have a function of the namespace management server 7. Moreover, the structure which implement | achieves the function which the name space management server 7 has cooperated by a some file server may be sufficient.
 階層ストレージ構成管理表150、移動条件管理表151、ファイル対応管理表152、稼働管理表153、格納ファイル管理表154、及びファイル移動管理表155は、実施例1と同一のものであるため説明を省略する。また、メタデータ抽出処理は、実施例1と同一の処理であるため説明を省略する。 Since the tiered storage configuration management table 150, the migration condition management table 151, the file correspondence management table 152, the operation management table 153, the storage file management table 154, and the file migration management table 155 are the same as those in the first embodiment, a description will be given. Omitted. Further, the metadata extraction process is the same as that of the first embodiment, and thus the description thereof is omitted.
 図17は、本発明の実施例2における名前空間管理表750の構成例を示す説明図である。 FIG. 17 is an explanatory diagram showing a configuration example of the name space management table 750 according to the second embodiment of the present invention.
 名前空間管理表750は、名前空間管理部701が管理するグローバル名、及び、グローバル名が付与されるファイルに関する情報との対応関係を管理する。具体的には、名前空間管理表750は、グローバル名7501、ローカルホスト名7502、及びローカルパス名7503を含む。なお、名前空間管理表750に含まれるカラムは、前述したものに限定されない。 The namespace management table 750 manages the correspondence between the global name managed by the namespace management unit 701 and information related to the file to which the global name is assigned. Specifically, the namespace management table 750 includes a global name 7501, a local host name 7502, and a local path name 7503. Note that the columns included in the namespace management table 750 are not limited to those described above.
 グローバル名7501は、名前空間管理部701によって付与されたグローバル名を格納する。なお、グローバル名は、他のグローバル名と重複が発生しないように付与される。 The global name 7501 stores the global name assigned by the namespace management unit 701. The global name is assigned so as not to be duplicated with other global names.
 ローカルホスト名7502は、グローバル名7501に対応するグローバル名が付与されたファイルを格納するファイルサーバの識別情報を格納する。例えば、ローカルホスト名7502には、ファイルサーバのホスト名又はIPアドレス等が格納される。 The local host name 7502 stores identification information of a file server that stores a file to which a global name corresponding to the global name 7501 is assigned. For example, the local host name 7502 stores the host name or IP address of the file server.
 ローカルパス名7503は、ファイルサーバにおけるグローバル名が付与されたファイルの格納場所を示すファイルパスを格納する。 The local path name 7503 stores a file path indicating the storage location of the file assigned the global name in the file server.
 なお、グローバル名7501及びローカルパス名7503には、任意の文字列を表すワイルドカードが含まれてもよい。これによって、特定の階層に存在する全てのファイルに対する情報を一つのレコードで管理できる。 Note that the global name 7501 and the local path name 7503 may include a wild card representing an arbitrary character string. As a result, information on all files existing in a specific hierarchy can be managed by one record.
 図18A及び図18Bは、本発明の実施例2のファイル移動処理を説明するフローチャートである。 FIG. 18A and FIG. 18B are flowcharts for explaining file movement processing according to the second embodiment of the present invention.
 ここでは、図12に示す実施例1のファイル移動処理との差異について説明する。 Here, differences from the file movement process of the first embodiment shown in FIG. 12 will be described.
 ステップS307の判定結果がYesの場合、新たにステップS351の処理が実行される。 If the determination result of step S307 is Yes, the process of step S351 is newly executed.
 ファイル移動制御部130は、名前空間管理サーバ7に、メタデータファイル181の格納先情報の追加を要求する(ステップS351)。 The file movement control unit 130 requests the namespace management server 7 to add the storage location information of the metadata file 181 (step S351).
 具体的には、ファイル移動部133が、名前空間管理サーバ7に対して、メタデータファイル181の格納先の候補となるバックエンドファイルサーバ2の識別情報を含む格納先情報の追加を要求する。ファイル移動部133は、名前空間管理サーバ7から応答としてグローバル名、ローカルホスト名及びローカルパス名を取得する。なお、ローカルホスト名及びローカルパス名が格納先情報に対応する。その後、ファイル移動部133は、ステップS309に進む。 Specifically, the file moving unit 133 requests the namespace management server 7 to add storage destination information including identification information of the back-end file server 2 that is a candidate for the storage destination of the metadata file 181. The file moving unit 133 acquires a global name, a local host name, and a local path name as a response from the namespace management server 7. The local host name and local path name correspond to the storage location information. Thereafter, the file moving unit 133 proceeds to step S309.
 また、ステップS319の判定結果がNoの場合、新たにステップS353の処理が実行される。 Further, when the determination result of step S319 is No, the process of step S353 is newly executed.
 ファイル移動制御部130は、名前空間管理サーバ7に、実データファイル180の格納先情報の割り当てを要求する(ステップS353)。 The file movement control unit 130 requests the namespace management server 7 to allocate storage location information of the actual data file 180 (step S353).
 具体的には、ファイル移動部133が、名前空間管理サーバ7に対して、実データファイル180の格納先の候補となるバックエンドファイルサーバ2の識別情報を含めて格納先情報の割り当てを要求する。ファイル移動部133は、名前空間管理サーバ7から応答としてグローバル名、ローカルホスト名及びローカルパス名を取得する。その後、ファイル移動部133は、ステップS321に進む。 Specifically, the file moving unit 133 requests the namespace management server 7 to allocate storage location information including identification information of the back-end file server 2 that is a candidate for the storage location of the actual data file 180. . The file moving unit 133 acquires a global name, a local host name, and a local path name as a response from the namespace management server 7. Thereafter, the file moving unit 133 proceeds to step S321.
 ステップS351及びステップS353において取得された情報は、ファイルの移動時に用いられ、また、格納ファイル管理表154に格納される。 The information acquired in step S351 and step S353 is used when the file is moved, and is stored in the storage file management table 154.
 図19は、本発明の実施例2のファイルアクセス処理を説明するフローチャートである。 FIG. 19 is a flowchart illustrating file access processing according to the second embodiment of the present invention.
 ここでは、図13に示す実施例1のファイルアクセス処理との差異について説明する。 Here, differences from the file access process of the first embodiment shown in FIG. 13 will be described.
 ステップS401の処理の実行後、新たにステップS451の処理が実行される。 After the process of step S401 is executed, the process of step S451 is newly executed.
 ファイルアクセス制御部110は、名前空間管理サーバ7に名前解決を要求する(ステップS451)。具体的には、以下のような処理が実行される。 The file access control unit 110 requests the name space management server 7 for name resolution (step S451). Specifically, the following processing is executed.
 ファイルアクセス制御部110は、受信したファイルアクセス要求に含まれるアクセスパスを解析し、名前解決が必要か否かを判定する。 The file access control unit 110 analyzes the access path included in the received file access request and determines whether name resolution is necessary.
 例えば、ファイルアクセス制御部110は、当該要求に含まれるアクセスパスが名前空間管理サーバ7によって付与されたグローバル名であるか否かを判定する。 For example, the file access control unit 110 determines whether or not the access path included in the request is a global name given by the namespace management server 7.
 アクセスパスがグローバル名であると判定された場合、ファイルアクセス制御部110は、名前解決が必要であると判定する。 When it is determined that the access path is a global name, the file access control unit 110 determines that name resolution is necessary.
 名前解決が必要でないと判定された場合、ファイルアクセス制御部110は、名前解決の要求を行わず、ステップS403に進む。 If it is determined that name resolution is not necessary, the file access control unit 110 does not make a request for name resolution and proceeds to step S403.
 名前解決が必要であると判定された場合、ファイルアクセス制御部110は、アクセス対象のファイルの格納先を特定する必要があるため、名前解決が必要であると判定する。さらに、ファイルアクセス制御部110は、受信したファイルアクセス要求に含まれるアクセスパス、すなわち、グローバル名を含めて名前解決を名前空間管理サーバ7に要求する。 When it is determined that name resolution is necessary, the file access control unit 110 determines that name resolution is necessary because it is necessary to specify the storage destination of the file to be accessed. Further, the file access control unit 110 requests the name space management server 7 to perform name resolution including the access path included in the received file access request, that is, the global name.
 名前空間管理サーバ7は、名前空間管理表750から、当該要求に含まれるグローバル名に関連付けられたローカルホスト名7502及びローカルパス名7503の値を取得し、取得された値をローカルホスト名及びローカルパス名として応答する。 The namespace management server 7 acquires the values of the local host name 7502 and local path name 7503 associated with the global name included in the request from the namespace management table 750, and uses the acquired values as the local host name and the local host name. Reply as a path name.
 ファイルアクセス制御部110は、ローカルホスト名及びローカルパス名を受信した後、ステップS402に進む。 The file access control unit 110 receives the local host name and local path name, and then proceeds to step S402.
 ステップS451において取得された情報は、アクセス対象のファイルを取得する時に用いられる。 The information acquired in step S451 is used when acquiring the access target file.
 以上説明したように、実施例2によれば、階層ストレージに格納されるファイルが一元的に管理される計算機システムにおいても本発明を適用することができる。 As described above, according to the second embodiment, the present invention can be applied to a computer system in which files stored in a tiered storage are managed in an integrated manner.
 特に、大量のデータを扱うような計算機システムでは、ファイルの内容、及びファイルの核の場所を把握することが必要であり、前述したような計算機システムが必要となる。したがって、適用範囲なシステムの拡大が可能となる。 Especially, in a computer system that handles a large amount of data, it is necessary to grasp the contents of the file and the location of the core of the file, and the computer system as described above is necessary. Therefore, it is possible to expand the system within the applicable range.
 [実施例3] [Example 3]
 実施例1では、フロントエンドファイルサーバ1の稼働情報に基づいて、移動候補ファイルが選択される。すなわち、ファイルの移動元のファイルサーバの稼働情報が用いられる。 In the first embodiment, the migration candidate file is selected based on the operation information of the front-end file server 1. That is, the operation information of the file server from which the file is moved is used.
 ファイルの移動先のバックエンドファイルサーバ2の稼働情報、及び計算機システムに含まれる他の構成要素の稼働情報を考慮することによって、より適切な移動候補ファイルを選択できる。これによって、当該計算機システムにおいて利用可能な計算機資源をさらに有効に活用できる。 A more appropriate transfer candidate file can be selected by considering the operation information of the back-end file server 2 to which the file is moved and the operation information of other components included in the computer system. As a result, the computer resources available in the computer system can be used more effectively.
 実施例3では、階層ストレージを構成する各ファイルサーバの稼働情報に基づいて、移動候補ファイルを選択する点が実施例1と異なる。以下、実施例3について、図20から図22を用いて、実施例1との差異を中心に説明する。 The third embodiment is different from the first embodiment in that the migration candidate file is selected based on the operation information of each file server constituting the tiered storage. Hereinafter, the third embodiment will be described with a focus on differences from the first embodiment, with reference to FIGS. 20 to 22.
 実施例3の計算機システムの構成は、実施例1と同一であるため説明を省略する。また、階層ストレージ構成管理表150、ファイル対応管理表152、格納ファイル管理表154、及びファイル移動管理表155は、実施例1と同一のものであるため説明を省略する。 Since the configuration of the computer system of the third embodiment is the same as that of the first embodiment, description thereof is omitted. Since the hierarchical storage configuration management table 150, the file correspondence management table 152, the stored file management table 154, and the file migration management table 155 are the same as those in the first embodiment, the description thereof is omitted.
 図20は、本発明の実施例3における稼働管理表153の構成例を示す説明図である。 FIG. 20 is an explanatory diagram showing a configuration example of the operation management table 153 according to the third embodiment of the present invention.
 ここでは、図6に示す実施例1における稼働管理表153との差異を中心に説明する。図20に示すように、実施例3における稼働管理表153はマシン名1537を含む。 Here, the difference from the operation management table 153 in the first embodiment shown in FIG. 6 will be mainly described. As illustrated in FIG. 20, the operation management table 153 according to the third embodiment includes a machine name 1537.
 マシン名1537は、稼働情報の取得対象となるマシンの識別情報を格納する。マシン名1537には、階層ストレージ構成管理表150の階層名1501、及びストレージ識別情報1502と同一のものを用いてもよい。 The machine name 1537 stores identification information of a machine from which operation information is acquired. The same machine name 1537 as the tier name 1501 and storage identification information 1502 of the tier storage configuration management table 150 may be used.
 ここで、稼働情報の取得対象となるマシンは、ファイルサーバ又はストレージシステム等、計算機システムに含まれ、かつ、稼働情報を取得可能な構成要素であればよい。 Here, the machine for which the operation information is acquired may be a component that is included in the computer system such as a file server or a storage system and that can acquire the operation information.
 マシン名1537が追加されることによって、複数のマシンの稼働情報を関連付けて管理することによって、マシン毎の稼働情報を把握できる。 By adding the machine name 1537, the operation information for each machine can be grasped by associating and managing the operation information of a plurality of machines.
 なお、フロントエンドファイルサーバ1のレコードのマシン名1537には、フロントエンドファイルサーバ1自身であることを示す情報が格納されてもよい。図20では、前述した情報の一例として「Local」が格納される。 It should be noted that information indicating that the front end file server 1 itself is stored in the machine name 1537 of the record of the front end file server 1 may be stored. In FIG. 20, “Local” is stored as an example of the information described above.
 図21A及び図21Bは、本発明の実施例3における移動条件管理表151の構成例を示す説明図である。 21A and 21B are explanatory diagrams illustrating a configuration example of the movement condition management table 151 according to the third embodiment of the present invention.
 ここでは、図4に示す実施例1における移動条件管理表151との差異を中心に説明する。実施例3では、条件1513及びアクション1514に格納される内容が異なる。 Here, the description will focus on differences from the movement condition management table 151 in the first embodiment shown in FIG. In the third embodiment, the contents stored in the condition 1513 and the action 1514 are different.
 条件1513では、判定に用いられる指標の対象となるマシンを特定するための情報が追加される。図21Aに示す例では、条件管理番号1511が「1」、判定順番1512が「1」のレコードの条件1513には、「LocalのHDD使用率が80%以上」という条件が格納される。すなわち、判定に用いる指標の対象としてフロントエンドファイルサーバ1が指定される。 In condition 1513, information for specifying a machine that is a target of an index used for determination is added. In the example illustrated in FIG. 21A, the condition “Local HDD usage rate is 80% or more” is stored in the condition 1513 of the record whose condition management number 1511 is “1” and the determination order 1512 is “1”. That is, the front-end file server 1 is designated as an index target used for determination.
 他のレコードの条件も同様である。これによって、複数のマシンの稼働情報を用いた条件の判定を実現することができる。 The same applies to other record conditions. Thereby, it is possible to realize the determination of the condition using the operation information of a plurality of machines.
 フロントエンドファイルサーバ1以外から取得された稼働情報を用いた判定条件の一例を説明する。ここでは、条件管理番号1511が「1」、判定順番1512が「2」のレコードと、条件管理番号1511が「1」、判定順番1512が「3」のレコードとを用いて説明する。 An example of determination conditions using operation information obtained from other than the front-end file server 1 will be described. Here, description will be made using a record in which the condition management number 1511 is “1” and the determination order 1512 is “2”, and a record in which the condition management number 1511 is “1” and the determination order 1512 is “3”.
 条件管理番号1511が「1」、判定順番1512が「2」のレコードの条件1513には「LocalのHDD使用率が80%以上」かつ「Tier2のHDD使用率が80%以上」という条件が設定される。また、条件管理番号1511が「1」、判定順番1512が「3」のレコードの条件1513には「LocalのHDD使用率が80%以上」かつ「Tier2のHDD使用率が80%より小さい」という条件が設定される。 The condition 1513 of the record with the condition management number 1511 being “1” and the determination order 1512 being “2” is set with the conditions “Local HDD usage rate is 80% or more” and “Tier2 HDD usage rate is 80% or more”. Is done. Further, the condition 1513 of the record with the condition management number 1511 being “1” and the determination order 1512 being “3” is “Local HDD usage rate is 80% or more” and “Tier2 HDD usage rate is less than 80%”. A condition is set.
 条件管理番号1511が「1」、判定順番1512が「3」のレコードのアクション1514の内容は、実施例1と同一である。 The content of the action 1514 of the record in which the condition management number 1511 is “1” and the determination order 1512 is “3” is the same as that in the first embodiment.
 条件管理番号1511が「1」、判定順番1512が「2」のレコードのアクション1514にも実施例1と異なる内容が格納される。具体的には、「ファイル移動前処理として、バックエンドファイルサーバBに格納される複数のファイルを、当該サーバのHDD使用率が60%より小さくなるまでバックエンドファイルサーバCに移動させる」というアクション1514が追加される。 The contents different from those in the first embodiment are also stored in the action 1514 of the record in which the condition management number 1511 is “1” and the determination order 1512 is “2”. Specifically, an action “move a plurality of files stored in the back-end file server B to the back-end file server C until the HDD usage rate of the server becomes less than 60% as pre-file move processing” 1514 is added.
 実施例3では、前述したアクション1514を実現するために、移動候補ファイルの選択処理が変更される。具体的な変更内容については後述する。 In the third embodiment, the movement candidate file selection process is changed to realize the action 1514 described above. Specific changes will be described later.
 「ファイル移動前処理」を実行することによって、フロントエンドファイルサーバ1以外のマシン(ファイルサーバ)の稼働情報を考慮し、計算機システムの計算機資源を最大限に利用したファイルの移動が可能となる。 By executing “file move pre-processing”, it becomes possible to move files that make the most of the computer resources of the computer system in consideration of the operation information of machines (file servers) other than the front-end file server 1.
 具体的には、移動先のファイルサーバのHDD容量に余裕がない場合、当該ファイルサーバに格納されるファイルを別のファイルサーバに移動させることによって、移動先のファイルサーバのHDD容量に余裕ができた段階でファイルを移動させることができる。 Specifically, if the HDD capacity of the destination file server is not sufficient, the HDD capacity of the destination file server can be increased by moving the file stored in the file server to another file server. You can move the file at a later stage.
 なお、バックエンドファイルサーバCは、バックエンドファイルサーバ2と同一の構成であり、バックエンドファイルサーバB(2-2)よりも下位階層のファイルであるものとする。 Note that the back-end file server C has the same configuration as the back-end file server 2 and is a lower-level file than the back-end file server B (2-2).
 図22A及び図22Bは、本発明の実施例3における移動候補ファイルの選択処理を説明するフローチャートである。 FIGS. 22A and 22B are flowcharts for explaining the movement candidate file selection processing according to the third embodiment of the present invention.
 ここでは、図11に示す実施例1の移動候補ファイルの選択処理との差異について説明する。 Here, differences from the migration candidate file selection process of the first embodiment shown in FIG. 11 will be described.
 ステップS205の処理の実行後、新たにステップS251の処理が実行される。 After the process of step S205, the process of step S251 is newly executed.
 ファイル移動制御部130は、ファイル移動前処理を実行するか否かを判定する(ステップS251)。 The file movement control unit 130 determines whether or not to execute the file movement pre-processing (step S251).
 具体的には、判定部132が、ステップS203において決定された移動処理の処理内容に基づいて、ファイル移動前処理を実行するか否かを判定する。 Specifically, the determination unit 132 determines whether to execute the file movement pre-processing based on the processing content of the movement processing determined in step S203.
 ファイル移動前処理を実行しないと判定された場合、ファイル移動制御部130は、ステップS205に進む。 If it is determined not to execute the file move pre-processing, the file move control unit 130 proceeds to step S205.
 ファイル移動前処理を実行すると判定された場合、ファイル移動制御部130は、ファイル移動前処理を実行する(ステップS253)。 When it is determined that the file movement pre-processing is to be executed, the file movement control unit 130 executes the file movement pre-processing (step S253).
 具体的には、ファイル移動制御部130は、ステップS203において決定された移動処理の処理内容を参照し、ファイル移動前処理の処理内容を確認し、当該処理内容にしたがってファイル移動前処理を実行する。 Specifically, the file movement control unit 130 refers to the processing contents of the movement processing determined in step S203, confirms the processing contents of the file movement pre-processing, and executes the file movement pre-processing according to the processing contents. .
 なお、フロントエンドファイルサーバ1が、主体となって、ファイル移動前処理を実行してもよいし、処理対象となるバックエンドファイルサーバ2に当該処理の実行を依頼してもよい。 Note that the front-end file server 1 may perform the file movement pre-processing as the main body, or may request the back-end file server 2 to be processed to execute the process.
 例えば、ファイル移動前処理として、バックエンドファイルサーバB(2-2)に格納されるファイルをバックエンドファイルサーバCに移動する処理を考える。この場合、フロントエンドファイルサーバ1がバックエンドファイルサーバB(2-2)からファイルを読み出し、バックエンドファイルサーバCに読み出されたファイルを格納する。また、フロントエンドファイルサーバ1は、バックエンドファイルサーバB(2-2)から読み出されたファイルを削除する。また、フロントエンドファイルサーバ1は、ファイルの移動結果を各管理表に格納する。 For example, consider a process of moving a file stored in the back-end file server B (2-2) to the back-end file server C as a file pre-migration process. In this case, the front-end file server 1 reads the file from the back-end file server B (2-2), and stores the read file in the back-end file server C. Further, the front-end file server 1 deletes the file read from the back-end file server B (2-2). Further, the front-end file server 1 stores the file movement result in each management table.
 ステップS253の処理の終了後、ファイル移動制御部130は、ステップS207に進む。 After the process of step S253 is complete | finished, the file movement control part 130 progresses to step S207.
 前述したように、実施例3によれば、フロントエンドファイルサーバ1以外の構成要素の稼働情報を考慮した移動候補ファイルの選択が可能になる。また、移動先のファイルサーバ等の多様な稼働情報を活用することによって、メタデータの転送制御をさらに高度にすることができる。 As described above, according to the third embodiment, a migration candidate file can be selected in consideration of operation information of components other than the front-end file server 1. Further, by utilizing various operation information such as a file server at the destination, metadata transfer control can be further enhanced.
 特に、ファイルの移動先のファイルサーバの稼働状況に応じて、移動先の変更、移動先のファイルサーバの負荷を低減させるためのファイル移動前処理を実行することができる。これによって、計算機システム全体の計算機資源を有効かつ効率的に使用することができる。 Especially, according to the operating status of the file server to which the file is to be moved, it is possible to change the destination and to perform file movement pre-processing for reducing the load on the destination file server. As a result, the computer resources of the entire computer system can be used effectively and efficiently.
 なお、本実施例で例示した種々のソフトウェアは、電磁的、電子的及び光学式等の種々の記録媒体(例えば、非一時的な記憶媒体)に格納可能であり、インターネット等の通信網を通じて、コンピュータにダウンロード可能である。 The various software illustrated in the present embodiment can be stored in various recording media (for example, non-temporary storage media) such as electromagnetic, electronic, and optical, and through a communication network such as the Internet. It can be downloaded to a computer.
 さらに、本実施例では、ソフトウェアによる制御を用いた例について説明したが、その一部をハードウェアによって実現することも可能である。 Furthermore, in this embodiment, an example using control by software has been described, but part of it can also be realized by hardware.
 以上、本発明を添付の図面を参照して詳細に説明したが、本発明はこのような具体的構成に限定されるものではなく、添付した請求の範囲の趣旨内における様々な変更及び同等の構成を含むものである。 Although the present invention has been described in detail with reference to the accompanying drawings, the present invention is not limited to such specific configurations, and various modifications and equivalents within the spirit of the appended claims Includes configuration.

Claims (15)

  1.  複数の計算機を備える計算機システムであって、
     前記複数の計算機の各々は、プロセッサ、主記憶装置、副記憶装置、及び他の計算機と通信するためのインタフェースを有し、
     少なくとも一つ以上の計算機は、
     前記インタフェースを介して接続される外部装置から受信したファイルを一時的に格納するバッファと、
     前記ファイルを格納するデータ格納領域と、
     前記ファイルを管理するファイル管理部と、
     前記ファイルに対するアクセスを制御するファイルアクセス制御部と、
     前記ファイルを解析することによってメタデータを取得し、前記取得されたメタデータを用いてメタデータファイルを生成するメタデータ生成部と、
     を有し、
     前記メタデータ生成部は、
     前記ファイルを受信した計算機の稼働状態を示す稼働情報を取得し、前記取得された稼働情報に基づいて、前記メタデータファイルを生成するか否かを判定し、
     前記メタデータファイルを生成すると判定された場合、前記バッファに格納される前記ファイルから前記メタデータを取得し、
     前記取得されたメタデータに基づいて、前記メタデータファイルを生成し、
     前記生成されたメタデータファイルを前記データ格納領域に格納し、
     前記データ格納領域に格納されるメタデータファイルに、前記ファイルにアクセスするための情報を追加することを特徴とする計算機システム。
    A computer system comprising a plurality of computers,
    Each of the plurality of computers has a processor, a main storage device, a secondary storage device, and an interface for communicating with other computers,
    At least one calculator
    A buffer for temporarily storing a file received from an external device connected via the interface;
    A data storage area for storing the file;
    A file management unit for managing the file;
    A file access control unit for controlling access to the file;
    A metadata generation unit that acquires metadata by analyzing the file, and generates a metadata file using the acquired metadata;
    Have
    The metadata generation unit
    Obtain operational information indicating the operational state of the computer that received the file, and determine whether to generate the metadata file based on the obtained operational information,
    If it is determined to generate the metadata file, the metadata is obtained from the file stored in the buffer;
    Generating the metadata file based on the acquired metadata;
    Storing the generated metadata file in the data storage area;
    A computer system, wherein information for accessing the file is added to a metadata file stored in the data storage area.
  2.  請求項1に記載の計算機システムであって、
     前記少なくとも一つ以上の計算機は、
     前記データ格納領域に格納される前記ファイル及び前記メタデータファイルの中から他の計算機に移動する候補ファイルを選択し、前記選択された候補ファイルを前記他の計算機に移動するファイル移動制御部を有し、
     前記ファイルを受信した計算機の稼働状態の条件、及びファイル移動処理の処理内容が対応づけられた情報を含む移動条件管理情報と、
     前記候補ファイルの識別情報、前記候補ファイルの移動状態、及び前記候補ファイルの移動先となる前記計算機の識別情報が対応づけられた情報を含むファイル移動管理情報と、を保持し、
     前記ファイル移動制御部は、
     前記ファイルを受信した計算機の前記稼働情報を取得し、
     前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記ファイルを受信した計算機において適用可能な前記ファイル移動処理を決定し、
     前記データ格納領域に格納される前記ファイル又は前記メタデータファイルの中から前記候補ファイルを選択し、
     前記選択された候補ファイルの識別情報、及び前記決定されたファイル移動処理の処理内容に基づいて、前記ファイル移動管理情報を更新し、
     前記ファイル移動管理情報に基づいて、前記候補ファイルに対してファイル移動処理を実行することを特徴とする計算機システム。
    The computer system according to claim 1,
    The at least one computer is:
    A file movement control unit is provided that selects a candidate file to be moved to another computer from the file and the metadata file stored in the data storage area, and moves the selected candidate file to the other computer. And
    Operation condition management information including information associated with the operating condition of the computer that has received the file and the processing content of the file movement process;
    The file migration management information including information associated with the identification information of the candidate file, the migration state of the candidate file, and the identification information of the computer that is the migration destination of the candidate file,
    The file movement control unit
    Obtain the operating information of the computer that received the file,
    Based on the movement condition management information and the acquired operation information, determine the file movement processing applicable in the computer that has received the file,
    Select the candidate file from the file or the metadata file stored in the data storage area,
    Update the file movement management information based on the identification information of the selected candidate file and the processing content of the determined file movement process,
    A computer system that executes file migration processing on the candidate file based on the file migration management information.
  3.  請求項2に記載の計算機システムであって、
     前記メタデータ生成部は、
     前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記バッファに格納されるファイルを前記データ格納領域に格納するか否かを判定し、
     前記バッファに格納されるファイルを格納しないと判定された場合、前記外部装置又は前記他の計算機の少なくともいずれかに格納される前記ファイルにアクセスするための情報を前記メタデータファイルに追加し、
     前記バッファに格納される前記ファイルを削除し、
     前記ファイル移動制御部は、
     前記決定されたファイル移動処理が、前記メタデータファイルのみを移動し、前記ファイルを削除する処理である場合、前記外部装置又は前記計算機の少なくともいずれかに格納されるファイルにアクセスするための情報を前記メタデータファイルに追加し、
     前記データ格納領域に格納されるファイルを削除することを特徴とする計算機システム。
    The computer system according to claim 2,
    The metadata generation unit
    Based on the movement condition management information and the acquired operation information, determine whether to store the file stored in the buffer in the data storage area,
    If it is determined not to store the file stored in the buffer, information for accessing the file stored in at least one of the external device and the other computer is added to the metadata file,
    Delete the file stored in the buffer;
    The file movement control unit
    When the determined file movement process is a process of moving only the metadata file and deleting the file, information for accessing a file stored in at least one of the external device and the computer Add to the metadata file,
    A computer system for deleting a file stored in the data storage area.
  4.  請求項3に記載の計算機システムであって、
     前記メタデータ生成部は、
     前記バッファに格納される複数のファイルの中から処理対象のファイルを選択し、
     前記選択されたファイルがクローズ状態であるか否かを判定し、
     前記選択されたファイルがクローズ状態であると判定された場合、前記選択されたファイルを解析することによって前記メタデータを取得し、
     前記選択されたファイルがクローズ状態でないと判定された場合、前記選択されたファイルの識別情報を変更し、
     前記選択されたファイルの識別情報と同一の識別情報が付与された新規ファイルを生成し、
     前記選択されたファイルを解析することによって前記メタデータを取得することを特徴とする計算機システム。
    The computer system according to claim 3,
    The metadata generation unit
    Select a file to be processed from a plurality of files stored in the buffer,
    Determining whether the selected file is closed;
    If it is determined that the selected file is in a closed state, the metadata is obtained by analyzing the selected file;
    When it is determined that the selected file is not closed, the identification information of the selected file is changed,
    Generating a new file with the same identification information as the selected file identification information;
    A computer system, wherein the metadata is obtained by analyzing the selected file.
  5.  請求項3に記載の計算機システムであって、
     前記メタデータファイルに追加される前記ファイルにアクセスするための情報は、前記外部装置又は前記他の計算機に格納されるファイルにアクセスするためのURLであることを特徴とする計算機システム。
    The computer system according to claim 3,
    The computer system characterized in that the information for accessing the file added to the metadata file is a URL for accessing a file stored in the external device or the other computer.
  6.  請求項2に記載の計算機システムであって、
     前記移動条件管理情報は、さらに、前記複数の計算機の稼働状態の条件、及び前記ファイルの移動処理の処理内容が対応づけられた情報を含み、
     前記ファイル移動制御部は、
     前記複数の計算機の前記稼働情報を取得し、
     前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記ファイル移動処理を決定することを特徴とする計算機システム。
    The computer system according to claim 2,
    The movement condition management information further includes information associating operation condition of the plurality of computers and processing contents of the file movement process,
    The file movement control unit
    Obtaining the operation information of the plurality of computers;
    A computer system, wherein the file movement process is determined based on the movement condition management information and the acquired operation information.
  7.  複数の計算機を備える計算機システムにおけるメタデータ管理方法であって、
     前記複数の計算機の各々は、プロセッサ、主記憶装置、副記憶装置、及び他の計算機と通信するためのインタフェースを有し、
     少なくとも一つ以上の計算機は、
     前記インタフェースを介して接続される外部装置から受信したファイルを一時的に格納するバッファと、
     前記ファイルを格納するデータ格納領域と、
     前記ファイルを管理するファイル管理部と、
     前記ファイルに対するアクセスを制御するファイルアクセス制御部と、
     前記ファイルを解析することによってメタデータを取得し、前記取得されたメタデータを用いてメタデータファイルを生成するメタデータ生成部と、
     を有し、
     前記方法は、
     前記メタデータ生成部が、前記ファイルを受信した計算機の稼働状態を示す稼働情報を取得し、前記取得された稼働情報に基づいて、前記メタデータファイルを生成するか否かを判定する第1のステップと、
     前記メタデータ生成部が、前記メタデータファイルを生成すると判定された場合、前記バッファに格納される前記ファイルから前記メタデータを取得する第2のステップと、
     前記メタデータ生成部が、前記取得されたメタデータに基づいて、前記メタデータファイルを生成する第3のステップと、
     前記メタデータ生成部が、前記生成されたメタデータファイルを前記データ格納領域に格納する第4のステップと、
     前記メタデータ生成部が、前記データ格納領域に格納されるメタデータファイルに、前記ファイルにアクセスするための情報を追加する第5のステップと、を含むことを特徴とするメタデータ管理方法。
    A metadata management method in a computer system including a plurality of computers,
    Each of the plurality of computers has a processor, a main storage device, a secondary storage device, and an interface for communicating with other computers,
    At least one calculator
    A buffer for temporarily storing a file received from an external device connected via the interface;
    A data storage area for storing the file;
    A file management unit for managing the file;
    A file access control unit for controlling access to the file;
    A metadata generation unit that acquires metadata by analyzing the file, and generates a metadata file using the acquired metadata;
    Have
    The method
    The metadata generation unit acquires operating information indicating an operating state of a computer that has received the file, and determines whether to generate the metadata file based on the acquired operating information Steps,
    A second step of acquiring the metadata from the file stored in the buffer when the metadata generation unit determines to generate the metadata file;
    A third step in which the metadata generation unit generates the metadata file based on the acquired metadata;
    A fourth step in which the metadata generation unit stores the generated metadata file in the data storage area;
    A metadata management method comprising: a fifth step in which the metadata generation unit adds information for accessing the file to a metadata file stored in the data storage area.
  8.  請求項7に記載のメタデータ管理方法であって、
     前記少なくとも一つ以上の計算機は、
     前記データ格納領域に格納される前記ファイル及び前記メタデータファイルの中から他の計算機に移動する候補ファイルを選択し、前記選択された候補ファイルを前記他の計算機に移動するファイル移動制御部を有し、
     前記ファイルを受信した計算機の稼働状態の条件、及びファイル移動処理の処理内容が対応づけられた情報を含む移動条件管理情報と、
     前記候補ファイルの識別情報、前記候補ファイルの移動状態、及び前記候補ファイルの移動先となる前記計算機の識別情報が対応づけられた情報を含むファイル移動管理情報と、を保持し、
     前記方法は、
     前記ファイル移動制御部が、前記ファイルを受信した計算機の前記稼働情報を取得する第6のステップと、
     前記ファイル移動制御部が、前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記ファイルを受信した計算機において適用可能な前記ファイル移動処理を決定する第7のステップと、
     前記ファイル移動制御部が、前記データ格納領域に格納される前記ファイル又は前記メタデータファイルの中から前記候補ファイルを選択する第8のステップと、
     前記ファイル移動制御部が、前記選択された候補ファイルの識別情報、及び前記決定されたファイル移動処理の処理内容に基づいて、前記ファイル移動管理情報を更新する第9のステップと、
     前記ファイル移動制御部が、前記ファイル移動管理情報に基づいて、前記候補ファイルに対してファイル移動処理を実行する第10のステップと、を含むことを特徴とするメタデータ管理方法。
    The metadata management method according to claim 7, wherein
    The at least one computer is:
    A file movement control unit is provided that selects a candidate file to be moved to another computer from the file and the metadata file stored in the data storage area, and moves the selected candidate file to the other computer. And
    Operation condition management information including information associated with the operating condition of the computer that has received the file and the processing content of the file movement process;
    The file migration management information including information associated with the identification information of the candidate file, the migration state of the candidate file, and the identification information of the computer that is the migration destination of the candidate file,
    The method
    A sixth step in which the file movement control unit acquires the operation information of the computer that has received the file;
    A seventh step in which the file movement control unit determines the file movement process applicable in the computer that has received the file, based on the movement condition management information and the acquired operation information;
    An eighth step in which the file movement control unit selects the candidate file from the file or the metadata file stored in the data storage area;
    A ninth step in which the file movement control unit updates the file movement management information based on the identification information of the selected candidate file and the processing content of the determined file movement process;
    A metadata management method comprising: a tenth step in which the file movement control unit executes a file movement process on the candidate file based on the file movement management information.
  9.  請求項8に記載のメタデータ管理方法であって、
     前記方法は、
     前記第5のステップの後に、前記メタデータ生成部が、
     前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記バッファに格納されるファイルを前記データ格納領域に格納するか否かを判定するステップと、
     前記メタデータ生成部が、前記バッファに格納されるファイルを格納しないと判定された場合、前記外部装置又は前記他の計算機の少なくともいずれかに格納される前記ファイルにアクセスするための情報を前記メタデータファイルに追加するステップと、
     前記メタデータ生成部が、前記バッファに格納される前記ファイルを削除するステップと、を含み、
     前記第10のステップは、
     前記決定されたファイル移動処理の処理内容が、前記メタデータファイルのみを移動し、前記ファイルを削除する処理である場合、前記外部装置又は前記計算機の少なくともいずれかに格納されるファイルにアクセスするための情報を前記メタデータファイルに追加するステップと、
     前記データ格納領域に格納されるファイルを削除するステップと、を含むことを特徴とするメタデータ管理方法。
    The metadata management method according to claim 8, wherein
    The method
    After the fifth step, the metadata generation unit
    Determining whether to store the file stored in the buffer in the data storage area based on the movement condition management information and the acquired operation information;
    When it is determined that the metadata generation unit does not store the file stored in the buffer, information for accessing the file stored in at least one of the external device and the other computer is stored in the metadata. Adding to the data file;
    The metadata generation unit deleting the file stored in the buffer,
    The tenth step includes
    In order to access a file stored in at least one of the external device and the computer when the processing content of the determined file moving process is a process of moving only the metadata file and deleting the file Adding information to the metadata file;
    Deleting the file stored in the data storage area. A metadata management method comprising:
  10.  請求項9に記載のメタデータ管理方法であって、
     前記第2のステップは、
     前記バッファに格納される複数のファイルの中から処理対象のファイルを選択するステップと、
     前記選択されたファイルがクローズ状態であるか否かを判定するステップと、
     前記選択されたファイルがクローズ状態であると判定された場合、前記選択されたファイルを解析することによって前記メタデータを取得するステップと、
     前記選択されたファイルがクローズ状態でないと判定された場合、前記選択されたファイルの識別情報を変更するステップと、
     前記選択されたファイルの識別情報と同一の識別情報が付与された新規ファイルを生成するステップと、
     前記選択されたファイルを解析することによって前記メタデータを取得するステップと、を含むことを特徴とするメタデータ管理方法。
    The metadata management method according to claim 9, comprising:
    The second step includes
    Selecting a file to be processed from a plurality of files stored in the buffer;
    Determining whether the selected file is closed;
    Obtaining the metadata by analyzing the selected file if it is determined that the selected file is closed; and
    If it is determined that the selected file is not in a closed state, changing the identification information of the selected file;
    Generating a new file with the same identification information as the identification information of the selected file;
    Obtaining the metadata by analyzing the selected file. A metadata management method comprising:
  11.  請求項9に記載のメタデータ管理方法であって、
     前記メタデータファイルに追加される前記ファイルにアクセスするための情報は、前記外部装置又は前記他の計算機に格納されるファイルにアクセスするためのURLであることを特徴とするメタデータ管理方法。
    The metadata management method according to claim 9, comprising:
    The metadata management method characterized in that the information for accessing the file added to the metadata file is a URL for accessing a file stored in the external device or the other computer.
  12.  請求項8に記載のメタデータ管理方法であって、
     前記移動条件管理情報は、さらに、前記複数の計算機の稼働状態の条件、及び前記ファイルの移動処理の処理内容が対応づけられた情報を含み、
     前記ファイル移動制御部は、
     前記第6のステップでは、前記複数の計算機の前記稼働情報を取得し、
     前記第7のステップでは、前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記ファイル移動処理を決定することを特徴とするメタデータ管理方法。
    The metadata management method according to claim 8, wherein
    The movement condition management information further includes information associating operation condition of the plurality of computers and processing contents of the file movement process,
    The file movement control unit
    In the sixth step, the operation information of the plurality of computers is acquired,
    In the seventh step, the file movement process is determined based on the movement condition management information and the acquired operation information.
  13.  複数のファイルを管理する計算機が実行するプログラムであって、
     前記計算機は、プロセッサ、主記憶装置、副記憶装置、及び他の計算機と通信するためのインタフェースを有し、
     前記主記憶装置上には、前記インタフェースを介して接続される外部装置から受信したファイルを一時的に格納するバッファを有し、
     前記副記憶装置上には、前記ファイルを格納するデータ格納領域を有し、
     前記プログラムは、
     前記計算機の稼働状態を示す稼働情報を取得し、前記取得された稼働情報に基づいて、前記ファイルを解析することによって取得されたメタデータから生成されるメタデータファイルを生成するか否かを判定する第1の手順と、
     前記メタデータファイルを生成すると判定された場合、前記バッファに格納される前記ファイルから前記メタデータを取得する第2の手順と、
     前記取得されたメタデータに基づいて、前記メタデータファイルを生成する第3の手順と、
     前記生成されたメタデータファイルを前記データ格納領域に格納する第4の手順と、
     前記データ格納領域に格納されるメタデータファイルに、前記ファイルにアクセスするための情報を追加する第5の手順と、を前記計算機に実行させることを特徴とするプログラム。
    A program executed by a computer that manages a plurality of files,
    The computer has a processor, a main storage device, a secondary storage device, and an interface for communicating with other computers,
    On the main storage device, there is a buffer for temporarily storing a file received from an external device connected via the interface,
    The secondary storage device has a data storage area for storing the file,
    The program is
    Determine whether or not to generate a metadata file generated from metadata acquired by analyzing the file based on the acquired operating information and acquiring operating information indicating an operating state of the computer A first procedure to:
    A second procedure for obtaining the metadata from the file stored in the buffer when it is determined to generate the metadata file;
    A third procedure for generating the metadata file based on the acquired metadata;
    A fourth procedure for storing the generated metadata file in the data storage area;
    A program that causes the computer to execute a fifth procedure of adding information for accessing the file to a metadata file stored in the data storage area.
  14.  請求項13に記載のプログラムであって、
     前記計算機は、
     前記ファイルを受信した計算機の稼働状態の条件、及びファイル移動処理の処理内容が対応づけられた情報を含む移動条件管理情報と、
     前記データ格納領域に格納される前記ファイル及び前記メタデータの中から他の計算機に移動する候補ファイルの識別情報、前記候補ファイルの移動状態、及び前記候補ファイルの移動先となる前記計算機の識別情報が対応づけられた情報を含むファイル移動管理情報と、を保持し、
     前記プログラムは、
     前記ファイルを受信した計算機の前記稼働情報を取得する第6の手順と、
     前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記ファイルを受信した計算機において適用可能な前記ファイル移動処理を決定する第7の手順と、
     前記データ格納領域に格納される前記ファイル又は前記メタデータファイルの中から前記候補ファイルを選択する第8の手順と、
     前記選択された候補ファイルの識別情報、及び前記決定されたファイル移動処理の処理内容に基づいて、前記ファイル移動管理情報を更新する第9の手順と、
     前記ファイル移動管理情報に基づいて、前記候補ファイルに対してファイル移動処理を実行する第10の手順と、を含むことを特徴とするプログラム。
    The program according to claim 13,
    The calculator is
    Operation condition management information including information associated with the operating condition of the computer that has received the file and the processing content of the file movement process;
    Identification information of candidate files to be moved from the file and the metadata stored in the data storage area to another computer, a movement state of the candidate file, and identification information of the computer to which the candidate file is moved And file movement management information including information associated with
    The program is
    A sixth procedure for acquiring the operation information of the computer that has received the file;
    A seventh procedure for determining the file movement process applicable in the computer that has received the file, based on the movement condition management information and the acquired operation information;
    An eighth procedure for selecting the candidate file from the file or the metadata file stored in the data storage area;
    A ninth procedure for updating the file movement management information based on the identification information of the selected candidate file and the processing content of the determined file movement process;
    And a tenth procedure for executing a file move process on the candidate file based on the file move management information.
  15.  請求項14に記載のプログラムであって、
     前記第5の手順の後に、前記移動条件管理情報、及び前記取得された稼働情報に基づいて、前記バッファに格納されるファイルを前記データ格納領域に格納するか否かを判定する手順と、
     前記バッファに格納されるファイルを格納しないと判定された場合、前記外部装置又は前記他の計算機の少なくともいずれかに格納される前記ファイルにアクセスするための情報を前記メタデータファイルに追加する手順と、
     前記バッファに格納される前記ファイルを削除する手順と、を含み、
     前記第10の手順は、
     前記決定されたファイル移動処理の処理内容が、前記メタデータファイルのみを移動し、前記ファイルを削除する処理である場合、前記外部装置又は前記計算機の少なくともいずれかに格納されるファイルにアクセスするための情報を前記メタデータファイルに追加する手順と、
     前記データ格納領域に格納されるファイルを削除する手順と、を含むことを特徴とするプログラム。
    The program according to claim 14, wherein
    A step of determining whether to store the file stored in the buffer in the data storage area based on the movement condition management information and the acquired operation information after the fifth procedure;
    A procedure for adding information for accessing the file stored in at least one of the external device and the other computer to the metadata file when it is determined not to store the file stored in the buffer; ,
    Deleting the file stored in the buffer,
    The tenth procedure includes
    In order to access a file stored in at least one of the external device and the computer when the processing content of the determined file moving process is a process of moving only the metadata file and deleting the file Adding information to the metadata file;
    And a procedure for deleting a file stored in the data storage area.
PCT/JP2013/067099 2013-06-21 2013-06-21 Computer system, metadata management method, and program WO2014203397A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/067099 WO2014203397A1 (en) 2013-06-21 2013-06-21 Computer system, metadata management method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/067099 WO2014203397A1 (en) 2013-06-21 2013-06-21 Computer system, metadata management method, and program

Publications (1)

Publication Number Publication Date
WO2014203397A1 true WO2014203397A1 (en) 2014-12-24

Family

ID=52104159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/067099 WO2014203397A1 (en) 2013-06-21 2013-06-21 Computer system, metadata management method, and program

Country Status (1)

Country Link
WO (1) WO2014203397A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017123140A (en) * 2016-01-04 2017-07-13 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Method and apparatus for updating object data in object storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002318809A (en) * 2001-04-19 2002-10-31 Nec Corp Index construction type search engine and index construction method and program
JP2007079774A (en) * 2005-09-13 2007-03-29 Hitachi Ltd Method for constructing file system
JP2007140919A (en) * 2005-11-18 2007-06-07 Hitachi Ltd Storage system and data moving method
JP2011244043A (en) * 2010-05-14 2011-12-01 Mitsubishi Electric Corp Recorded video playback system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002318809A (en) * 2001-04-19 2002-10-31 Nec Corp Index construction type search engine and index construction method and program
JP2007079774A (en) * 2005-09-13 2007-03-29 Hitachi Ltd Method for constructing file system
JP2007140919A (en) * 2005-11-18 2007-06-07 Hitachi Ltd Storage system and data moving method
JP2011244043A (en) * 2010-05-14 2011-12-01 Mitsubishi Electric Corp Recorded video playback system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017123140A (en) * 2016-01-04 2017-07-13 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Method and apparatus for updating object data in object storage system
US10380103B2 (en) 2016-01-04 2019-08-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Object data updating method and apparatus in an object storage system

Similar Documents

Publication Publication Date Title
US11645183B1 (en) User interface for correlation of virtual machine information and storage information
JP6697392B2 (en) Transparent discovery of semi-structured data schema
US8874627B2 (en) Enumerating metadata in file system directories
JP5895099B2 (en) Destination file server and file system migration method
JP6093773B2 (en) Cache-based key / value store mapping and replication
US8972405B1 (en) Storage resource management information modeling in a cloud processing environment
CN110268394A (en) KVS tree
JP4686305B2 (en) Storage management system and method
CN110447017A (en) Rule-based modification in Data-Storage Equipment monitor
US20150134796A1 (en) Dynamic partitioning techniques for data streams
CN110383261A (en) Stream for multithread storage device selects
WO2015000502A1 (en) Method and apparatus for virtualization of a file system, data storage system for virtualization of a file system, and file server for use in a data storage system
CN108140040A (en) The selective data compression of database in memory
JP2014535107A5 (en)
JP2009064120A (en) Search system
JPWO2016016944A1 (en) Database management system and database management method
US10789234B2 (en) Method and apparatus for storing data
JP6002832B2 (en) Computer system, data management method, and recording medium for storing program
WO2013186891A1 (en) Progress status management system, and progress status management method
WO2014203397A1 (en) Computer system, metadata management method, and program
US20180165380A1 (en) Data processing system and data processing method
JP6193491B2 (en) Computer system
JP2013246773A (en) Computer system and data management method
JP6585283B2 (en) Data processing system and data processing method
JP5810982B2 (en) SEARCH DEVICE, SEARCH METHOD, AND SEARCH PROGRAM

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13887537

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13887537

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP