WO2008010473A1 - Distributed file managing system - Google Patents
Distributed file managing system Download PDFInfo
- Publication number
- WO2008010473A1 WO2008010473A1 PCT/JP2007/064057 JP2007064057W WO2008010473A1 WO 2008010473 A1 WO2008010473 A1 WO 2008010473A1 JP 2007064057 W JP2007064057 W JP 2007064057W WO 2008010473 A1 WO2008010473 A1 WO 2008010473A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- server
- request
- holding
- unit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
Definitions
- the present invention relates to a system for managing electronic files distributed on a computer network (hereinafter referred to as “network”).
- a user who uses a terminal connected to a network via a network such as a LAN (Local Area Network) in an organization such as a company or a Wan (Wide Area Network) such as the Internet is connected to the network.
- a network such as a LAN (Local Area Network) in an organization such as a company or a Wan (Wide Area Network) such as the Internet is connected to the network.
- Patent Document 1 is a file system management method that presents a virtual file system having a tree structure with a super directory at the top of the file system of each server as a vertex. .
- the user can access the electronic file held by the server from the same user interface as when accessing the electronic file held by the terminal used by the user.
- Patent Document 2 does not share one electronic file held by each server with each terminal connected to the network. It is a mechanism or method that keeps electronic file groups redundantly, and completely synchronizes the contents of electronic files or electronic file groups that are held between servers.
- Patent Document 1 Japanese Patent Laid-Open No. 5-250249
- Patent Document 2 Japanese Patent Publication No. 10-510413
- Patent Document 1 has a problem that the electronic file acquired by the user is not always the electronic file having the latest contents.
- Patent Document 1 Since the technique described in Patent Document 1 does not disclose a technique for synchronizing electronic files distributed on a network, for example, an electronic file with the same name held by a plurality of servers. The contents of may differ.
- the present invention has been made to solve the above problem, and an electronic file desired by a user is held in any of a plurality of servers by accessing an arbitrary server from a terminal used by the user.
- the purpose is to provide a distributed file management system that makes it possible to provide the latest electronic files to users. It is another object of the present invention to provide a distributed file management system that can suppress the load on the network that is applied to achieve the above-mentioned purpose.
- a distributed file management system is a distributed file management system that manages electronic files held by a plurality of servers
- the distributed file management system includes: The plurality of servers connected by communication lines, terminals used by users, and a distributed file management device, and the distributed file management device receives a user request related to an electronic file.
- the access source server receives a request for the terminal to obtain an electronic file containing a user-specified identifier, which is the holding server that is the server that holds the latest electronic file containing the identifier
- Inquiries are received from the access source Sano and the server that holds the latest electronic file.
- a holding server judging means for judging whether there is a file transmission request which is a request for sending an electronic file including the user-specified identifier to the access source server, is judged by the holding server judging means to be a holding server; File transmission request means for transmitting to the server.
- the server that holds the latest electronic file and the server that holds the electronic file according to the user's request are determined based on the information indicating whether the server is out of place. Therefore, even if a user is connected via a terminal power network that he / she uses and accesses a deviation of a plurality of servers, at least one of the plurality of servers holds an electronic file desired by the user. As long as it is available, the latest electronic file according to the user's request can be obtained from the terminal. Therefore, the user does not need to be aware of whether or not the electronic file is the latest power and the server accessed from the terminal, and the user who is involved in the acquisition of the electronic file distributed and held on a plurality of servers on the network. Convenience can be improved.
- one of the servers holds the electronic file according to the user's request without performing processing for synchronizing the electronic file. As long as the terminal can obtain the latest electronic file according to the user's request. Therefore, it is possible to reduce the amount of information transferred over the network when updating an electronic file, and to reduce the load on each server.
- the holding server storage unit associates the server, the identifier of the electronic file, and a flag indicating whether or not the power is the latest in the electronic file group including the same identifier.
- the file holding information that is information is stored, and the holding server determining means refers to the file holding information, and associates it with the identifier specified by the user and the flag indicating the latest.
- a server is determined as the holding server
- the distributed file management device has the same identifier as the server and the electronic file. It holds file holding information including information that associates the flag indicating whether or not it is the latest in the electronic file group including the identifier, and if an inquiry is received from the access source Sano, Based on the file holding information, the holding server for the electronic file according to the user's request is determined. Therefore, even if a user is connected via the terminal power network that he or she uses !, even if the misalignment of multiple servers is accessed, at least one of the multiple servers holds the electronic file desired by the user. Thus, as long as the latest electronic file according to the user's request can be obtained from the terminal. Therefore, the user does not need to be aware of whether the electronic file is up-to-date or not and the power of the terminal, and the user involved in obtaining the electronic file distributed and held on multiple servers on the network. It becomes possible to improve the convenience.
- one of the servers holds the electronic file according to the user's request without performing processing for synchronizing the electronic file. As long as the terminal can obtain the latest electronic file according to the user's request. Therefore, it is possible to reduce the amount of information transferred over the network when updating an electronic file, and to reduce the load on each server.
- each server includes a file storage unit that stores an electronic file, a file transmission request receiving unit that receives the file transmission request transmitted by the file transmission request unit, and the file transmission request.
- File storage control means for reading out the electronic file from the file storage means, and file transmission means for acquiring the electronic file read by the file storage control means and transmitting the acquired electronic file to the access source server With.
- the access source server acquires the electronic file related to the user's request from the holding server.
- the access source server can transmit the electronic file according to the user's request to the terminal used by the user.
- the file transmission means of another server further comprises file reception means for receiving the transmitted electronic file
- the file storage control means further includes the electronic file received by the file reception means. Is written in the file storage means.
- the access source server holds the electronic file according to the user's request! / If not, the electronic file is acquired from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
- each of the servers further includes a difference between information stored in the file storage unit before and after writing when the file storage control unit writes an electronic file in the file storage unit.
- Update notification means for notifying the distributed file management apparatus, and the distributed file management apparatus is included in the update notification reception means for receiving notification by the update notification means and the notification received by the update notification reception means.
- holding information updating means for updating the file holding information based on the difference.
- the update notification means receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request.
- the distributed file management device is notified of the electronic file identifier related to the acquisition request as the difference, and the update notification receiving unit receives the notification from the update notification unit, and updates the stored information
- the means associates the information indicating the access source server, the identifier of the electronic file included in the difference, and the flag indicating the latest according to the notification received by the update notification receiving means.
- the file holding information is updated by adding information.
- the update notification means receives a write request, which is a request for holding the electronic file in the server, and the access source server holds the electronic file related to the write request.
- the distribution file management device is notified of the difference between the identifier of the electronic file related to the write request and the information indicating the retention based on the write request as the difference, and the update notification
- the accepting unit receives a notification from the update notifying unit, and the holding information updating unit has a server associated with the identifier included in the difference according to the notification accepted by the update notification accepting unit. And changing the flag corresponding to the server to a flag indicating that it is not the latest
- the file holding information is updated by adding information in which the information indicating the access source server is associated with the identifier included in the difference and the flag indicating the latest.
- the file holding information held by the distributed file management apparatus is updated.
- the latest state of the electronic file held by each server can be automatically stored in the file holding information.
- each of the servers further includes: a user request receiving unit that receives a user request related to an electronic file from the terminal; and the user request received by the user request receiving unit.
- Request type determination for determining whether the acquisition request, which is a request for the terminal to acquire an electronic file including a user-specified identifier, is a! / Contrast between a write request, which is a request for holding the electronic file in the server
- a holding server inquiry means for inquiring of the distributed file management apparatus which electronic file holding server is related to the acquisition request when the request type determination means determines that the acquisition request is made.
- the inquiry accepting unit receives the electronic file related to the acquisition request from the holding server inquiry unit included in the access source server that received the acquisition request.
- Equity server mosquito ⁇ accepts a ⁇ U inquiry as if it were a shift.
- the file storage control means further selects an electronic file related to the write request received by the user request reception means when the request type determination unit determines that the request is a write request. Write to file storage means.
- the access source server makes an inquiry related to the user request to the distributed file management apparatus or executes its own process in response to the user request. This makes it possible to reduce the load on the distributed file management device.
- each of the servers further excludes processing related to writing of the electronic file related to the write request when the request type determining unit determines that the request is the write request.
- Lock request transmitting means for transmitting a request for locking to be released and a request for releasing the lock to the distributed file management device, and the distributed file management device further identifies an electronic file to be checked.
- Lock information holding means for holding lock information, which is information, and the lock request or unlock request from the lock request transmitting means.
- the lock information related to the lock request is held in the lock information holding means, and if the lock release request is received, the lock release request is A lock request receiving unit that deletes the lock information from the lock information holding unit, and the holding information update unit includes the difference between the electronic file indicated by the lock information and the notification received by the update notification receiving unit. If the electronic file indicated by is identical, the file holding information is updated after the lock information held by the lock information holding means is deleted.
- a distributed file management system is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: It is composed of the plurality of servers, terminals used by users, and a distributed file management device connected by a communication line.
- the distributed file management device is a server server that holds electronic files.
- a plurality of servers hold electronic files having the same identifier with reference to the file holding information and holding server storage means for storing file holding information which is information indicating Deletion target judging means for judging whether or not to delete each electronic file so that the electronic file held by at least one of the servers remains.
- a deletion request transmitting means for transmitting a request for deleting the electronic file to a server holding the electronic file determined to be deleted by the deletion target determining means.
- the distributed file management apparatus when the distributed file management apparatus receives an inquiry from the access source Sano, the distributed file management apparatus, based on the information indicating which server holds the electronic file, holds the electronic file related to the user's request. Judging. For this reason, even if a user accesses a misalignment of a plurality of servers connected via a terminal power network used by the user, at least one of the plurality of servers maintains an electronic file desired by the user. As long as the user has the electronic file according to the user's request, the terminal capability can be acquired. Therefore, the user also accesses whether the electronic file is up-to-date and terminal power There is no need to be conscious of the server, and it is possible to improve the convenience of the user related to the acquisition of electronic files distributed and held in multiple servers on the network.
- the holding server storage means includes the server, an identifier of the electronic file, and a last access date that is a date when the user's request related to the electronic file held by the server is last received.
- the file retention information that is the associated information is stored, and the deletion target determination means refers to the file retention information, and the plurality of servers retain the same electronic file, and the plurality of servers retain the electronic files. Whether or not to delete each electronic file so that the electronic file with the latest access date is the newest when any of the files has also passed the predetermined period of the last access date. Determine whether.
- the holding server storage means associates the server, the identifier of the electronic file, and a flag indicating whether or not the latest in the electronic file group including the same identifier.
- the deletion target judging means refers to the file holding information, and a plurality of servers hold electronic files including the same identifier, and an electronic device including the same identifier is stored. Each electronic file is deleted so that only the electronic file associated with the flag indicating the latest contents is left when the flag indicating that it is not the latest is associated with any of the files Power to do Determine whether.
- the deletion target determining unit leaves the electronic file held by at least one of the plurality of servers. In addition, it is periodically determined whether or not each electronic file is to be deleted.
- the distributed file management apparatus further receives a write request which is a request for an access source server, which is a server that has received a user request related to an electronic file, to hold the electronic file in the server.
- a query accepting means for accepting from the access source server whether or not a server error that holds an electronic file including an electronic file that includes the same identifier as the electronic file related to the write request;
- the deletion target judging means refers to the file holding information when the inquiry receiving means receives an inquiry based on the write request, and a plurality of servers hold electronic files including the same identifier.
- the electronic server deletes each electronic file so that only the electronic file retained by the access source server receiving the write request is left. Judge whether or not it is correct.
- the terminal further obtains an electronic file including an identifier specified by a user, which is an access source server that has received a user request related to the electronic file.
- an inquiry receiving unit that receives from the access source server an inquiry as to which holding server is the server that holds the electronic file related to the acquisition request, and the inquiry receiving unit receives the inquiry.
- a holding server determination unit that determines the holding server by referring to the file holding information, and the holding server determination unit determines that the server is a holding server.
- the electronic file containing the user-specified identifier is transmitted to the access source server.
- the file I le transmission request is determined, and a file transmission request means for transmitting to have been servers determined to be holding server by the holding server determination means.
- Each server stores a file storage means for storing an electronic file !, a file transmission request receiving means for receiving the file transmission request transmitted by the file transmission request means, The file storage control means for reading out the electronic file related to the file transmission request and the electronic file read by the file storage control means are acquired, and the acquired electronic file is stored in the access source server. File transmission means for transmitting.
- each of the servers further includes file receiving means for receiving an electronic file transmitted from the file transmitting means of another server, and the file storage control means is further configured to include the file receiving means. The received electronic file is written into the file storage means.
- the access source server holds the electronic file according to the user's request! Otherwise, the electronic file is obtained from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
- the distributed file management device further includes a clock unit that holds a current date and time, and the holding server determination unit that determines that the access source server is a holding server.
- First holding information updating means for updating the last access date included in the file holding information associated with the access source server and the identifier specified by the user according to the date held by the clock means.
- each of the servers further updates to notify the distributed file management device of the difference between the file storage means before and after the writing when the file storage control means writes an electronic file in the file storage means.
- the distributed file management device updates the file holding information by the update notification receiving means for receiving a notification from the update notification means and the difference included in the notification received by the update notification receiving means. Second holding information updating means.
- the distributed file management device further includes a clock unit that holds the current date and time, and the update notification unit accesses the request for the terminal to acquire an electronic file including a user-specified identifier.
- the identifier of the electronic file related to the acquisition request is stored in the distributed file management apparatus as the difference.
- the update notification receiving means receives a notification from the update notification means, and the second holding information update means receives information indicating the access source server in accordance with the notification received by the update notification receiving means.
- the update notification means receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request.
- the distributed file management apparatus is notified of the electronic file identifier related to the acquisition request as the difference, and the update notification receiving means receives the notification from the update notification means, and the second
- the retained information update unit includes information indicating the access source server, an identifier of the electronic file included in the difference, and the flag indicating the latest.
- the file holding information is updated by adding the associated information.
- the distributed file management device further includes a clock unit that holds the current date and time, and the update notification unit issues a write request that is a request to hold the electronic file to the server.
- the server receives and the access source server holds the electronic file related to the write request, it is the hold based on the identifier of the electronic file related to the write request and the write request.
- the update notification receiving means receives a notification from the update notification means, and the second held information update means receives the update notification. According to the notification received by the means, the information indicating the access source server, the identifier included in the difference, and the date acquired from the clock unit as the last access date are associated By broadcast, The file holding information is updated.
- the update notification means receives a write request, which is a request for causing the server to hold an electronic file, and the access source server holds the electronic file related to the write request.
- the distribution file management device is notified of, as the difference, the identifier of the electronic file related to the write request and the information indicating the retention based on the write request, and the update notification
- the accepting unit receives a notification from the update notifying unit, and the second holding information updating unit is a server associated with the identifier included in the difference according to the notification accepted by the update notification accepting unit.
- the flag corresponding to the server is changed to a flag indicating that it is not the latest, and the information indicating the access source server and the difference are included in the difference And Besshi, by adding information that associates with the flag indicating a date, updating the file I le holds information.
- the latest correctness and status of the electronic file held by each server can be automatically stored in the file holding information.
- a distributed file management system is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: The plurality of servers connected by communication lines, terminals used by users, and a distributed file management device, and the distributed file management device receives a user request related to an electronic file. If the access source server receives a request for the terminal to obtain an electronic file containing a user-specified identifier, the holding server is a server that holds a genuine electronic file created by an authorized person including the identifier Inquiry means for accepting an inquiry from the access source server and an electronic file are stored.
- the holding server storage means that stores file holding information that is information indicating which server is to be executed, Holding server determining means for determining which of the holding servers is, and transmitting an electronic file including the user-specified identifier to the access source server
- File transmission request means for transmitting a file transmission request, which is a request, to a server determined to be a holding server by the holding server determination means.
- the holding server storage unit stores file holding information which is information in which the server, the identifier of the electronic file, and the hash value of the electronic file are associated with each other, and the holding server determination unit includes
- the inquiry accepting means accepts the inquiry
- the file holding information is referred to, and the hash value of the electronic file held by the server associated with the user-specified identifier is acquired.
- the server associated with the user-specified identifier matches the acquired hash value, the server associated with the user-specified identifier is determined to be a holding server.
- the distributed file management apparatus when the distributed file management apparatus receives an inquiry from the access source sano, the distributed file management apparatus, based on the information indicating which server holds the electronic file, holds the electronic file related to the user's request. Judging. For this reason, even if a user accesses a misalignment of a plurality of servers connected via a terminal power network used by the user, at least one of the plurality of servers maintains an electronic file desired by the user. As long as the user has the electronic file according to the user's request, the terminal capability can be acquired. Therefore, the user does not need to be aware of whether the electronic file has the latest power or the terminal power, and the user's access to the electronic file distributed and held on multiple servers on the network is eliminated. Convenience can be improved.
- the holding server determination unit holds an electronic file including an identifier specified by the user by referring to the file holding information when the inquiry receiving unit receives the inquiry.
- a first determination unit for determining a server, and a hash value of the electronic file held by the server determined to hold an electronic file by the first determination unit, and the hash value and the file A second determination unit that determines that the server determined to hold the electronic file by the first determination unit is a holding server when the hash value included in the holding information matches the second determination unit, and Furthermore, the distributed file management apparatus receives the inquiry from the inquiry accepting unit, and the server that is determined to hold the electronic file by the first determination unit is sent to the server.
- a hash value request receiving means for receiving a request for a hash value of a specific electronic file from the hash value requesting means.
- a hash value calculation means for obtaining the specific electronic file included in the request received by the hash value request receiving means from the file storage means and calculating a hash value of the specific electronic file; and the hash value Hash value transmitting means for transmitting the hash value calculated by the calculating means to the hash value receiving unit.
- each server holds, calculates the hash value of the electronic file, and transmits the calculated hash value to the distributed file management apparatus.
- the distributed file management apparatus can acquire the hash value of the electronic file actually held by the server, and verify that the electronic file held by the server has been tampered with. It becomes possible to do.
- the inquiry accepting unit further relates to the write request from an access source server that is a server that has received a request to write an electronic file to a file storage unit included in the access source server.
- An inquiry about which server holds an electronic file is received, and the holding server determination unit refers to the file holding information when the inquiry receiving unit further receives an inquiry based on the write request. From this, it is determined which server holds an electronic file including the same identifier as that of the electronic file related to the write request, and the distributed file management device further determines the electronic file by the holding server determination means.
- the value indicating the free state of the file storage means provided for storing the electronic file in each server is the largest.
- the server is determined and the value indicating the free state is the largest.
- a copy destination determination unit that determines that the server is a server that holds a copy of the electronic file related to the write request, and a server that is determined to hold a copy by the copy destination determination unit according to the write request to the server
- a copy destination transmission unit for transmitting the electronic file to the access source server is provided.
- the copy destination determination unit is a file storage provided for each server to store an electronic file when the holding server determination means determines that there is no server holding the electronic file!
- the server having the largest ratio of the free capacity to the total capacity of the means is determined, and the server having the largest ratio is determined as the server that holds the duplicate of the electronic file related to the write request.
- the copy destination determination unit is a file storage provided for each server to store an electronic file when the holding server determination means determines that there is no server holding the electronic file!
- the server with the largest available capacity is determined, and the server with the largest available capacity is determined as the server that holds the copy of the electronic file related to the write request.
- the electronic file related to the write request does not hold the server of the deviation and is not a new electronic file
- the electronic file is also held by a server other than the access source server. Therefore, even when any one of the servers stops operating, the electronic file held by that server can be transmitted to the terminal used by the user.
- the servers other than the access source server that holds the electronic file are determined according to the state of the free capacity of the part that stores the electronic file, the storage resources of each server are evenly distributed. It is possible to distribute the load on the server.
- each of the servers is an electronic file transmitted by the file transmission request unit.
- a file transmission request receiving means for receiving a file transmission request including an aisle identifier, a file storage control means for reading out an electronic file including an identifier included in the file transmission request from the file storage means, and the file storage control means.
- File transmission means for acquiring the read electronic file and transmitting the acquired electronic file to the access source server.
- Each of the servers further includes a file receiving unit that receives an electronic file transmitted from the file transmitting unit of another server, and the file storage control unit is further received by the file receiving unit. The electronic file is written into the file storage means.
- the access source server holds the electronic file according to the user request! Otherwise, the electronic file is obtained from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
- each of the servers further, when the file storage control means writes an electronic file in the file storage means, sends the difference of the file storage means before and after writing to the distributed file management device.
- An update notification means for notifying, and the distributed file management device determines the file holding information based on the difference included in the notification received by the update notification reception means and the notification received by the update notification reception means.
- the update notification unit is included in the file storage unit included in the access source server when the access source server accepts a request for the terminal to acquire an electronic file including a user-specified identifier.
- the identifier of the electronic file related to the acquisition request is notified to the distributed file management device as the difference, and the update notification receiving means notifies the update notification means of the notification.
- the file holding information is updated by adding information in which the information indicating the access source server is associated with the identifier of the electronic file included in the difference.
- the update notifying unit receives the request for writing the electronic file in the file storage unit provided in the access source server, and the update notification unit receives the request from the file storage unit provided in the access source server.
- the update notification unit receives the request from the file storage unit provided in the access source server.
- the update notification receiving means receives the information including the hash value in the difference received by the update notification reception means, and information indicating the access source server and the difference.
- the latest state of the electronic file held by each server can be automatically stored in the file holding information.
- a distributed file management system is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: It is composed of a plurality of first servers connected by communication lines and a terminal used by the user. Each of the first servers relates to acquisition or writing of an electronic file from the terminal used by the user. An electronic file related to the user's request is received by a management device that is one of the first server group that receives the user's request and manages the electronic file held by the server group in response to the user's request.
- File server means for inquiring whether the server to be held is a deviation and file holding information as information indicating whether the server for holding the electronic file is a deviation are recorded.
- a holding server that is a server that holds an electronic file related to the user request by referring to the file holding information in response to an inquiry from an access source Sano that is a server that has received the user request.
- the first server group by communicating with the first server group, and management device means for managing the electronic file held by the server group And a first management device determination means for determining which is the management device.
- the distributed file management system includes the plurality of first servers, at least one second server, and a terminal used by a user, which are connected via a communication line, and A second server that determines which of the first server group is the management device by communicating with the file server unit and the first server group; Is provided.
- the distributed file management system includes a plurality of servers having a function for managing electronic files distributed and held in a plurality of servers. Therefore, even if a server that stops functioning as a distributed file management device due to a failure, etc. can be operated as a distributed file management device, other servers can operate as distributed file management devices. And the stability of the distributed file management system can be improved.
- the first management device determination unit includes a first management device holding unit that holds information indicating whether the current management device is the first server group; A rank storage unit for storing rank information, which is information that defines the order in which the first server group functions as the management device, and the management device is the management device in each first server.
- the management device notification unit to be notified, the first management device notification reception unit that receives the notification from the management device notification unit, and the first management device notification reception unit after receiving the notification,
- a change determination unit that determines that a change of the management device is necessary, and a case where the change determination unit determines that a change of the management device is necessary
- Information indicating the highest ranked high first server in the first server group that has a management device determining unit for holding the first management device holding portion.
- the first management device determination unit includes a first management device holding unit that holds information indicating which of the first server groups the current management device is, A rank storage unit that stores rank information, which is information that defines the order in which the first server group functions as the management apparatus, and the management apparatus includes the management apparatus in each of the first server and the second server. From the management device notification unit that notifies that the management device and the management device notification unit The first management device notification reception unit that receives the notification and the management device notification reception unit receives the previous notification, and when a predetermined time elapses without receiving the next notification, When the change determination unit determines that a change is necessary, and when the change determination unit determines that the management device needs to be changed, the first information is operated by referring to the ranking information.
- a management device determination unit that causes the first management device holding unit to store information indicating the first server having the highest rank in the server group, and the second management device determination unit includes the current management device determination unit. Holds information indicating which of the first server group the management device is! /, Receives a notification from the second management device holding unit and the management device notification unit, and receives the notification of the received notification Information indicating the transmission source is sent to the second management device holding unit. And a second management device notification reception unit for lifting.
- the change determination unit further includes the current management device indicated by the information held by the first management device holding unit and the information received by the first management device notification receiving unit. If the sender of the notification does not match, it is determined that the management device needs to be changed.
- the management device means includes: a holding server storage unit that stores the file holding information; and an access request server that has received an acquisition request that is a request for the terminal to acquire an electronic file including a user-specified identifier.
- An inquiry reception unit that receives an inquiry as to which server holds an electronic file including the identifier, and the file reception information is received when the inquiry reception unit receives an inquiry based on the acquisition request.
- the first server having the function of the distributed file management apparatus communicates with another server, and it is detected in advance that communication has been lost or communication has been restored.
- the server with the highest rank among the first servers in operation according to the specified rank is the distributed file management device.
- the server functioning as the distributed file management device can be automatically switched, and the stability of the distributed file management system can be improved.
- the inquiry reception unit further receives the identifier from the access source server that has received the write request that is a request for causing the server to hold an electronic file including a user-specified identifier.
- the management device means further determines information indicating the server determined to be a holding server by the holding server determination unit by referring to the access source. It has a holding response transmitter for transmitting to the server.
- the file server means includes a file storage unit for storing an electronic file, a file transmission request receiving unit for receiving a file transmission request including an identifier of the electronic file transmitted by the file transmission request unit, A file storage control unit that reads an electronic file including an identifier included in the file transmission request from the file storage unit and the electronic file read by the file storage control unit are acquired, and the acquired electronic file is stored in the access source server.
- a file transmission unit for transmission is acquired.
- the file server means further includes a file receiving unit that receives an electronic file transmitted from the file transmitting unit of another server, and the file storage control unit further includes: The received electronic file is written into the file storage unit.
- the access source server holds the electronic file according to the user's request! Otherwise, the electronic file is obtained from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
- the file server means further calculates the difference of the file storage unit before and after the writing to the first server group.
- An update notification unit for notifying The logical unit includes an update notification receiving unit that receives a notification from the update notification unit and a holding information update unit that updates the file holding information based on the difference included in the notification received by the update notification receiving unit.
- the update notifying unit may be configured so that the access source server receives a request for the terminal to acquire an electronic file including a user-specified identifier.
- the distributed file management device is notified of the identifier of the electronic file related to the acquisition request as the difference, and the update notification receiving unit
- the retained information update unit receives information indicating the access source server and the identifier of the electronic file included in the difference in response to the notification received by the update notification reception means.
- the file holding information is updated by adding the associated information.
- the management device means may further be configured such that the update notification unit receives the request for writing the electronic file in the file storage means included in the access source server, so that the access source server receives the request.
- the update notification unit receives the request for writing the electronic file in the file storage means included in the access source server, so that the access source server receives the request.
- the identifier of the electronic file related to the write request is notified to the distributed file management device as the difference, and the update notification is received.
- the means receives the notification from the update notification means, and the retained information update means receives the information indicating the access source server according to the notification received by the update notification reception means and including the hash value in the difference. Then, the file holding information is updated by adding the identifier of the electronic file included in the difference.
- the file holding information held by the distributed file management apparatus is updated.
- the latest state of the electronic file held by each server can be automatically stored in the file holding information.
- the present invention can be realized as a distributed file management system including such characteristic means, and can be realized by using the characteristic means included in the apparatus constituting the distributed file management system as a step.
- a computer can be realized as a file management method or as a characteristic means included in the devices that make up a distributed file management system. It can also be realized as a program to be executed. Such a program can be distributed via a recording medium such as CD-ROM (Compact Disc-Read Only Memory) or a communication network such as the Internet.
- the amount of information transferred on the network can be reduced, and the load on each server can be reduced. Is possible.
- the electronic file frequently acquired here is an electronic file that has been subject to an acquisition request more than once by the same or different user, or twice by the same or different user within a certain period of time. This is an electronic file that is the subject of the above acquisition request.
- FIG. 1 is a diagram showing an outline of a configuration of a distributed file management system according to Embodiment 1 of the present invention.
- FIG. 2 is a diagram showing an example of an electronic file path common to electronic file information stored in a file storage unit included in each server according to the first embodiment.
- FIG. 3A is a diagram showing a specific example of an electronic file stored in a file storage unit provided in server A according to the first embodiment.
- FIG. 3B is a diagram showing a specific example of an electronic file stored in a file storage unit included in server B according to the first embodiment.
- FIG. 3C is a diagram showing a specific example of an electronic file stored in a file storage unit included in server C according to the first embodiment.
- FIG. 4 is a block diagram showing an example of a functional configuration provided in server A according to the first embodiment.
- FIG. 5 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus according to the first embodiment.
- FIG. 6 is a diagram showing an example of management server information stored in the holding server storage unit.
- FIG. 7 is a diagram showing an example of file holding information stored in the holding server storage unit. Is
- FIG. 8 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 1 of the present invention when a user transmits an acquisition request for terminal power. .
- FIG. 9 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the first embodiment of the present invention when the user transmits a write request with terminal power. is there.
- FIG. 10 shows the processing executed by the distributed file management device, server A, server B, and terminal a when server A receives a request for acquiring file a from terminal a.
- 5 is a time chart showing an example of information transmitted and received between these devices.
- FIG. 11 shows a distributed file management device, server A, and server when server A accepts an update request for file a held by server A after accepting an acquisition request for file a from terminal a.
- FIG. 7 is a diagram showing an example of processing executed between B and terminal a and information transmitted and received between these devices.
- FIG. 12 is a diagram showing electronic file information stored in the file storage unit of server A that has received an acquisition request for file a from terminal a.
- FIG. 13 shows a distributed file management device, server A, and server when server A receives an update request for file a held by server A after receiving an acquisition request for file a from terminal a.
- 7 is a time chart showing an example of processing executed in B and terminal a and information transmitted and received between these devices.
- FIG. 14 is a diagram showing electronic file information stored in a file storage unit of Sano A updated by a request to update file a from terminal a.
- FIG. 15 is a diagram showing file holding information updated in accordance with an update notification when server A receives an update request for file a from terminal a.
- FIG. 16 is a diagram showing an example of a screen displayed on a monitor connected to a terminal used by the user for the user to input a request for a specific file.
- FIG. 17 is a diagram showing an example of a result displayed on a monitor connected to a terminal used by a user when the user instructs acquisition of file a.
- FIG. 18 is a diagram showing an example of a result displayed on a monitor connected to a terminal used by a user when the user instructs an update request for file a.
- FIG. 19 is a diagram showing another example of file holding information stored in the holding server storage unit.
- FIG. 20A is a diagram showing an example of an electronic file path common to electronic file information stored in a file storage unit included in server A according to the second embodiment.
- FIG. 20B is a diagram showing an example of an electronic file path common to electronic file information stored in the file storage unit included in the server B according to Embodiment 2.
- FIG. 20C is stored in the file storage unit provided in server C according to the second embodiment. It is a figure which shows the example of the path
- FIG. 21 is a block diagram showing an example of a functional configuration provided in server A320 according to the second embodiment.
- FIG. 22 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 310 according to the second embodiment.
- FIG. 23 is a diagram showing an example of file holding information stored in the holding server storage unit.
- FIG. 24 is a diagram showing an example of the deletion condition information according to the second embodiment.
- FIG. 25 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the second embodiment of the present invention when the user transmits an acquisition request for terminal power. .
- FIG. 26 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the second embodiment of the present invention when the user transmits a write request with terminal power. is there.
- FIG. 27 is a flow chart showing an example of processing executed in the distributed file management apparatus according to Embodiment 2 of the present invention when deleting an electronic file held by each server.
- FIG. 28 is a diagram showing the file holding information 40 Oc after the electronic file deletion processing by the distributed file management device 310 is completed when the file holding information 400b has the contents shown in FIG.
- FIG. 29 is a block diagram showing an example of the functional configuration of the distributed file management apparatus according to the first modification.
- FIG. 30 is a diagram showing an example of file holding information stored in a holding server storage unit.
- FIG. 31 is a time chart showing an example of processing executed by each device according to the present modification when the server receives an update request from the user.
- FIG. 32 is a diagram showing file holding information when the holding server determination unit executes the determination process in S212 when server A receives an update request for file d.
- FIG. 33 is a diagram showing the file holding information after the process executed by each device according to the present modification is completed when the server A accepts a request for updating the file d.
- FIG. 34 is a diagram showing an example of file retention information when an electronic file having old contents is to be deleted.
- FIG. 35A is a diagram showing a specific example of an electronic file stored in a file storage unit included in server A according to the third embodiment.
- FIG. 35B is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server B according to Embodiment 3.
- FIG. 35C is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server C according to the third embodiment.
- FIG. 36 is a block diagram illustrating an example of a functional configuration provided in the server A according to the third embodiment.
- FIG. 37 is a block diagram showing an example of a functional configuration of the distributed file management apparatus according to the third embodiment.
- FIG. 38 is a diagram showing an example of file holding information stored in the holding server storage unit.
- FIG. 39 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits an acquisition request for terminal power. .
- FIG. 40 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits a storage request for terminal power. .
- FIG. 41 shows details of the copy destination determination processing shown in FIG. 40, and is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention. .
- FIG.42 shows that when the user sends a request to update file f to server A
- 6 is a diagram illustrating an example of file holding information in a holding server storage unit updated according to an update notification and a hash value transmitted from server A.
- FIG. 42 shows that when the user sends a request to update file f to server A
- 6 is a diagram illustrating an example of file holding information in a holding server storage unit updated according to an update notification and a hash value transmitted from server A.
- FIG. 43 is a diagram showing a specific example for explaining the storage unit information.
- FIG. 44 is a diagram showing an example of file holding information in the holding server storage unit after the processing in each device is completed when the user transmits a request to update the file f to the server A with terminal power.
- FIG. 45 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits an update request for terminal power. .
- FIG. 46 is a diagram showing an example of file holding information in which a hash value is initialized when the distributed file management apparatus according to the third embodiment receives an update permission request.
- FIG. 47 is a diagram showing an example of file retention information after execution of an electronic file update process related to a request when a user transmits a terminal capability update request in the third embodiment.
- FIG. 48 is a diagram showing an outline of the configuration of the distributed file management system according to the fourth embodiment of the present invention.
- FIG. 49A is a diagram showing a specific example of an electronic file stored in a file storage unit included in server A according to the fourth embodiment.
- FIG. 49B is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server B according to Embodiment 4.
- FIG. 49C is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server C according to the fourth embodiment.
- FIG. 50 is a block diagram showing an example of an outline of a functional configuration included in a server A820 according to the fourth embodiment.
- FIG. 51 is a block diagram showing an example of details of a functional configuration included in the file server unit 900 of the server A 820 according to the fourth embodiment.
- FIG. 52 is a block diagram showing an example of the details of the functional configuration of the management device unit and the management device determination unit of server A according to the fourth embodiment.
- FIG. 53 is a diagram showing an example of management server information stored in the holding server storage unit according to the fourth embodiment.
- FIG. 54 is a diagram showing an example of file holding information 1000b stored in the holding server storage unit 1000 according to Embodiment 4.
- FIG. 55 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 4 of the present invention when the user transmits an acquisition request for terminal power as well. .
- FIG. 56 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the fourth embodiment of the present invention when the user transmits a write request with terminal power. is there.
- FIG. 57 is a time chart of processing executed in each server to determine a management device.
- FIG. 58 is a detailed flowchart of the first management device process executed by the management device determination unit of the normal server.
- FIG. 59 is a detailed flowchart of the second management device process executed by the management device determination unit of the management device server.
- FIG. 60 shows the distribution according to the fourth embodiment of the present invention when server A accepts an acquisition request for file d while server B is stopped and when server B recovers thereafter. It is a time chart which shows the specific example of the process performed in each apparatus which comprises a file management system.
- FIG. 61 is a diagram showing an example of retained server information in the retained server storage units of server A and server C after the processing related to the acquisition request for file d executed while server B is stopped. .
- FIG. 62 is a diagram showing an example of holding server information in the holding server storage unit of server B after the processing related to the acquisition request for file d executed while server B is stopped.
- FIG. 63 is a diagram showing an outline of the configuration of the distributed file management system according to the second modification of the present invention.
- FIG. 64 is a diagram showing an example of the management server information in the holding server storage unit included in the server functioning as the distributed file management apparatus according to the second modification of the present invention.
- FIG. 65 is a block diagram showing a functional configuration of server D, which is a server that does not function as the distributed file management device according to the second modification of the present invention.
- Embodiment 1 to Embodiment 4 of the distributed file management system according to the present invention will be described with reference to the drawings.
- FIG. 1 is a diagram showing an outline of the configuration of the distributed file management system according to the first embodiment.
- the distributed file management system according to Embodiment 1 is connected to a terminal used by a user via a communication line, stores an electronic file, and a difference between a plurality of servers including a file storage unit is A terminal that accepts user requests related to electronic files to be transmitted, executes processes related to accepted user requests in cooperation with the distributed file management device or other servers, and uses the results of the executed processes by the user It is an example of a system that transmits to.
- the distributed file management system is composed of distributed file management apparatus 10, server A20, server B30 and server C40, and terminal a60 and terminal b65.
- the distributed file management device 10 is a device that manages information about electronic files held by a plurality of servers to be managed.
- the distributed file management device 10 accepts user requests related to electronic files (hereinafter referred to as " In response to an inquiry from the access source sano), information indicating the sano holding the electronic file related to the user's request (hereinafter referred to as “holding server”) is sent to the access source server. It is an example.
- the distributed file management apparatus 10 manages the server A20, the server B30, and the server C40, and stores information about the electronic file stored and held in the server A20. Manages information about electronic files stored and held on server B30 and information about electronic files stored and held on server C40
- the communication line 15 is a communication line that connects the distributed file management apparatus 10 and each of the servers 20, 30, and 40.
- the communication line 15 is connected via a LAN (Local Area Network) or a WAN (Wide Area Network). .
- the server A20 includes a file storage unit 25 for storing electronic files, and receives a request related to the electronic file from each terminal 60, 65 and other servers 30, 40 used by the user. It is. When the server A20 receives the request, it cooperates with the distributed file management device 10 as necessary to process the received request and send the processed result to the request source.
- Server B30 and server C40 also have the same function, and include a file storage unit 35 and a file storage unit 45, respectively.
- FIG. 2 is a diagram showing an example of a folder configuration common to electronic files stored in a file storage unit included in each server according to the present embodiment.
- each server holds according to a predetermined common folder configuration.
- each terminal 60, 65 uses the terminal 60 or 65 to specify an electronic file by a path indicating a predetermined common folder structure as shown in the figure, and requests related to the specified electronic file to each server.
- a path indicating a predetermined common folder structure as shown in the figure.
- requests related to the specified electronic file to each server.
- One of 20, 30, 40, for example, each terminal 60, 65 is preset and transmitted to the server.
- the “request related to the electronic file” is a request for acquiring the electronic file “ There are “acquisition request” and “write request” which is a request to write an electronic file.
- the “write request” includes an “update request” that is a request to update an existing electronic file and a “storage request” that is a request to store a new electronic file.
- Each electronic file shown in the figure is specified by a relative path or file name having a folder related to the folder name ⁇ / dataJ as a vertex.
- a folder with the folder name "Zdata” has an electronic file with the file name "a”, an electronic file with the file name ⁇ b, and a file name "d” immediately below it. It has an electronic file and a folder whose folder name is “c”.
- a folder having a folder name “c” has an electronic file having a file name “e” and an electronic file having a file name “f” immediately below.
- the "electronic file” includes file attribute information such as file name and file update date, in addition to information serving as the entity of the electronic file.
- file x refers to an electronic file whose file name is “x”.
- folder x when simply saying “folder x”, it means the folder whose folder name is “x”.
- file X-2” and “file X-3” refer to an electronic file with file name “x”.
- “File x”, “File X-2”, and “File X-3” are the power that can be specified as an electronic file with the file name “x”. Have different attribute information.
- 3A to 3C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 1.
- FIG. 3A is a diagram showing an example of the electronic file information 25a stored in the file storage unit 25 provided in the server A20 according to the first embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a” and “file b”.
- FIG. 3B is a diagram showing an example of the electronic file information 35a stored in the file storage unit 35 included in the server B30 according to the first embodiment. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a-2”, “file d”, and “file e”.
- the file storage unit 35 stores “file a-2”, “file d”, and “file e”.
- FIG. 3C is a diagram showing an example of the electronic file information 45a stored in the file storage unit 45 provided in the server C40 according to the first embodiment. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file d”.
- the communication line 50 is a communication line that connects the servers 20, 30, 40 and the terminals 60, 65, and is, for example, a LAN or a WAN.
- the terminal a60 is a terminal used by the user.
- the terminal a60 receives a user request related to the electronic file, the terminal a60 transmits the request to any of the servers 20, 30, and 40.
- the terminal a60 acquires the result from the server that transmitted the request, the terminal a60 provides the acquired result to the user by displaying the acquired result on a monitor.
- Terminal b65 has the same function.
- each file indicated by a predetermined file configuration is distributed and held in a plurality of servers, and a user accesses a server while holding a desired electronic file. Even in such a case, the distributed file management apparatus 10 can process a user request related to the electronic file.
- FIG. 4 is a block diagram illustrating an example of a functional configuration included in the Sano A20 according to the first embodiment.
- Server A20 accepts a request from the user. When the user request is an acquisition request, the server A20 keeps the latest entity as long as one of the servers under the control of the distributed file management device 10 holds the electronic file related to the received acquisition request. The included electronic file is transmitted to the terminal used by the user.
- Server B30 and server C40 also have the same functional configuration as server A.
- the server A20 includes a file storage unit 25, a user request reception unit 71, a request type determination unit 73, a request information holding unit 75, a file storage control unit 77, a holding server inquiry unit 79, Holding response reception unit 81, file transmission request reception unit 83, file transmission unit 85, file reception unit 87, lock request transmission unit 89, update notification unit 91, completion notification reception unit 93, user A request response unit 95.
- the user request receiving unit 71 is a part that receives a request related to an electronic file from the terminals 60 and 65 used by the user via the communication line 50.
- the request type determining unit 73 is a part that determines the type of request related to the electronic file received by the user request receiving unit 71.
- the request related to the electronic file includes “acquisition request” and “write request” as described above, and the “write request” includes “update request” and “storage request”. There is.
- the request type determining unit 73 determines which of the requests related to the electronic file received by the user request receiving unit 71 is.
- the request information holding unit 75 is a part that temporarily stores and holds information included in the request received by the user request receiving unit 71.
- the request information holding unit 75 is realized by, for example, a RAM (Random Access Memory).
- the file storage control unit 77 is a part that controls the file storage unit 25.
- the file storage control unit 77 retrieves whether or not the file storage unit 25 stores a specific electronic file, reads the electronic file stored in the file storage unit 25, and stores the file storage unit 25 in the storage.
- the stored electronic file is updated and a new electronic file is stored in the file storage unit 25.
- the holding server inquiry unit 79 holds an electronic file related to the user's request! /, And asks the distributed file management device 10 via the communication line 50, This is the part to be combined.
- the holding response receiving unit 81 is a part that receives the response of the distributed file management apparatus 10 that has received the inquiry from the holding server inquiry unit 79 via the communication line 15.
- the holding response receiving unit 81 stores the electronic file related to the user's request when the server itself is an access source server, or the stored file storage unit 25, 3 Receives a response that states that 5 and 45 do not exist.
- the file transmission request receiving unit 83 accesses the electronic file when the server provided with itself is not the access source server and the server provided with itself holds an electronic file related to the user's request. Distributed file management for requests sent to the original server This is the part that receives from the device 10.
- the file transmission unit 85 receives the request received by the file transmission request reception unit 83, acquires the electronic file related to the request from the file storage control unit 77, and transmits the acquired electronic file to the access source server. It is a part.
- the file receiving unit 87 is a part that receives an electronic file transmitted from the file transmitting unit 85 of another server.
- the lock request transmission unit 89 performs electronic processing related to the write request. This is the part that sends to the distributed file management device 10 a lock request that eliminates processing related to file writing.
- the update notification unit 91 is a part that notifies the distributed file management device 10 of the stored or updated content when the file storage control unit 77 stores or updates an electronic file.
- the completion notification receiving unit 93 is a part that receives from the distributed file management apparatus 10 a notification that indicates the completion of processing.
- the user request response unit 95 is a part that transmits a response to the user request received by the user request reception unit 71 to the terminals 60 and 65 used by the user via the communication line 50.
- the response here is an electronic file related to the acquisition request if the user request is an acquisition request, and a notification of completion of the write request if the user request is a write request.
- FIG. 5 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 10 according to the first embodiment.
- the distributed file management apparatus 10 includes a holding server storage unit 100, an inquiry reception unit 102, a holding server determination unit 104, a holding response transmission unit 106, a file transmission request unit 108, and an update notification reception unit. 110, a holding information update unit 112, an update completion notification unit 114, a lock request reception unit 116, and a lock information holding unit 118.
- the holding server storage unit 100 holds management server information, which is information for specifying a server set as a management target of the distributed file management apparatus 10, and each server included in the management server information.
- File retention information which is information including electronic files. It is a memory part that remembers.
- the holding server storage unit 100 is realized by, for example, an HD (Hard Disk).
- management server information and file holding information according to the present embodiment is illustrated.
- FIG. 6 is a diagram showing an example of management server information 100a stored in the holding server storage unit 100.
- the management server information 100a according to the present embodiment is composed of “server name” and “IP address”.
- Server name includes the name given to the server that is the management target of the distributed file management apparatus 10.
- IP address contains the IP address assigned to each server. Then, the management server information 100a holds a server name and an IP address in association with each server that is the management target of the distributed file management apparatus 10.
- This figure shows, for example, “I” for server A20 whose “server name” is indicated by “server A”.
- FIG. 7 is a diagram showing an example of the file holding information 100b stored in the holding server storage unit 100.
- the file holding information 100b according to the present embodiment includes a “file path”, a “server name”, and a “flag”.
- File path contains the path of the electronic file held by each server! /.
- the electronic file path is common to all servers managed by the distributed file management apparatus 10 as described with reference to FIG.
- Server name contains the same server name as the "server name” in the management server information 100a.
- the “server name” of the file holding information 100b is associated with the electronic file indicated by “file path”.
- the names of all servers holding the electronic file indicated by the corresponding “file path” are stored.
- This figure shows, for example, an electronic file whose "file path" is indicated by "ZdataZa", that is, a server that holds “file a” or "file a-2”. Indicates B30.
- “Flag” is a flag indicating whether or not the electronic file held by each server has the latest content.
- the contents are rugs.
- “1” is stored when the electronic file held by each server has the latest contents
- “0” is stored when the electronic file does not have the latest contents.
- the electronic file held by “server A” is “ZdataZa” as shown in FIG. 3A.
- the electronic file held by “Server B” is “ZdataZa-2” as shown in FIG. 3B.
- the “flag” indicates that “server B” contains newer content than “server A” for the electronic file specified by “ZdataZa”.
- the inquiry reception unit 102 is a part that receives an inquiry about a server that holds an electronic file related to a user request from a server.
- Retention server determination unit 104 is a part that refers to retention server storage unit 100 to determine a server that holds the latest electronic file related to the inquiry received by inquiry reception unit 102.
- the holding response transmission unit 106 is a part that holds the latest electronic file according to the request of the access source server power user and responds whether or not the power is correct.
- the file transmission request unit 108 is a part that requests transmission of an electronic file related to a user request to the holding server power access source server in accordance with the determination of the holding server determination unit 104.
- the update notification accepting unit 110 stores a notification that the new electronic file is stored in the file storage unit included in the server or that the electronic file stored in the file storage unit is updated. It is a part received from the server.
- the stored information updating unit 112 follows the content of the notification received by the update notification receiving unit 110.
- the storage server storage unit 100 stores and updates the file storage information 100b.
- the update completion notification unit 114 is a part that transmits to the server 20 a notification that indicates that the update of the holding server storage unit 100 by the holding information update unit 112 has been completed.
- the lock request receiving unit 116 is a part that receives a lock request transmitted from the server 20.
- the lock information holding unit 118 completes the process of the information indicating the electronic file related to the lock request received by the lock request receiving unit 116 and executed by the holding information update unit 112 related to the electronic file. Up to this point, the part is temporarily stored.
- the distributed file management device 10 and each server 20, 30, 40 have the above functions, the user can access any of the servers from the terminals 60, 65 used by the user. As long as each of the servers 20, 30, and 40 holds an electronic file, the electronic file can be acquired. In addition, regarding the electronic file related to the user's acquisition request, when multiple servers hold electronic files with different contents, the user holds which electronic file has the latest contents. In addition, it is possible to obtain an electronic file having the latest contents by accessing an arbitrary server.
- FIG. 8 shows a series of processes executed in the distributed file management device 10 and each server 20, 30, 40 when the user transmits an acquisition request or a write request using the terminals 60, 65. This will be described with reference to FIG.
- FIG. 8 is a diagram of processing executed by each device constituting the distributed file management system according to the first embodiment of the present invention when the user transmits an acquisition request from the terminals 60 and 65. It is a time chart which shows an example.
- the "terminal” shown in this figure is a terminal used by the user, and in this embodiment, it is the difference between the terminal a60 or the terminal b65.
- access source sano is a server that is a transmission destination to which the terminal 60 (65) used by the user transmits a user request.
- the access source server in the present embodiment is , Server A20, Server B30, or Server C40.
- the “holding server” shown in the figure is a server that holds an electronic file related to a user request excluding the access source server.
- the holding server in the present embodiment is a candidate for the server A20, server B30, or server C40!
- the user request receiving unit 71 of the access source server 20 (30, 40) is used by the user.
- the acquisition request transmitted by the terminal 60 (65) is received via the communication line 50 (S101).
- the “acquisition request” is an electronic file related to the user's designation, and is a request for a terminal used by the user to acquire an electronic file having the latest contents.
- the request type determination unit 73 acquires the request received by the user request reception unit 71, and determines whether the request is an "acquisition request” or a "write request". Since this figure is a time chart of processing related to an acquisition request, this determination is omitted.
- the holding server inquiry unit 79 inquires the distributed file management apparatus 10 about the holding server
- the inquiry receiving unit 102 receives an inquiry of the holding server (S102).
- the holding server determination unit 104 determines whether or not the access source server is a holding server by referring to the file holding information 10 Ob of the holding server storage unit 100 (S 103).
- the holding response transmission unit 106 notifies that the access source server is the holding server (hereinafter referred to as " The holding response receiving unit 81 receives the holding notification (S104).
- the file storage control unit 77 reads the electronic file related to the acquisition request from its own file storage unit 25 (35, 45) (S105).
- “own” indicates that the same server is another part provided in the same server as the server provided with the part that is the subject of the operation.
- the user request response unit 95 acquires the electronic file from the file storage control unit 77, transmits it to the terminal 60 (65) used by the user (S106), and ends the process.
- the holding server determination unit 104 determines whether there is a holding server (S107).
- non-holding notification a notification (hereinafter referred to as “non-holding notification”) indicating that there is no holding server, and the holding response receiving unit 81 receives the non-holding notification (S 108).
- the user request response unit 95 acquires the non-holding notification via the file storage control unit 77, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that has transmitted the acquisition request (S109). ), The process is terminated. [0177] If it is determined that there is a holding server (Yes in S107), then the file transmission request unit 108 sends a file transmission request to the holding server, and the file transmission request receiving unit 83 of the holding server sends a file. A request is received (S 110).
- the "file transmission request” is a request for transmitting the electronic file to another server to the server holding the specific electronic file.
- the file storage control unit 77 of the holding server reads the electronic file related to the file transmission request from its own file storage unit 25, 35, 45 (S111).
- the file transmission unit 85 of the holding server transmits the electronic file read by the file storage control unit 77 to the access source server, and the file reception unit 87 of the access source server receives the electronic file (S 112).
- the user request response unit 95 of the access source server has its own file storage control unit.
- the electronic file related to the user's acquisition request is acquired via 77, and the electronic file is transmitted to the terminal 60 (65) used by the user (S113).
- the file storage control unit 77 of the access source server stores the electronic file received by the file reception unit 87 in its file storage unit 25, 35, 45 (S114).
- the update notification unit 91 is a holding server storage unit 1 included in the distributed file management device 10.
- a notification (hereinafter referred to as “update notification”) that updates the file holding information 100b of 00 is transmitted, and the update notification receiving unit 110 of the distributed file management apparatus 10 receives the update notification (S 115).
- the "update notification" indicates that the file storage information 100b contains the new electronic finalization information in the access source storages 20, 30, and 40 in the finalization records 25, 35, and 45. This is a notification that the content has been updated or that the electronic file has been updated.
- the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116), and ends the process.
- Fig. 9 shows the processing that is executed by each device constituting the distributed file management system according to the first embodiment of the present invention when the user transmits a write request from the terminals 60 and 65. It is a time chart which shows an example of. In the present embodiment, the processing executed by each device and the information transmitted / received between the devices are the same when the write request is an “update request” and when it is a “storage request”. .
- the user request receiving unit 71 of the access source server 20 (30, 40) receives, via the communication line 50, the write request to which the terminal 60 (65) used by the user is also transmitted ( S201).
- the “write request” is information including a request to update an electronic file held by the access source server or to hold a new electronic file in the access source server.
- the request type determination unit 73 acquires the request received by the user request reception unit 71 and determines whether the request is an “acquisition request” or a “write request”. Since this figure is a time chart of processing related to a write request, this determination is omitted.
- the request type determining unit 73 causes the request information holding unit 75 to hold the electronic file related to the write request (S202).
- the lock request transmission unit 89 first receives a determination from the request type determination unit 73 that the acquired request is a write request, and receives a write request related to the electronic file related to the write request.
- a request (hereinafter referred to as “lock request”) is sent to the distributed file management apparatus 10, and the lock request receiving unit 116 receives the lock request (S203).
- the lock request receiving unit 116 locks the lock information holding unit 118 by holding information about the electronic file related to the received lock request (S204).
- the file storage control unit 77 acquires the electronic file held by the request information holding unit 75 in response to the determination by the request type determining unit 73 that the acquired request is a write request. Write the acquired electronic file to its own file storage unit 25, 35, 45 205
- the file storage control unit 77 determines whether or not the writing has been completed (S206).
- the update notification unit 91 waits. [0197] If it is determined that the writing has been completed (Yes in S206), the update notification unit 91 receives a notification of completion from the file storage control unit 77 and transmits an update notification to the distributed file management apparatus 10. Then, the update notification receiving unit 110 of the distributed file management apparatus 10 receives the update notification (S207).
- the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116).
- the retained information updating unit 112 releases the lock by deleting the information retained by the lock information retaining unit 118 (S209).
- the update completion notification unit 114 receives the completion notification from the file storage control unit 77, notifies the access source server of the completion of the update processing, and the access source server completion notification reception unit 93 A notification is received (S210).
- the user request response unit 95 of the access source server receives that the completion notification receiving unit 93 has received the completion notification, and that the user has completed processing related to the user's write request.
- the data is transmitted to the terminal 60 (65) to be used (S211), and the process is terminated.
- Fig. 10 shows the processes executed by the distributed file management device 10, the server A20, the server B30, and the terminal a60 when the server A20 receives an acquisition request for the file a from the terminal a60.
- 5 is a time chart showing an example of information transmitted / received between devices.
- the user request receiving unit 71 of the server A20 that is the access source server receives the acquisition request transmitted from the terminal a60 used by the user via the communication line 50 (S101).
- the “acquisition request” here is information having a request for acquiring a file a having the latest contents by the terminal a60 used by the user.
- the request type determination unit 73 acquires the request received by the user request reception unit 71, determines that the request is an acquisition request (not shown), and then continues to hold server inquiry unit 79.
- the inquiry receiving unit 102 receives an inquiry from the holding server (S102).
- the holding server determination unit 104 determines whether or not the server A20 is a holding server by referring to the file holding information 10 Ob in the holding server storage unit 100 (S103).
- the server A20 has the file “Z dataZa”, that is, the force “flag” for holding the file “a” is “0”.
- Server A20 does not have file a with the latest contents. Therefore, the holding server determination unit 104 determines that the server A20 is not a holding server (No in S103).
- the holding server determination unit 104 determines whether or not there is a holding server (S107).
- the server B30 holds the file indicated by “Zd ataZa”, that is, the file a, and the “flag” is “1”. . Therefore, the server B30 is a holding server, and the holding server determination unit 104 determines that there is a holding server (Yes in S107).
- the file transmission request unit 108 sends a transmission request for file a to server B30, which is the holding server, and the file on the holding server.
- the transmission request receiving unit 83 receives the transmission request for the file a (S110).
- file a transmission request includes a request for transmitting file a to server A20 to server B30 holding file a.
- the file storage control unit 77 of the server B30 reads the file a from its own file storage unit 35 (Sl l l).
- the file transmission unit 85 of the server B30 transmits the file a to the server A20 that is the access source server, and the file reception unit 87 of the server A20 receives the file a (S112).
- the user request response unit 95 of the server A20 acquires the file a via its own file storage control unit 77, and transmits the acquired file a to the terminal a60 used by the user (S113). .
- the file storage control unit 77 of the server A20 stores the acquired file a in its own file storage unit 25 (S114).
- FIG. 11 is a diagram showing the electronic file information 25a stored in the file storage unit 25 of the server A20 that has received the acquisition request for the file a from the terminal a60.
- “A” force in FIG. 3A showing the initial state of the file information 25a stored in the file storage unit 25 of the server A20 is updated to “a-2” in this figure.
- the update notification unit 91 transmits an update notification, and the update notification reception unit 110 of the distributed file management apparatus 10 receives the update notification (S 115).
- the "update notification” here includes the file storage information 100b and the file storage unit of the server A20.
- 25 is a notification that file a has been updated.
- the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116), and ends the process.
- FIG. 12 is a diagram showing the file holding information 100b updated in accordance with the update notification when the server A20 receives the acquisition request for the file a from the terminal a60. “0” force of “flag” of “server A” corresponding to “ZdataZa” in FIG. 7 showing the initial state of the file holding information 100b is updated to “1” in this figure.
- Figure 13 shows the server A20 after receiving an acquisition request for the file a from the terminal a60.
- an update request for file a held by server A20 is accepted, the processing executed on distributed file management device 10, server A20, server B30, and terminal a60, and transmission / reception between these devices 5 is a time chart showing an example of information.
- the user request receiving unit 71 of the server A20 that is the access source server receives the write request transmitted from the terminal a60 used by the user via the communication line 50 (S201).
- the “write request” is information including a request to update the file a held by the server A.
- the request type determination unit 73 acquires the request received by the user request reception unit 71, determines that the request is a write request (not shown), and then continues with the request type determination unit 73. Causes the request information holding unit 75 to hold the file a (S202).
- the lock request transmission unit 89 receives the determination of the request type determination unit 73 that the acquired request is a write request, and locks the file a that is an electronic file related to the write request.
- the request is transmitted to the distributed file management apparatus 10, and the lock request receiving unit 116 receives the lock request (S203).
- the lock request receiving unit 116 locks the lock information holding unit 118 by holding information about the file a that is the electronic file related to the received lock request (S204).
- the file storage control unit 77 receives the determination of the request type determination unit 73 that the acquired request is a write request, acquires the file a held by the request information holding unit 75, and The obtained file a is written into its own file storage unit 25, 35, 45 (205).
- FIG. 14 is a diagram showing the electronic file information 25a stored in the file storage unit 25 of the server A20 updated by the update request for the file a from the terminal a60.
- “A-2” power in FIG. 11 showing the file information 25a stored in the file storage unit 25 of the server A20 that has received the acquisition request for the file a is updated to “a-3” in this figure.
- the file storage control unit 77 determines whether or not the writing is completed (S206). [0232] First, if it is determined that the writing is completed! /, (No in S206) , File storage control Part 77 continues writing until completion.
- the update notification unit 91 receives a notification of completion from the file storage control unit 77, and the file storage unit 25 of the server A20 receives a file.
- An update notification that indicates that a is updated is transmitted to the distributed file management apparatus 10, and the update notification reception unit 110 of the distributed file management apparatus 10 receives the update notification (S207) o
- the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116).
- the retained information update unit 112 releases the lock by deleting the information related to the file a retained by the lock information retaining unit 118 (S 209).
- the update completion notification unit 114 receives the completion notification from the file storage control unit 77, notifies the server A20 that is the access source server of the completion of the update process, and the server A20 completion notification reception unit. 93 receives a notification of completion (S210).
- the user request response unit 95 of the server A20 confirms that the processing related to the user's write request has been completed in response to the completion notification receiving unit 93 receiving the notification of completion. Is transmitted to the terminal a60 used by the client (S211), and the process is terminated.
- FIG. 15 is a diagram showing the file holding information 100b that is updated according to the update notification when the server A20 receives an update request for the file a from the terminal a60.
- Embodiment 1 of the present invention is the distribution according to Embodiment 1 of the present invention when server A20 accepts an acquisition request for file a from terminal a60 and then accepts an update request for file a held by server A20. This is a process that is executed by each device constituting the file management system.
- FIG. 16 is a diagram showing an example of a screen for a user to input a request for a specific file, which is displayed on a monitor connected to the terminal 60 (65) used by the user. User Sees the screen display shown in the figure and sends an acquisition request and a write request to the server.
- the input screen 200 illustrated in the figure includes a file configuration display unit 202, a selected file display unit 204, an acquisition button 206, a write file input unit 208, and a write button 210.
- the file configuration display unit 202 is a part that displays the path of the electronic file in each of the servers 20, 30, and 40 that are managed by the distributed file management apparatus 10.
- the content displayed in the file structure display unit 202 is the same structure as the electronic file nose shown in FIG. 2, and the terminal 60 (65) power is also distributed file management via the servers 20, 30, 40. Acquired by accessing the file holding information 100b of the device 10.
- the user selects an electronic file related to the acquisition request or the write request using an input device such as a mouse for the electronic file displayed on the file structure display unit 202.
- the file structure display unit 202 in this figure shows an example in which the cursor is on the file a and the file a is selected.
- the selected file display unit 204 is a part that displays the electronic file selected by the user.
- file a is selected as described above. Therefore, the “Selected file” in the selected file display unit 204 displays “ZdataZa” t and the path.
- the acquisition button 206 is a button for transmitting an acquisition request to the terminal 60 (65).
- the terminal 60 (65) transmits the acquisition request for the file a to any of the servers 20, 30, and 40.
- the write file input unit 208 is a part for updating the files held by the servers 20, 30, and 40 or inputting an electronic file to be newly stored. This figure is an example in which “terminal aZxyz” and the file xyz held by the terminal a60 (65) specified by the path are input.
- the write button 210 is a button for sending a write request to the terminal 60 (65).
- the terminal 60 (65) selects the file a for any of the servers 20, 30, and 40, the file a Send a write request.
- the substance of the file a stored in the file storage unit 25, 35, 45 updated by this write request is the file input to the write file input unit 208. Same as xyz entity.
- FIG. 17 is a diagram showing an example of a result displayed on the monitor connected to the terminal 60 (65) used by the user when the user instructs acquisition of the file a.
- the acquisition result display screen 220 shown in this figure transmits a file a acquisition request.
- the acquisition result display screen 220 includes an acquisition file display unit 222, a browse button 224, and a save button 226.
- the acquired file display unit 222 displays the name of the acquired file.
- the browse button 224 is a button for displaying the acquired file on the monitor. When the user presses the mouse using a mouse, the acquired file is displayed on the monitor.
- the save button 226 is a button for saving the acquired file in the storage unit provided in the terminal 60 (65). When the user presses using a mouse or the like, the acquired file is saved on the terminal 60.
- FIG. 18 is a diagram showing an example of a result displayed on the monitor connected to the terminal 60 (65) used by the user when the user instructs to update the file a.
- the update result display screen 230 shown in this figure is a screen displayed on the monitor when the processing related to the update request for the file a is completed.
- the update result display screen 230 includes an update result display unit 232 and a confirmation button 234.
- the user using the terminal 60 (65) can know that the processing is completed.
- the confirmation button 234 is a button for closing the update result display screen 230 when pressed.
- the holding server storage unit 100 may hold the “creation date” of the electronic file instead of the “flag” of the file holding information 100b.
- FIG. 19 is a diagram showing another example of the file holding information 100c stored in the holding server storage unit 100. As shown in FIG. The file holding information 100c shown in this figure holds “creation date” instead of the “flag” of the file holding information 100b shown in FIG.
- the file a held by “server B” whose “creation date” is closest to the present contains the latest contents, and the file a held by “server A” contains old contents.
- the distributed file management system according to Embodiment 1 when the distributed file management system according to Embodiment 1 accepts a write request, it writes a new electronic file only in the file storage unit of the access source server.
- the distributed file management system according to Embodiment 1 receives an acquisition request, the user acquires an electronic file from a server that holds the electronic file including the latest contents, so that the user can access any server. An electronic file having the latest contents is provided to the user without being aware of whether or not the user has accessed.
- the access source server that has received the acquisition request holds the electronic file related to the acquisition request.
- the management is performed based on information from the distributed file management device.
- the server that holds the electronic file related to the acquisition request is identified among the servers related to the above, and the electronic file related to the acquisition request is acquired from the server and stored in its own file storage unit.
- Embodiment 2 provides a distributed file management system capable of effectively using storage.
- the distributed file management system accepts user requests from the terminals 60 and 65 used by the user, and the terminals 60 and 65, and sets the file storage units 25, 35, and 45 respectively.
- Server A320, Server B330, Server C340, and a distributed file management device that manages information related to electronic files distributed and held in each server by sending and receiving information to and from these servers .
- the folder structure of the electronic file stored in the file storage unit included in each server according to the second embodiment is indicated by a common path in each file storage unit as in the first embodiment.
- a specific example thereof is the same as the folder structure of the first embodiment shown in FIG. Therefore, the description here regarding the folder structure is omitted.
- 20A to 20C are diagrams illustrating specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 2.
- FIG. 20A to 20C are diagrams illustrating specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 2.
- FIG. 20A is a diagram showing an example of electronic file information 25b stored in the file storage unit 25 provided in the server A320 according to the second embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a”.
- FIG. 20B is a diagram showing an example of the electronic file information 35b stored in the file storage unit 35 provided in the server B330 according to the second embodiment. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a”, “file”, and “file e”.
- FIG. 20C is a diagram showing an example of the electronic file information 45b stored in the file storage unit 45 included in the server C340 according to Embodiment 2. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file d”.
- FIG. 21 is a block diagram showing an example of a functional configuration provided in the Sano A320 according to the second embodiment.
- Server A320 receives a request from the user, and if the user request is an acquisition request, server A320 manages the electronic file related to the received acquisition request in the distributed file management device 310, in the same manner as Sano A20 according to the first embodiment. As long as one of the servers below holds, the electronic file containing the latest entity is sent to the terminal used by the user. Further, unlike the server A20 according to the first embodiment, the server A320 according to the second embodiment deletes an electronic file that satisfies certain conditions from the file storage unit 25 in accordance with a request from the distributed file management device 310. .
- the server A 320 includes a file storage unit 25, a user request reception unit 71, a request type determination unit 73, a request information holding unit 75, a file storage control unit 77, a holding server inquiry unit 79, Update response reception unit 81, file transmission request reception unit 83, file transmission unit 85, file reception unit 87, lock request transmission unit 89, completion notification reception unit 93, user request response unit 95, update A notification unit 391 and a deletion request receiving unit 322 are provided.
- server A320 according to the second embodiment parts having the same functions as those of server A20 according to the first embodiment are denoted by the same reference numerals, and the parts related to these parts are here. Description is omitted.
- the deletion request receiving unit 322 receives, from the distributed file management device 310, a request to delete a part or all of the electronic file stored in its own file storage unit 25 via the communication line 15. It is a part.
- the file storage control unit 77 stores a new electronic file in the file storage unit 25, updates the electronic file information 25a, or receives power from the electronic file information 25a. This is a part for notifying the distributed file management device 10 of the stored, updated, or deleted contents when part or all of the child file is deleted.
- Server B330 and server C340 also have the same functional configuration as server A320.
- FIG. 22 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 310 according to the second embodiment.
- the difference between the distributed file management apparatus 310 according to the second embodiment and the distributed file management apparatus 10 according to the first embodiment is that the distributed file management apparatus 310 according to the second embodiment makes a user request for a certain period of time or longer.
- the server deletes the electronic file held by only one server.
- the distributed file management apparatus 310 includes an inquiry reception unit 102, a holding response transmission unit 106, a file transmission request unit 108, an update completion notification unit 114, a lock request reception unit 116, and a lock information holding unit. 118, holding server storage unit 400, holding server determination unit 404, update notification reception unit 410, holding information update unit 412, deletion condition storage unit 420, clock unit 422, deletion target determination unit 424, A deletion request unit 426.
- the holding server storage unit 400 includes management server information that is information about servers set as management targets of the distributed file management device 310, and a management server This is a storage unit that stores file holding information, which is information related to the electronic file held by each server included in the information.
- the holding server storage unit 400 is realized by, for example, an HD (Hard Disk).
- the management server information 400a according to the second embodiment is the same as the management server information 100a according to the first embodiment described with reference to FIG.
- FIG. 23 shows an example of the file holding information 400b stored in the holding server storage unit 400. It is a figure. As shown in the figure, the file holding information 400b according to the present embodiment is composed of “file path”, “server name”, and “access date”.
- the "file path” and "server name” of the file holding information 400b according to the present embodiment are the “file path” of the file holding information 100b according to the first embodiment described with reference to FIG. And “server name” are stored in the same information, and detailed description thereof is omitted here.
- the "access date” stores the date when the user request related to the electronic file indicated by the server power "file path” indicated by the information stored in the "server name” was last received.
- This figure shows, for example, that an electronic file whose “file path” is “ZdataZa” is “2006083”, that is, “20 06” March 3 of the year ".
- the holding server determination unit 404 is a part that determines a server that holds an electronic file related to an inquiry received by the inquiry reception unit 102 by referring to the holding server storage unit 400.
- the holding server determination unit 404 determines that the access source server is the holding server of the electronic file related to the acquisition request, the holding server determination unit 404 outputs a useful determination to the holding information update unit 112.
- the holding server determination unit 404 determines whether or not the holding server power of the electronic file related to the write request is in the access source server.
- the update notification reception unit 410 stores new electronic files in the file storage units 25, 35, and 45 of each server, and updates the electronic files stored in the file storage units 25, 35, and 45. Or a part that receives a notification from the server that the electronic file stored in the file storage unit 25, 35, 45 has been deleted.
- the holding information update unit 412 updates the file holding information 400b stored in the holding server storage unit 400 according to the information received from the holding server determination unit 404 or the information received by the update notification receiving unit 410. is there.
- the deletion condition storage unit 420 is a part that stores deletion condition information, which is information including conditions for deleting an electronic file held by each server.
- FIG. 24 is a diagram showing an example of the deletion condition information 420a according to Embodiment 2.
- the deletion condition shown in this figure is an example on condition that the electronic file held by the server is deleted when “30 days” or more have passed since the “access date” of the file retention information 400b. is there.
- the clock unit 422 is a part that holds the current date and time.
- the deletion target determination unit 424 is a unit that determines an electronic file to be deleted for each server. More specifically, the deletion target determination unit 424 has an electronic file whose date power indicated by the “access date” of the file retention information 400b is retained beyond the period included in the deletion condition information 420a, and When there are a plurality of servers holding the electronic file, it is determined that only the electronic file held by the server having the latest “access date” is left and the electronic file held by another server is deleted.
- Deletion target determining section 424 executes the above determination processing at a predetermined cycle.
- the deletion request unit 426 is a part that transmits a request to delete the electronic file to the server that holds the electronic file determined to be deleted by the deletion target determination unit 424.
- the distributed file management apparatus 10 and the servers 20, 30, 40 are provided with the functions as described above, as in the first embodiment, the user can use any of the terminals 60, 65 used by the user. Regardless of whether the server is accessed, as long as each of the servers 20, 30, and 40 holds the electronic file, the electronic file can be obtained.
- FIG. 25 is a time chart showing an example of processing executed in each device configuring the distributed file management system according to Embodiment 2 of the present invention when the user transmits an acquisition request for terminal power. .
- the difference between the time chart shown in FIG. 8 and the time chart shown in FIG. 8 is that the access source server's retention judgment regarding the electronic file (S 103) is positively determined (in S 103 Yes), the retention information update process is executed (S310) before the retention notification (S104) is made.
- the holding server determination unit 404 determines that the access source server is the holding server (Yes in S103)
- the holding information update unit 412 receives the determination of the holding server determination unit, and the access source
- the “access date” of the file retention information 400b regarding the electronic file related to the user request held by the server is updated with the date acquired from the clock unit 422 (S301).
- FIG. 26 shows an example of processing executed in each device constituting the distributed file management system according to Embodiment 2 of the present invention when a user transmits a write request from terminals 60 and 65. It is a time chart.
- the difference between the time chart shown in this figure and the time chart shown in Figure 8 is that the distributed file management device 310 determines whether there is a holding server other than the access source server, and holds other than the access source server. If there is a server, the electronic file held by the server is also updated. Through such processing, the power held redundantly by multiple servers The contents of child files are synchronized.
- the distributed file The holding server determination unit 404 of the management device 310 determines whether or not the holding server power of the electronic file related to the write request is in the access source server (S212).
- the distributed file management device 310 waits until a request or inquiry from Sano is accepted.
- the file transmission request unit 108 transmits a file transmission request to the access source server, and the file transmission of the access source server 320 is performed.
- the request receiving unit 83 receives a file transmission request (S213).
- the “file transmission request” includes a request for transmitting to the access source server an electronic file related to the user's write request to another holding server.
- the file storage control unit 77 reads out an electronic file related to the file transmission request from its own file storage unit 25 (S214).
- the file transmitting unit 85 of the access source server 320 transmits the electronic file read by the file storage control unit 77 to the holding server, and the file receiving unit 87 of the holding server receives the electronic file (S215 ).
- the file storage control unit 77 of the holding server updates the electronic file stored in its own file storage unit 25 with the electronic file received by the file reception unit 87 (S216).
- the update notification unit 391 transmits an update notification to the distributed file management device 310, and the update notification reception unit 410 of the distributed file management device 310 receives the update notification (S217).
- the "update notification" here indicates that a new electronic file is stored in the file storage unit 25, 35, 45 of the access source Sano 20, 30, 40, or the electronic file This is a notification that has been updated.
- the holding information update unit 412 updates the file holding information 100b of the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 410 (S218), and ends the process. End.
- FIG. 27 is a flowchart showing an example of processing executed in the distributed file management apparatus 310 according to Embodiment 2 of the present invention when deleting an electronic file held by each server.
- the deletion target determining unit 424 determines whether or not it is a predetermined update time held by itself by comparing it with the current time acquired from the clock unit 422 (S300).
- the deletion target determination unit 424 continues to determine whether or not it is the update time.
- the distributed file management apparatus 310 will explain all electronic files included in the file holding information 400b of the holding server storage unit 400 as follows. Judgment whether or not a certain time has passed since the last access (S30).
- the deletion target determination unit 424 obtains the “access date” of the file retention information 400b and the current date from the deletion condition information 420a and the clock unit 422, and the current date is also “access date”. It is determined whether or not the period included in the deletion condition information 420a has passed (S302).
- the deletion target determination unit 424 holds the same electronic file. It is determined whether or not there are a plurality of servers (S303).
- the “access date” is the newest among the servers holding the electronic file!
- the electronic files held by each server excluding the server are determined to be deleted (S304).
- the deletion request unit 426 transmits a deletion request for the electronic file to the server holding the electronic file determined to be deleted by the deletion target determination unit 424 (S305).
- the update notification reception unit 410 receives an update notification from the server that has executed the electronic file deletion processing related to the request from the deletion request unit 426 (S306).
- the "update notification" received here is the file storage unit 25, 35 of the holding server 20, 30, 40,
- 45 is a notification indicating that the stored electronic file has been deleted.
- the holding information update unit 412 updates the file holding information 400b according to the update notification received by the update notification receiving unit 410 (S307), and ends the processing.
- the deletion target determination unit 424 executes the same determination process (S302) for the file b that is “ZdataZb” that is the next file!
- file b Similarly to file a, file b also has a current date that has not passed the period included in the deletion condition since the "access date" (No in S302). Part 4
- the holding servers are server B330 and server C340.
- File d! / The access date of server B330 is “March 3, 2006”, and the current date “March 30, 2006” is “Access Date”. The day has passed!
- the deletion target determination unit 424 determines that the period included in the deletion condition information 420a has elapsed from the file "d" and the current date is "access date” (Yes in S302).
- the deletion target determination unit 424 has the newest “server B330 and server C340” that hold the file d.
- deletion request unit 426 requests the server C340 to delete the file d (S304).
- the update notification receiving unit 410 receives an update notification from the server C340 that has deleted the file d in response to a request from the deletion request unit 426 (S305).
- the “update notification” received here is a notification that is stored in the file storage unit 45 of the server C340 and contains the information that the file d has been deleted.
- the holding information update unit 412 updates the file holding information 400b according to the update notification received by the update notification receiving unit 410 (S306), and ends the process.
- FIG. 28 is a diagram showing the file holding information 400c after the electronic file deletion processing by the distributed file management device 310 is completed when the file holding information 400b has the contents shown in FIG. It is.
- file a, file b, and file e are not deleted.
- the file retention information after 400b will not be changed.
- the power described for the distributed file management apparatus and the distributed file management system according to the second embodiment of the present invention is not limited to this embodiment.
- the distributed file management apparatus 310 executes the deletion process at a predetermined cycle, but executes the deletion process when the server receives a user power update request. Also good.
- the distributed file management apparatus 310 may execute the deletion process both in a predetermined cycle and when the server receives an update request from the user.
- Modification 1 in which the deletion process is executed when the server receives an update request for user power.
- FIG. 29 is a block diagram illustrating an example of a functional configuration included in the distributed file management apparatus 510 according to the first modification.
- the distributed file management apparatus 510 transmits a request to delete the electronic file related to the update request to the holding server other than the access source server.
- the distributed file management apparatus 510 includes an inquiry reception unit 102, a holding response transmission unit 106, a file transmission request unit 108, an update completion notification unit 114, a lock request reception unit 116, and a lock information holding unit. 118, an update notification receiving unit 410, a holding information update unit 412, a deletion request unit 426, a holding server storage unit 500, a holding server determination unit 504, and a deletion target determination unit 524.
- the holding server storage unit 500 is similar to the holding server storage unit 400 according to the second embodiment. This is a storage unit that stores management server information and file retention information. For example, HD (HD
- the management server information 500a according to the first modification is the same as the management server information 100a according to the first embodiment described with reference to FIG. 6, and thus description thereof is omitted here.
- FIG. 30 is a diagram showing an example of the file holding information 500b stored in the holding server storage unit 500.
- the file holding information 500b according to the present embodiment is composed of “file path” and “server name”.
- an electronic file whose fixed period has elapsed from the access date is a deletion candidate.
- the electronic file on the holding server is deleted when the server receives an update request. Therefore, the access date becomes unnecessary.
- the holding server determination unit 504 is a part that determines a server that holds an electronic file related to an inquiry received by the inquiry reception unit 102 by referring to the holding server storage unit 500.
- the holding server determination unit 504 determines a server that holds the electronic file related to the update request in addition to the access source server.
- the deletion target determination unit 524 is a part that determines an electronic file to be deleted for each server.
- the deletion target determination unit 524 according to this modification obtains information about the server that holds the electronic file related to the update request in addition to the access source server determined by the holding server determination unit 504, and deletes the acquired information about the server. Deliver to request part 426.
- processing executed by each device according to the present modification when the server receives an update request from the user will be described with reference to the drawings.
- FIG. 31 is a time chart illustrating an example of processing executed by each device according to the present modification when the server accepts an update request having a user power.
- server A320 is assumed to be the access source server, and the case where server A320 receives an update request for file d will be specifically described as an example.
- the server A320 as the access source server receives the update request for the file d
- the file holding information when the holding server determination unit 504 executes the determination processing in S212 is shown in FIG. As shown.
- FIG. 32 is a diagram showing the file holding information 500c when the holding server determination unit 504 executes the determination process in S212 when the server A320 receives the update request for the file d.
- the initial state of the file holding information is the file holding information 500b shown in FIG.
- the holding server determination unit 504 receives the fact that the holding information update unit 412 has updated the file holding information 500b, and determines whether there is a holding server other than the access source server and if there is a holding server. Determines which server the holding server is (S212).
- the holding server determination unit 504 since the holding servers other than the server A320 that is the access source server are the "server B” and the "server C”, the holding server determination unit 504 In addition, there are holding servers, and it is determined that the holding servers are “Server B” and “Server C”.
- the deletion target determination unit 524 determines the deletion target in response to the determination of the holding server determination unit 504 (S313).
- deletion target determining unit 524 determines the file d held by “server B” and “server C”, which are the holding servers determined by the holding server determining unit 504, as deletion targets (S313).
- the deletion target determining unit 524 determines whether there is a deletion target (S314).
- the distributed file management device 310 waits until receiving a request or inquiry from the server.
- the file deletion request is transmitted to the holding server, and the deletion request receiving unit 322 of the holding server receives the file deletion request (S315).
- the deletion target determination unit 524 determines that there is a deletion target (Yes in S314), and Deletion request part 4
- the deletion request receiving unit 322 of 330 and the server C340 respectively receive the deletion request for the file d (S315).
- the file storage control unit 77 of the holding server that has received the file deletion request deletes the electronic file related to the deletion request from the file information stored in the file storage unit (S316).
- each file d stored in the file storage control unit 77 force file storage unit 35, 45 of the server B330 and the server C340 is deleted (S316).
- the update notification unit 391 of the holding server transmits an update notification
- the update notification reception unit 410 receives the update notification (S317).
- the “update notification” is a notification indicating that the electronic file stored in the file storage units 25, 35, 45 of the holding servers 20, 30, 40 has been deleted.
- the update notification unit 391 of the server B330 and the server C340 is the file storage unit. An update notification with the content that the file d stored in 35 and 45 is deleted is transmitted, and the update notification receiving unit 410 receives the update notification (S317).
- the holding information update unit 412 updates the file holding information 500c in the holding server storage unit 500 according to the update notification received by the update notification receiving unit 410 (S318), and ends the processing.
- FIG. 33 is a diagram showing the file holding information 500d after the processing executed by each device according to the present modification is completed when the server A320 receives a request for updating the user power file d.
- “Server B” and “Server C” have been deleted from the “Server name” corresponding to the file d from the file holding information 5 OOc force shown in FIG.
- “Server name” is the only “server name” corresponding to.
- the deletion process is executed when an update request is received from the user, so the "access date" is not required.
- the access source server that has received the update request holds the electronic file related to the deletion even after processing. Therefore, the deletion target determination unit 424 can simplify the process that does not require determination of the deletion target based on whether or not there is a plurality of servers that hold the electronic file related to the deletion.
- the distributed file management apparatus As described above, when the deletion process is executed both in a predetermined cycle and when the server receives a write request from the user, the distributed file management apparatus This can be realized by combining the function of the distributed file management apparatus 310 according to the second embodiment shown in FIG. 22 and the function of the distributed file management apparatus 310 according to the first modification shown in FIG.
- the file holding information 400b further includes a “flag” indicating whether or not the content of the electronic file is the latest as in the first embodiment. You may include electronic files with old content in the file! / ⁇ .
- FIG. 34 is a diagram showing an example of the file holding information 400d when an electronic file having old contents is to be deleted.
- the file holding information 40 Od in this case is composed of “file path”, “server name”, “flag”, and “access date”.
- the "file path", "server name”, and “access date” of the file holding information 400d are the “file path” of the file holding information 400b according to the second embodiment described with reference to FIG. "," Server name “and” access date "are stored in the same information.
- the “flag” of the file holding information 400d stores the same information as the “flag” of the file holding information 100b according to Embodiment 1 described with reference to FIG.
- each device in this case is realized by combining the functions of each device according to Embodiment 1, Embodiment 2, and Modification 1.
- a plurality of servers may hold an electronic file having the latest contents in an overlapping manner. In this way, the electronic file that is frequently acquired by the user can be reduced in the amount of information that travels through the communication line in the processing related to the acquisition request.
- Embodiment 1 and Embodiment 2 there is a problem in that it is effectively utilized that a plurality of servers hold the same electronic file redundantly.
- Embodiment 3 provides a distributed file management system that can actively prevent duplication of a plurality of servers and prevent tampering of electronic files by a third party. It also provides a distributed file management system that can improve the fault tolerance of servers and disks.
- the distributed file management system includes terminals 60 and 65 used by a user and file storage units 25, 35, and 45, respectively, and a server that receives a user request from each terminal 60 and 65 A620, server B630, server C640, and a distributed file management device that manages electronic files distributed and held in each server by transmitting and receiving information to and from these servers.
- the folder configuration common to the electronic files stored in the file storage unit included in each server shown in FIG. 2 is the same in the distributed file management system according to the third embodiment. A description of the folder structure is omitted here.
- FIGS. 35A to 35C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 3.
- FIG. 35A to 35C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 3.
- FIG. 35A is a diagram showing an example of the electronic file information 25b stored in the file storage unit 25 included in the server A620 according to the third embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a” and “file b”.
- FIG. 35B is a diagram showing an example of the electronic file information 35b stored in the file storage unit 35 provided in the server B630 according to Embodiment 3. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a”, “file”, and “file e”.
- FIG. 35C is a diagram showing an example of the electronic file information 45b stored in the file storage unit 45 included in the server C640 according to the third embodiment. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file b”, “file d”, and “file e”.
- FIG. 36 is a block diagram illustrating an example of a functional configuration included in the Sano A620 according to the third embodiment.
- Server A 620 receives a request from the user as in the case of Sano A20 according to Embodiment 1, and when the user request is an acquisition request, server A 620 manages the electronic file related to the received acquisition request in As long as one of the servers below holds, it sends an electronic file containing the latest entity to the terminal used by the user. Further, unlike the server A20 according to the first embodiment, the server A620 according to the third embodiment calculates the value of the electronic file in order to detect tampering.
- the server A 620 includes a file storage unit 25, a user request receiving unit 71, a request type determining unit 73, a request information holding unit 75, a holding server query unit 79, a holding response receiving unit 81, a file Transmission request receiving unit 83, file transmitting unit 85, file receiving unit 87, lock request transmitting unit 89, update notification unit 91, completion notification receiving unit 93, user request response unit 95, hash value request Receiving unit 624, hash value calculating unit 626, hash value transmitting unit 628, storage unit information
- An information request receiving unit 630, a storage unit information transmitting unit 632, a copy destination receiving unit 634, and a file storage control unit 677 are provided.
- the hash value request receiving unit 624 is a part that receives a request for a hash value of a specific electronic file from the distributed file management apparatus 610.
- the hash value calculation unit 626 is a part that acquires the electronic file related to the request received by the hash value request reception unit 624 via the file storage control unit 77 and calculates the hash value of the electronic file.
- the hash value transmission unit 628 is a part that transmits the hash value calculated by the hash value calculation unit 626 to the distributed file management device 610.
- the storage unit information request receiving unit 630 is a part that receives information related to the state of the file storage unit 25 included in the storage unit information request, such as a request for free space.
- the storage unit information transmission unit 632 sends a file storage unit 2 from a file storage control unit 677 to be described later.
- the copy destination receiving unit 634 stores a copy of the electronic file. (Hereinafter referred to as “copy destination server”).
- the electronic file related to the new storage is copied to the copy destination server, and therefore, at least two or more servers hold the same electronic file. For this reason, even if a failure occurs in any one server that holds the electronic file related to the user's acquisition request or the file storage unit of the server, the electronic file is also held in the other server. Therefore, the user can obtain the electronic file related to the request from another server.
- the file storage control unit 677 is a part that controls the file storage unit 25, and the file storage unit 25 is a specific electronic file.
- the file storage unit 25 stores and reads the electronic file stored in the file storage unit 25, updates the electronic file stored in the file storage unit 25, and the file storage unit. A new electronic file is stored in 25, and information indicating the state of the file storage unit 25 such as the free capacity of the file storage unit 25 is acquired.
- Server B630 and server C640 also have the same functional configuration as server A620.
- FIG. 37 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 610 according to the third embodiment.
- the difference between the distributed file management apparatus 610 according to the third embodiment and the distributed file management apparatus 10 according to the first embodiment is that the distributed file management apparatus 610 according to the third embodiment has the hash of the electronic file related to the acquisition request. By obtaining the value from the server, the electronic file having the latest and correct contents is transmitted to the user, and one electronic file is managed so that at least two servers hold it.
- the distributed file management device 610 includes an inquiry reception unit 102, a retention response transmission unit 106, a file transmission request unit 108, an update notification reception unit 110, a retention information update unit 112, and an update completion notification.
- the holding server storage unit 700 is a storage unit that stores management server information and file holding information, like the holding server storage unit 100 according to the first embodiment.
- the holding server storage unit 700 is realized by HD, for example.
- the management server information 700a according to Embodiment 3 is the embodiment described with reference to FIG.
- FIG. 38 is a diagram showing an example of the file holding information 700b stored in the holding server storage unit 700.
- the file retention information 700b according to the present embodiment is “FRAME”. It consists of “Isle pass”, “Server name”, and “Hash value”.
- the "file path” and "server name” of the file holding information 700b according to the present embodiment are the “file path” of the file holding information 100b according to the first embodiment described with reference to FIG. And “server name” are stored in the same information, and detailed description thereof is omitted here.
- the hash value of the regular electronic file calculated in the server is stored.
- the “regular electronic file” refers to an electronic file created or changed by a person who has authority to create or change the electronic file.
- the hash value according to the present embodiment is a value calculated using, for example, all or part of the electronic file as an input value using a predetermined hash function.
- the node function is pre-determined in common for all servers, and the input value is all or part of the electronic file.
- the force that is a part is also predetermined for all servers.
- the holding server determination unit 704 is a part that determines a server holding an electronic file related to the inquiry received by the inquiry reception unit 102 by referring to the holding server storage unit 700.
- the holding server determination unit 704 determines that the server holding the electronic file having regular contents is the holding server.
- the cache value requesting unit 728 relates to the acquisition request held by the server to the server determined by the holding server determination unit 704 as a candidate for the holding server of the electronic file related to the acquisition request. This is the part that requests the hash value of the electronic file.
- the nosh value receiving unit 730 is a part that receives the hash value from the server to which the hash value request unit 728 has transmitted the request.
- the update permission request receiving unit 732 is a part that receives a request for permission regarding the update of the electronic file from the terminal 60 (65) used by the user when the user updates the electronic file.
- the hash value initializing unit 734 initializes the "hash value" of the file holding information 700b corresponding to the electronic file related to the update It is.
- the “hash value” is updated with “ ⁇ 1”.
- the update permission transmission unit 736 receives the update permission request received from the terminal 60 ( 65) is a part that transmits information whose content is to permit the update.
- the storage unit information request unit 738 is a file storage unit included in each server in each server under the management of the distributed file management device 610 when the retained information update unit 112 performs an update related to new storage. This is a part that requests information indicating the status of the device (hereinafter referred to as “storage unit information”).
- Storage unit information is, for example, information related to the free capacity of each file storage unit, and specifically, the ratio of the free capacity to the total storage capacity.
- Storage unit information reception unit 740 is a part that receives storage unit information transmitted from each server in response to a request from storage unit information request unit 738.
- the copy destination determination unit 742 is a part that determines a copy destination server based on the storage unit information received by the storage unit information reception unit 740.
- Copy destination determination unit 742 according to the present embodiment sets the server having the largest percentage of free space included in the storage unit information as the copy destination server.
- the copy destination transmission unit 744 is a part that transmits information regarding the server determined as the copy destination server by the copy destination determination unit 742 to the access source server.
- Distributed file management device 610 and each server 620, 630, 640 power S By providing the same as in the first embodiment, the user can select one of the servers 620, 630, and 640 electronically regardless of which server is accessed from the terminal 60 or 65 used by the user. As long as the file is held, the electronic file can be obtained.
- the same electronic file held by a plurality of servers has a synchronization power S, so that the user can hold the electronic file having the latest contents on any server.
- the distributed file management device 610 holds the hash value of each file. Therefore, it is possible to determine whether or not the electronic file held by each server is legitimate by referring to the no-shake value and to prevent unauthorized rewriting of the electronic file.
- FIG. 39 shows a time indicating an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits an acquisition request from the terminal device. It is a chart.
- terminal The “terminal”, “access source server”, and “holding server” shown in this figure are the same as those in FIG. Therefore, the explanation here regarding these is omitted.
- the user request receiving unit 71 of the access source server 20 (30, 40) receives the acquisition request transmitted also by the terminal 60 (65) force used by the user via the communication line 50 (S401).
- the “acquisition request” is an electronic file that is specified by the user, and is information that includes a request that the terminal that the user uses the electronic file having the latest contents acquires.
- the request type determination unit 73 acquires the request received by the user request reception unit 71 and determines whether the request is an “acquisition request” or a “write request”. Since this figure is a time chart of processing related to an acquisition request, this determination is omitted. Subsequently, the file storage control unit 677 refers to its own file storage unit 25 to determine whether or not its own file storage unit 25 stores and holds the electronic file related to the acquisition request. (S402).
- the holding server inquiry unit 79 inquires the distributed file management device 10 about the holding server, and receives the inquiry reception unit 102. Accepts the query of the holding server (S403).
- the holding server determination unit 704 performs the file holding information 10 of the holding server storage unit 100.
- the holding response transmission unit 106 transmits a non-holding notification, and the holding response receiving unit 81 receives the non-holding notification. (S405).
- the user request response unit 95 acquires the non-holding notification via the file storage control unit 77, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that transmitted the acquisition request (S406). End the process.
- the hash value request unit 728 subsequently sends a request for the hash value of the electronic file related to the acquisition request to the holding server. Then, the hash value request receiving unit 624 of the holding server receives the request for the hash value (S407).
- the hash value calculation unit 626 causes the file storage control unit 677 to acquire the electronic file related to the acquisition request from the file storage unit 25, acquires the electronic file from the file storage control unit 677, and The hash value of the electronic file is calculated (S408).
- the hash value transmitting unit 628 transmits the hash value calculated by the hash value calculating unit 626, and the hash value receiving unit 730 receives the hash value (S409).
- the holding server determination unit 704 determines whether the hash value included in the file holding information 70 Ob of the holding server storage unit 700 matches the hash value received by the hash value receiving unit 730. Whether or not the electronic file held by the holding server is valid is determined based on whether or not (S410). [0470] If the hash value included in the file holding information 700b does not match the hash value received by the hash value receiving unit 730, the holding server determining unit 704 determines that it is not normal (S41 ( TCNo).
- the holding response transmission unit 106 transmits a non-holding notification, and the holding response receiving unit
- the user request response unit 95 acquires the non-holding notification via the file storage control unit 677, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that transmitted the acquisition request (S412). End processing.
- the holding server determining unit 704 determines that it is authentic ( Yes in S410).
- the file transmission request unit 108 transmits a file transmission request to the holding server, and the file transmission request receiving unit 83 receives the file transmission request (S413).
- the “file transmission request” is a request transmitted to the holding server with the content of transmitting the electronic file related to the user acquisition request to the access source server.
- the file storage control unit 677 reads the electronic file related to the user acquisition request by the file storage unit (S414).
- the file transmission unit 85 of the holding server transmits an electronic file related to the user's acquisition request, and the file reception unit 87 of the access source server receives the electronic file (S415).
- the file storage control unit 677 of the access source server stores the electronic file received by the file reception unit 87 in its own file storage unit 25 (S416).
- the user request response unit 95 of the access source server acquires the electronic file related to the user acquisition request from the file storage control unit 677 and transmits it to the terminal 60 (65) used by the user (S417). ).
- the update notification unit 91 of the access source server performs the storage process of the file storage control unit 677.
- the holding information update unit 112 updates the file holding information 700b of the holding server storage unit 700 according to the update notification acquired from the update notification receiving unit 110 (S419), and ends the process.
- the hash value calculation unit 626 calculates the hash value of the electronic file (S420).
- the hash value transmission unit 628 transmits the hash value calculated by the hash value calculation unit 626, and the hash value reception unit 730 receives the hash value (S421).
- the holding server determination unit 704 determines whether or not the electronic file held by the holding server is authentic, similarly to the determination processing in S410 (S422).
- the holding server determination unit 704 determines that it is legitimate (Yes in S422), then the holding response transmission unit 106 transmits a holding notification to the access source server, and the holding response receiving unit 81 holds the holding notification. Is received (S423).
- the file storage control unit 677 receives the holding notification received by the holding response receiving unit 81, and reads the electronic file related to the user acquisition request from the file storage unit 25 (S4).
- the user request response unit 95 acquires the electronic file related to the user's acquisition request from the file storage control unit 677, and transmits it to the terminal 60 (65) used by the user (S425).
- the server ends the process.
- the holding server determination unit 704 determines that it is not legitimate (No in S410)
- the holding server determination unit 704 continues the file of the holding server storage unit 100 in the same manner as the determination process in S404.
- the holding information 100b it is determined whether there is a holding server other than the access source server (S426).
- the holding response transmitting unit 106 transmits a non-holding notification, and the holding response receiving unit 81 receives the non-holding notification (S427).
- the user request response unit 95 acquires the non-holding notification via the file storage control unit 677
- the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that transmitted the acquisition request (S428).
- the The access source server ends the process.
- the nose value sending unit 628 requests a hash value request from the hash value requesting unit 728 and the holding server.
- the receiving unit 624 sends and receives a request for the hash value of the electronic file related to the acquisition request (S429).
- the processing after S430 shown in the figure is the same as the processing after S408 described above. Specifically, the processing from S430 force to S432 is the same as the processing from S408 force to S410, and the processing from S427 and S428 is the same as the processing from S411 and S412, respectively.
- the processing up to S437 is the same as the processing from S413 force to S417. Therefore, the description here regarding these processes is omitted.
- FIG. 40 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability storage request. .
- terminal and the "access source server” shown in the figure are the same as the "terminal” and the “access source server” shown in FIG. 8, respectively, and thus description thereof is omitted here.
- the “copy destination server” shown in the figure is a server that is determined by the distributed file management apparatus 610 as the copy destination of the electronic file related to the new storage.
- the copy destination server in this embodiment is one of server A620, server B630, and server C640.
- the user request receiving unit 71 of the access source server 20 (30, 40) receives the storage request transmitted from the terminal 60 (65) used by the user via the communication line 50 (S501).
- the “storage request” is information that includes a request for causing the access source server to hold a new electronic file.
- the request type determination unit 73 acquires the request received by the user request reception unit 71, and the request is a difference between the "acquisition request", the "write request", and the "storage request”. Determine whether. Since this figure is a time chart of processing related to a storage request, this determination is omitted.
- the request type determining unit 73 causes the request information holding unit 75 to hold the electronic file related to the storage request (S502).
- the lock request transmission unit 89 requests that the acquired request is a write request.
- a lock request is transmitted to the distributed file management apparatus 10, and the hack request receiving unit 116 receives the lock request (S503).
- the lock request receiving unit 116 causes the lock information holding unit 118 to hold information related to the electronic file related to the received lock request.
- the electronic file write request related to the lock request is locked (S504).
- the file storage control unit 677 determines that the acquired request is a storage request! /, And receives the determination of the request type determination unit 73, and receives the electronic file held by the request information holding unit 75. Acquire and newly store the acquired electronic file in its own file storage unit 25, 35, 45
- the hash value calculation unit 626 calculates a hash value of the newly stored electronic file (S506).
- the update notification unit 91 transmits an update notification and a hash value to the distributed file management device 10, and the update notification reception unit 110 of the distributed file management device 10 receives the update notification and the hash value (S507). ).
- the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification and the hash value acquired from the update notification receiving unit 110 (S508).
- the retained information update unit 112 releases the lock by deleting the information retained by the lock information retaining unit 118 (S509).
- the update completion notification unit 114 receives the completion notification from the file storage control unit 677, notifies the access source server of the completion of the update process, and the access source server completion notification reception unit 93 is completed. Is received (S510).
- the user request response unit 95 of the access source server receives that the completion notification receiving unit 93 has received the notification of completion, and that the user has completed processing related to the user's write request. Transmit to the terminal 60 (65) to be used (S511). As a result, the processing executed between the terminal 60 (65) and the access source server ends.
- the distributed file management apparatus 610 allows the copy destination determination unit 742 to set the free space in the file storage unit of each server. Based on this, a copy destination server is determined (S512). Details of this processing will be described later.
- the copy destination sending unit 744 sends a request to the copy source server to send the electronic file newly stored by the access source server to the copy source server, and the copy destination receiving unit 634 sends the request for this file.
- a transmission request is received (S513).
- the file storage control unit 677 reads out the newly stored electronic file from its own file storage unit 25 (S514).
- the file transmission unit 85 of the access source server transmits the newly stored electronic file to the copy destination server, and the file reception unit 87 of the copy destination server receives the newly stored electronic file (S515). .
- the file storage control unit 677 of the copy destination server newly stores the electronic file received by the file receiving unit 87 in the file storage unit 35 (S516).
- the update notification unit 91 of the copy destination server transmits an update notification to the distributed file management apparatus 610, and the update notification reception unit 110 receives the update notification (S517).
- the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification acquired from the update notification receiving unit 110 (S518), and ends the process.
- FIG. 41 is a detail of the copy destination determination process (S512) shown in FIG. 40, and shows an example of the process executed in each device constituting the distributed file management system according to the third embodiment of the present invention. It is a time chart which shows.
- the storage unit information request unit 738 is a server, that is, a server in this embodiment.
- a storage unit information transmission request is transmitted to A620, server B630, and server C640, and storage unit information request reception unit 630 of each server receives the transmission request (respectively, as S551 and
- the file storage control unit 677 of the server A620 acquires or calculates storage unit information by referring to its own file storage unit 25 (S554).
- the file storage control units 677 of the server B630 and the server C640 also acquire storage unit information (corresponding to S555 and S556, respectively).
- the storage unit information receiving unit 740 includes each server, that is, the server in this embodiment.
- the copy destination determination unit 742 determines whether or not storage unit information has been received from all servers managed by the distributed file management device 610 (S560).
- the copy destination determination unit 742 determines a copy destination server based on the acquired storage unit information (S561).
- the user request receiving unit 71 of the server A620 receives the storage request for the file f transmitted from the terminal 60 (65) used by the user via the communication line 50 (S501).
- the request type determination unit 73 acquires the request received by the user request reception unit 71, and determines that the request power S is “storage request”. Subsequently, the request type determination unit 73 causes the request information holding unit 75 to hold the file f related to the storage request (S502).
- the lock request transmission unit 89 transmits a lock request to the distributed file management device 10 in response to the determination by the request type determination unit 73 that the acquired request is a write request, and the request is received.
- the lock request receiving unit 116 receives the lock request (S503), and causes the lock information holding unit 118 to hold information on the electronic file related to the received lock request. As a result, the request to write file f is locked (S504).
- the file storage control unit 677 receives the determination by the request type determination unit 73 that the acquired request is a storage request, acquires the electronic file held by the request information holding unit 75, and acquires the acquired electronic file.
- the electronic file is newly stored in its own file storage unit 25 (S505).
- the hash value calculation unit 626 calculates a hash value of the newly stored electronic file (S506). It is assumed that the hash value of the file f calculated here is “1814680”.
- the update notification unit 91 transmits the update notification and the hash value to the distributed file management device 10, and the update notification reception unit 110 of the distributed file management device 10 receives the update notification and the hash value (S507). ).
- the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification and the hash value acquired from the update notification receiving unit 110 (S508).
- FIG. 42 shows the retained server storage unit 700 updated according to the update notification and the hash value transmitted from the server A 620 when the user transmits an update request for the file f from the terminal 60 to the server A 620. It is a figure which shows the example of the file holding information 700c.
- the holding information updating unit 112 releases the lock (S509), and the update completion notification unit 114 and the completion notification receiving unit 93 of the access source server are notified of completion. (S510), the user request response unit 95 of the access source server transmits to the terminal 60 (65) used by the user that processing related to the user's write request has been completed (S511).
- the distributed file management apparatus 610 determines a copy destination server (S512).
- the copy destination determination unit 742 waits until it receives storage unit information from all servers.
- the copy destination server is determined based on the acquired storage unit information (S561).
- the storage unit information acquired by the copy destination determination unit 742 has the contents shown in FIG.
- a specific example of determining a copy destination server will be described as an example.
- FIG. 43 is a diagram showing a specific example for explaining the storage unit information.
- each ratio described in the “vacant ratio” is storage unit information of each file storage unit 25, 35, 45 provided in each server.
- the “free ratio” is a percentage of the total free capacity of each file storage unit.
- the file storage control unit 677 performs the acquisition of the free capacity and the total capacity of the file storage unit and the calculation of the free rate (S554 to S556).
- the “storage unit total capacity” of the file storage unit 25 included in “server A” is “1 84256 MB” (Mega Byte), and the “storage unit free space” is “120789 MB”. For this reason, “Free Space” is “66%”, which is 120789 divided by 184256.
- BJ is determined as the copy destination server (S561).
- the copy destination sending unit 744 and the copy destination receiving unit 634 of the server A620 that is the access source server transmit and receive a request to send the file f to the server B630. (S513).
- the file storage control unit 677 reads the file f from its own file storage unit 25 (S514), and the file transmission unit 85 of the server A620 and the file reception unit 87 of the server B630 transmit and receive the file f. (S 515).
- the file storage control unit 677 of the server B630 stores the file f in the file storage unit 35 (S516), and the update notification unit 91 and the update notification reception unit 110 of the server B630 transmit and receive an update notification ( S517).
- the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification acquired from the update notification receiving unit 110 (S518), and ends the process.
- Fig. 44 shows an example of the file holding information 700d in the holding server storage unit 700 after the processing in each device is completed when the user transmits an update request for the file f from the terminal 60 to the server A620.
- FIG. [0546] In the file holding information 700d shown in this figure, the "server name” associated with the information whose "file path" is "ZdataZf" is assigned to "server A" of the file holding information 700c shown in FIG. In addition, “Server B” is stored! RU
- FIG. 45 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability update request. .
- the update permission request receiving unit 732 receives a request for permission to update a specific electronic file from the terminal 60 (65) used by the user (S601).
- the hash value initialization unit 734 initializes the hash value of the file holding information 700b associated with the electronic file included in the request received by the update permission request reception unit 732 (S602). .
- FIG. 46 is a diagram illustrating an example of the file holding information 700e in which the hash value is initialized when the distributed file management apparatus 610 according to Embodiment 3 receives the update permission request.
- hash value initialization unit 734 performs “hash value related to update permission request”.
- the update permission transmission unit 736 sends an update permission request to the terminal 60 (65) used by the user.
- the solicitation / reception unit 732 transmits permission to update the requested electronic file (S603).
- the user request receiving unit 71 of the access source server 20 (30, 40) receives the update request transmitted from the terminal 60 (65) used by the user via the communication line 50 (S201).
- the “update request” is information including a request for updating an electronic file held by the access source server.
- the request type determination unit 73 acquires the request received by the user request reception unit 71, and whether the request is a difference between “acquisition request”, “update request”, and “storage request”. Judging. Since this diagram is a time chart of processing related to the update request, this determination is omitted.
- the request type determining unit 73 causes the request information holding unit 75 to hold the electronic file related to the update request (S605).
- the subsequent lock request transmission / reception processing (S606) and lock processing (S607) are the same as the lock request transmission / reception processing (S203) and lock processing (S204) shown in FIG. Therefore, the explanation here regarding these is omitted.
- the file storage control unit 677 obtains the electronic file held by the request information holding unit 75 in response to the determination by the request type determining unit 73 that the acquired request is an update request. Then, the electronic file stored in its own file storage unit 25, 35, 45 is updated by the acquired electronic file (S608).
- the file storage control unit 677 determines whether or not the update has been completed (S609).
- the hash value calculation unit 626 acquires a new electronic file related to the update from the file storage control unit 677, and hashes the electronic file. The value is calculated (S610).
- FIG. 47 shows an example of file retention information after execution of the electronic file update process related to the request in the third embodiment when the user transmits a terminal capability update request.
- FIG. This figure shows an example in the case where the file b is updated, and shows an example in which the “nosh value” of the new file b is “3417510”.
- the user request response unit 95 of the access source server transmits the completion notification to the terminal 60 (65) used by the user (S615).
- the processing from S509 to S511 shown in FIG. 40 Is the same as the processing from S509 to S511 shown in FIG. 40, and the description is omitted here.
- the holding server determination unit 704 extracts the holding server in response to the update of the file holding information 500b by the holding information update unit 112 (S616).
- the file transmission request unit 108 transmits a file transmission request to the access source server, and the file transmission request reception unit 83 of the access source server 320 receives the file transmission request (S617).
- the file storage control unit 677 reads the electronic file related to the file transmission request from its own file storage unit 25 (S618).
- the file transmitting unit 85 of the access source server 320 transmits the electronic file read by the file storage control unit 677 to the holding server, and the file receiving unit 87 of the holding server receives the electronic file (S619). ).
- the file storage control unit 677 of the holding server updates the electronic file stored in its file storage unit 25 by the electronic file received by the file receiving unit 87.
- FIGS. 16 to 18 examples of the input screen and the result display screen displayed on the monitor connected to the terminal 60 (65) used by the user are shown in FIGS. 16 to 18 in the first embodiment. This is the same as the example of the input screen and the result display screen described with reference to FIG. Therefore, the explanation here is omitted.
- “storage unit information” is “ratio of free space” of the storage unit, but “storage unit information” may be “free space” itself.
- the hash value is initialized by storing "1" in the "hash value" of the file holding information 700e as shown in FIG. Therefore, the value stored in the hash value is not limited to “1”, and any value that cannot be taken as a hash value may be used. A NULL value may be stored.
- a distributed file management apparatus is indispensable for processing a user request related to an electronic file. For this reason, if the distributed file management device does not function due to a failure or the like, the user's request for the electronic file cannot be processed, and therefore the distributed file management system does not function.
- Embodiment 4 provides a distributed file management system with excellent fault tolerance.
- Embodiment 4 according to the present invention will be described with reference to Figs. 48 to 62.
- FIG. 48 is a diagram showing an outline of the configuration of the distributed file management system according to the fourth embodiment of the present invention.
- the distributed file management system according to the fourth embodiment is a system that responds to a user request regarding an electronic file regardless of which access server is the same as in the first to third embodiments.
- the distributed file management system includes server A820, server B830, and server C840, and terminal a60 and terminal b65 connected via communication line 50.
- elements constituting the distributed file management system according to the present embodiment elements having the same functions as those constituting the distributed file management system according to the first embodiment are denoted by the same reference numerals. The explanation of these elements is omitted.
- Each of the servers 820, 830, and 840 has a function of a distributed file management apparatus that manages electronic files held in each server, and also stores electronic files. It also has a file server function that accepts user requests and responds to requests in cooperation with the distributed file management device or other servers when user requests are received.
- One of the servers functions as a distributed file management device.
- the order in which servers are distributed file management apparatuses is determined in advance, and the server having the highest rank among operating servers functions as the distributed file management apparatus.
- management device server a server functioning as a distributed file management device.
- Each server includes a file storage unit for storing and holding electronic files.
- the Sano A820 according to this embodiment includes a file storage unit 25, and the server B830 includes a file storage unit 35.
- the C840 includes a file storage unit 45.
- the file storage unit included in each server stores the same electronic file folder structure.
- FIG. The folder structure is the same as that shown in FIG. Therefore, the explanation here regarding the folder structure is omitted.
- 49A to 49C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 4.
- FIG. 49A to 49C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 4.
- FIG. 49A is a diagram showing an example of the electronic file information 25d stored in the file storage unit 25 provided in the server A820 according to the fourth embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a” and “file b”.
- FIG. 49B is a diagram showing an example of the electronic file information 35d stored in the file storage unit 35 provided in the server B830 according to Embodiment 4. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a”, “file”, and “file e”.
- FIG. 49C is a diagram showing an example of the electronic file information 45d stored in the file storage unit 45 provided in the server C840 according to the fourth embodiment. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file d”.
- FIG. 50 is a block diagram showing an example of an outline of a functional configuration provided in the server A820 according to the fourth embodiment.
- Server A has both the function of a file server that holds electronic files and the function of a distributed file management device that manages electronic files held by multiple file servers.
- the server A 820 includes a file server unit 900, a management device unit 910, and a management device determination unit 920.
- the file server unit 900, the management device unit 910, and the management device determination unit 920 are connected to each other via an internal bus (not shown). Therefore, each part of the file server unit 900, the management device unit 910, and the management device determination unit 920 transmits and receives information through the internal bus inside the server A820. Details of the parts included in the file server unit 900, the management device unit 910, and the management device determination unit 920 will be described later.
- the file server unit 900, the management device unit 910, and the management device determination unit 920 transmit and receive information to and from the terminals 60 and 65 or other servers via the communication line 50.
- the file server unit 900 is a part that realizes a function as a file server. That is, the file server unit 900 receives a user request or a request transmitted from the management apparatus server. Then, the file server unit 900 executes processing corresponding to these received requests.
- the management device unit 910 is a part that realizes a function as a distributed file management device. In other words, the management device unit 910 manages information related to the electronic files held by the server A820, the server B830, or the server C840, and when the server A820 is a management device server, Inquiries from are accepted.
- the management device determination unit 920 transmits / receives information to / from the management device determination unit provided in another server. This is a part for determining the management device server based on! /.
- FIG. 51 is a diagram showing an example of the functional configuration of the file server unit 900 of the Sano A820 according to the fourth embodiment.
- the file server unit 900 includes a file storage unit 25, a user request receiving unit 71, a request type determining unit 73, a request information holding unit 75, a file storage control unit 77, a holding response receiving unit 81, File transmission request reception unit 83, file transmission unit 85, file reception unit 87, lock request transmission unit 89, completion notification reception unit 93, user request response unit 95, holding server inquiry unit 1079, update And a notification unit 1091, which transmit / receive information to / from the management device unit 910 and the management device determination unit 920 via an internal bus (not shown) as described above.
- the holding server query unit 1079 is similar to the holding server query unit 79 according to the first embodiment. This is the part that makes an inquiry to the management device 910 via the communication line 50. Unlike the holding server inquiry unit 79 according to the first embodiment, the holding server inquiry unit 10 79 inquires of the management apparatus 910 about the holding server in accordance with an instruction acquired from the file storage control unit 77.
- the update notification unit 1091 is a part that notifies each server of the stored or updated content when the file storage control unit 77 stores or updates an electronic file. As a result, all the servers can hold the latest information on the holding server.
- FIG. 52 is a diagram showing an example of details of the functional configuration of the management device unit 910 and the management device determination unit 920 of the server A820 according to the fourth embodiment.
- the management device unit 910 includes an inquiry reception unit 102, a retention server determination unit 104, a retention response transmission unit 106, a file transmission request unit 108, an update notification reception unit 110, and a retention information update.
- the holding server storage unit 1000 is a storage unit that stores management server information and file holding information, similar to the holding server storage unit 100 of the first embodiment, and is realized by, for example, HD. .
- the content of each information is different from the holding server storage unit 100 of the first embodiment. Details of each information will be described with reference to the drawings.
- FIG. 53 is a diagram showing an example of the management server information 1000a stored in the holding server storage unit 1000 according to Embodiment 4.
- the management server information 1000a includes information indicating the order in which each server functions as a distributed file management apparatus, in addition to information for specifying a server set as a management target.
- the management server information 1000a shown in this figure is composed of "Sano name”, “IP address”, and “rank”. “Server name” and “IP address” are the same as “Sano name” and “IP address” according to the first embodiment, respectively, so description thereof will be omitted.
- Order includes the order in which each server functions as a distributed file management device.
- This figure shows, for example, that the “IP address” of the server whose “server name” is “server A” is “192. 1”.
- FIG. 54 is a diagram showing an example of the file holding information 1000b stored in the holding server storage unit 1000 according to Embodiment 4.
- the “file path” and “server name” of the file holding information 1 000b according to the present embodiment are the “file path” of the file holding information 100b according to the first embodiment described with reference to FIG. Since “server name” and the same information are stored, detailed description is omitted here.
- This figure is an example including file holding information indicating that "server A” and “server B” hold an electronic file whose "file path" is "ZdataZa", for example. .
- the management device determination unit 920 includes a management device holding unit 1200, a management device notification unit 1202, a management device notification reception unit 1204, a change determination unit 1206, a management device determination unit 1208, and a holding server information acquisition.
- the management device holding unit 1200 is a part that holds information for specifying the current management device server (hereinafter, “management device information” t).
- the management device notification unit 1202 refers to the management device holding unit 1200 to determine whether or not the server provided with the management device notification unit 1202 is a management device server, and the server including the management device notification unit 1202 is the management device server In this case, it is a part for notifying that a server provided with each server is a current management device server at a predetermined time interval.
- the management apparatus notification unit 1202 determines that the server including the management apparatus notification unit 1202 is the management apparatus server. It is determined that the information indicating the server including itself is not stored in the storage unit 1200, and in this case, the server including itself is not the management apparatus server.
- the management device notification accepting unit 1204 is a part that accepts notification from the management device notification unit 1202 of the management device server.
- the change determination unit 1206 is a part that determines whether or not the management device server needs to be changed based on the notification received by the management device notification reception unit 1204.
- the change determination unit 1206 determines that the transmission source of the response received by the management device notification reception unit 1204 is in order from the server indicated by the information held by the management device holding unit 1200. If the server is higher in rank, it is determined that a change is necessary. At this time, the management server information 1000a in the holding server storage unit 1000 is referred to in order to determine the order. As described above, the response from the server having higher rank than the server indicated by the information held by the management device holding unit 1200 is accepted when the downed server is recovered. Therefore, each server can detect the recovery of the server that was down.
- change determination section 1206 determines that a change is necessary when a predetermined time has elapsed without management apparatus notification reception section 1204 receiving the notification.
- the management device notification accepting unit 1204 does not accept the fixed-time notification when the operation of the server is stopped, for example, when a failure occurs in the management device server. Therefore, each server can detect the operation stop of the management apparatus server.
- the management device determination unit 1208 assigns the next management device server to the holding server storage unit 1000.
- Information that is determined by referring to the management server information 1000a and that identifies the determined server is stored in the management device holding unit 1200.
- the management device determination unit 1208 determines the server with the highest rank in the management server information 1000a among the servers in operation as the next management device server.
- the holding server information acquisition unit 1210 stores the holding server storage when the management device determination unit 1208 determines a server because the change determination unit 1206 determines that the management device server needs to be changed due to server recovery. Get the file holding information 1000b of the copy 1000.
- Server response unit 1212 is a part that responds to the management device server according to the determination of change determination unit 1206 when management device notification reception unit 1204 receives the notification.
- the server response unit 1212 responds to the transmission source of the notification received by the management device notification reception unit 1204.
- the server response unit 1212 sends the retained server information to the server determined by the management device determination unit 1208.
- the acquisition unit 1210 sends a response including the file holding information 1000b acquired.
- the server response reception unit 1214 receives the response transmitted from the server response unit 1212 of another server. It is a part that accepts answers.
- the server response receiving unit 1214 uses the file holding information 1000b to store the file holding information 1000b of its own holding server storage unit 1000. Update.
- the file holding information 1000b is included in the response when a failure has occurred in the server that received the response. While the failure occurred, the file retention information 1000b held by the server cannot be updated, so the contents may be out of date. Thus, by updating the file holding information 1000b when the server is restored, the restored server can immediately function correctly as a management apparatus server.
- the above is the functional configuration of the Sano A820 according to the present embodiment.
- the functional configuration of the server A820 described here is common except that the file storage unit 25 of the file server unit 900 is the file storage unit 35 in the server B830 and the file storage unit 45 in the server C840. . Therefore, description of the functional configuration of the server B830 and the server C840 is omitted.
- FIG. 55 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 4 of the present invention when the user transmits a terminal capability acquisition request. .
- the management server information 1000a has the contents shown in FIG. 53. Therefore, “Server B” having the highest order is the management device server, and the management device holding unit 1200 of each server has “ It is assumed that information indicating “Server B” is held.
- Terminal shown in the figure is a terminal used by the user, and in this embodiment, is either terminal a60 or terminal b65. Furthermore, this figure shows an example in which server A820 is the access source server.
- the process of “Server A” 820 is a process executed by “Accessing Server”, and the process of “Server B” 830 is executed by “Management Device Sano”. This process. [0641] First, the management device notification unit 1202 of the server B830 transmits "Notification 1" to the other servers, and the management device notification reception unit 1204 of the server A820 and the server C840 each receives "Notification 1 J. Accept (S701 and S702).
- Notification 1 means that the management device notification unit 1202 of the server B830, which is the management device server, is continuously or constant in order to notify other servers that it is operating. Information that is transmitted intermittently at intervals.
- the server indicated by the information held in management device holding unit 1200 and the server for which management device notification receiving unit 1204 has received "notification 1" are both "server B” Therefore, the change determination unit 1206 of the server A820 and the server C840 determines that no change is necessary, and the server response unit 1212 of the server A820 and the server C840 that receives this determination transmits “response 1” to the server B830. Then, the server response reception unit 1 214 of the server B830 receives “response 1” (S703 and S704).
- the user request receiving unit 71 of the server A820 which is the access source server, receives the acquisition request to which the terminal 60 (65) used by the user is transmitted via the communication line 50 (S705).
- the “acquisition request” is a request that the terminal that the user uses the electronic file specified by the user acquires.
- the request type determination unit 73 of the server A820 acquires the request received by the user request reception unit 71, and determines whether the request is a difference between the "acquisition request” and the "write request”. to decide . Since this figure is a time chart of processing related to an acquisition request, this determination is omitted.
- the file storage control unit 77 of the server A 820 determines whether or not the file storage unit 25 of the server A 820 stores the electronic file related to the acquisition request (S706).
- the user request response unit 95 of the server A820 is the file storage control unit 77 of itself. Terminal that acquires the electronic file related to the acquisition request and uses the electronic file by the user
- the 0 inquiry reception unit 102 receives the inquiry of the holding server (S709).
- the holding server determination unit 104 of the server B830 refers to the file holding information 1000b of the holding server storage unit 1000 to determine whether or not the holding server of the electronic file related to the acquisition request has power. Judgment is made (S710).
- the user request response unit 95 of the server A820 transmits a non-holding notification to the terminal 60 (65) used by the user (S712).
- the holding server determination unit 104 of the server B830 determines whether or not the server B830 itself is a holding server (
- the file storage control unit 77 of the server B830 obtains from the file storage unit 35 based on the request of its own management device unit 910.
- the electronic file related to the request is read (S714).
- the file transmission unit 85 of the server B830 acquires the electronic file related to the acquisition request from its own file storage control unit 77, and transmits it to the Sano A820. Then, the file receiving unit 87 of the server A 820 receives the electronic file transmitted by the file transmitting unit 85 of the server B (S715).
- the user request response unit 95 of the server A820 acquires the electronic file related to the acquisition request via the file storage control unit 77, and transmits it to the terminal 60 (65) used by the user (S716).
- the file storage control unit 77 of the server A820 stores the electronic file acquired from its own file reception unit 87 in its own file storage unit 25 (S717).
- the update notification unit 1091 of the server A820 sends an update notification to the server B830 and the server C840, which indicates that the access source server has become the electronic file holding server related to the acquisition request.
- the update notification receiving unit 110 of the server B830 and the server C840 receives the update notification (S718 and S719).
- the update notification reception unit 110 of the server A820 obtains the update notification from its own update notification unit 1091 via the internal bus, and the retained information update unit 112 of the server A820 receives the update notification reception unit. According to the update notification acquired from 110, the file holding information 1000b of its own holding server storage unit 1000 is updated (S720).
- the retention information update unit 112 of the server 830 and the server 840 acquires the update notification from each update notification reception unit 110, and the file of each storage server storage unit 1000 according to the acquired update notification.
- Update retention information 1000b (S721 and S722
- the file transmission request unit 108 of the server B830 transmits the electronic file related to the acquisition request to the server A820 that is the access source server.
- the request to be transmitted is transmitted to the holding server (S727).
- the server C840 is a holding server.
- the file storage control unit 77 of the server C840 serving as the holding server reads the electronic file related to the acquisition request from the file storage unit 25 (S728).
- the file transmission unit 85 of the server C840 acquires the electronic file related to the acquisition request from the file storage control unit 77, and transmits the acquired electronic file to the server A820 (S729).
- the user request response unit 95 of the server A820 acquires the electronic file related to the acquisition request via the file storage control unit 77, and transmits it to the terminal 60 (65) used by the user (S730).
- FIG. 56 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 4 of the present invention when the user transmits a terminal capability write request. is there.
- the management server information 1000a has the contents shown in FIG. 53. Therefore, “Server B” having the highest rank is set as the management device server, and the management device holding unit of each server. Assume that 1200 indicates information indicating “server B”.
- terminal shown in the figure is a terminal used by the user, and is either terminal a60 or terminal b65 in the present embodiment. Furthermore, this figure shows an example in which server A820 is the access source server.
- the user request receiving unit 71 of the server A820 as the access source server receives the write request transmitted from the terminal 60 (65) used by the user via the communication line 50 (S801). .
- the “write request” is information that includes a request to update an electronic file held by the access source server or to make the access source server hold a new electronic file.
- the request type determination unit 73 of the server A820 causes the request information holding unit 75 to hold the electronic file related to the write request (S802).
- the lock request transmission unit 89 of the server A820 receives the determination of the request type determination unit 73 that the acquired request is a write request, and functions as a distributed file management device.
- the lock request receiving unit 116 of the server B830 receives the request for the request (S803).
- the lock request receiving unit 116 of the server B830 locks the lock information holding unit 118 by holding information on the electronic file related to the received lock request (S804).
- the file storage control unit 77 of the server A820 receives the determination of the request type determination unit 73 that the acquired request is a write request, and the electronic file stored in the request information storage unit 75 is stored. And the obtained electronic file is written in its own file storage unit 25 (S805).
- the file storage control unit 77 of the server A820 determines whether or not the writing is completed (S806).
- the update notification unit 1091 of the server A820 receives a notification of completion from its own file storage control unit 77, and the access source server writes it.
- An update notification is sent to the server B830 to indicate that it has become a holding server for the electronic file related to the request, and the update notification receiving unit 110 of the server B830 receives the update notification (S807).
- the holding server inquiry unit 1079 of the server A820 receives a notification of completion from its own file storage control unit 77, and sends an inquiry about the holding server of the electronic file related to the write request to the server B830.
- the inquiry reception unit 102 of the server B830 receives the inquiry of the holding server (S808).
- the update notification unit 1091 of the server A820 receives a notification of completion from its file storage control unit 77, and confirms that the access source server has become a storage server for the electronic file related to the write request.
- the update notification as content is transmitted to the server C840, and the update notification receiving unit 110 of the server C840 receives the update notification (S809).
- the update notification reception unit 110 of the server A820 acquires the above update notification from its own update notification unit 1091 via the internal bus, and the retained information update unit 112 of the server A820 receives the update notification reception unit.
- the file holding information 1000b of its own holding server storage unit 1000 is updated (S810).
- the retention information update unit 112 of the server 830 and the server 840 acquires the update notification from each update notification reception unit 110, and the file of each storage server storage unit 1000 according to the acquired update notification.
- Update retention information 1000b (S811 and S812
- the retained information updating unit 112 releases the lock by deleting the information retained by the lock information retaining unit 118 (S813).
- the update completion notification unit 114 receives the completion notification from the file storage control unit 77.
- the completion of the update process is notified to the server A820, and the completion notification receiving unit 93 of the server A820 receives the notification of completion (S814).
- the user request response unit 95 of the server A 820 confirms that the processing related to the user write request has been completed in response to the completion notification receiving unit 93 receiving the completion notification. (S815).
- the holding server determination unit 104 of the server B830 has its own holding server storage unit 100.
- server A that is the access source server
- the presence / absence of a holding server other than 820 is determined (S816).
- the file transmission requesting unit 108 of the server B830 obtains information by identifying the holding server from its own holding server determining unit 104, and writes it.
- a file transmission request including the content of transmitting the electronic file related to the request to the holding server is transmitted to the server A820, and the file transmission request receiving unit 83 of the Sano A820 receives the file transmission request (S817).
- the holding server is “Server C” 840 when an affirmative determination is made in S816. Therefore, the following “server” 840 is a process executed by the “holding server”.
- the file storage control unit 77 of the server A820 obtains the file transmission request received by the file transmission request receiving unit 83 from the file transmission request receiving unit 83, and acquires its own file.
- the electronic file related to the write request is read from the storage unit 25 (S818).
- the file transmission unit 85 of the server A820 acquires the electronic file related to the write request and the file transmission request from the file storage control unit 77, and transmits the electronic file related to the write request to the server C840.
- the file receiver 87 of the server C840 receives the electronic file (S819).
- the file storage control unit 77 of the server C840 acquires the electronic file received by the file reception unit 87 from its own file reception unit 87, and updates its own file storage unit 45 with the electronic file ( S820).
- FIG. 57 is a time chart of processing executed in each server to determine the management apparatus server. This figure is a time chart showing a specific example of processing executed in each server in order to determine the management apparatus server when the operation of the server B830 as the management apparatus server is stopped and then spread.
- the management server information 1000a of 000 has the contents shown in FIG. Therefore, when the server B830 is stopped, the next management apparatus server is the server C840.
- the server B830 which is the management apparatus server, stops (S901). Therefore, the server
- the management device determination unit 920 of the server A820 executes the server B83 which is a management device server.
- the notification cannot be received within a certain time from 0, so the management device server Server C840, which is the server of the rank of the server, is determined as the management apparatus server, and the management apparatus information held by itself is changed from server B830 to server C840 (S902).
- each server not the management apparatus server, determines the current management apparatus server and performs intermittently in order to retain correct management apparatus information
- first management apparatus determination process the process that each server, not the management apparatus server, determines the current management apparatus server and performs intermittently in order to retain correct management apparatus information
- the management device determination unit 920 of the server C840 also determines that the server C840 is a management device server in the first management device determination processing, and the management device information held by itself from the server B830 to the server Change to C840 (S903).
- Server B830 cannot accept “Notification 2” because it is stopped (S905).
- the X on the “Notification 2” arrow in this figure indicates this.
- Notification 2 refers to information that is sent continuously or intermittently at regular intervals to notify other servers that it is operating, as with “Notification 1". This notification is transmitted by the management device notification unit 1202 of the server C840 that is the management device server.
- the management device determination unit 920 of the server A820 performs the first management device determination process.
- the server response unit 1212 of the A820 transmits "response 2" to the server C840, and the server
- the server response acceptance unit 1214 of C840 accepts “response 2” (S907).
- the management device determination unit 920 of the server A820 continues the first device determination processing, and the management device determination unit 920 of the server A820 and the server C840 transmits "notification 2" and "response 2". Repeat reception (shown as ⁇ ).
- the management device notification unit 1202 of the restored server B830 transmits "Notification 1" to the other servers, and the management device notification reception unit 1204 of the server A820 and the server C840 each receives "Notification 1". (S909 and S910).
- the management device determination unit 920 of the server A820 retains the current management device server in the first management device determination process and ranks higher than the server C840 indicated by the information indicated. Since the notification is received from the upper server B830, the server B830 is determined as the management device server, and the management device information held by itself is changed from the server C840 to the server B830 (S911).
- server response unit 1212 of server A820 transmits “response 1”
- server response reception unit 1214 of server B830 receives “response 1” from server A820 (S912).
- the management device determination unit 920 of the server C840 since the management device determination unit 920 of the server C840 has received a notification from the server B830 having a higher rank than itself, the management device determination unit 920 determines that the server B830 is a management device server, and stores the management device information held by itself. To server B830 (S913).
- the process in which the management apparatus server determines the current management apparatus server and performs intermittently in order to properly hold the management apparatus information is called “second management apparatus determination process”. Details will be described later.
- the server response unit 1212 of the server C840 transmits “response 1” including the file holding information 1000b stored in its own holding server storage unit 1000, and the server response reception unit 1214 of the server B830. Receives “Response 1” including file holding information 1 OOOb from server C840 (S914).
- the server response receiving unit 1214 of the server B830 that has received “response 1” including the file holding information 1000b is stored in its holding server storage unit 1000 based on the file holding information 1000b.
- the file holding information 1000b is updated (S915).
- the file holding information 1000b held by the server B830 becomes the latest content.
- the management device notification unit 1202 of the server B830 sends “Notification 1” to the other servers, and the management device notification reception unit 1204 of the server A820 and the server C840 receives “Notification 1 J respectively”. (S 916 and S 917).
- the management device determination units 920 of the server A820 and the server C840 determine that the management device does not need to be changed in the first management device determination processing (S918 and S919).
- the server response unit 1212 of the server A820 and the server C840 transmits "response 1" to the server B830. Then, the server response reception unit 1214 of the server B830 receives “response 1” (S920 and S921). [0717] Subsequently, the management device determination unit 920 of server A820 and server C840 continues the first device determination processing, and the management device determination unit 920 of server 820 and server C840 performs "notification 1" and "response 1". Repeatedly send and receive (and illustrated).
- FIG. 58 is a detailed flowchart of the first management device process executed by the normal server management device determination unit 920.
- the change determination unit 1206 determines whether or not a predetermined time has elapsed since the management device notification reception unit 1204 received the notification immediately before (S1001). The change determination unit 1206 holds this fixed time.
- the change determination unit 1206 continues to manage The information held by the device holding unit 1200 and the management server information 1000a of the holding server storage unit 1000 are acquired, and the ranking of the server that is the transmission source of the next notification is held by the management device holding unit 1 200. It is determined whether or not the management device information is higher than the server indicated (S1002).
- the change determination unit 1206 determines that there is no need to change the management apparatus server, and returns to the determination process of time passage (S1001).
- the change determination unit 1206 determines that the management device server needs to be changed. A server is determined (S1003).
- the management device determination unit 1208 determines this determination and the management device holding unit. 1
- the management device information held by the 200 is obtained from the change determination unit 1206, and the “rank” of the management server information 1000a is obtained from the holding server storage unit 1000, and the server next indicated by the management device information is obtained.
- the server corresponding to the rank of the server is determined as a new management device server [0724] Also, because the server that is the transmission source is higher than the server indicated by the management device information (Yes in S1002), if it is determined that the management device server needs to be changed, the management device determination unit The 1208 obtains this determination and information for specifying the transmission source server from the change determination unit 1206, and determines the transmission source server as a new management apparatus server.
- the management device determination unit 1208 updates and holds the management device information held by the management device holding unit 1200 with the information for specifying the management device server determined by itself (S1004). .
- the first management device determination process by the normal server management device determination unit 920 ends.
- FIG. 59 is a detailed flowchart of the second management device process executed by the management device determination unit 920 of the management device server.
- the change determining unit 1206 determines whether or not the transmission source of the notification is higher than the server including the notification (S110 0). .
- change determination section 1206 waits.
- the management device determination unit 1208 uses this determination and information for specifying the server that is the transmission source.
- the server that is acquired from the change determination unit 1206 and is the transmission source is determined as a new management apparatus server (S1101).
- the management device determination unit 1208 updates and holds the management device information held by the management device holding unit 1200 with the information for specifying the management device server determined by itself (S1102). .
- the holding server information acquisition unit 1210 acquires information for identifying the server determined by the management device determination unit 1208 as a new management device server
- the holding server information acquisition unit 1210 stores the information of its own holding server storage unit 1000.
- the file holding information 1000b is acquired, and the acquired file holding information 1 000b and the information for specifying the server are delivered to the server response unit 1212 (S1103)
- the first management device determination process by the management device determination unit 920 of the management device server ends.
- FIG. 60 shows the distributed file management system according to the fourth embodiment of the present invention when server B 830 recovers after server A 820 receives a file d acquisition request while server B 830 is stopped.
- 6 is a time chart showing a specific example of processing executed in each of the constituent devices.
- the management server information of the holding server storage unit 1000 of each server is the management server information 1000a shown in FIG.
- the initial content of the file holding information in the holding server storage unit 1000 of each server is the file holding information 1000b shown in FIG.
- the initial contents of the electronic file information stored in the file storage units 25, 35, and 45 of each server are assumed to be the contents shown in FIG.
- the user request receiving unit 71 of the server A820 receives an acquisition request for the file d from the terminal 60 (65) used by the user (S1201).
- the request type determination unit 73 of the server A820 determines whether the request received by the user request reception unit 71 is an “acquisition request” (not shown), and then continues with the process of the server A820.
- the file storage control unit 77 determines whether or not the own file storage unit 25 stores the electronic file related to the acquisition request (S1202).
- the file storage unit 25 of the server A820 does not store the file d. Therefore, the file storage control unit 77 of the server A 820 determines that its own file storage unit 25 has stored the electronic file related to the acquisition request (No in S 1202).
- the holding server query unit 1079 of the server A820 receives the judgment of the file storage control unit 77. Then, the server C840 sends an inquiry about the holding server of the electronic file related to the acquisition request, and the inquiry receiving unit 102 of the server B830 receives the inquiry about the holding server (S1203)
- the holding server determination unit 104 of the server C840 refers to the file holding information 1000b of the holding server storage unit 1000 to determine whether the holding server of the electronic file related to the acquisition request has power. Judgment is made (S 1204).
- the holding servers of the file d are “server B” and “server C”.
- the holding server determination unit 104 of the server C840 determines that there is a holding server (in S1204
- the file transmission unit 85 of the server C840 acquires the file d from its own file storage control unit 77 and transmits it to the server A820. Then, the file receiving unit 87 of the server A820 receives the file d (S1207).
- the user request response unit 95 of the server A820 transfers the file d to the file storage control unit.
- the file storage control unit 77 of the server A820 stores the electronic file acquired from its own file reception unit 87 in its own file storage unit 25 (S1209).
- the update notification unit 1091 of the server A820 transmits an update notification with the content that it has become the holding server of the file d to the server C840, and the update notification reception unit 110 of the server C840 An update notification is accepted (S1210).
- the update notification reception unit 110 of the server A820 acquires the update notification from its own update notification unit 1091 via the internal bus, and the retained information update unit 112 of the server A820 receives the update notification reception unit. According to the update notification acquired from 110, the file holding information 1000b of its own holding server storage unit 1000 is updated (S1211).
- the retained information update unit 112 of the server C840 acquires an update notification from each update notification reception unit 110, and each of the retained server storage units 10 according to the acquired update notification.
- the file holding information 1000b of 00 is updated (S1212).
- the server C840 and the server A820 continue the processing from the transmission / reception of "Notification 2" (S904) to the transmission / reception of "Response 2" (S907).
- Fig. 61 is a diagram showing an example of the server information 1000c stored in the storage server storage unit of the server A820 and the server C840 after the processing related to the acquisition request for the file d executed while the server B830 is stopped. It is.
- “server A” is newly added to the holding server of “file d”.
- FIG. 62 is a diagram showing an example of the holding server information 1000b in the holding server storage unit of the server B830 after the processing related to the acquisition request for the file d executed while the server B830 is stopped is completed. . Because server B830 is stopped, holding server information lOOOd has not been updated, and “server A” is newly added to the holding server of “file d”.
- the file holding information 1000d held by the stopped server may not hold the correct information. Therefore, the process described below is executed.
- “response 1” transmitted by server response unit 1212 of server C840 in S914 includes the latest file holding information 1000c shown in FIG. Therefore, the server B830 that has received “response 1” can update the file holding information 1000b stored in its holding server storage unit 1000 with the file holding information 1000c in S915, and the restored server B830 It can function correctly as a management device server
- Embodiment 2 it is displayed on a monitor connected to terminal 60 (65) used by the user.
- the example of the input screen and the result display screen shown are the same as the example of the input screen and the result display screen described with reference to FIGS. 16 to 18 in the first embodiment. Therefore, the explanation here is omitted.
- the server constituting the distributed file management system may include a server that does not have a function as a distributed file management device.
- the case where there are three servers constituting the distributed file management system has been described as an example.
- the number of servers constituting the distributed file management system may be larger.
- a server having a function as a distributed file management device stores file retention information in the retention server storage unit 1000, and if any file storage unit of the server is changed, all the distributed file management devices are used.
- the file retention information of the server with the above function is updated in order to maintain synchronization.
- the amount of processing and communication information for synchronizing this file retention information increases.
- the distributed file management system when the distributed file management system is configured by a large number of servers, by including a server having the function of the distributed file management device as a part of the server group, the distributed file management system can It is possible to improve the faultiness and include a server that does not have the function of the distributed file management device in a part of the server group, thereby increasing the load related to the processing of each server and the amount of communication information. It is possible to suppress the increase.
- FIG. 63 is a diagram showing an outline of the configuration of the distributed file management system according to the second modification of the present invention.
- the distributed file management system shown in this figure is composed of a Sano A820, a server B830, a Sano C840, a server D850, a terminal a60, and a terminal b65. These devices are connected via a communication line 50. Yes. That is, distributed file management shown in this figure
- the system configuration is obtained by adding the server D850 to the configuration of the distributed file management system according to the fourth embodiment. Since the devices other than the server D850 are the same as those in the fourth embodiment, a detailed description thereof is omitted here.
- the server D850 includes a file storage unit 855, which is a storage unit that stores electronic files, in the same manner as other servers.
- the server D850 is different from other servers in that it has a function as a distributed file management device.
- the management server information of the holding server storage unit 1000 included in the server A820, the server B830, and the server C840, which are servers having a function as a distributed file management device, is stored in the server D850 as a distributed file management device. It has a function so that it can be identified.
- FIG. 64 is a diagram showing an example of the management server information lOOOe of the holding server storage unit 1000 included in the server functioning as the distributed file management device according to the second modification of the present invention.
- the management server information lOOOe shown in this figure is composed of "server name”, “IP address”, “rank”, and power as well as the management server information 1000a according to the fourth embodiment shown in FIG. Is done.
- the information stored in these is the same as in the embodiment. The difference is that in order to be able to identify servers that do not have a function as a distributed file management device, no information is included in the “rank” corresponding to those servers.
- the only information stored in association with "Server D” is "IP address", and "Rank” is a null value.
- “rank” is a null value
- a server having a function as a distributed file management apparatus can identify that “server D” is a server not having a function as a distributed file management apparatus. For example, if the management device server stops, server D850 must be a candidate for the next management device server.
- the method of indicating that the server does not have a function as a distributed file management device is not limited to this.
- the “rank” being a null value, it may be a value not assigned to the “rank” associated with the server having the function of the distributed file management device, such as “rank” being “1”.
- a flag indicating whether or not the server has a function as a distributed file management apparatus may be added.
- FIG. 65 shows a server that does not function as the distributed file management device according to the second modification of the present invention. It is a block diagram which shows the functional structure with which server D850 which is is.
- the server D850 is also configured with a file server unit 900 and a management device determination unit 1300.
- Each part is connected by an internal bus (not shown).
- the file server unit 900 of the server D850 is a part that implements a function as a file server, similar to the file server unit 820 of the server A820 shown in FIG. It has the same functional configuration.
- the functions provided in each part of the file server unit 900 shown in this figure are the same as the functions provided in each part of the file server unit 820 of the server A 820 given the same reference numerals in FIG. Therefore, a detailed description of the functions provided in each part of the file server unit 900 of the server D850 is omitted here.
- the management device determination unit 1300 determines the management device server based on information transmitted to and received from the management device server. It is.
- the management device determination unit 1300 of the server D850 includes a management device holding unit 1400, a management device notification receiving unit 1402, and a server response unit 1412.
- Management device holding unit 1400 is a unit that holds management device information, like management device holding unit 1200 shown in FIG.
- the management device notification receiving unit 1402 is a part that receives a notification from the management device notification unit 1202 of the management device server, similarly to the management device notification reception unit 1204 shown in FIG.
- the management device notification receiving unit 1402 causes the management device holding unit 1400 to hold information indicating the server that is the transmission source of the received notification as management device information.
- the management device determination unit 1300 of the server that does not have the function as the distributed file management device determines that the server that is the notification source is the management device server.
- the server response unit 1412 is a part that responds to the management device server when the management device notification reception unit 1402 receives the notification.
- the server response unit 1412 acquires the management device information held by the management device holding unit 1400, and sets the server indicated by the acquired management device information as the management device server that is the response destination.
- a server that does not have the function of a distributed file management device Can detect the distributed file management server, and when it receives a request from the user, it can query the distributed file management server for the electronic file holding server related to the user's request as necessary. it can.
- Embodiments 1 to 3 the case where there are three servers managed by the distributed file management device has been described as an example, but there may be a plurality of servers. Also, As described above, the effect of each embodiment becomes remarkable, such as the user being able to acquire a desired electronic file without being aware of the location of the electronic file.
- the present invention can be applied to a device or system that manages a group of electronic files that are distributed and held by a plurality of servers, and particularly includes a plurality of file servers and a device that manages each file server.
- the present invention can be applied to a system that includes a plurality of WWW (World Wide Web) servers and devices that manage each WWW server.
- WWW World Wide Web
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Provided is a distributed file managing system capable of providing an electronic file held by one of servers to a user who accesses an arbitrary server from the terminal used by the user. The distributed file managing system manages electronic files held by a plurality of servers. The distributed file managing system includes a terminal connected by a communication line and used by a user, a plurality of servers for receiving a user request, and a distributed file managing device for identifying a server holding the electronic file associated with the user request in accordance with an inquiry from the server and causing each of the servers to execute processes required for the request.
Description
明 細 書 Specification
分散ファイル管理システム Distributed file management system
技術分野 Technical field
[0001] 本発明は、コンピュータ 'ネットワーク(以下、「ネットワーク」という。)上で分散してい る電子ファイルを管理するシステムに関する。 The present invention relates to a system for managing electronic files distributed on a computer network (hereinafter referred to as “network”).
背景技術 Background art
[0002] 企業等の組織内の LAN (Local Area Network)やインターネットなどの Wan ( Wide Area Network)といったネットワークを介して、ネットワークに接続されてい る端末を利用するユーザは、ネットワークに接続されているサーバが保持している電 子ファイルにアクセスすることができる。これにより、ユーザは、ネットワークに接続され ているサーバに分散して保持されている電子ファイルを閲覧すること、または、ダウン ロードすることなどが可能となり、情報の流通や活用が促進されている。 [0002] A user who uses a terminal connected to a network via a network such as a LAN (Local Area Network) in an organization such as a company or a Wan (Wide Area Network) such as the Internet is connected to the network. You can access the electronic files held by the server. This makes it possible for users to browse or download electronic files that are distributed and stored on servers connected to the network, thereby promoting the distribution and use of information.
[0003] 従来、このようにネットワーク上で分散して保持されて 、る電子ファイルの活用およ び管理のための技術が提案されて 、る。 [0003] Conventionally, techniques for utilizing and managing electronic files that are distributed and held on a network in this way have been proposed.
[0004] 例えば、特許文献 1に記載の技術は、各サーバのファイルシステムを統合するスー パーディレクトリを頂点とするツリー構造をした仮想的なファイルシステムをユーザに 提示するファイルシステムの管理方法である。この技術によると、ユーザは自身が利 用している端末が保持している電子ファイルにアクセスする場合と同様のユーザイン ターフェースから、サーバが保持する電子ファイルにアクセスすることができる。 [0004] For example, the technology described in Patent Document 1 is a file system management method that presents a virtual file system having a tree structure with a super directory at the top of the file system of each server as a vertex. . According to this technology, the user can access the electronic file held by the server from the same user interface as when accessing the electronic file held by the terminal used by the user.
[0005] また、特許文献 2に記載の技術は、各サーバが保持する 1つの電子ファイルをネット ワークに接続された各端末において共同で利用するのではなぐ各サーバが同一の 電子ファイルな ヽし電子ファイル群を重複して保持し、各サーバ間で保持して ヽる電 子ファイルないし電子ファイル群の内容を完全に同期させるメカニズムまたは方法で ある。 [0005] Further, the technology described in Patent Document 2 does not share one electronic file held by each server with each terminal connected to the network. It is a mechanism or method that keeps electronic file groups redundantly, and completely synchronizes the contents of electronic files or electronic file groups that are held between servers.
特許文献 1:特開平 5 - 250249号公報 Patent Document 1: Japanese Patent Laid-Open No. 5-250249
特許文献 2 :特表平 10— 510413号公報 Patent Document 2: Japanese Patent Publication No. 10-510413
発明の開示
発明が解決しょうとする課題 Disclosure of the invention Problems to be solved by the invention
[0006] し力しながら、特許文献 1に記載の技術では、ユーザが取得した電子ファイルが必 ずしも最新の内容の電子ファイルであるとは限らないという問題がある。 However, the technique described in Patent Document 1 has a problem that the electronic file acquired by the user is not always the electronic file having the latest contents.
[0007] 特許文献 1に記載の技術は、ネットワーク上に分散している電子ファイルの同期をと る技術を開示していないため、例えば、複数のサーバが保持している同一名称の電 子ファイルの内容が異なる場合がある。 [0007] Since the technique described in Patent Document 1 does not disclose a technique for synchronizing electronic files distributed on a network, for example, an electronic file with the same name held by a plurality of servers. The contents of may differ.
[0008] 特許文献 2に記載の技術では、複数のサーバが保持する各電子ファイルの同期が 取れている。し力しながら、全てのサーバが同一の電子ファイル群を保持しており、各 電子ファイル間の同期をとるためには、電子ファイルの内容を更新する際に、全ての サーバが保持する当該電子ファイルを更新する必要がある。したがって、更新時には 、ネットワークトラフィックが増大するという問題がある。この問題は、サーバの数が多く なるほど顕著になる。 [0008] With the technique described in Patent Document 2, each electronic file held by a plurality of servers is synchronized. However, all servers have the same electronic file group, and in order to synchronize each electronic file, when updating the content of the electronic file, The file needs to be updated. Therefore, there is a problem that network traffic increases at the time of update. This problem becomes more pronounced as the number of servers increases.
[0009] 本発明は、上記の問題を解決するためになされたもので、ユーザが利用する端末 から任意のサーバにアクセスすることにより、ユーザの所望する電子ファイルが複数 のサーバのいずれかに保持されている限り、最新の当該電子ファイルをユーザに提 供することを可能とする分散ファイル管理システムの提供を目的とする。また、上記の 目的を達成するために掛力るネットワーク上の負荷を抑えることを可能とする分散ファ ィル管理システムの提供を目的とする。 [0009] The present invention has been made to solve the above problem, and an electronic file desired by a user is held in any of a plurality of servers by accessing an arbitrary server from a terminal used by the user. The purpose is to provide a distributed file management system that makes it possible to provide the latest electronic files to users. It is another object of the present invention to provide a distributed file management system that can suppress the load on the network that is applied to achieve the above-mentioned purpose.
課題を解決するための手段 Means for solving the problem
[0010] 上記目的を達成するために、本発明に係る分散ファイル管理システムは、複数のサ ーバが保持する電子ファイルを管理する分散ファイル管理システムであって、前記分 散ファイル管理システムは、通信回線により接続された、前記複数のサーバと、ユー ザが利用する端末と、分散ファイル管理装置とにより構成され、前記分散ファイル管 理装置は、電子ファイルに関連するユーザの要求を受信したサーバであるアクセス 元サーバがユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を 受信した場合に、前記識別子を含む最新の電子ファイルを保持するサーバである保 持サーバがいずれであるかという問合せを、前記アクセス元サーノから受け付ける問 合受付手段と、最新の電子ファイルを保持するサーバカ^、ずれであるかを示す情報
であるファイル保持情報を記憶して!/、る保持サーバ記憶手段と、前記問合受付手段 が問合せを受け付けた場合に、前記ファイル保持情報を参照することにより、前記保 持サーバが ヽずれであるかを判断する保持サーバ判断手段と、前記ユーザ指定の 識別子を含む電子ファイルを前記アクセス元サーバに送信する要求であるファイル 送信要求を、前記保持サーバ判断手段により保持サーバであると判断されたサーバ に送信するファイル送信要求手段とを備える。 [0010] In order to achieve the above object, a distributed file management system according to the present invention is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: The plurality of servers connected by communication lines, terminals used by users, and a distributed file management device, and the distributed file management device receives a user request related to an electronic file. When the access source server receives a request for the terminal to obtain an electronic file containing a user-specified identifier, which is the holding server that is the server that holds the latest electronic file containing the identifier Inquiries are received from the access source Sano and the server that holds the latest electronic file. Information indicating whether there is When the inquiry is received by the holding server storage means and the inquiry receiving means that store the file holding information as described above, the holding server can be detected by referring to the file holding information. A holding server judging means for judging whether there is a file transmission request, which is a request for sending an electronic file including the user-specified identifier to the access source server, is judged by the holding server judging means to be a holding server; File transmission request means for transmitting to the server.
[0011] このように、分散ファイル管理装置は、アクセス元サーノから問合せを受け付けると As described above, when the distributed file management apparatus receives an inquiry from the access source Sano,
、最新の電子ファイルを保持するサーバカ^、ずれであるかを示す情報に基づ 、て、 ユーザの要求に係る電子ファイルの保持サーバを判断する。そのため、ユーザは、 自身が利用する端末力 ネットワークを介して接続されて 、る複数のサーバの 、ずれ にアクセスしても、それら複数のサーバの少なくとも 1台がユーザ所望の電子ファイル を保持している限り、ユーザの要望に係る最新の電子ファイルを端末から取得ことが 可能となる。したがって、また、ユーザは、電子ファイルが最新力否かおよび端末から アクセスするサーバを意識する必要がなくなり、ネットワーク上の複数のサーバに分 散して保持されている電子ファイルの取得に係るユーザの利便性を向上させることが 可能となる。 The server that holds the latest electronic file and the server that holds the electronic file according to the user's request are determined based on the information indicating whether the server is out of place. Therefore, even if a user is connected via a terminal power network that he / she uses and accesses a deviation of a plurality of servers, at least one of the plurality of servers holds an electronic file desired by the user. As long as it is available, the latest electronic file according to the user's request can be obtained from the terminal. Therefore, the user does not need to be aware of whether or not the electronic file is the latest power and the server accessed from the terminal, and the user who is involved in the acquisition of the electronic file distributed and held on a plurality of servers on the network. Convenience can be improved.
[0012] また、各サーバが保持している電子ファイルの更新時には、電子ファイルの同期を とるための処理をしなくても、ユーザの要求に係る電子ファイルをサーバのいずれか が保持している限り、ユーザの要求に係る最新の電子ファイルを端末が取得ことが可 能となる。したがって、電子ファイルの更新時にネットワーク上に転送される情報量を 抑えることが可能となり、また、各サーバに掛カる負荷を軽減することが可能となる。 [0012] When updating an electronic file held by each server, one of the servers holds the electronic file according to the user's request without performing processing for synchronizing the electronic file. As long as the terminal can obtain the latest electronic file according to the user's request. Therefore, it is possible to reduce the amount of information transferred over the network when updating an electronic file, and to reduce the load on each server.
[0013] 好ましくは、前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別 子と、同一の識別子を含む電子ファイル群の中で最新である力否かを示すフラグとを 対応付けた情報であるファイル保持情報を記憶し、前記保持サーバ判断手段は、前 記ファイル保持情報を参照することにより、前記ユーザ指定の識別子と、最新である ことを示す前記フラグとに対応付けられているサーバを、前記保持サーバと判断する [0013] Preferably, the holding server storage unit associates the server, the identifier of the electronic file, and a flag indicating whether or not the power is the latest in the electronic file group including the same identifier. The file holding information that is information is stored, and the holding server determining means refers to the file holding information, and associates it with the identifier specified by the user and the flag indicating the latest. A server is determined as the holding server
[0014] このように、分散ファイル管理装置は、サーバと、電子ファイルの識別子と、同一の
識別子を含む電子ファイル群の中で最新であるカゝ否かを示すフラグとを対応付けた 情報を含むファイル保持情報を保持しており、アクセス元サーノ から問合せを受け付 けると、このようなファイル保持情報に基づいて、ユーザの要求に係る電子ファイルの 保持サーバを判断する。そのため、ユーザは、自身が利用する端末力 ネットワーク を介して接続されて!、る複数のサーバの 、ずれにアクセスしても、それら複数のサー バの少なくとも 1台がユーザ所望の電子ファイルを保持して 、る限り、ユーザの要望 に係る最新の電子ファイルを端末から取得ことが可能となる。したがって、また、ユー ザは、電子ファイルが最新力否かおよび端末力 アクセスするサーバを意識する必 要がなくなり、ネットワーク上の複数のサーバに分散して保持されている電子ファイル の取得に係るユーザの利便性を向上させることが可能となる。 In this way, the distributed file management device has the same identifier as the server and the electronic file. It holds file holding information including information that associates the flag indicating whether or not it is the latest in the electronic file group including the identifier, and if an inquiry is received from the access source Sano, Based on the file holding information, the holding server for the electronic file according to the user's request is determined. Therefore, even if a user is connected via the terminal power network that he or she uses !, even if the misalignment of multiple servers is accessed, at least one of the multiple servers holds the electronic file desired by the user. Thus, as long as the latest electronic file according to the user's request can be obtained from the terminal. Therefore, the user does not need to be aware of whether the electronic file is up-to-date or not and the power of the terminal, and the user involved in obtaining the electronic file distributed and held on multiple servers on the network. It becomes possible to improve the convenience.
[0015] また、各サーバが保持している電子ファイルの更新時には、電子ファイルの同期を とるための処理をしなくても、ユーザの要求に係る電子ファイルをサーバのいずれか が保持している限り、ユーザの要求に係る最新の電子ファイルを端末が取得ことが可 能となる。したがって、電子ファイルの更新時にネットワーク上に転送される情報量を 抑えることが可能となり、また、各サーバに掛カる負荷を軽減することが可能となる。 [0015] Also, when updating the electronic file held by each server, one of the servers holds the electronic file according to the user's request without performing processing for synchronizing the electronic file. As long as the terminal can obtain the latest electronic file according to the user's request. Therefore, it is possible to reduce the amount of information transferred over the network when updating an electronic file, and to reduce the load on each server.
[0016] さらに好ましくは、前記各サーバは、電子ファイルを記憶しているファイル記憶手段 と、前記ファイル送信要求手段が送信した前記ファイル送信要求を受信するファイル 送信要求受信手段と、前記ファイル送信要求に係る電子ファイルを前記ファイル記 憶手段から読み出すファイル記憶制御手段と、前記ファイル記憶制御手段が読み出 した電子ファイルを取得し、取得した当該電子ファイルを前記アクセス元サーバに送 信するファイル送信手段とを備える。 [0016] More preferably, each server includes a file storage unit that stores an electronic file, a file transmission request receiving unit that receives the file transmission request transmitted by the file transmission request unit, and the file transmission request. File storage control means for reading out the electronic file from the file storage means, and file transmission means for acquiring the electronic file read by the file storage control means and transmitting the acquired electronic file to the access source server With.
[0017] このように、アクセス元サーバは保持サーバからユーザの要求に係る電子ファイル を取得する。これにより、アクセス元サーバは、ユーザの要求に係る電子ファイルをュ 一ザが利用する端末に送信することが可能となる。 [0017] In this way, the access source server acquires the electronic file related to the user's request from the holding server. As a result, the access source server can transmit the electronic file according to the user's request to the terminal used by the user.
[0018] さらに好ましくは、さらに、他のサーバの前記ファイル送信手段力 送信された電子 ファイルを受信するファイル受信手段を備え、前記ファイル記憶制御手段は、さらに、 前記ファイル受信手段が受信した電子ファイルを前記ファイル記憶手段に書き込む。 [0018] More preferably, the file transmission means of another server further comprises file reception means for receiving the transmitted electronic file, and the file storage control means further includes the electronic file received by the file reception means. Is written in the file storage means.
[0019] このように、アクセス元サーバは、ユーザの要求に係る電子ファイルを保持して!/、な
い場合、保持サーノから電子ファイルを取得するとともに、自身が保持する。これによ り、端末のいずれかから同一の電子ファイルを取得する要求を再度受け付けた場合 に、自身が保持している電子ファイルを送信することができる。そのため、 1つのァク セス元サーバを介して取得される電子ファイルについて、アクセス元サーバは、再度 保持サーバから取得する必要がなくなり、ネットワーク上に転送される情報量を抑える ことが可能となり、また、各サーバに掛カる負荷を軽減することが可能となる。 Thus, the access source server holds the electronic file according to the user's request! / If not, the electronic file is acquired from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
[0020] さらに好ましくは、前記各サーバは、さらに、前記ファイル記憶制御手段がファイル 記憶手段に電子ファイルを書き込んだ場合に、書き込みの前後における当該フアイ ル記憶手段が記憶して 、る情報の差分を、前記分散ファイル管理装置に通知する更 新通知手段を備え、前記分散ファイル管理装置は、前記更新通知手段による通知を 受け付ける更新通知受付手段と前記更新通知受付手段が受け付けた通知に含まれ る前記差分により、前記ファイル保持情報を更新する保持情報更新手段とを備える。 [0020] More preferably, each of the servers further includes a difference between information stored in the file storage unit before and after writing when the file storage control unit writes an electronic file in the file storage unit. Update notification means for notifying the distributed file management apparatus, and the distributed file management apparatus is included in the update notification reception means for receiving notification by the update notification means and the notification received by the update notification reception means. And holding information updating means for updating the file holding information based on the difference.
[0021] また、前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末 が取得する要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記取 得要求に係る電子ファイルを保持するに至った場合に、前記取得要求に係る電子フ アイルの識別子を前記差分として、前記分散ファイル管理装置に通知し、前記更新 通知受付手段は前記更新通知手段による通知を受け、前記保持情報更新手段は、 前記更新通知受付手段が受け付けた通知に応じて、前記アクセス元サーバを示す 情報と、前記差分に含まれる電子ファイルの識別子と、最新であることを示す前記フ ラグとを対応付けた情報を追加することにより、前記ファイル保持情報を更新する。 [0021] Further, the update notification means receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request. In the case of reaching the above, the distributed file management device is notified of the electronic file identifier related to the acquisition request as the difference, and the update notification receiving unit receives the notification from the update notification unit, and updates the stored information The means associates the information indicating the access source server, the identifier of the electronic file included in the difference, and the flag indicating the latest according to the notification received by the update notification receiving means. The file holding information is updated by adding information.
[0022] さらに、前記更新通知手段は、電子ファイルを前記サーバに保持させる要求である 書込要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記書込要求 に係る電子ファイルを保持するに至った場合に、前記書込要求に係る電子ファイル の識別子と、書込要求に基づく保持であることを示す情報とを、前記差分として、前 記分散ファイル管理装置に通知し、前記更新通知受付手段は前記更新通知手段に よる通知を受け、前記保持情報更新手段は、前記更新通知受付手段が受け付けた 通知に応じて、前記差分に含まれる識別子に対応付けられているサーバがある場合 に、当該サーバに対応する前記フラグを最新でないことを示すフラグに変更するとと
もに、前記アクセス元サーバを示す情報と、前記差分に含まれる識別子と、最新であ ることを示す前記フラグとを対応付けた情報を追加することにより、前記ファイル保持 情報を更新する。 [0022] Furthermore, the update notification means receives a write request, which is a request for holding the electronic file in the server, and the access source server holds the electronic file related to the write request. The distribution file management device is notified of the difference between the identifier of the electronic file related to the write request and the information indicating the retention based on the write request as the difference, and the update notification The accepting unit receives a notification from the update notifying unit, and the holding information updating unit has a server associated with the identifier included in the difference according to the notification accepted by the update notification accepting unit. And changing the flag corresponding to the server to a flag indicating that it is not the latest In addition, the file holding information is updated by adding information in which the information indicating the access source server is associated with the identifier included in the difference and the flag indicating the latest.
[0023] このように、分散ファイル管理装置が保持して 、るファイル保持情報は更新される。 As described above, the file holding information held by the distributed file management apparatus is updated.
これにより、自動的に、ファイル保持情報に各サーバが保持する電子ファイルの最新 の状態を格納しておくことが可能となる。 As a result, the latest state of the electronic file held by each server can be automatically stored in the file holding information.
[0024] さらに好ましくは、前記各サーバは、さらに、電子ファイルに関連するユーザの要求 を、前記端末から受信するユーザ要求受信手段と、前記ユーザ要求受信手段が受 信した前記ユーザの要求が、ユーザ指定の識別子を含む電子ファイルを前記端末 が取得する要求である取得要求と、電子ファイルを前記サーバに保持させる要求で ある書込要求との!/ヽずれであるかを判断する要求種別判断手段と、要求種別判断手 段が前記取得要求であると判断した場合に、前記取得要求係る電子ファイルの保持 サーバがいずれであるかを、分散ファイル管理装置に問い合わせる保持サーバ問合 手段とを備え、前記問合受付手段は、取得要求を受け付けた前記アクセス元サーバ が備える保持サーバ問合手段から、当該取得要求に係る電子ファイルの保持サーバ カ^、ずれであるかと ヽぅ問合せを受け付ける。 [0024] More preferably, each of the servers further includes: a user request receiving unit that receives a user request related to an electronic file from the terminal; and the user request received by the user request receiving unit. Request type determination for determining whether the acquisition request, which is a request for the terminal to acquire an electronic file including a user-specified identifier, is a! / Contrast between a write request, which is a request for holding the electronic file in the server And a holding server inquiry means for inquiring of the distributed file management apparatus which electronic file holding server is related to the acquisition request when the request type determination means determines that the acquisition request is made. The inquiry accepting unit receives the electronic file related to the acquisition request from the holding server inquiry unit included in the access source server that received the acquisition request. Equity server mosquito ^, accepts a ヽ U inquiry as if it were a shift.
[0025] また、前記ファイル記憶制御手段は、さらに、前記要求種別判断部が前記書込要 求と判断した場合に、前記ユーザ要求受信手段が受信した前記書込要求に係る電 子ファイルを前記ファイル記憶手段に書き込む。 [0025] Further, the file storage control means further selects an electronic file related to the write request received by the user request reception means when the request type determination unit determines that the request is a write request. Write to file storage means.
[0026] このように、アクセス元サーバは、ユーザの要求に応じて、分散ファイル管理装置に ユーザの要求に関連する問合せをし、または、自身の処理を実行する。これにより、 分散ファイル管理装置に力かる負荷を軽減することが可能となる。 In this way, the access source server makes an inquiry related to the user request to the distributed file management apparatus or executes its own process in response to the user request. This makes it possible to reduce the load on the distributed file management device.
[0027] さらに好ましくは、前記各サーバは、さらに、前記要求種別判断手段が前記書込要 求であると判断した場合に、前記書込要求に係る電子ファイルの書き込みに関連す る処理を排除するロックの要求と前記ロックを解除する要求とを、分散ファイル管理装 置に送信するロック要求送信手段を備え、前記分散ファイル管理装置は、さらに、口 ックすべき電子ファイルを識別するための情報であるロック情報を保持するロック情報 保持手段と、前記ロック要求送信手段から前記ロック要求またはロック解除要求を受
け付け、前記ロックの要求を受け付けた場合に、当該ロックの要求に係る前記ロック 情報を前記ロック情報保持手段に保持させ、前記ロック解除の要求を受け付けた場 合に、当該ロック解除の要求に係る前記ロック情報を前記ロック情報保持手段から削 除するロック要求受信手段とを備え、前記保持情報更新手段は、前記ロック情報が 示す電子ファイルと、前記更新通知受付手段が受け付けた通知の前記差分が示す 電子ファイルとが同一である場合には、前記ロック情報保持手段が保持している前記 ロック情報が削除された後に、前記ファイル保持情報を更新する。 [0027] More preferably, each of the servers further excludes processing related to writing of the electronic file related to the write request when the request type determining unit determines that the request is the write request. Lock request transmitting means for transmitting a request for locking to be released and a request for releasing the lock to the distributed file management device, and the distributed file management device further identifies an electronic file to be checked. Lock information holding means for holding lock information, which is information, and the lock request or unlock request from the lock request transmitting means. If the lock request is received, the lock information related to the lock request is held in the lock information holding means, and if the lock release request is received, the lock release request is A lock request receiving unit that deletes the lock information from the lock information holding unit, and the holding information update unit includes the difference between the electronic file indicated by the lock information and the notification received by the update notification receiving unit. If the electronic file indicated by is identical, the file holding information is updated after the lock information held by the lock information holding means is deleted.
[0028] このように、ロック処理をすることにより、分散ファイル管理装置が保持しているフアイ ル保持情報の内容と、各サーバが保持する電子ファイルの最新の状態との食 、違 ヽ を防止することが可能となる。 [0028] As described above, by performing the lock process, the content of the file holding information held by the distributed file management device and the latest state of the electronic file held by each server can be prevented from being eaten or discriminated. It becomes possible to do.
[0029] 上記目的を達成するために、本発明に係る分散ファイル管理システムは、複数のサ ーバが保持する電子ファイルを管理する分散ファイル管理システムであって、前記分 散ファイル管理システムは、通信回線により接続された、前記複数のサーバと、ユー ザが利用する端末と、分散ファイル管理装置とにより構成され、前記分散ファイル管 理装置は、電子ファイルを保持するサーバカ^、ずれであるかを示す情報であるフアイ ル保持情報を記憶して ヽる保持サーバ記憶手段と、前記ファイル保持情報を参照し 、同一の識別子を有する電子ファイルを複数のサーバが保持している場合に、当該 複数のサーバの少なくとも 1つが保持する前記電子ファイルを残すように、前記各電 子ファイルを削除するか否かを判断する削除対象判断手段と、前記削除対象判断手 段により削除すると判断された電子ファイルを保持するサーバに、前記電子ファイル を削除する要求を送信する削除要求送信手段とを備える。 [0029] In order to achieve the above object, a distributed file management system according to the present invention is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: It is composed of the plurality of servers, terminals used by users, and a distributed file management device connected by a communication line. The distributed file management device is a server server that holds electronic files. When a plurality of servers hold electronic files having the same identifier with reference to the file holding information and holding server storage means for storing file holding information which is information indicating Deletion target judging means for judging whether or not to delete each electronic file so that the electronic file held by at least one of the servers remains. And a deletion request transmitting means for transmitting a request for deleting the electronic file to a server holding the electronic file determined to be deleted by the deletion target determining means.
[0030] このように、分散ファイル管理装置は、アクセス元サーノから問合せを受け付けると 、電子ファイルを保持するサーバがいずれであるかを示す情報に基づいて、ユーザ の要求に係る電子ファイルの保持サーバを判断する。そのため、ユーザは、自身が 利用する端末力 ネットワークを介して接続されて 、る複数のサーバの 、ずれにァク セスしても、それら複数のサーバの少なくとも 1台がユーザ所望の電子ファイルを保 持している限り、ユーザの要望に係る電子ファイルを端末力も取得ことが可能となる。 したがって、また、ユーザは、電子ファイルが最新力否かおよび端末力 アクセスする
サーバを意識する必要がなくなり、ネットワーク上の複数のサーバに分散して保持さ れている電子ファイルの取得に係るユーザの利便性を向上させることが可能となる。 [0030] Thus, when the distributed file management apparatus receives an inquiry from the access source Sano, the distributed file management apparatus, based on the information indicating which server holds the electronic file, holds the electronic file related to the user's request. Judging. For this reason, even if a user accesses a misalignment of a plurality of servers connected via a terminal power network used by the user, at least one of the plurality of servers maintains an electronic file desired by the user. As long as the user has the electronic file according to the user's request, the terminal capability can be acquired. Therefore, the user also accesses whether the electronic file is up-to-date and terminal power There is no need to be conscious of the server, and it is possible to improve the convenience of the user related to the acquisition of electronic files distributed and held in multiple servers on the network.
[0031] また、各サーバが保持している電子ファイルの更新時には、一部のサーバが重複し て保持している同一の識別子を有する電子ファイルの同期をとることができる。重複し て保持される電子ファイルは、複数のサーバの全てとは限らないため、全てのサーバ が全ての電子ファイルを重複して保持して ヽる場合よりも、電子ファイルの更新時に ネットワーク上に転送される情報量を抑えることが可能となり、また、各サーバに掛か る負荷を軽減することが可能となる。同一識別子を含む電子ファイルの同期がとられ ている場合には、ユーザは、端末において、最新の電子ファイルを取得ことが可能と なる。 [0031] When updating an electronic file held by each server, it is possible to synchronize electronic files having the same identifier held redundantly by some servers. The electronic files that are held in duplicate are not necessarily all of the multiple servers. Therefore, when all of the servers hold all of the electronic files in duplicate, the files are updated on the network when the electronic files are updated. It is possible to reduce the amount of information transferred and reduce the load on each server. When electronic files including the same identifier are synchronized, the user can obtain the latest electronic file at the terminal.
[0032] さらに、重複して保持されている電子ファイルを、少なくとも 1つを残して削除する。 [0032] Further, at least one of the electronic files held in duplicate is deleted.
これにより、各サーバが電子ファイルを保持するための記憶資源の消費を抑えること が可能となる。 This makes it possible to reduce the consumption of storage resources for each server to hold electronic files.
[0033] さらに好ましくは、前記保持サーバ記憶手段は、前記サーバと、前記電子ファイル の識別子と、サーバが保持する電子ファイルに係るユーザの要求を最後に受け付け た日付けである最終アクセス日とを対応付けた情報であるファイル保持情報を記憶し 、前記削除対象判断手段は、前記ファイル保持情報を参照し、同一の電子ファイル を複数のサーバが保持し、かつ、前記複数のサーバが保持する電子ファイルのいず れかが前記最終アクセス日力も予め定められた期間を経過している場合に、前記最 終アクセス日が最も新しい電子ファイルを残すように、前記各電子ファイルを削除す るか否かを判断する。 [0033] More preferably, the holding server storage means includes the server, an identifier of the electronic file, and a last access date that is a date when the user's request related to the electronic file held by the server is last received. The file retention information that is the associated information is stored, and the deletion target determination means refers to the file retention information, and the plurality of servers retain the same electronic file, and the plurality of servers retain the electronic files. Whether or not to delete each electronic file so that the electronic file with the latest access date is the newest when any of the files has also passed the predetermined period of the last access date. Determine whether.
[0034] また、前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別子と、 同一の識別子を含む電子ファイル群の中で最新であるカゝ否かを示すフラグとを対応 付けた情報であるファイル保持情報を記憶し、前記削除対象判断手段は、前記ファ ィル保持情報を参照し、同一の識別子を含む電子ファイルを複数のサーバが保持し 、かつ、当該同一の識別子を含む電子ファイルのいずれかに最新でないことを示す 前記フラグが対応付けられている場合に、最新の内容であることを示す前記フラグに 対応付けられた電子ファイルのみを残すように、前記各電子ファイルを削除する力否
かを判断する。 [0034] Further, the holding server storage means associates the server, the identifier of the electronic file, and a flag indicating whether or not the latest in the electronic file group including the same identifier. The deletion target judging means refers to the file holding information, and a plurality of servers hold electronic files including the same identifier, and an electronic device including the same identifier is stored. Each electronic file is deleted so that only the electronic file associated with the flag indicating the latest contents is left when the flag indicating that it is not the latest is associated with any of the files Power to do Determine whether.
[0035] さらに、前記削除対象判断手段は、同一の識別子を含む電子ファイルを複数のサ ーバが保持している場合に、前記複数のサーバの少なくとも 1つが保持する前記電 子ファイルを残すように、前記各電子ファイルを削除するカゝ否かを、定期的に、判断 する。 [0035] Further, when the plurality of servers hold an electronic file including the same identifier, the deletion target determining unit leaves the electronic file held by at least one of the plurality of servers. In addition, it is periodically determined whether or not each electronic file is to be deleted.
[0036] さらに、前記分散ファイル管理装置は、さらに、電子ファイルに関連するユーザの要 求を受信したサーバであるアクセス元サーバが電子ファイルを前記サーバに保持さ せる要求である書込要求を受信した場合に、前記書込要求に係る電子ファイルと同 一の識別子を含む電子ファイルを保持するサーバカ^ヽずれであるかと!/ヽぅ問合せを 、前記アクセス元サーバから受け付ける問合受付手段と、前記削除対象判断手段は 、前記問合受付手段が前記書込要求に基づく問合せを受け付けたときに、前記ファ ィル保持情報を参照し、同一の識別子を含む電子ファイルを複数のサーバが保持し て 、る場合に、前記アクセス元サーバが前記書込要求を受信することにより保持した 電子ファイルのみを残すように、前記各電子ファイルを削除するカゝ否かを判断する。 [0036] Further, the distributed file management apparatus further receives a write request which is a request for an access source server, which is a server that has received a user request related to an electronic file, to hold the electronic file in the server. In this case, a query accepting means for accepting from the access source server whether or not a server error that holds an electronic file including an electronic file that includes the same identifier as the electronic file related to the write request; The deletion target judging means refers to the file holding information when the inquiry receiving means receives an inquiry based on the write request, and a plurality of servers hold electronic files including the same identifier. In this case, the electronic server deletes each electronic file so that only the electronic file retained by the access source server receiving the write request is left. Judge whether or not it is correct.
[0037] このように、定期的に、または、書込要求を受信したときに、重複して保持されてい る電子ファイルを、少なくとも 1つを残して削除する。これにより、各サーバが電子ファ ィルを保持するために消費する記憶資源の有効な活用が可能となる。 [0037] In this manner, at least one electronic file held redundantly is deleted, periodically or when a write request is received. This makes it possible to effectively use storage resources consumed by each server to hold electronic files.
[0038] さらに好ましくは、前記分散ファイル管理装置は、さらに、電子ファイルに関連する ユーザの要求を受信したサーバであるアクセス元サーバがユーザ指定の識別子を含 む電子ファイルを前記端末が取得する要求を受信した場合に、前記取得要求に係る 電子ファイルを保持するサーバである保持サーバがいずれであるかという問合せを、 前記アクセス元サーバから受け付ける問合受付手段と、前記問合受付手段が前記取 得要求に基づく問合せを受け付けた場合に、前記ファイル保持情報を参照すること により、前記保持サーバがいずれであるかを判断する保持サーバ判断手段と、前記 保持サーバ判断手段により保持サーバであると判断されたサーバに、前記ユーザ指 定の識別子を含む電子ファイルを前記アクセス元サーバに送信する要求であるファ ィル送信要求を、前記保持サーバ判断手段により保持サーバであると判断されたサ ーバに送信するファイル送信要求手段とを備える。
[0039] また、前記各サーバは、電子ファイルを記憶して!/、るファイル記憶手段と、前記ファ ィル送信要求手段が送信した前記ファイル送信要求を受信するファイル送信要求受 信手段と、前記ファイル送信要求に係る電子ファイルを前記ファイル記憶手段力 読 み出すファイル記憶制御手段と、前記ファイル記憶制御手段が読み出した電子ファ ィルを取得し、取得した当該電子ファイルを前記アクセス元サーバに送信するフアイ ル送信手段とを備える。 [0038] More preferably, in the distributed file management apparatus, the terminal further obtains an electronic file including an identifier specified by a user, which is an access source server that has received a user request related to the electronic file. When receiving an inquiry, an inquiry receiving unit that receives from the access source server an inquiry as to which holding server is the server that holds the electronic file related to the acquisition request, and the inquiry receiving unit receives the inquiry. When an inquiry based on an acquisition request is received, a holding server determination unit that determines the holding server by referring to the file holding information, and the holding server determination unit determines that the server is a holding server. The electronic file containing the user-specified identifier is transmitted to the access source server. The file I le transmission request is determined, and a file transmission request means for transmitting to have been servers determined to be holding server by the holding server determination means. [0039] Each server stores a file storage means for storing an electronic file !, a file transmission request receiving means for receiving the file transmission request transmitted by the file transmission request means, The file storage control means for reading out the electronic file related to the file transmission request and the electronic file read by the file storage control means are acquired, and the acquired electronic file is stored in the access source server. File transmission means for transmitting.
[0040] さらに、前記各サーバは、さらに、他のサーバの前記ファイル送信手段から送信さ れた電子ファイルを受信するファイル受信手段を備え、前記ファイル記憶制御手段 は、さらに、前記ファイル受信手段が受信した電子ファイルを前記ファイル記憶手段 に書き込む。 [0040] Furthermore, each of the servers further includes file receiving means for receiving an electronic file transmitted from the file transmitting means of another server, and the file storage control means is further configured to include the file receiving means. The received electronic file is written into the file storage means.
[0041] このように、アクセス元サーバは、ユーザの要求に係る電子ファイルを保持して!/、な い場合、保持サーノから電子ファイルを取得するとともに、自身が保持する。これによ り、端末のいずれかから同一の電子ファイルを取得する要求を再度受け付けた場合 に、自身が保持している電子ファイルを送信することができる。そのため、 1つのァク セス元サーバを介して取得される電子ファイルについて、アクセス元サーバは、再度 保持サーバから取得する必要がなくなり、ネットワーク上に転送される情報量を抑える ことが可能となり、また、各サーバに掛カる負荷を軽減することが可能となる。 [0041] Thus, the access source server holds the electronic file according to the user's request! Otherwise, the electronic file is obtained from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
[0042] さらに好ましくは、前記分散ファイル管理装置は、さらに、現在の日時を保持する時 計手段と、前記保持サーバ判断手段により前記アクセス元サーバが保持サーバであ ると判断された場合に、前記時計手段が保持する日によって、前記アクセス元サー バおよび前記ユーザ指定の識別子に対応付けられた前記ファイル保持情報に含ま れる前記最終アクセス日を更新する第 1の保持情報更新手段とを備える。 [0042] More preferably, the distributed file management device further includes a clock unit that holds a current date and time, and the holding server determination unit that determines that the access source server is a holding server. First holding information updating means for updating the last access date included in the file holding information associated with the access source server and the identifier specified by the user according to the date held by the clock means.
[0043] また、前記各サーバは、さらに、前記ファイル記憶制御手段がファイル記憶手段に 電子ファイルを書き込んだ場合に、書き込みの前後における当該ファイル記憶手段 の差分を前記分散ファイル管理装置に通知する更新通知手段を備え、前記分散ファ ィル管理装置は、前記更新通知手段による通知を受け付ける更新通知受付手段と、 前記更新通知受付手段が受け付けた通知に含まれる前記差分により、前記ファイル 保持情報を更新する第 2の保持情報更新手段とを備える。
[0044] さらに、前記分散ファイル管理装置は、さらに、現在の日時を保持する時計部を備 え、前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末が 取得する要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記取得 要求に係る電子ファイルを保持するに至った場合に、当該取得要求に係る電子ファ ィルの識別子を、前記差分として、前記分散ファイル管理装置に通知し、前記更新 通知受付手段は前記更新通知手段による通知を受け、前記第 2の保持情報更新手 段は、前記更新通知受付手段が受け付けた通知に応じて、前記アクセス元サーバを 示す情報と、前記差分に含まれる電子ファイルの識別子と、前記最終アクセス日とし て前記時計部から取得した日とを対応付けた情報を追加することにより、前記フアイ ル保持情報を更新する。 [0043] Further, each of the servers further updates to notify the distributed file management device of the difference between the file storage means before and after the writing when the file storage control means writes an electronic file in the file storage means. The distributed file management device updates the file holding information by the update notification receiving means for receiving a notification from the update notification means and the difference included in the notification received by the update notification receiving means. Second holding information updating means. [0044] Further, the distributed file management device further includes a clock unit that holds the current date and time, and the update notification unit accesses the request for the terminal to acquire an electronic file including a user-specified identifier. When the original server receives and the access source server holds the electronic file related to the acquisition request, the identifier of the electronic file related to the acquisition request is stored in the distributed file management apparatus as the difference. The update notification receiving means receives a notification from the update notification means, and the second holding information update means receives information indicating the access source server in accordance with the notification received by the update notification receiving means. By adding information in which the identifier of the electronic file included in the difference is associated with the date acquired from the clock unit as the last access date, To update the serial Huai Le retention information.
[0045] さらに、前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端 末が取得する要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記 取得要求に係る電子ファイルを保持するに至った場合に、当該取得要求に係る電子 ファイルの識別子を、前記差分として、前記分散ファイル管理装置に通知し、前記更 新通知受付手段は前記更新通知手段による通知を受け、前記第 2の保持情報更新 手段は、前記更新通知受付手段が受け付けた通知に応じて、前記アクセス元サーバ を示す情報と、前記差分に含まれる電子ファイルの識別子と、最新であることを示す 前記フラグとを対応付けた情報を追加することにより、前記ファイル保持情報を更新 する。 [0045] Further, the update notification means receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request. In the case of reaching the above, the distributed file management apparatus is notified of the electronic file identifier related to the acquisition request as the difference, and the update notification receiving means receives the notification from the update notification means, and the second In response to the notification received by the update notification receiving unit, the retained information update unit includes information indicating the access source server, an identifier of the electronic file included in the difference, and the flag indicating the latest. The file holding information is updated by adding the associated information.
[0046] さらに、前記分散ファイル管理装置は、さらに、現在の日時を保持する時計部を備 え、前記更新通知手段は、電子ファイルを前記サーバに保持させる要求である書込 要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記書込要求に係 る電子ファイルを保持するに至った場合に、当該書込要求に係る電子ファイルの識 別子と、書込要求に基づく保持であることを示す情報とを、前記差分として、前記分 散ファイル管理装置に通知し、前記更新通知受付手段は前記更新通知手段による 通知を受け、前記第 2の保持情報更新手段は、前記更新通知受付手段が受け付け た通知に応じて、前記アクセス元サーバを示す情報と、前記差分に含まれる識別子 と、前記最終アクセス日として前記時計部から取得した日とを対応付けた情報により、
前記ファイル保持情報を更新する。 [0046] Further, the distributed file management device further includes a clock unit that holds the current date and time, and the update notification unit issues a write request that is a request to hold the electronic file to the server. When the server receives and the access source server holds the electronic file related to the write request, it is the hold based on the identifier of the electronic file related to the write request and the write request. To the distributed file management device as the difference, the update notification receiving means receives a notification from the update notification means, and the second held information update means receives the update notification. According to the notification received by the means, the information indicating the access source server, the identifier included in the difference, and the date acquired from the clock unit as the last access date are associated By broadcast, The file holding information is updated.
[0047] さらに、前記更新通知手段は、電子ファイルを前記サーバに保持させる要求である 書込要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記書込要求 に係る電子ファイルを保持するに至った場合に、当該書込要求に係る電子ファイル の識別子と、書込要求に基づく保持であることを示す情報とを、前記差分として、前 記分散ファイル管理装置に通知し、前記更新通知受付手段は前記更新通知手段に よる通知を受け、前記第 2の保持情報更新手段は、前記更新通知受付手段が受け 付けた通知に応じて、前記差分に含まれる識別子に対応付けられているサーバがあ る場合に、当該サーバに対応する前記フラグを最新でないことを示すフラグに変更 するとともに、前記アクセス元サーバを示す情報と、前記差分に含まれる識別子と、 最新であることを示す前記フラグとを対応付けた情報を追加することにより、前記ファ ィル保持情報を更新する。 [0047] Further, the update notification means receives a write request, which is a request for causing the server to hold an electronic file, and the access source server holds the electronic file related to the write request. The distribution file management device is notified of, as the difference, the identifier of the electronic file related to the write request and the information indicating the retention based on the write request, and the update notification The accepting unit receives a notification from the update notifying unit, and the second holding information updating unit is a server associated with the identifier included in the difference according to the notification accepted by the update notification accepting unit. If there is, the flag corresponding to the server is changed to a flag indicating that it is not the latest, and the information indicating the access source server and the difference are included in the difference And Besshi, by adding information that associates with the flag indicating a date, updating the file I le holds information.
[0048] このように、分散ファイル管理装置が保持して 、るファイル保持情報は更新される。 In this manner, the file holding information held by the distributed file management apparatus is updated.
これにより、自動的に、ファイル保持情報に各サーバが保持する電子ファイルの最新 の正 、状態を格納しておくことが可能となる。 As a result, the latest correctness and status of the electronic file held by each server can be automatically stored in the file holding information.
[0049] 上記目的を達成するために、本発明に係る分散ファイル管理システムは、複数のサ ーバが保持する電子ファイルを管理する分散ファイル管理システムであって、前記分 散ファイル管理システムは、通信回線により接続された、前記複数のサーバと、ユー ザが利用する端末と、分散ファイル管理装置とにより構成され、前記分散ファイル管 理装置は、電子ファイルに関連するユーザの要求を受信したサーバであるアクセス 元サーバがユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を 受信した場合に、前記識別子を含む権限ある者により作成された真正な電子フアイ ルを保持するサーバである保持サーバカ^、ずれであるかと 、う問合せを、前記ァクセ ス元サーバから受け付ける問合受付手段と、電子ファイルを保持するサーバがいず れであるかを示す情報であるファイル保持情報を記憶している保持サーバ記憶手段 と、前記問合受付手段が問合せを受け付けた場合に、前記ファイル保持情報を参照 することにより、前記保持サーバがいずれであるかを判断する保持サーバ判断手段と 、前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する
要求であるファイル送信要求を、前記保持サーバ判断手段により保持サーバである と判断されたサーバに送信するファイル送信要求手段とを備える。 In order to achieve the above object, a distributed file management system according to the present invention is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: The plurality of servers connected by communication lines, terminals used by users, and a distributed file management device, and the distributed file management device receives a user request related to an electronic file. If the access source server receives a request for the terminal to obtain an electronic file containing a user-specified identifier, the holding server is a server that holds a genuine electronic file created by an authorized person including the identifier Inquiry means for accepting an inquiry from the access source server and an electronic file are stored. By referring to the file holding information when the inquiry receiving means receives the inquiry, the holding server storage means that stores file holding information that is information indicating which server is to be executed, Holding server determining means for determining which of the holding servers is, and transmitting an electronic file including the user-specified identifier to the access source server File transmission request means for transmitting a file transmission request, which is a request, to a server determined to be a holding server by the holding server determination means.
[0050] また、前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別子と、 電子ファイルのハッシュ値とを対応付けた情報であるファイル保持情報を記憶し、前 記保持サーバ判断手段は、前記問合受付手段が問合せを受け付けた場合に、前記 ファイル保持情報を参照し、前記ユーザ指定の識別子に対応付けられて ヽるサーバ が保持して 、る電子ファイルのハッシュ値を取得することにより、前記ユーザ指定の 識別子に対応付けられたハッシュ値が取得した前記ハッシュ値と一致する場合に、 前記ユーザ指定の識別子に対応付けられているサーバを保持サーバと判断する。 [0050] Further, the holding server storage unit stores file holding information which is information in which the server, the identifier of the electronic file, and the hash value of the electronic file are associated with each other, and the holding server determination unit includes When the inquiry accepting means accepts the inquiry, the file holding information is referred to, and the hash value of the electronic file held by the server associated with the user-specified identifier is acquired. Thus, if the hash value associated with the user-specified identifier matches the acquired hash value, the server associated with the user-specified identifier is determined to be a holding server.
[0051] このように、分散ファイル管理装置は、アクセス元サーノから問合せを受け付けると 、電子ファイルを保持するサーバがいずれであるかを示す情報に基づいて、ユーザ の要求に係る電子ファイルの保持サーバを判断する。そのため、ユーザは、自身が 利用する端末力 ネットワークを介して接続されて 、る複数のサーバの 、ずれにァク セスしても、それら複数のサーバの少なくとも 1台がユーザ所望の電子ファイルを保 持している限り、ユーザの要望に係る電子ファイルを端末力も取得ことが可能となる。 したがって、また、ユーザは、電子ファイルが最新力否かおよび端末力 アクセスする サーバを意識する必要がなくなり、ネットワーク上の複数のサーバに分散して保持さ れている電子ファイルの取得に係るユーザの利便性を向上させることが可能となる。 As described above, when the distributed file management apparatus receives an inquiry from the access source sano, the distributed file management apparatus, based on the information indicating which server holds the electronic file, holds the electronic file related to the user's request. Judging. For this reason, even if a user accesses a misalignment of a plurality of servers connected via a terminal power network used by the user, at least one of the plurality of servers maintains an electronic file desired by the user. As long as the user has the electronic file according to the user's request, the terminal capability can be acquired. Therefore, the user does not need to be aware of whether the electronic file has the latest power or the terminal power, and the user's access to the electronic file distributed and held on multiple servers on the network is eliminated. Convenience can be improved.
[0052] また、各サーバが保持している電子ファイルの更新時には、一部のサーバが重複し て保持している同一の識別子を有する電子ファイルの同期をとることができる。重複し て保持される電子ファイルは、複数のサーバの全てとは限らないため、全てのサーバ が全ての電子ファイルを重複して保持して ヽる場合よりも、電子ファイルの更新時に ネットワーク上に転送される情報量を抑えることが可能となり、また、各サーバに掛か る負荷を軽減することが可能となる。同一識別子を含む電子ファイルの同期がとられ ている場合には、ユーザは、端末において、最新の電子ファイルを取得ことが可能と なる。 [0052] When updating an electronic file held by each server, it is possible to synchronize electronic files having the same identifier held in duplicate by some servers. The electronic files that are held in duplicate are not necessarily all of the multiple servers. Therefore, when all of the servers hold all of the electronic files in duplicate, the files are updated on the network when the electronic files are updated. It is possible to reduce the amount of information transferred and reduce the load on each server. When electronic files including the same identifier are synchronized, the user can obtain the latest electronic file at the terminal.
[0053] 電子ファイルの改竄を検知して、真正な電子ファイルのみをユーザに送信すること ができ、分散ファイル管理システムの信頼性を向上させることが可能となる。
[0054] さらに好ましくは、前記保持サーバ判断手段は、前記問合受付手段が問合せを受 け付けた場合に、前記ファイル保持情報を参照することにより、ユーザ指定の識別子 を含む電子ファイルを保持するサーバを判断する第 1の判断部と、前記第 1判断部に より電子ファイルを保持すると判断されたサーバが保持している当該電子ファイルの ノ、ッシュ値を取得し、当該ハッシュ値と前記ファイル保持情報に含まれるハッシュ値と がー致している場合に、前記第 1判断部により電子ファイルを保持する判断されたサ ーバを保持サーバと判断する第 2の判断部とを有し、前記分散ファイル管理装置は、 さらに、前記問合受付手段が問合せを受け付けることにより、前記第 1の判断部によ り電子ファイルを保持すると判断されたサーバに、当該サーバが保持している当該電 子ファイルのハッシュ値を要求するハッシュ値要求手段と、前記ハッシュ値要求手段 が要求を送信したサーバから、当該要求に係る電子ファイルのハッシュ値を受信する ノ、ッシュ値受信手段とを備え、前記各サーバは、電子ファイルを記憶しているフアイ ル記憶手段と、前記ハッシュ値要求手段から特定の電子ファイルのハッシュ値の要 求を受信するハッシュ値要求受信手段と、前記ハッシュ値要求受信手段が受信した 要求に含まれる前記特定の電子ファイルを、前記ファイル記憶手段から取得し、前記 特定の電子ファイルのハッシュ値を計算するハッシュ値計算手段と、前記ハッシュ値 計算手段により計算されたハッシュ値を前記ハッシュ値受信部に送信するハッシュ値 送信手段とを備える。 [0053] It is possible to detect falsification of an electronic file and transmit only a genuine electronic file to the user, and it is possible to improve the reliability of the distributed file management system. [0054] More preferably, the holding server determination unit holds an electronic file including an identifier specified by the user by referring to the file holding information when the inquiry receiving unit receives the inquiry. A first determination unit for determining a server, and a hash value of the electronic file held by the server determined to hold an electronic file by the first determination unit, and the hash value and the file A second determination unit that determines that the server determined to hold the electronic file by the first determination unit is a holding server when the hash value included in the holding information matches the second determination unit, and Furthermore, the distributed file management apparatus receives the inquiry from the inquiry accepting unit, and the server that is determined to hold the electronic file by the first determination unit is sent to the server. A hash value requesting unit that requests a hash value of the electronic file held by the server, and a hash value requesting unit that receives the hash value of the electronic file related to the request from the server that transmitted the request. And a hash value request receiving means for receiving a request for a hash value of a specific electronic file from the hash value requesting means. A hash value calculation means for obtaining the specific electronic file included in the request received by the hash value request receiving means from the file storage means and calculating a hash value of the specific electronic file; and the hash value Hash value transmitting means for transmitting the hash value calculated by the calculating means to the hash value receiving unit.
[0055] このように、各サーバは保持して 、る電子ファイルのハッシュ値を計算し、計算した ハッシュ値を分散ファイル管理装置に送信する。これにより、分散ファイル管理装置 は、現にサーバが保持している電子ファイルのハッシュ値を取得することができ、サ ーバが保持して 、る電子ファイルに改竄がなされて 、な 、ことを検証することが可能 となる。 In this way, each server holds, calculates the hash value of the electronic file, and transmits the calculated hash value to the distributed file management apparatus. As a result, the distributed file management apparatus can acquire the hash value of the electronic file actually held by the server, and verify that the electronic file held by the server has been tampered with. It becomes possible to do.
[0056] さらに好ましくは、前記問合受付手段は、さらに、電子ファイルを前記アクセス元サ ーバが備えるファイル記憶手段に書き込む要求を受信したサーバであるアクセス元 サーバから、当該書込要求に係る電子ファイルを保持するサーバがいずれであるか という問合せを受け付け、前記保持サーバ判断手段は、さらに、前記問合受付手段 が前記書込要求に基づく問合せを受け付けた場合に、前記ファイル保持情報を参照
すること〖こより、当該書込要求に係る電子ファイルの識別子と同一の識別子を含む電 子ファイルを保持するサーバを判断し、前記分散ファイル管理装置は、さらに、前記 保持サーバ判断手段により電子ファイルを保持するサーバがないと判断された場合 に、前記各サーバが電子ファイルを記憶するために備えるファイル記憶手段の空き 状態を示す値が最も大き ヽサーバを判断し、空き状態を示す値が最も大き ヽサーバ を、前記書込要求に係る電子ファイルの複製を保持させるサーバと決定する複写先 判定部と、前記複写先判定部により複製を保持させると決定されたサーバへの前記 書込要求に係る電子ファイルの送信を、前記アクセス元サーバに送信する複写先送 信部を備える。 [0056] More preferably, the inquiry accepting unit further relates to the write request from an access source server that is a server that has received a request to write an electronic file to a file storage unit included in the access source server. An inquiry about which server holds an electronic file is received, and the holding server determination unit refers to the file holding information when the inquiry receiving unit further receives an inquiry based on the write request. From this, it is determined which server holds an electronic file including the same identifier as that of the electronic file related to the write request, and the distributed file management device further determines the electronic file by the holding server determination means. When it is determined that there is no server to hold, the value indicating the free state of the file storage means provided for storing the electronic file in each server is the largest. The server is determined and the value indicating the free state is the largest. A copy destination determination unit that determines that the server is a server that holds a copy of the electronic file related to the write request, and a server that is determined to hold a copy by the copy destination determination unit according to the write request to the server A copy destination transmission unit for transmitting the electronic file to the access source server is provided.
[0057] また、前記複写先判定部は、前記保持サーバ判断手段により電子ファイルを保持 するサーバがな!、と判断された場合に、前記各サーバが電子ファイルを記憶するた めに備えるファイル記憶手段の全容量に対する空き容量の割合が最も大き 、サーバ を判断し、当該割合が最も大きいサーバを、前記書込要求に係る電子ファイルの複 製を保持させるサーバと決定する。 [0057] Further, the copy destination determination unit is a file storage provided for each server to store an electronic file when the holding server determination means determines that there is no server holding the electronic file! The server having the largest ratio of the free capacity to the total capacity of the means is determined, and the server having the largest ratio is determined as the server that holds the duplicate of the electronic file related to the write request.
[0058] さらに、前記複写先判定部は、前記保持サーバ判断手段により電子ファイルを保持 するサーバがな!、と判断された場合に、前記各サーバが電子ファイルを記憶するた めに備えるファイル記憶手段の空き容量が最も大き ヽサーバを判断し、空き容量が 最も大きいサーバを、前記書込要求に係る電子ファイルの複製を保持させるサーバ と決定する。 [0058] Further, the copy destination determination unit is a file storage provided for each server to store an electronic file when the holding server determination means determines that there is no server holding the electronic file! The server with the largest available capacity is determined, and the server with the largest available capacity is determined as the server that holds the copy of the electronic file related to the write request.
[0059] このように、書込要求に係る電子ファイルが 、ずれのサーバも保持して 、なかった 新し 、電子ファイルの場合に、その電子ファイルをアクセス元サーバ以外のサーバに も保持させる。そのため、いずれか 1つのサーバの稼動が停止した場合であっても、 そのサーバが保持する電子ファイルをユーザが利用する端末に送信することが可能 となる。 As described above, when the electronic file related to the write request does not hold the server of the deviation and is not a new electronic file, the electronic file is also held by a server other than the access source server. Therefore, even when any one of the servers stops operating, the electronic file held by that server can be transmitted to the terminal used by the user.
[0060] また、新し 、電子ファイルを保持するアクセス元サーバ以外のサーバは、電子ファ ィルを記憶する部位の空き容量の状態に応じて決定されるため、各サーバの記憶資 源を均等に利用でき、サーバに力かる負荷を分散させることが可能となる。 [0060] Further, since the servers other than the access source server that holds the electronic file are determined according to the state of the free capacity of the part that stores the electronic file, the storage resources of each server are evenly distributed. It is possible to distribute the load on the server.
[0061] さらに好ましくは、前記各サーバは、前記ファイル送信要求手段が送信した電子フ
アイルの識別子を含むファイル送信要求を受信するファイル送信要求受信手段と、 前記ファイル送信要求に含まれる識別子を含む電子ファイルを前記ファイル記憶手 段から読み出すファイル記憶制御手段と、前記ファイル記憶制御手段が読み出した 電子ファイルを取得し、取得した当該電子ファイルを前記アクセス元サーバに送信す るファイル送信手段とを備える。 [0061] More preferably, each of the servers is an electronic file transmitted by the file transmission request unit. A file transmission request receiving means for receiving a file transmission request including an aisle identifier, a file storage control means for reading out an electronic file including an identifier included in the file transmission request from the file storage means, and the file storage control means. File transmission means for acquiring the read electronic file and transmitting the acquired electronic file to the access source server.
[0062] また、前記各サーバは、さらに、他のサーバの前記ファイル送信手段から送信され た電子ファイルを受信するファイル受信手段を備え、前記ファイル記憶制御手段は、 さらに、前記ファイル受信手段が受信した電子ファイルを前記ファイル記憶手段に書 き込む。 [0062] Each of the servers further includes a file receiving unit that receives an electronic file transmitted from the file transmitting unit of another server, and the file storage control unit is further received by the file receiving unit. The electronic file is written into the file storage means.
[0063] このように、アクセス元サーバは、ユーザの要求に係る電子ファイルを保持して!/、な い場合、保持サーノから電子ファイルを取得するとともに、自身が保持する。これによ り、端末のいずれかから同一の電子ファイルを取得する要求を再度受け付けた場合 に、自身が保持している電子ファイルを送信することができる。そのため、 1つのァク セス元サーバを介して取得される電子ファイルについて、アクセス元サーバは、再度 保持サーバから取得する必要がなくなり、ネットワーク上に転送される情報量を抑える ことが可能となり、また、各サーバに掛カる負荷を軽減することが可能となる。 Thus, the access source server holds the electronic file according to the user request! Otherwise, the electronic file is obtained from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
[0064] さらに好ましくは、前記各サーバは、さらに、前記ファイル記憶制御手段がファイル 記憶手段に電子ファイルを書き込んだ場合に、書き込みの前後における当該フアイ ル記憶手段の差分を前記分散ファイル管理装置に通知する更新通知手段を備え、 前記分散ファイル管理装置は、前記更新通知手段による通知を受け付ける更新通 知受付手段と前記更新通知受付手段が受け付けた通知に含まれる前記差分により 、前記ファイル保持情報を更新する保持情報更新手段とを備える。 [0064] More preferably, each of the servers further, when the file storage control means writes an electronic file in the file storage means, sends the difference of the file storage means before and after writing to the distributed file management device. An update notification means for notifying, and the distributed file management device determines the file holding information based on the difference included in the notification received by the update notification reception means and the notification received by the update notification reception means. Holding information updating means for updating.
[0065] また、前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末 が取得する要求を前記アクセス元サーバが受け付けたことにより、前記アクセス元サ ーバが備えるファイル記憶手段に当該要求に係る電子フアイルが書き込まれた場合 に、当該取得要求に係る電子ファイルの識別子を、前記差分として、前記分散フアイ ル管理装置に通知し、前記更新通知受付手段は前記更新通知手段による通知を受 け、前記保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応じて
、前記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別子と を対応付けた情報を追加することにより、前記ファイル保持情報を更新する。 [0065] In addition, the update notification unit is included in the file storage unit included in the access source server when the access source server accepts a request for the terminal to acquire an electronic file including a user-specified identifier. When the electronic file related to the request is written, the identifier of the electronic file related to the acquisition request is notified to the distributed file management device as the difference, and the update notification receiving means notifies the update notification means of the notification. In response to the notification received by the update notification receiving means, The file holding information is updated by adding information in which the information indicating the access source server is associated with the identifier of the electronic file included in the difference.
[0066] さらに、前記更新通知手段は、電子ファイルを前記アクセス元サーバが備えるフアイ ル記憶手段に書き込む要求を前記アクセス元サーバが受け付けたことにより、前記ァ クセス元サーバが備えるファイル記憶手段に当該要求に係る電子ファイルが書き込 まれた場合に、当該書込要求に係る電子ファイルの識別子とハッシュ値とを、前記差 分として、前記分散ファイル管理装置に通知し、前記更新通知受付手段は前記更新 通知手段による通知を受け、前記保持情報更新手段は、前記更新通知受付手段が 受け付けた、前記ハッシュ値を前記差分に含む通知に応じて、前記アクセス元サー バを示す情報と、前記差分に含まれる電子ファイルの識別子と、前記差分に含まれ る電子ファイルのハッシュ値とを追加することにより、前記ファイル保持情報を更新す る。 [0066] Further, the update notifying unit receives the request for writing the electronic file in the file storage unit provided in the access source server, and the update notification unit receives the request from the file storage unit provided in the access source server. When the electronic file related to the request is written, the identifier and hash value of the electronic file related to the write request are notified to the distributed file management device as the difference, and the update notification receiving means In response to the notification by the update notification means, the retained information update means receives the information including the hash value in the difference received by the update notification reception means, and information indicating the access source server and the difference By adding the identifier of the electronic file included and the hash value of the electronic file included in the difference, the file To update the information held.
[0067] このように、分散ファイル管理装置が保持して 、るファイル保持情報は更新される。 In this way, the file holding information held by the distributed file management apparatus is updated.
これにより、自動的に、ファイル保持情報に各サーバが保持する電子ファイルの最新 の状態を格納しておくことが可能となる。 As a result, the latest state of the electronic file held by each server can be automatically stored in the file holding information.
[0068] 上記目的を達成するために、本発明に係る分散ファイル管理システムは、複数のサ ーバが保持する電子ファイルを管理する分散ファイル管理システムであって、前記分 散ファイル管理システムは、通信回線により接続された、複数の第 1のサーバと、ユー ザが利用する端末とにより構成され、前記各第 1のサーバは、ユーザが利用する端末 から、電子ファイルの取得または書込に係るユーザの要求を受け付け、当該ユーザ の要求に応じて、前記サーバ群が保持する電子ファイルを管理する前記第 1のサー バ群の 1つである管理装置に、前記ユーザの要求に係る電子ファイルを保持するサ ーバが 、ずれであるかを問合せるファイルサーバ手段と、電子ファイルを保持するサ 一バが 、ずれであるかを示す情報であるファイル保持情報を記憶し、前記ユーザの 要求を受信したサーバであるアクセス元サーノからの問合せに応じて、前記ファイル 保持情報を参照して、前記ユーザの要求に係る電子ファイルを保持するサーバであ る保持サーバを判断することにより、前記サーバ群が保持する電子ファイルを管理す る管理装置手段と、前記第 1のサーバ群と通信することにより、前記第 1のサーバ群
のいずれが前記管理装置であるかを判定する第 1の管理装置判定手段とを備える。 [0068] In order to achieve the above object, a distributed file management system according to the present invention is a distributed file management system that manages electronic files held by a plurality of servers, and the distributed file management system includes: It is composed of a plurality of first servers connected by communication lines and a terminal used by the user. Each of the first servers relates to acquisition or writing of an electronic file from the terminal used by the user. An electronic file related to the user's request is received by a management device that is one of the first server group that receives the user's request and manages the electronic file held by the server group in response to the user's request. File server means for inquiring whether the server to be held is a deviation and file holding information as information indicating whether the server for holding the electronic file is a deviation are recorded. A holding server that is a server that holds an electronic file related to the user request by referring to the file holding information in response to an inquiry from an access source Sano that is a server that has received the user request. By determining, the first server group by communicating with the first server group, and management device means for managing the electronic file held by the server group And a first management device determination means for determining which is the management device.
[0069] また、前記分散ファイル管理システムは、通信回線により接続された、前記複数の 第 1のサーバと、少なくとも 1つの第 2のサーバと、ユーザが利用する端末とにより構 成され、前記第 2のサーバは、前記ファイルサーバ手段と、前記第 1のサーバ群と通 信することにより、前記第 1のサーバ群のいずれが前記管理装置であるかを判定する 第 2の管理装置判定手段とを備える。 [0069] In addition, the distributed file management system includes the plurality of first servers, at least one second server, and a terminal used by a user, which are connected via a communication line, and A second server that determines which of the first server group is the management device by communicating with the file server unit and the first server group; Is provided.
[0070] このように、分散ファイル管理システムは、複数のサーバに分散して保持されている 電子ファイルを管理するための機能を備えるサーバを複数備える。そのため、障害が 発生するなどのために、分散ファイル管理装置として機能して 、るサーバの稼動が停 止しても、他のサーバが分散ファイル管理装置として稼動できるため、分散ファイル 管理システムの稼動を継続でき、分散ファイル管理システムの安定性を向上させるこ とが可能となる。 As described above, the distributed file management system includes a plurality of servers having a function for managing electronic files distributed and held in a plurality of servers. Therefore, even if a server that stops functioning as a distributed file management device due to a failure, etc. can be operated as a distributed file management device, other servers can operate as distributed file management devices. And the stability of the distributed file management system can be improved.
[0071] さらに好ましくは、前記第 1の管理装置判定手段は、現在の前記管理装置が前記 第 1のサーバ群のいずれであるかを示す情報を保持している第 1の管理装置保持部 と、前記第 1のサーバ群が前記管理装置として機能する順序を定めた情報である順 位情報を記憶する順位記憶部と、前記管理装置が前記各第 1のサーバに前記管理 装置であることを通知する管理装置通知部と、前記管理装置通知部からの通知を受 け付ける第 1の管理装置通知受付部と、前記第 1の管理装置通知受付部が前記通 知を受け付けてから、次の通知を受け付けずに予め定めた時間が経過した場合に、 管理装置の変更が必要であると判断する変更判断部と、前記変更判断部が管理装 置の変更が必要であると判断した場合に、前記順位情報を参照することにより、稼動 している前記第 1のサーバ群の中で最も順位の高い第 1のサーバを示す情報を前記 第 1の管理装置保持部に保持させる管理装置決定部とを有する。 [0071] More preferably, the first management device determination unit includes a first management device holding unit that holds information indicating whether the current management device is the first server group; A rank storage unit for storing rank information, which is information that defines the order in which the first server group functions as the management device, and the management device is the management device in each first server. The management device notification unit to be notified, the first management device notification reception unit that receives the notification from the management device notification unit, and the first management device notification reception unit after receiving the notification, When a predetermined time elapses without receiving a notification, a change determination unit that determines that a change of the management device is necessary, and a case where the change determination unit determines that a change of the management device is necessary By referring to the ranking information, Information indicating the highest ranked high first server in the first server group that has a management device determining unit for holding the first management device holding portion.
[0072] また、前記第 1の管理装置判定手段は、現在の前記管理装置が前記第 1のサーバ 群のいずれであるかを示す情報を保持している第 1の管理装置保持部と、前記第 1 のサーバ群が前記管理装置として機能する順序を定めた情報である順位情報を記 憶する順位記憶部と、前記管理装置が前記各第 1のサーバおよび前記第 2のサーバ に前記管理装置であることを通知する管理装置通知部と、前記管理装置通知部から
の通知を受け付ける第 1の管理装置通知受付部と、前記管理装置通知受付部が前 記通知を受け付けてから、次の通知を受け付けずに予め定めた時間が経過した場 合に、管理装置の変更が必要であると判断する変更判断部と、前記変更判断部が管 理装置の変更が必要であると判断した場合に、前記順位情報を参照することにより、 稼動している前記第 1のサーバ群の中で最も順位の高い第 1のサーバを示す情報を 前記第 1の管理装置保持部に保持させる管理装置決定部とを有し、前記第 2の管理 装置判定手段は、現在の前記管理装置が前記第 1のサーバ群のいずれであるかを 示す情報を保持して!/、る第 2の管理装置保持部と、前記管理装置通知部からの通知 を受け付け、受け付けた前記通知の送信元を示す情報を前記第 2の管理装置保持 部に保持させる第 2の管理装置通知受付部とを有する。 [0072] Further, the first management device determination unit includes a first management device holding unit that holds information indicating which of the first server groups the current management device is, A rank storage unit that stores rank information, which is information that defines the order in which the first server group functions as the management apparatus, and the management apparatus includes the management apparatus in each of the first server and the second server. From the management device notification unit that notifies that the management device and the management device notification unit The first management device notification reception unit that receives the notification and the management device notification reception unit receives the previous notification, and when a predetermined time elapses without receiving the next notification, When the change determination unit determines that a change is necessary, and when the change determination unit determines that the management device needs to be changed, the first information is operated by referring to the ranking information. A management device determination unit that causes the first management device holding unit to store information indicating the first server having the highest rank in the server group, and the second management device determination unit includes the current management device determination unit. Holds information indicating which of the first server group the management device is! /, Receives a notification from the second management device holding unit and the management device notification unit, and receives the notification of the received notification Information indicating the transmission source is sent to the second management device holding unit. And a second management device notification reception unit for lifting.
[0073] さらに、前記変更判断部は、さらに、前記第 1の管理装置保持部が保持している情 報が示す前記現在の管理装置と、前記第 1の管理装置通知受付部が受け付けた前 記通知の送信元とがー致しない場合に、管理装置の変更が必要であると判断する。 [0073] Further, the change determination unit further includes the current management device indicated by the information held by the first management device holding unit and the information received by the first management device notification receiving unit. If the sender of the notification does not match, it is determined that the management device needs to be changed.
[0074] さらに、前記管理装置手段は、前記ファイル保持情報を記憶する保持サーバ記憶 部と、ユーザ指定の識別子含む電子ファイルを前記端末が取得する要求である取得 要求を受信した前記アクセス元サーバから、当該識別子を含む電子ファイルを保持 するサーバがいずれであるかという問合せを受け付ける問合受付部と、前記問合受 付部が前記取得要求に基づく問合せを受け付けた場合に、前記ファイル保持情報を 参照することにより、前記保持サーバがいずれであるかを判断する保持サーバ判断 部と、前記保持サーバ判断部により保持サーバであると判断されたサーバに、前記 ユーザの要求に係る電子ファイルを前記アクセス元サーバへ送信するように要求す るファイル送信要求部とを備える。 [0074] Further, the management device means includes: a holding server storage unit that stores the file holding information; and an access request server that has received an acquisition request that is a request for the terminal to acquire an electronic file including a user-specified identifier. An inquiry reception unit that receives an inquiry as to which server holds an electronic file including the identifier, and the file reception information is received when the inquiry reception unit receives an inquiry based on the acquisition request. By referring to the holding server determining unit that determines which holding server is the server and the server that is determined to be the holding server by the holding server determining unit, the electronic file according to the user request is accessed. A file transmission requesting unit for requesting transmission to the original server.
[0075] このように、分散ファイル管理装置の機能を備えた第 1のサーバと、他のサーバとが 通信をし、通信が途絶えたこと、または、通信が復活したことを検知して、予め定めた 順位に従って、稼働中の第 1のサーバの中で最も順位が高いサーバを分散ファイル 管理装置とする。これにより、分散ファイル管理装置として機能するサーバが自動的 に切り替えることが可能となり、分散ファイル管理システムの安定性を向上させること が可能となる。
[0076] さらに好ましくは、前記問合受付部は、さらに、ユーザ指定の識別子を含む電子フ アイルを前記サーバに保持させる要求である書込要求を受信した前記アクセス元サ ーバから、当該識別子を含む電子ファイルを保持するサーバがいずれであるかという 問合せを受け付け、保持サーバ判断部は、前記問合受付部が前記書込要求に基づ く問合せを受け付けた場合に、前記ファイル保持情報を参照することにより、前記保 持サーバがいずれであるかを判断し、前記管理装置手段は、さらに、前記保持サー バ判断部により保持サーバであると判断されたサーバを示す情報を、前記アクセス元 サーバに送信する保持応答送信部を有する。 [0075] In this way, the first server having the function of the distributed file management apparatus communicates with another server, and it is detected in advance that communication has been lost or communication has been restored. The server with the highest rank among the first servers in operation according to the specified rank is the distributed file management device. As a result, the server functioning as the distributed file management device can be automatically switched, and the stability of the distributed file management system can be improved. [0076] More preferably, the inquiry reception unit further receives the identifier from the access source server that has received the write request that is a request for causing the server to hold an electronic file including a user-specified identifier. An inquiry as to which server holds the electronic file containing the file is received, and the holding server determination unit receives the file holding information when the inquiry receiving unit receives an inquiry based on the write request. The management device means further determines information indicating the server determined to be a holding server by the holding server determination unit by referring to the access source. It has a holding response transmitter for transmitting to the server.
[0077] また、前記ファイルサーバ手段は、電子ファイルを記憶するファイル記憶部と、前記 ファイル送信要求部が送信した電子ファイルの識別子を含むファイル送信要求を受 信するファイル送信要求受信部と、前記ファイル送信要求に含まれる識別子を含む 電子ファイルを前記ファイル記憶部から読み出すファイル記憶制御部と、前記フアイ ル記憶制御手段が読み出した電子ファイルを取得し、取得した当該電子ファイルを 前記アクセス元サーバに送信するファイル送信部とを備える。 [0077] Further, the file server means includes a file storage unit for storing an electronic file, a file transmission request receiving unit for receiving a file transmission request including an identifier of the electronic file transmitted by the file transmission request unit, A file storage control unit that reads an electronic file including an identifier included in the file transmission request from the file storage unit and the electronic file read by the file storage control unit are acquired, and the acquired electronic file is stored in the access source server. A file transmission unit for transmission.
[0078] さらに、前記ファイルサーバ手段は、さらに、他のサーバの前記ファイル送信部から 送信された電子ファイルを受信するファイル受信部を備え、前記ファイル記憶制御部 は、さらに、前記ファイル受信部が受信した電子ファイルを前記ファイル記憶部に書 き込む。 [0078] Further, the file server means further includes a file receiving unit that receives an electronic file transmitted from the file transmitting unit of another server, and the file storage control unit further includes: The received electronic file is written into the file storage unit.
[0079] このように、アクセス元サーバは、ユーザの要求に係る電子ファイルを保持して!/、な い場合、保持サーノから電子ファイルを取得するとともに、自身が保持する。これによ り、端末のいずれかから同一の電子ファイルを取得する要求を再度受け付けた場合 に、自身が保持している電子ファイルを送信することができる。そのため、 1つのァク セス元サーバを介して取得される電子ファイルについて、アクセス元サーバは、再度 保持サーバから取得する必要がなくなり、ネットワーク上に転送される情報量を抑える ことが可能となり、また、各サーバに掛カる負荷を軽減することが可能となる。 [0079] Thus, the access source server holds the electronic file according to the user's request! Otherwise, the electronic file is obtained from the holding sano and held by itself. As a result, when a request for acquiring the same electronic file from any of the terminals is received again, the electronic file held by itself can be transmitted. For this reason, it is not necessary for the access source server to acquire again from the holding server for the electronic file acquired via one access source server, and the amount of information transferred over the network can be reduced. The load on each server can be reduced.
[0080] さらに好ましくは、前記ファイルサーバ手段は、さらに、前記ファイル記憶制御部が ファイル記憶部に電子ファイルを書き込んだ場合に、書き込みの前後における当該 ファイル記憶部の差分を前記第 1のサーバ群に通知する更新通知部を備え、前記管
理装置手段は、前記更新通知部による通知を受け付ける更新通知受付部と前記更 新通知受付部が受け付けた通知に含まれる前記差分により、前記ファイル保持情報 を更新する保持情報更新部とを備える。 [0080] More preferably, when the file storage control unit has written an electronic file in the file storage unit, the file server means further calculates the difference of the file storage unit before and after the writing to the first server group. An update notification unit for notifying The logical unit includes an update notification receiving unit that receives a notification from the update notification unit and a holding information update unit that updates the file holding information based on the difference included in the notification received by the update notification receiving unit.
[0081] また、前記管理装置手段は、さらに、前記更新通知部は、ユーザ指定の識別子を 含む電子ファイルを前記端末が取得する要求を前記アクセス元サーバが受け付けた ことにより、前記アクセス元サーバが備えるファイル記憶手段に当該要求に係る電子 ファイルが書き込まれた場合に、当該取得要求に係る電子ファイルの識別子を、前 記差分として、前記分散ファイル管理装置に通知し、前記更新通知受付部は前記更 新通知手段による通知を受け、前記保持情報更新部は、前記更新通知受付手段が 受け付けた通知に応じて、前記アクセス元サーバを示す情報と、前記差分に含まれ る電子ファイルの識別子とを対応付けた情報を追加することにより、前記ファイル保持 情報を更新する。 [0081] Further, in the management apparatus means, the update notifying unit may be configured so that the access source server receives a request for the terminal to acquire an electronic file including a user-specified identifier. When the electronic file related to the request is written in the file storage means provided, the distributed file management device is notified of the identifier of the electronic file related to the acquisition request as the difference, and the update notification receiving unit In response to the notification from the update notification means, the retained information update unit receives information indicating the access source server and the identifier of the electronic file included in the difference in response to the notification received by the update notification reception means. The file holding information is updated by adding the associated information.
[0082] さらに、前記管理装置手段は、さらに、前記更新通知部は、電子ファイルを前記ァ クセス元サーバが備えるファイル記憶手段に書き込む要求を前記アクセス元サーバ が受け付けたことにより、前記アクセス元サーバが備えるファイル記憶手段に当該要 求に係る電子ファイルが書き込まれた場合に、当該書込要求に係る電子ファイルの 識別子を、前記差分として、前記分散ファイル管理装置に通知し、前記更新通知受 付手段は前記更新通知手段による通知を受け、前記保持情報更新手段は、前記更 新通知受付手段が受け付けた、前記ハッシュ値を前記差分に含む通知に応じて、前 記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別子とを追 加することにより、前記ファイル保持情報を更新する。 [0082] Further, the management device means may further be configured such that the update notification unit receives the request for writing the electronic file in the file storage means included in the access source server, so that the access source server receives the request. When the electronic file related to the request is written to the file storage means included in the file storage means, the identifier of the electronic file related to the write request is notified to the distributed file management device as the difference, and the update notification is received. The means receives the notification from the update notification means, and the retained information update means receives the information indicating the access source server according to the notification received by the update notification reception means and including the hash value in the difference. Then, the file holding information is updated by adding the identifier of the electronic file included in the difference.
[0083] このように、分散ファイル管理装置が保持して 、るファイル保持情報は更新される。 Thus, the file holding information held by the distributed file management apparatus is updated.
これにより、自動的に、ファイル保持情報に各サーバが保持する電子ファイルの最新 の状態を格納しておくことが可能となる。 As a result, the latest state of the electronic file held by each server can be automatically stored in the file holding information.
[0084] なお、本発明は、このような特徴的な手段を備える分散ファイル管理システムとして 実現することができるだけでなぐ分散ファイル管理システムを構成する装置に含ま れる特徴的な手段をステップとする分散ファイル管理方法として実現したり、分散ファ ィル管理システムを構成する装置に含まれる特徴的な手段としてコンピュータを機能
させるプログラムとして実現したりすることもできる。そして、そのようなプログラムは、 C D- ROM (Compact Disc -Read Only Memory)等の記録媒体やインターネ ット等の通信ネットワークを介して流通させることができる。 発明の効果 It should be noted that the present invention can be realized as a distributed file management system including such characteristic means, and can be realized by using the characteristic means included in the apparatus constituting the distributed file management system as a step. A computer can be realized as a file management method or as a characteristic means included in the devices that make up a distributed file management system. It can also be realized as a program to be executed. Such a program can be distributed via a recording medium such as CD-ROM (Compact Disc-Read Only Memory) or a communication network such as the Internet. The invention's effect
[0085] ユーザは、自身が利用する端末力 ネットワークを介して接続されている複数のサ ーバのいずれにアクセスしても、それら複数のサーバの少なくとも 1台がユーザ所望 の電子ファイルを保持している限り、ユーザの要望に係る最新の電子ファイルを端末 力 取得ことが可能となる。したがって、また、ユーザは、電子ファイルが最新力否か および端末力 アクセスするサーバを意識する必要がなくなり、ネットワーク上の複数 のサーバに分散して保持されている電子ファイルの取得に係るユーザの利便性を向 上させることが可會 となる。 [0085] When a user accesses any of a plurality of servers connected via a terminal power network used by the user, at least one of the plurality of servers holds an electronic file desired by the user. As long as it is possible, it is possible to obtain the latest electronic files according to user requests. Therefore, the user does not need to be aware of whether the electronic file has the latest power and the terminal power, and the convenience of the user for obtaining electronic files distributed and held on multiple servers on the network. It is possible to improve sex.
[0086] さらに、特に、 1つのサーバを介して頻繁に取得される電子ファイルについては、ネ ットワーク上に転送される情報量を抑えることが可能となり、また、各サーバに掛かる 負荷を軽減することが可能となる。 [0086] Furthermore, particularly for electronic files that are frequently acquired via a single server, the amount of information transferred on the network can be reduced, and the load on each server can be reduced. Is possible.
[0087] ここで頻繁に取得される電子ファイルとは、同一または異なるユーザにより 2回以上 の取得要求の対象とされた電子ファイルであり、または、一定の期間内に同一または 異なるユーザにより 2回以上の取得要求の対象とされた電子ファイルである。 [0087] The electronic file frequently acquired here is an electronic file that has been subject to an acquisition request more than once by the same or different user, or twice by the same or different user within a certain period of time. This is an electronic file that is the subject of the above acquisition request.
[0088] さらに、ユーザに最新の電子ファイルを提供するための電子ファイルの管理につき 、ネットワーク上に転送される情報量を抑えることが可能となり、また、各サーバに掛 力る負荷を軽減することが可能となる。 [0088] Furthermore, regarding the management of electronic files for providing the latest electronic files to users, it is possible to reduce the amount of information transferred over the network, and to reduce the load on each server. Is possible.
[0089] さらに、各サーバが電子ファイルを保持するための記憶資源の消費を抑えることが 可能となる。 [0089] Furthermore, it is possible to suppress consumption of storage resources for each server to hold an electronic file.
[0090] さらに、電子ファイルの改竄を検知して、真正な電子ファイルのみをユーザに送信 することができ、分散ファイル管理システムの信頼性を向上させることが可能となる。 また、サーバの稼動が停止した場合であっても、そのサーバが保持する電子ファイル をユーザが利用する端末に送信することが可能となる。 [0090] Furthermore, it is possible to detect falsification of an electronic file and transmit only the genuine electronic file to the user, and it is possible to improve the reliability of the distributed file management system. In addition, even when the server operation is stopped, the electronic file held by the server can be transmitted to the terminal used by the user.
[0091] さらに、分散ファイル管理装置の稼動が停止した場合であっても、分散ファイル管 理システムの稼動を継続でき、分散ファイル管理システムの安定性を向上させること
が可能となる。 [0091] Furthermore, even when the operation of the distributed file management device is stopped, the operation of the distributed file management system can be continued, and the stability of the distributed file management system can be improved. Is possible.
図面の簡単な説明 Brief Description of Drawings
[図 1]図 1は本発明の実施の形態 1に係る分散ファイル管理システムの構成の概要を 示す図である。 FIG. 1 is a diagram showing an outline of a configuration of a distributed file management system according to Embodiment 1 of the present invention.
[図 2]図 2は実施の形態 1に係る各サーバが備えるファイル記憶部が記憶している電 子ファイル情報に共通する電子ファイルのパスの例を示す図である。 FIG. 2 is a diagram showing an example of an electronic file path common to electronic file information stored in a file storage unit included in each server according to the first embodiment.
[図 3A]図 3Aは実施の形態 1に係るサーバ Aが備えるファイル記憶部が記憶している 電子ファイルの具体例を示す図である。 FIG. 3A is a diagram showing a specific example of an electronic file stored in a file storage unit provided in server A according to the first embodiment.
[図 3B]図 3Bは実施の形態 1に係るサーバ Bが備えるファイル記憶部が記憶している 電子ファイルの具体例を示す図である。 FIG. 3B is a diagram showing a specific example of an electronic file stored in a file storage unit included in server B according to the first embodiment.
[図 3C]図 3Cは実施の形態 1に係るサーバ Cが備えるファイル記憶部が記憶している 電子ファイルの具体例を示す図である。 FIG. 3C is a diagram showing a specific example of an electronic file stored in a file storage unit included in server C according to the first embodiment.
[図 4]図 4は実施の形態 1に係るサーバ Aが備える機能的構成の例を示すブロック図 である。 FIG. 4 is a block diagram showing an example of a functional configuration provided in server A according to the first embodiment.
[図 5]図 5は実施の形態 1に係る分散ファイル管理装置が備える機能的構成の例を示 すブロック図である。 FIG. 5 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus according to the first embodiment.
[図 6]図 6は保持サーバ記憶部が記憶している管理サーバ情報の例を示す図である [図 7]図 7は保持サーバ記憶部が記憶しているファイル保持情報の例を示す図である 6 is a diagram showing an example of management server information stored in the holding server storage unit. [FIG. 7] FIG. 7 is a diagram showing an example of file holding information stored in the holding server storage unit. Is
[図 8]図 8はユーザが端末力も取得要求を送信した場合に、本発明の実施の形態 1に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 FIG. 8 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 1 of the present invention when a user transmits an acquisition request for terminal power. .
[図 9]図 9はユーザが端末力も書込要求を送信した場合に、本発明の実施の形態 1に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 FIG. 9 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the first embodiment of the present invention when the user transmits a write request with terminal power. is there.
[図 10]図 10はサーバ Aが端末 aからファイル aの取得要求を受け付けた場合に、分散 ファイル管理装置と、サーバ Aと、サーバ Bと、端末 aとにおいて実行される処理およ
びこれらの装置間で送受信される情報の例を示すタイムチャートである。 [FIG. 10] FIG. 10 shows the processing executed by the distributed file management device, server A, server B, and terminal a when server A receives a request for acquiring file a from terminal a. 5 is a time chart showing an example of information transmitted and received between these devices.
[図 11]図 11はサーバ Aが端末 aからファイル aの取得要求を受け付けた後に、サーバ Aが保持するファイル aの更新要求を受け付けた場合に、分散ファイル管理装置と、 サーバ Aと、サーバ Bと、端末 aとにおいて実行される処理およびこれらの装置間で送 受信される情報の例を示す図である。 [FIG. 11] FIG. 11 shows a distributed file management device, server A, and server when server A accepts an update request for file a held by server A after accepting an acquisition request for file a from terminal a. FIG. 7 is a diagram showing an example of processing executed between B and terminal a and information transmitted and received between these devices.
[図 12]図 12は端末 aからファイル aの取得要求を受け付けたサーバ Aのファイル記憶 部が記憶している電子ファイル情報を示す図である。 FIG. 12 is a diagram showing electronic file information stored in the file storage unit of server A that has received an acquisition request for file a from terminal a.
[図 13]図 13はサーバ Aが端末 aからファイル aの取得要求を受け付けた後に、サーバ Aが保持するファイル aの更新要求を受け付けた場合に、分散ファイル管理装置と、 サーバ Aと、サーバ Bと、端末 aとにおいて実行される処理およびこれらの装置間で送 受信される情報の例を示すタイムチャートである。 [FIG. 13] FIG. 13 shows a distributed file management device, server A, and server when server A receives an update request for file a held by server A after receiving an acquisition request for file a from terminal a. 7 is a time chart showing an example of processing executed in B and terminal a and information transmitted and received between these devices.
[図 14]図 14は端末 aからファイル aの更新要求により更新されたサーノ Aのファイル 記憶部が記憶している電子ファイル情報を示す図である。 FIG. 14 is a diagram showing electronic file information stored in a file storage unit of Sano A updated by a request to update file a from terminal a.
[図 15]図 15はサーバ Aが端末 aからファイル aの更新要求を受け付けた場合に、更新 通知に従って更新されたファイル保持情報を示す図である。 FIG. 15 is a diagram showing file holding information updated in accordance with an update notification when server A receives an update request for file a from terminal a.
[図 16]図 16はユーザが利用する端末に接続されたモニタに表示される、ユーザが特 定のファイルに対する要求を入力するための画面の例を示す図である。 [FIG. 16] FIG. 16 is a diagram showing an example of a screen displayed on a monitor connected to a terminal used by the user for the user to input a request for a specific file.
[図 17]図 17はユーザがファイル aの取得要求を指示した場合に、ユーザが利用する 端末に接続されたモニタに表示される結果の例を示す図である。 FIG. 17 is a diagram showing an example of a result displayed on a monitor connected to a terminal used by a user when the user instructs acquisition of file a.
[図 18]図 18はユーザがファイル aの更新要求を指示した場合に、ユーザが利用する 端末に接続されたモニタに表示される結果の例を示す図である。 FIG. 18 is a diagram showing an example of a result displayed on a monitor connected to a terminal used by a user when the user instructs an update request for file a.
[図 19]図 19は保持サーバ記憶部が記憶しているファイル保持情報の他の例を示す 図である。 FIG. 19 is a diagram showing another example of file holding information stored in the holding server storage unit.
[図 20A]図 20Aは実施の形態 2に係るサーバ Aが備えるファイル記憶部が記憶してい る電子ファイル情報に共通する電子ファイルのパスの例を示す図である。 FIG. 20A is a diagram showing an example of an electronic file path common to electronic file information stored in a file storage unit included in server A according to the second embodiment.
[図 20B]図 20Bは実施の形態 2に係るサーバ Bが備えるファイル記憶部が記憶してい る電子ファイル情報に共通する電子ファイルのパスの例を示す図である。 FIG. 20B is a diagram showing an example of an electronic file path common to electronic file information stored in the file storage unit included in the server B according to Embodiment 2.
[図 20C]図 20Cは実施の形態 2に係るサーバ Cが備えるファイル記憶部が記憶してい
る電子ファイル情報に共通する電子ファイルのパスの例を示す図である。 [FIG. 20C] FIG. 20C is stored in the file storage unit provided in server C according to the second embodiment. It is a figure which shows the example of the path | pass of the electronic file which is common to the electronic file information.
[図 21]図 21は実施の形態 2に係るサーバ A320が備える機能的構成の例を示すプロ ック図である。 FIG. 21 is a block diagram showing an example of a functional configuration provided in server A320 according to the second embodiment.
圆 22]図 22は実施の形態 2に係る分散ファイル管理装置 310が備える機能的構成 の例を示すブロック図である。 22] FIG. 22 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 310 according to the second embodiment.
圆 23]図 23は保持サーバ記憶部が記憶しているファイル保持情報の例を示す図で ある。 [23] FIG. 23 is a diagram showing an example of file holding information stored in the holding server storage unit.
圆 24]図 24は実施の形態 2に係る削除条件情報の例を示す図である。 [24] FIG. 24 is a diagram showing an example of the deletion condition information according to the second embodiment.
圆 25]図 25はユーザが端末力も取得要求を送信した場合に、本発明の実施の形態 2に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 25] FIG. 25 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the second embodiment of the present invention when the user transmits an acquisition request for terminal power. .
圆 26]図 26はユーザが端末力も書込要求を送信した場合に、本発明の実施の形態 2に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 圆 26] FIG. 26 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the second embodiment of the present invention when the user transmits a write request with terminal power. is there.
圆 27]図 27は各サーバが保持する電子ファイルを削除する際に、本発明の実施の 形態 2に係る分散ファイル管理装置において実行される処理の一例を示すフローチ ヤートである。 27] FIG. 27 is a flow chart showing an example of processing executed in the distributed file management apparatus according to Embodiment 2 of the present invention when deleting an electronic file held by each server.
[図 28]図 28はファイル保持情報 400bが図 23に示す内容である場合に、分散フアイ ル管理装置 310による電子ファイルの削除処理が終了した後のファイル保持情報 40 Ocを示す図である。 FIG. 28 is a diagram showing the file holding information 40 Oc after the electronic file deletion processing by the distributed file management device 310 is completed when the file holding information 400b has the contents shown in FIG.
圆 29]図 29は変形例 1に係る分散ファイル管理装置が備える機能的構成の例を示 すブロック図である。 [29] FIG. 29 is a block diagram showing an example of the functional configuration of the distributed file management apparatus according to the first modification.
[図 30]図 30は保持サーバ記憶部が記憶しているファイル保持情報の例を示す図で ある。 FIG. 30 is a diagram showing an example of file holding information stored in a holding server storage unit.
圆 31]図 31はユーザからの更新要求をサーバが受け付けた場合に本変形例に係る 各装置が実行する処理の例を示すタイムチャートである。 31] FIG. 31 is a time chart showing an example of processing executed by each device according to the present modification when the server receives an update request from the user.
[図 32]図 32はサーバ Aがファイル dの更新要求を受け付けた場合に、保持サーバ判 断部が S212における判断処理を実行するときの、ファイル保持情報を示す図である
[図 33]図 33はユーザ力もファイル dの更新要求をサーバ Aが受け付けた場合に、本 変形例に係る各装置が実行する処理が終了した後のファイル保持情報を示す図で ある。 FIG. 32 is a diagram showing file holding information when the holding server determination unit executes the determination process in S212 when server A receives an update request for file d. [FIG. 33] FIG. 33 is a diagram showing the file holding information after the process executed by each device according to the present modification is completed when the server A accepts a request for updating the file d.
[図 34]図 34は古い内容を有する電子ファイルを削除の対象とする場合のファイル保 持情報の例を示す図である。 FIG. 34 is a diagram showing an example of file retention information when an electronic file having old contents is to be deleted.
[図 35A]図 35Aは実施の形態 3に係るサーバ Aが備えるファイル記憶部が記憶してい る電子ファイルの具体例を示す図である。 FIG. 35A is a diagram showing a specific example of an electronic file stored in a file storage unit included in server A according to the third embodiment.
[図 35B]図 35Bは実施の形態 3に係るサーバ Bが備えるファイル記憶部が記憶してい る電子ファイルの具体例を示す図である。 FIG. 35B is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server B according to Embodiment 3.
[図 35C]図 35Cは実施の形態 3に係るサーバ Cが備えるファイル記憶部が記憶してい る電子ファイルの具体例を示す図である。 FIG. 35C is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server C according to the third embodiment.
[図 36]図 36は実施の形態 3に係るサーバ Aが備える機能的構成の例を示すブロック 図である。 FIG. 36 is a block diagram illustrating an example of a functional configuration provided in the server A according to the third embodiment.
圆 37]図 37は実施の形態 3に係る分散ファイル管理装置が備える機能的構成の例 を示すブロック図である。 [37] FIG. 37 is a block diagram showing an example of a functional configuration of the distributed file management apparatus according to the third embodiment.
圆 38]図 38は保持サーバ記憶部が記憶しているファイル保持情報の例を示す図で ある。 38] FIG. 38 is a diagram showing an example of file holding information stored in the holding server storage unit.
圆 39]図 39はユーザが端末力も取得要求を送信した場合に、本発明の実施の形態 3に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 39] FIG. 39 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits an acquisition request for terminal power. .
圆 40]図 40はユーザが端末力も格納要求を送信した場合に、本発明の実施の形態 3に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 40] FIG. 40 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits a storage request for terminal power. .
圆 41]図 41は図 40に示す複写先決定処理の詳細であり、本発明の実施の形態 3に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 41] FIG. 41 shows details of the copy destination determination processing shown in FIG. 40, and is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention. .
[図 42]図 42はユーザが端末力もサーバ Aにファイル fの更新要求を送信した場合に、
サーバ Aから送信された更新通知およびハッシュ値に従って更新された保持サーバ 記憶部のファイル保持情報の例を示す図である。 [Fig.42] Fig.42 shows that when the user sends a request to update file f to server A, 6 is a diagram illustrating an example of file holding information in a holding server storage unit updated according to an update notification and a hash value transmitted from server A. FIG.
圆 43]図 43は記憶部情報を説明するための具体例を示す図である。 [43] FIG. 43 is a diagram showing a specific example for explaining the storage unit information.
[図 44]図 44はユーザが端末力もサーバ Aにファイル fの更新要求を送信した場合に、 各装置における処理が終了した後の保持サーバ記憶部のファイル保持情報の例を 示す図である。 FIG. 44 is a diagram showing an example of file holding information in the holding server storage unit after the processing in each device is completed when the user transmits a request to update the file f to the server A with terminal power.
圆 45]図 45はユーザが端末力も更新要求を送信した場合に、本発明の実施の形態 3に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 45] FIG. 45 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits an update request for terminal power. .
圆 46]図 46は実施の形態 3に係る分散ファイル管理装置が更新許可要求を受信す ることにより、ハッシュ値が初期化されたファイル保持情報の例を示す図である。 [46] FIG. 46 is a diagram showing an example of file holding information in which a hash value is initialized when the distributed file management apparatus according to the third embodiment receives an update permission request.
[図 47]図 47は実施の形態 3において、ユーザが端末力 更新要求を送信した場合に 、その要求に係る電子ファイルの更新処理を実行した後のファイル保持情報の例を 示す図である。 FIG. 47 is a diagram showing an example of file retention information after execution of an electronic file update process related to a request when a user transmits a terminal capability update request in the third embodiment.
圆 48]図 48は本発明の実施の形態 4に係る分散ファイル管理システムの構成の概要 を示す図である。 48] FIG. 48 is a diagram showing an outline of the configuration of the distributed file management system according to the fourth embodiment of the present invention.
[図 49A]図 49Aは実施の形態 4に係るサーバ Aが備えるファイル記憶部が記憶してい る電子ファイルの具体例を示す図である。 FIG. 49A is a diagram showing a specific example of an electronic file stored in a file storage unit included in server A according to the fourth embodiment.
[図 49B]図 49Bは実施の形態 4に係るサーバ Bが備えるファイル記憶部が記憶してい る電子ファイルの具体例を示す図である。 FIG. 49B is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server B according to Embodiment 4.
[図 49C]図 49Cは実施の形態 4に係るサーバ Cが備えるファイル記憶部が記憶してい る電子ファイルの具体例を示す図である。 FIG. 49C is a diagram showing a specific example of the electronic file stored in the file storage unit provided in the server C according to the fourth embodiment.
[図 50]図 50は実施の形態 4に係るサーバ A820が備える機能的構成の概要の一例 を示すブロック図である。 FIG. 50 is a block diagram showing an example of an outline of a functional configuration included in a server A820 according to the fourth embodiment.
[図 51]図 51は実施の形態 4に係るサーバ A820のファイルサーバ部 900が備える機 能的構成の詳細について、その一例を示すブロック図である。 FIG. 51 is a block diagram showing an example of details of a functional configuration included in the file server unit 900 of the server A 820 according to the fourth embodiment.
圆 52]図 52は実施の形態 4に係るサーバ Aの管理装置部と管理装置判定部とが備 える機能的構成の詳細について、その一例を示すブロック図である。
圆 53]図 53は実施の形態 4に係る保持サーバ記憶部が記憶している管理サーバ情 報の一例を示す図である。 [52] FIG. 52 is a block diagram showing an example of the details of the functional configuration of the management device unit and the management device determination unit of server A according to the fourth embodiment. [53] FIG. 53 is a diagram showing an example of management server information stored in the holding server storage unit according to the fourth embodiment.
[図 54]図 54は実施の形態 4に係る保持サーバ記憶部 1000が記憶しているファイル 保持情報 1000bの一例を示す図である。 FIG. 54 is a diagram showing an example of file holding information 1000b stored in the holding server storage unit 1000 according to Embodiment 4.
圆 55]図 55はユーザが端末力も取得要求を送信した場合に、本発明の実施の形態 4に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 55] FIG. 55 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 4 of the present invention when the user transmits an acquisition request for terminal power as well. .
圆 56]図 56はユーザが端末力も書込要求を送信した場合に、本発明の実施の形態 4に係る分散ファイル管理システムを構成する各装置において実行される処理の一 例を示すタイムチャートである。 圆 56] FIG. 56 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to the fourth embodiment of the present invention when the user transmits a write request with terminal power. is there.
[図 57]図 57は管理装置を判定するために各サーバにおいて実行される処理のタイ ムチャートである。 FIG. 57 is a time chart of processing executed in each server to determine a management device.
圆 58]図 58は通常のサーバの管理装置判定部が実行する第 1管理装置処理の詳 細なフローチャートである。 [58] FIG. 58 is a detailed flowchart of the first management device process executed by the management device determination unit of the normal server.
[図 59]図 59は管理装置サーバの管理装置判定部が実行する第 2管理装置処理の 詳細なフローチャートである。 FIG. 59 is a detailed flowchart of the second management device process executed by the management device determination unit of the management device server.
[図 60]図 60はサーバ Bの停止中にサーバ Aがファイル dの取得要求を受け付けた場 合と、その後にサーバ Bが復旧した場合とにおいて、本発明の実施の形態 4に係る分 散ファイル管理システムを構成する各装置において実行される処理の具体例を示す タイムチャートである。 [FIG. 60] FIG. 60 shows the distribution according to the fourth embodiment of the present invention when server A accepts an acquisition request for file d while server B is stopped and when server B recovers thereafter. It is a time chart which shows the specific example of the process performed in each apparatus which comprises a file management system.
[図 61]図 61はサーバ Bの停止中に実行されたファイル dの取得要求に関する処理が 終了した後の、サーバ Aおよびサーバ Cの保持サーバ記憶部の保持サーバ情報の 例を示す図である。 FIG. 61 is a diagram showing an example of retained server information in the retained server storage units of server A and server C after the processing related to the acquisition request for file d executed while server B is stopped. .
[図 62]図 62はサーバ Bの停止中に実行されたファイル dの取得要求に関する処理が 終了した後の、サーバ Bの保持サーバ記憶部の保持サーバ情報の例を示す図であ る。 FIG. 62 is a diagram showing an example of holding server information in the holding server storage unit of server B after the processing related to the acquisition request for file d executed while server B is stopped.
圆 63]図 63は本発明の変形例 2に係る分散ファイル管理システムの構成の概要を示 す図である。
圆 64]図 64は本発明の変形例 2に係る分散ファイル管理装置として機能するサーバ が備える保持サーバ記憶部の管理サーバ情報の一例を示す図である。 [63] FIG. 63 is a diagram showing an outline of the configuration of the distributed file management system according to the second modification of the present invention. 64] FIG. 64 is a diagram showing an example of the management server information in the holding server storage unit included in the server functioning as the distributed file management apparatus according to the second modification of the present invention.
圆 65]図 65は本発明の変形例 2に係る分散ファイル管理装置として機能しないサー バであるサーバ Dが備える機能的構成を示すブロック図である。 65] FIG. 65 is a block diagram showing a functional configuration of server D, which is a server that does not function as the distributed file management device according to the second modification of the present invention.
符号の説明 Explanation of symbols
10、 310、 510、 610 分散ファイル管理装置 10, 310, 510, 610 Distributed file management device
15、 50 通信回線 15, 50 communication line
20、 30、 40、 320、 620、 820 サーノ 20, 30, 40, 320, 620, 820 Sano
25、 35、 45、 855 ファイル記憶部 25, 35, 45, 855 File storage
60, 65 端末 60, 65 terminals
71 ユーザ要求受信部 71 User request receiver
73 要求種別判断部 73 Request type judgment section
75 要求情報保持部 75 Request information storage
77、 677 ファイル記憶制御部 77, 677 File storage controller
79、 1079 保持サーバ問合部 79, 1079 Holding server inquiry department
81 保持応答受信部 81 Hold response receiver
83 ファイル送信要求受信部 83 File transmission request receiver
85 ファイル送信部 85 File transmission section
87 ファイル受信部 87 File receiver
89 ロック要求送信部 89 Lock request transmitter
91、 391、 1091 更新通知部 91, 391, 1091 Update notification section
93 完了通知受信部 93 Completion notification receiver
95 ユーザ要求応答部 95 User request response part
100、 400、 500、 700、 1000 保持サーバ記憶部 100, 400, 500, 700, 1000 Retention server storage
102 問合受付部 102 Inquiry reception
104、 404、 504、 704 保持サーノ判断部 104, 404, 504, 704 Holding sano judgment section
106 保持応答送信部 106 Hold response transmitter
108 ファイル送信要求部
110、 410 更新通知受付部108 File transmission request part 110, 410 Update notification reception
112、 412 保持情報更新部112, 412 Retained information update part
114 更新完了通知部114 Update completion notification section
116 ロック要求受信部116 Lock request receiver
118 ロック情報保持部118 Lock information storage
322 削除要求受信部322 Deletion request receiver
420 削除条件記憶部420 Deletion condition storage
422 時計部 422 Clock
424、 524 削除対象判断部 424, 524 Deletion target judgment unit
426 削除要求部 426 Deletion request section
624 ハッシュ値要求受信部 624 Hash value request receiver
626 ハッシュ値計算部626 Hash value calculator
628 ハッシュ値送信部628 Hash value transmitter
630 記憶部情報要求受信部630 Storage unit information request receiving unit
632 記憶部情報送信部632 Storage unit information transmission unit
634 複写先受信部 634 Copy destination receiver
728 ハッシュ値要求部 728 Hash value request part
730 ハッシュ値受信部730 Hash value receiver
732 更新許可要求受信部732 Update permission request receiver
734 ハッシュ値初期化部734 Hash value initialization part
736 更新許可送信部736 Update permission transmitter
738 記憶部情報要求部738 Memory information request section
740 記憶部情報受信部740 Storage unit information receiver
742 複写先判定部 742 Copy destination judgment unit
744 複写先送信部 744 Copy destination transmission unit
820、 900 ファイルサーバ部 820, 900 File server part
910 管理装置部 910 Management unit
920、 1300 管理装置判定部
1200、 1400 管理装置保持部 920, 1300 Management device judgment unit 1200, 1400 management device holder
1202 管理装置通知部 1202 Management device notification unit
1204、 1402 管理装置通知受付部 1204, 1402 Management device notification receiving part
1206 変更判断部 1206 Change judgment section
1208 管理装置決定部 1208 Management device decision unit
1210 保持サーバ情報取得部 1210 Retention server information acquisition part
1212、 1412 サーノ応答部 1212, 1412 Sano response section
1214 サーバ応答受付部 1214 Server response reception part
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
[0094] 以下に、図面を参照しながら、本発明に係る分散ファイル管理システムの実施の形 態 1から実施の形態 4までについて説明する。 [0094] Hereinafter, Embodiment 1 to Embodiment 4 of the distributed file management system according to the present invention will be described with reference to the drawings.
[0095] (実施の形態 1) [0095] (Embodiment 1)
図 1から図 19までを参照して、本発明に係る実施の形態 1につ!/ヽて説明する。 A first embodiment according to the present invention will be described with reference to FIGS.
[0096] 図 1は、実施の形態 1に係る分散ファイル管理システムの構成の概要を示す図であ る。実施の形態 1に係る分散ファイル管理システムは、ユーザが利用する端末と通信 回線を介して接続され、電子ファイルを記憶して 、るファイル記憶部を備える複数の サーバの 、ずれかが、端末力 送信される電子ファイルに関連するユーザの要求を 受け付け、受け付けたユーザの要求に関連する処理を分散ファイル管理装置または 他のサーバと連携して実行し、実行した処理の結果をユーザが利用する端末に送信 するシステムの一例である。 FIG. 1 is a diagram showing an outline of the configuration of the distributed file management system according to the first embodiment. The distributed file management system according to Embodiment 1 is connected to a terminal used by a user via a communication line, stores an electronic file, and a difference between a plurality of servers including a file storage unit is A terminal that accepts user requests related to electronic files to be transmitted, executes processes related to accepted user requests in cooperation with the distributed file management device or other servers, and uses the results of the executed processes by the user It is an example of a system that transmits to.
[0097] 本実施の形態に係る分散ファイル管理システムは、分散ファイル管理装置 10と、サ ーバ A20、サーバ B30およびサーバ C40と、端末 a60および端末 b65とから構成さ れる。 The distributed file management system according to the present embodiment is composed of distributed file management apparatus 10, server A20, server B30 and server C40, and terminal a60 and terminal b65.
[0098] 分散ファイル管理装置 10は、管理対象である複数のサーバが保持する電子フアイ ルに関する情報を管理する装置であり、電子ファイルに関連するユーザの要求を受 け付けたサーバ(以下、「アクセス元サーノ という。)からの問合せに応じて、ユーザ の要求に係る電子ファイルを保持しているサーノ (以下、「保持サーバ」という。)を示 す情報を、アクセス元サーバに送信する装置の一例である。
[0099] 本実施の形態に係る分散ファイル管理装置 10は、サーバ A20とサーバ B30とサー バ C40とを管理対象とし、サーバ A20にお 、て記憶保持されて 、る電子ファイルに 関する情報と、サーバ B30において記憶保持されている電子ファイルに関する情報 と、サーバ C40において記憶保持されている電子ファイルに関する情報とを管理する [0098] The distributed file management device 10 is a device that manages information about electronic files held by a plurality of servers to be managed. The distributed file management device 10 accepts user requests related to electronic files (hereinafter referred to as " In response to an inquiry from the access source sano), information indicating the sano holding the electronic file related to the user's request (hereinafter referred to as “holding server”) is sent to the access source server. It is an example. [0099] The distributed file management apparatus 10 according to the present embodiment manages the server A20, the server B30, and the server C40, and stores information about the electronic file stored and held in the server A20. Manages information about electronic files stored and held on server B30 and information about electronic files stored and held on server C40
[0100] 通信回線 15は、分散ファイル管理装置 10と、各サーバ 20、 30および 40とを接続 する通信回線であり、例えば、 LAN (Local Area Network)や WAN (Wide Ar ea Network)で teる。 [0100] The communication line 15 is a communication line that connects the distributed file management apparatus 10 and each of the servers 20, 30, and 40. For example, the communication line 15 is connected via a LAN (Local Area Network) or a WAN (Wide Area Network). .
[0101] サーバ A20は、電子ファイルを記憶して 、るファイル記憶部 25を備え、ユーザが利 用する各端末 60、 65や他のサーバ 30、 40から電子ファイルに関連する要求を受け る装置である。サーバ A20は、要求を受け付けると必要に応じて分散ファイル管理装 置 10と連携して、受け付けた要求を処理し、処理した結果を要求の送信元に送信す る。 [0101] The server A20 includes a file storage unit 25 for storing electronic files, and receives a request related to the electronic file from each terminal 60, 65 and other servers 30, 40 used by the user. It is. When the server A20 receives the request, it cooperates with the distributed file management device 10 as necessary to process the received request and send the processed result to the request source.
[0102] また、サーバ B30、およびサーバ C40も、同様の機能を備え、それぞれ、ファイル 記憶部 35、およびファイル記憶部 45を備える。 [0102] Server B30 and server C40 also have the same function, and include a file storage unit 35 and a file storage unit 45, respectively.
[0103] ここで、実施の形態 1に係る各ファイル記憶部 25、 35、 45が記憶している電子ファ ィルに係るファイル構造の例について図 2を参照して説明し、また、各ファイル記憶部[0103] Here, an example of the file structure relating to the electronic file stored in each file storage unit 25, 35, 45 according to Embodiment 1 will be described with reference to FIG. Storage
25、 35、 45が記憶している電子ファイルの具体例について、図 3A〜図 3Cを参照し て説明する。 Specific examples of the electronic files stored in 25, 35, and 45 will be described with reference to FIGS. 3A to 3C.
[0104] 図 2は、本実施の形態に係る各サーバが備えるファイル記憶部が記憶している電子 ファイルに共通のフォルダ構成の例を示す図である。分散ファイル管理装置 10の管 理に係る電子ファイルが各サーバに保持される場合、各サーバは、予め定められた 共通のフォルダ構成に従って保持する。 FIG. 2 is a diagram showing an example of a folder configuration common to electronic files stored in a file storage unit included in each server according to the present embodiment. When an electronic file related to the management of the distributed file management apparatus 10 is held in each server, each server holds according to a predetermined common folder configuration.
[0105] ユーザは、端末 60または 65を利用して、本図に示すような予め定められた共通の フォルダ構成を示すパスにより電子ファイルを特定し、特定した電子ファイルに関連 する要求を各サーバ 20、 30、 40のいずれか、例えば、各端末 60、 65に予め設定さ れて 、るサーバに送信する。 [0105] Using the terminal 60 or 65, the user specifies an electronic file by a path indicating a predetermined common folder structure as shown in the figure, and requests related to the specified electronic file to each server. One of 20, 30, 40, for example, each terminal 60, 65 is preset and transmitted to the server.
[0106] ここで、「電子ファイルに関連する要求」には、電子ファイルを取得する要求である「
取得要求」と、電子ファイルを書き込む要求である「書込要求」とがある。「書込要求」 には、既存の電子ファイルを更新する要求である「更新要求」と、新たな電子ファイル を格納する要求である「格納要求」とを含む。 Here, the “request related to the electronic file” is a request for acquiring the electronic file “ There are “acquisition request” and “write request” which is a request to write an electronic file. The “write request” includes an “update request” that is a request to update an existing electronic file and a “storage request” that is a request to store a new electronic file.
[0107] 本図に示す各電子ファイルは、フォルダ名 Γ/dataJに関連するフォルダを頂点と する相対パスまたはファイル名により特定される。 [0107] Each electronic file shown in the figure is specified by a relative path or file name having a folder related to the folder name Γ / dataJ as a vertex.
[0108] フォルダ名が「Zdata」であるフォルダは、その直下に、ファイル名が「a」である電子 ファイルと、ファイル名力^ b」である電子ファイルと、ファイル名力 「d」である電子フアイ ルと、フォルダ名力^ c」であるフォルダとを有する。フォルダ名力^ c」であるフォルダは 、直下に、ファイル名力^ e」である電子ファイルと、ファイル名が「f」である電子フアイ ルとを有する。 [0108] A folder with the folder name "Zdata" has an electronic file with the file name "a", an electronic file with the file name ^ b, and a file name "d" immediately below it. It has an electronic file and a folder whose folder name is “c”. A folder having a folder name “c” has an electronic file having a file name “e” and an electronic file having a file name “f” immediately below.
[0109] ここで、「電子ファイル」には、電子ファイルの実体となる情報の他、ファイル名ゃファ ィルの更新日時等のファイルの属性情報を含む。以下単に「ファイル x」と!ヽぅ場合、 ファイル名が「x」である電子ファイルをさす。また、単に「フォルダ x」という場合、フォ ルダ名が「x」であるフォルダをさす。 [0109] Here, the "electronic file" includes file attribute information such as file name and file update date, in addition to information serving as the entity of the electronic file. In the following, simply “file x” refers to an electronic file whose file name is “x”. In addition, when simply saying “folder x”, it means the folder whose folder name is “x”.
[0110] また、「ファイル X— 2」や「ファイル X— 3」という場合、ファイル名力 「x」である電子フ アイルをさす。すなわち、「ファイル x」と、「ファイル X— 2」と、「ファイル X— 3」とは、ファ ィル名が「x」である電子ファイルとして特定される力 その実体およびファイル名以外 のファイルの属性情報が異なる関係とする。 [0110] In addition, “file X-2” and “file X-3” refer to an electronic file with file name “x”. In other words, “File x”, “File X-2”, and “File X-3” are the power that can be specified as an electronic file with the file name “x”. Have different attribute information.
[0111] ここで説明した「電子ファイルに関する要求」に関連する用語、電子ファイルの表記 方法は、全ての実施の形態において共通して用いる。 [0111] The terminology related to the "request for electronic file" and the notation method of the electronic file described here are commonly used in all the embodiments.
[0112] 図 3A〜図 3Cは、実施の形態 1に係る各サーバが備えるファイル記憶部が記憶して V、る電子ファイルの具体例を示す図である。 3A to 3C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 1.
[0113] 図 3Aは、実施の形態 1に係るサーバ A20が備えるファイル記憶部 25が記憶してい る電子ファイル情報 25aの例を示す図である。本図は、本実施の形態に係るファイル 記憶部 25が「ファイル a」と、「ファイル b」とを記憶して ヽる例を示す。 FIG. 3A is a diagram showing an example of the electronic file information 25a stored in the file storage unit 25 provided in the server A20 according to the first embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a” and “file b”.
[0114] 図 3Bは、実施の形態 1に係るサーバ B30が備えるファイル記憶部 35が記憶してい る電子ファイル情報 35aの例を示す図である。本図は、本実施の形態に係るファイル 記憶部 35が「ファイル a— 2」と、「ファイル d」と、「ファイル e」とを記憶している例を示
す。 FIG. 3B is a diagram showing an example of the electronic file information 35a stored in the file storage unit 35 included in the server B30 according to the first embodiment. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a-2”, “file d”, and “file e”. The
[0115] 図 3Cは、実施の形態 1に係るサーバ C40が備えるファイル記憶部 45が記憶してい る電子ファイル情報 45aの例を示す図である。本図は、本実施の形態に係るファイル 記憶部 45が「ファイル d」を記憶して 、る例を示す。 FIG. 3C is a diagram showing an example of the electronic file information 45a stored in the file storage unit 45 provided in the server C40 according to the first embodiment. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file d”.
[0116] ここで、図 1の説明に戻る。 [0116] Returning to the description of FIG.
[0117] 通信回線 50は、各サーバ 20、 30、 40と、各端末 60、 65を接続する通信回線であ り、例えば、 LANや WAN等である。 [0117] The communication line 50 is a communication line that connects the servers 20, 30, 40 and the terminals 60, 65, and is, for example, a LAN or a WAN.
[0118] 端末 a60は、ユーザが利用する端末である。端末 a60は、電子ファイルに関連する ユーザの要求を受け付けると、その要求を各サーバ 20、 30、 40のいずれかに送信 する。また、端末 a60は、要求を送信したサーバから結果を取得すると、取得した結 果をモニタに表示する等により、取得した結果をユーザに提供する。端末 b65も同様 の機能を備える。 [0118] The terminal a60 is a terminal used by the user. When the terminal a60 receives a user request related to the electronic file, the terminal a60 transmits the request to any of the servers 20, 30, and 40. In addition, when the terminal a60 acquires the result from the server that transmitted the request, the terminal a60 provides the acquired result to the user by displaying the acquired result on a monitor. Terminal b65 has the same function.
[0119] 以上のように、予め定められたファイル構成により示される各ファイルが複数のサー バに分散保持されており、ユーザが所望の電子ファイルを保持して 、な 、サーバに アクセスした場合であっても、分散ファイル管理装置 10は、その電子ファイルに係る ユーザの要求の処理を可能とする。 [0119] As described above, each file indicated by a predetermined file configuration is distributed and held in a plurality of servers, and a user accesses a server while holding a desired electronic file. Even in such a case, the distributed file management apparatus 10 can process a user request related to the electronic file.
[0120] このような処理を可能とするために各装置が備える機能的構成について、図 4から 図 7までを参照して説明する。 [0120] A functional configuration included in each device to enable such processing will be described with reference to FIGS.
[0121] 図 4は、実施の形態 1に係るサーノ A20が備える機能的構成の例を示すブロック図 である。サーバ A20は、ユーザからの要求を受け付ける。ユーザの要求が取得要求 である場合、サーバ A20は、受け付けた取得要求に係る電子ファイルを分散ファイル 管理装置 10の管理下にある各サーバのいずれかが保持している限り、その最新の 実体を含む電子ファイルをユーザが利用する端末に送信する。サーバ B30およびサ ーバ C40も、サーバ Aと同様の機能的構成を備える。 [0121] FIG. 4 is a block diagram illustrating an example of a functional configuration included in the Sano A20 according to the first embodiment. Server A20 accepts a request from the user. When the user request is an acquisition request, the server A20 keeps the latest entity as long as one of the servers under the control of the distributed file management device 10 holds the electronic file related to the received acquisition request. The included electronic file is transmitted to the terminal used by the user. Server B30 and server C40 also have the same functional configuration as server A.
[0122] サーバ A20は、ファイル記憶部 25と、ユーザ要求受信部 71と、要求種別判断部 7 3と、要求情報保持部 75と、ファイル記憶制御部 77と、保持サーバ問合部 79と、保 持応答受信部 81と、ファイル送信要求受信部 83と、ファイル送信部 85と、ファイル受 信部 87と、ロック要求送信部 89と、更新通知部 91と、完了通知受信部 93と、ユーザ
要求応答部 95とを備える。 [0122] The server A20 includes a file storage unit 25, a user request reception unit 71, a request type determination unit 73, a request information holding unit 75, a file storage control unit 77, a holding server inquiry unit 79, Holding response reception unit 81, file transmission request reception unit 83, file transmission unit 85, file reception unit 87, lock request transmission unit 89, update notification unit 91, completion notification reception unit 93, user A request response unit 95.
[0123] ファイル記憶部 25は、図 3を参照して説明したため、ここでの説明は省略する。 Since the file storage unit 25 has been described with reference to FIG. 3, the description thereof is omitted here.
[0124] ユーザ要求受信部 71は、通信回線 50を介してユーザが利用する端末 60、 65から 電子ファイルに関連する要求を受け付ける部位である。 The user request receiving unit 71 is a part that receives a request related to an electronic file from the terminals 60 and 65 used by the user via the communication line 50.
[0125] 要求種別判断部 73は、ユーザ要求受信部 71が受信した電子ファイルに関連する 要求の種別を判断する部位である。実施の形態 1において、電子ファイルに関連す る要求には上記のように「取得要求」と「書込要求」とがあり、さらに、「書込要求」には 「更新要求」と「格納要求」とがある。要求種別判断部 73は、ユーザ要求受信部 71が 受信した電子ファイルに関連する要求がこれらのいずれであるかを判断する。 The request type determining unit 73 is a part that determines the type of request related to the electronic file received by the user request receiving unit 71. In the first embodiment, the request related to the electronic file includes “acquisition request” and “write request” as described above, and the “write request” includes “update request” and “storage request”. There is. The request type determining unit 73 determines which of the requests related to the electronic file received by the user request receiving unit 71 is.
[0126] 要求情報保持部 75は、ユーザ要求受信部 71が受信した要求に含まれる情報を一 時的に記憶保持する部位である。要求情報保持部 75は、例えば、 RAM (Random Access Memory)により実現される。 The request information holding unit 75 is a part that temporarily stores and holds information included in the request received by the user request receiving unit 71. The request information holding unit 75 is realized by, for example, a RAM (Random Access Memory).
[0127] ファイル記憶制御部 77は、ファイル記憶部 25を制御する部位である。ファイル記憶 制御部 77は、ファイル記憶部 25が特定の電子ファイルを記憶して 、るか否かを検索 し、ファイル記憶部 25が記憶している電子ファイルを読み出し、ファイル記憶部 25が 記憶している電子ファイルを更新し、また、ファイル記憶部 25に新たな電子ファイル を格納する。 The file storage control unit 77 is a part that controls the file storage unit 25. The file storage control unit 77 retrieves whether or not the file storage unit 25 stores a specific electronic file, reads the electronic file stored in the file storage unit 25, and stores the file storage unit 25 in the storage. The stored electronic file is updated and a new electronic file is stored in the file storage unit 25.
[0128] 保持サーバ問合部 79は、いずれのサーバがユーザの要求に係る電子ファイルを 保持して!/、るかにっ 、て、通信回線 50を介して分散ファイル管理装置 10に問 、合 わせる部位である。 [0128] The holding server inquiry unit 79 holds an electronic file related to the user's request! /, And asks the distributed file management device 10 via the communication line 50, This is the part to be combined.
[0129] 保持応答受信部 81は、保持サーバ問合部 79の問合わせを受けた分散ファイル管 理装置 10の応答を、通信回線 15を介して受信する部位である。保持応答受信部 81 は、自身がアクセス元サーバである場合にユーザの要求に係る電子ファイルを、自身 のファイル記憶部 25が記憶していること、または、記憶しているファイル記憶部 25、 3 5、 45が存在しないことを内容とする応答を受信する。 The holding response receiving unit 81 is a part that receives the response of the distributed file management apparatus 10 that has received the inquiry from the holding server inquiry unit 79 via the communication line 15. The holding response receiving unit 81 stores the electronic file related to the user's request when the server itself is an access source server, or the stored file storage unit 25, 3 Receives a response that states that 5 and 45 do not exist.
[0130] ファイル送信要求受信部 83は、自身を備えるサーバがアクセス元サーバではなぐ かつ、自身を備えるサーバがユーザの要求に関連する電子ファイルを保持して 、る 場合に、その電子ファイルをアクセス元サーバに送信する要求を、分散ファイル管理
装置 10から受信する部位である。 [0130] The file transmission request receiving unit 83 accesses the electronic file when the server provided with itself is not the access source server and the server provided with itself holds an electronic file related to the user's request. Distributed file management for requests sent to the original server This is the part that receives from the device 10.
[0131] ファイル送信部 85は、ファイル送信要求受信部 83が受信した要求を受け、その要 求に係る電子ファイルをファイル記憶制御部 77から取得し、取得した電子ファイルを アクセス元サーバに送信する部位である。 [0131] The file transmission unit 85 receives the request received by the file transmission request reception unit 83, acquires the electronic file related to the request from the file storage control unit 77, and transmits the acquired electronic file to the access source server. It is a part.
[0132] ファイル受信部 87は、他のサーバのファイル送信部 85から送信された電子フアイ ルを受信する部位である。 [0132] The file receiving unit 87 is a part that receives an electronic file transmitted from the file transmitting unit 85 of another server.
[0133] ロック要求送信部 89は、要求種別判断部 73によりユーザ要求受信部 71が受信し たユーザの要求の種別が書込要求であると判断された場合に、その書込要求に係る 電子ファイルの書き込みに関連する処理を排除するロックの要求を、分散ファイル管 理装置 10に送信する部位である。 [0133] When the request type determination unit 73 determines that the type of user request received by the user request reception unit 71 is a write request, the lock request transmission unit 89 performs electronic processing related to the write request. This is the part that sends to the distributed file management device 10 a lock request that eliminates processing related to file writing.
[0134] 更新通知部 91は、ファイル記憶制御部 77が電子ファイルを格納または更新した場 合に、格納または更新された内容を分散ファイル管理装置 10に通知する部位である The update notification unit 91 is a part that notifies the distributed file management device 10 of the stored or updated content when the file storage control unit 77 stores or updates an electronic file.
[0135] 完了通知受信部 93は、分散ファイル管理装置 10から、処理の完了を内容とする通 知を受信する部位である。 The completion notification receiving unit 93 is a part that receives from the distributed file management apparatus 10 a notification that indicates the completion of processing.
[0136] ユーザ要求応答部 95は、ユーザ要求受信部 71が受信したユーザの要求に対する 応答を、通信回線 50を介してユーザが利用する端末 60、 65に送信する部位である 。ここでの応答は、ユーザの要求が取得要求の場合はその取得要求に係る電子ファ ィルであり、ユーザの要求が書込要求の場合はその書込要求の完了の通知である。 The user request response unit 95 is a part that transmits a response to the user request received by the user request reception unit 71 to the terminals 60 and 65 used by the user via the communication line 50. The response here is an electronic file related to the acquisition request if the user request is an acquisition request, and a notification of completion of the write request if the user request is a write request.
[0137] 図 5は、実施の形態 1に係る分散ファイル管理装置 10が備える機能的構成の例を 示すブロック図である。 FIG. 5 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 10 according to the first embodiment.
[0138] 分散ファイル管理装置 10は、保持サーバ記憶部 100と、問合受付部 102と、保持 サーバ判断部 104と、保持応答送信部 106と、ファイル送信要求部 108と、更新通 知受付部 110と、保持情報更新部 112と、更新完了通知部 114と、ロック要求受信部 116と、ロック情報保持部 118とを備える。 The distributed file management apparatus 10 includes a holding server storage unit 100, an inquiry reception unit 102, a holding server determination unit 104, a holding response transmission unit 106, a file transmission request unit 108, and an update notification reception unit. 110, a holding information update unit 112, an update completion notification unit 114, a lock request reception unit 116, and a lock information holding unit 118.
[0139] 保持サーバ記憶部 100は、分散ファイル管理装置 10の管理対象として設定されて いるサーバを特定するための情報である管理サーバ情報と、管理サーバ情報に含ま れる各サーバが保持している電子ファイルを含む情報であるファイル保持情報とを記
憶している記憶部である。保持サーバ記憶部 100は、例えば、 HD (Hard Disk)に より実現される。 The holding server storage unit 100 holds management server information, which is information for specifying a server set as a management target of the distributed file management apparatus 10, and each server included in the management server information. File retention information, which is information including electronic files. It is a memory part that remembers. The holding server storage unit 100 is realized by, for example, an HD (Hard Disk).
[0140] ここで、本実施の形態に係る管理サーバ情報と、ファイル保持情報との具体例を図 [0140] Here, a specific example of management server information and file holding information according to the present embodiment is illustrated.
6と、図 7とを参照して、説明する。 This will be described with reference to FIG. 6 and FIG.
[0141] 図 6は、保持サーバ記憶部 100が記憶している管理サーバ情報 100aの例を示す 図である。本図が示すように、本実施の形態に係る管理サーバ情報 100aは、「サー バ名」と、「IPアドレス」とカゝら構成される。 FIG. 6 is a diagram showing an example of management server information 100a stored in the holding server storage unit 100. As shown in the figure, the management server information 100a according to the present embodiment is composed of “server name” and “IP address”.
[0142] 「サーバ名」は、分散ファイル管理装置 10の管理対象であるサーバに付されている 名称を内容とする。「IPアドレス」は、各サーバに付与されている IPアドレスを内容と する。そして、管理サーバ情報 100aは、分散ファイル管理装置 10の管理対象である 各サーバにつ 、て、サーバ名と IPアドレスとを対応付けて保持する。 [0142] "Server name" includes the name given to the server that is the management target of the distributed file management apparatus 10. “IP address” contains the IP address assigned to each server. Then, the management server information 100a holds a server name and an IP address in association with each server that is the management target of the distributed file management apparatus 10.
[0143] 本図は、例えば、「サーバ名」が「サーバ A」により示されるサーバ A20について、「IThis figure shows, for example, “I” for server A20 whose “server name” is indicated by “server A”.
Pアドレス」力 S「192. 168. XXX. 1」であることを示す。 P address ”power S“ 192. 168. XXX. 1 ”.
[0144] 図 7は、保持サーバ記憶部 100が記憶しているファイル保持情報 100bの例を示す 図である。本図が示すように、本実施の形態に係るファイル保持情報 100bは、「ファ ィルパス」と、「サーバ名」と、「フラグ」とから構成される。 FIG. 7 is a diagram showing an example of the file holding information 100b stored in the holding server storage unit 100. As shown in FIG. As shown in the figure, the file holding information 100b according to the present embodiment includes a “file path”, a “server name”, and a “flag”.
[0145] 「ファイルパス」は、各サーバが保持して!/、る電子ファイルのパスを内容とする。電子 ファイルのパスは、図 2を参照して説明したように、分散ファイル管理装置 10による管 理される全てのサーバにお 、て共通である。 [0145] "File path" contains the path of the electronic file held by each server! /. The electronic file path is common to all servers managed by the distributed file management apparatus 10 as described with reference to FIG.
[0146] 「サーバ名」は、管理サーバ情報 100aの「サーバ名」と同様のサーバの名称を内容 とする。ファイル保持情報 100bの「サーバ名」は、「ファイルパス」に示される電子ファ ィルに対応付けられている。ファイル保持情報 100bの「サーバ名」には、対応する「 ファイルパス」により示される電子ファイルを保持している全てのサーバの名称が格納 される。 [0146] "Server name" contains the same server name as the "server name" in the management server information 100a. The “server name” of the file holding information 100b is associated with the electronic file indicated by “file path”. In the “server name” of the file holding information 100b, the names of all servers holding the electronic file indicated by the corresponding “file path” are stored.
[0147] 本図は、例えば、「ファイルパス」が「ZdataZa」により示される電子ファイル、すな わち、「ファイル a」または「ファイル a— 2」を保持するサーノくが、サーバ A20とサーバ B30とであることを示す。 [0147] This figure shows, for example, an electronic file whose "file path" is indicated by "ZdataZa", that is, a server that holds "file a" or "file a-2". Indicates B30.
[0148] 「フラグ」は、各サーバが保持する電子ファイルが最新の内容である力否かを示すフ
ラグを内容とする。本実施の形態では、各サーバが保持する電子ファイルが最新の 内容である場合に「1」が、最新の内容ではな ヽ場合に「0」が格納される。 “Flag” is a flag indicating whether or not the electronic file held by each server has the latest content. The contents are rugs. In the present embodiment, “1” is stored when the electronic file held by each server has the latest contents, and “0” is stored when the electronic file does not have the latest contents.
[0149] 本図は、例えば、「ファイルパス」が「ZdataZa」により示される電子ファイルについ て、「サーバ A」が保持する電子ファイルの「フラグ」は「0」であり、「サーバ B」が保持 する電子ファイルの「フラグ」は「 1」であることを示す。 In this figure, for example, for an electronic file whose “file path” is indicated by “ZdataZa”, the “flag” of the electronic file held by “server A” is “0”, and “server B” is Indicates that the “flag” of the stored electronic file is “1”.
[0150] すなわち、「サーバ A」が保持する電子ファイルは、図 3Aに示すように「ZdataZa」 である。また、「サーバ B」が保持する電子ファイルは、図 3Bに示すように「ZdataZa —2」である。このように「フラグ」は、 「ZdataZa」により特定される電子ファイルにつ き「サーバ B」が「サーバ A」より新しい内容を含むことを示して 、る。 That is, the electronic file held by “server A” is “ZdataZa” as shown in FIG. 3A. The electronic file held by “Server B” is “ZdataZa-2” as shown in FIG. 3B. Thus, the “flag” indicates that “server B” contains newer content than “server A” for the electronic file specified by “ZdataZa”.
[0151] ここ力 、図 5の説明に戻る。 [0151] This force returns to the explanation of FIG.
[0152] 問合受付部 102は、サーバからのユーザの要求に係る電子ファイルを保持するサ ーバに関する問い合わせを受け付ける部位である。 The inquiry reception unit 102 is a part that receives an inquiry about a server that holds an electronic file related to a user request from a server.
[0153] 保持サーバ判断部 104は、保持サーバ記憶部 100を参照することにより、問合受 付部 102が受け付けた問い合わせに係る最新の電子ファイルを保持するサーバを判 断する部位である。 Retention server determination unit 104 is a part that refers to retention server storage unit 100 to determine a server that holds the latest electronic file related to the inquiry received by inquiry reception unit 102.
[0154] 保持応答送信部 106は、アクセス元サーバ力 ユーザの要求に係る最新の電子フ アイルを保持して 、る力否かを応答する部位である。 [0154] The holding response transmission unit 106 is a part that holds the latest electronic file according to the request of the access source server power user and responds whether or not the power is correct.
[0155] ファイル送信要求部 108は、保持サーバ判断部 104の判断に従って、保持サーバ 力 アクセス元サーバへのユーザの要求に関連する電子ファイルの送信を要求する 部位である。 The file transmission request unit 108 is a part that requests transmission of an electronic file related to a user request to the holding server power access source server in accordance with the determination of the holding server determination unit 104.
[0156] 更新通知受付部 110は、サーバが備えるファイル記憶部に新たな電子ファイルが 格納され、または、ファイル記憶部が記憶している電子ファイルが更新されたことを内 容とする通知を、サーバから受け付ける部位である。 [0156] The update notification accepting unit 110 stores a notification that the new electronic file is stored in the file storage unit included in the server or that the electronic file stored in the file storage unit is updated. It is a part received from the server.
[0157] 保持情報更新部 112は、更新通知受付部 110が受け付けた通知の内容に従って[0157] The stored information updating unit 112 follows the content of the notification received by the update notification receiving unit 110.
、保持サーバ記憶部 100が記憶して 、るファイル保持情報 100bを更新する部位で ある。 The storage server storage unit 100 stores and updates the file storage information 100b.
[0158] 更新完了通知部 114は、前記保持情報更新部 112による保持サーバ記憶部 100 の更新が完了したことを内容とする通知を、サーバ 20に送信する部位である。
[0159] ロック要求受信部 116は、サーバ 20から送信されるロックの要求を受信する部位で ある。 The update completion notification unit 114 is a part that transmits to the server 20 a notification that indicates that the update of the holding server storage unit 100 by the holding information update unit 112 has been completed. [0159] The lock request receiving unit 116 is a part that receives a lock request transmitted from the server 20.
[0160] ロック情報保持部 118は、ロック要求受信部 116が受信したロック要求に関連する 電子ファイルを示す情報を、その電子ファイルに関連して保持情報更新部 112が実 行する処理が完了するまで、一時的に記憶保持する部位である。 [0160] The lock information holding unit 118 completes the process of the information indicating the electronic file related to the lock request received by the lock request receiving unit 116 and executed by the holding information update unit 112 related to the electronic file. Up to this point, the part is temporarily stored.
[0161] 以上のような機能を分散ファイル管理装置 10および各サーバ 20、 30、 40が備える ことにより、ユーザは、自己の利用する端末 60、 65からいずれのサーバにアクセスす るかにかかわらず、各サーバ 20、 30、 40のいずれかが電子ファイルを保持している 限り、その電子ファイルを取得することが可能となる。また、ユーザの取得要求に係る 電子ファイルについて、複数のサーバが内容の新旧が異なる電子ファイルを保持し ている場合には、ユーザは、いずれのサーバが最新の内容を有する電子ファイルを 保持しているかを意識することなぐまた、任意のサーバにアクセスすることにより、最 新の内容を有する電子ファイルを取得することが可能となる。 [0161] Since the distributed file management device 10 and each server 20, 30, 40 have the above functions, the user can access any of the servers from the terminals 60, 65 used by the user. As long as each of the servers 20, 30, and 40 holds an electronic file, the electronic file can be acquired. In addition, regarding the electronic file related to the user's acquisition request, when multiple servers hold electronic files with different contents, the user holds which electronic file has the latest contents. In addition, it is possible to obtain an electronic file having the latest contents by accessing an arbitrary server.
[0162] ユーザが端末 60、 65を利用して取得要求または書込要求を送信した場合に、分 散ファイル管理装置 10および各サーバ 20、 30、 40において実行される一連の処理 について、図 8および図 9を参照して説明する。 FIG. 8 shows a series of processes executed in the distributed file management device 10 and each server 20, 30, 40 when the user transmits an acquisition request or a write request using the terminals 60, 65. This will be described with reference to FIG.
[0163] 図 8は、ユーザが端末 60、 65から取得要求を送信した場合に、本発明の実施の形 態 1に係る分散ファイル管理システムを構成する各装置にぉ ヽて実行される処理の 一例を示すタイムチャートである。 [0163] FIG. 8 is a diagram of processing executed by each device constituting the distributed file management system according to the first embodiment of the present invention when the user transmits an acquisition request from the terminals 60 and 65. It is a time chart which shows an example.
[0164] 本図に示す「端末」はユーザが利用する端末であり、本実施の形態においては端 末 a60または端末 b65の!、ずれかである。 [0164] The "terminal" shown in this figure is a terminal used by the user, and in this embodiment, it is the difference between the terminal a60 or the terminal b65.
[0165] また、本図に示す「アクセス元サーノ は、ユーザが利用する端末 60 (65)がユーザ の要求を送信する送信先となるサーバである。本実施の形態におけるアクセス元サ ーバは、サーバ A20、サーバ B30またはサーバ C40のいずれか 1つである。 In addition, “access source sano” is a server that is a transmission destination to which the terminal 60 (65) used by the user transmits a user request. The access source server in the present embodiment is , Server A20, Server B30, or Server C40.
[0166] さらに、本図に示す「保持サーバ」は、アクセス元サーバを除ぐユーザの要求に係 る電子ファイルを保持して 、るサーバである。本実施の形態における保持サーバは、 サーバ A20、サーバ B30またはサーバ C40の!、ずれかが候補となる。 Furthermore, the “holding server” shown in the figure is a server that holds an electronic file related to a user request excluding the access source server. The holding server in the present embodiment is a candidate for the server A20, server B30, or server C40!
[0167] まず、アクセス元サーバ 20 (30、 40)のユーザ要求受信部 71は、ユーザが利用す
る端末 60 (65)力も送信された取得要求を、通信回線 50を介して受信する(S101)。 ここで、「取得要求」とは、ユーザの指定に係る電子ファイルであって、最新の内容を 有する電子ファイルをユーザが利用する端末が取得する要求である。 First, the user request receiving unit 71 of the access source server 20 (30, 40) is used by the user. The acquisition request transmitted by the terminal 60 (65) is received via the communication line 50 (S101). Here, the “acquisition request” is an electronic file related to the user's designation, and is a request for a terminal used by the user to acquire an electronic file having the latest contents.
[0168] 続けて、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、 その要求が「取得要求」と「書込要求」とのいずれであるかを判断する。本図は、取得 要求に係る処理のタイムチャートであるため、この判断を省略している。 [0168] Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71, and determines whether the request is an "acquisition request" or a "write request". Since this figure is a time chart of processing related to an acquisition request, this determination is omitted.
[0169] 続けて、保持サーバ問合部 79が分散ファイル管理装置 10に保持サーバを問合せ ると、問合受付部 102は保持サーバの問合わせを受け付ける(S102)。 Subsequently, when the holding server inquiry unit 79 inquires the distributed file management apparatus 10 about the holding server, the inquiry receiving unit 102 receives an inquiry of the holding server (S102).
[0170] 続けて、保持サーバ判断部 104は、保持サーバ記憶部 100のファイル保持情報 10 Obを参照することにより、アクセス元サーバが保持サーバである力否かを判断する(S 103)。 Subsequently, the holding server determination unit 104 determines whether or not the access source server is a holding server by referring to the file holding information 10 Ob of the holding server storage unit 100 (S 103).
[0171] まず、アクセス元サーバが保持サーバであると判断した場合 (S103で Yes)、続け て、保持応答送信部 106はアクセス元サーバが保持サーバであることを内容とする 通知 (以下、「保持通知」という。)を送信し、保持応答受信部 81は保持通知を受信 する(S 104)。 [0171] First, if it is determined that the access source server is a holding server (Yes in S103), then the holding response transmission unit 106 notifies that the access source server is the holding server (hereinafter referred to as " The holding response receiving unit 81 receives the holding notification (S104).
[0172] 続けて、ファイル記憶制御部 77は、自身のファイル記憶部 25 (35、 45)から、取得 要求に係る電子ファイルを読み出す (S105)。ここで、「自身の」とは、動作の主体と なる部位を備えるサーバと同一のサーバが備える別の部位であることを示す。 Subsequently, the file storage control unit 77 reads the electronic file related to the acquisition request from its own file storage unit 25 (35, 45) (S105). Here, “own” indicates that the same server is another part provided in the same server as the server provided with the part that is the subject of the operation.
[0173] 続けて、ユーザ要求応答部 95は、電子ファイルをファイル記憶制御部 77から取得 し、ユーザが利用する端末 60 (65)に送信し (S 106)、処理を終了する。 [0173] Subsequently, the user request response unit 95 acquires the electronic file from the file storage control unit 77, transmits it to the terminal 60 (65) used by the user (S106), and ends the process.
[0174] また、アクセス元サーバが保持サーバでないと判断した場合 (S 103で No)、続けて[0174] If it is determined that the access source server is not a holding server (No in S103), continue
、保持サーバ判断部 104は保持サーバがあるか否かを判断する(S107)。 The holding server determination unit 104 determines whether there is a holding server (S107).
[0175] まず、保持サーバがないと判断した場合 (S107で No)、続けて、保持応答送信部 1[0175] First, when it is determined that there is no holding server (No in S107), the holding response transmission unit 1 continues.
06は保持サーバがないことを内容とする通知(以下、「不保持通知」という。)を送信 し、保持応答受信部 81は不保持通知を受信する(S 108)。 06 transmits a notification (hereinafter referred to as “non-holding notification”) indicating that there is no holding server, and the holding response receiving unit 81 receives the non-holding notification (S 108).
[0176] 続けて、ユーザ要求応答部 95は、不保持通知をファイル記憶制御部 77を介して取 得すると、取得要求を送信した端末 60 (65)に不保持通知を送信して(S 109)、処理 を終了する。
[0177] また、保持サーバがあると判断した場合 (S107で Yes)、続けて、ファイル送信要求 部 108は保持サーバにファイル送信要求を送信し、保持サーバのファイル送信要求 受信部 83はファイル送信要求を受信する(S 110)。 [0176] Subsequently, when the user request response unit 95 acquires the non-holding notification via the file storage control unit 77, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that has transmitted the acquisition request (S109). ), The process is terminated. [0177] If it is determined that there is a holding server (Yes in S107), then the file transmission request unit 108 sends a file transmission request to the holding server, and the file transmission request receiving unit 83 of the holding server sends a file. A request is received (S 110).
[0178] ここで、「ファイル送信要求」とは、特定の電子ファイルを保持するサーバに、その電 子ファイルを他のサーバへ送信する要求である。 [0178] Here, the "file transmission request" is a request for transmitting the electronic file to another server to the server holding the specific electronic file.
[0179] 続けて、保持サーバのファイル記憶制御部 77は、ファイル送信要求に関連する電 子ファイルを自身のファイル記憶部 25、 35、 45から読み出す(S111)。 [0179] Subsequently, the file storage control unit 77 of the holding server reads the electronic file related to the file transmission request from its own file storage unit 25, 35, 45 (S111).
[0180] 続けて、保持サーバのファイル送信部 85は、ファイル記憶制御部 77が読み出した 電子ファイルをアクセス元サーバに送信し、アクセス元サーバのファイル受信部 87は その電子ファイルを受信する(S 112)。 [0180] Subsequently, the file transmission unit 85 of the holding server transmits the electronic file read by the file storage control unit 77 to the access source server, and the file reception unit 87 of the access source server receives the electronic file (S 112).
[0181] 続けて、アクセス元サーバのユーザ要求応答部 95は、自身のファイル記憶制御部 [0181] Subsequently, the user request response unit 95 of the access source server has its own file storage control unit.
77を介して、ユーザの取得要求に関連する電子ファイルを取得し、その電子ファイル をユーザが利用する端末 60 (65)に送信する(S 113)。 The electronic file related to the user's acquisition request is acquired via 77, and the electronic file is transmitted to the terminal 60 (65) used by the user (S113).
[0182] 続けて、アクセス元サーバのファイル記憶制御部 77は、ファイル受信部 87が受信し た電子ファイルを自身のファイル記憶部 25、 35、 45に格納する(S 114)。 Subsequently, the file storage control unit 77 of the access source server stores the electronic file received by the file reception unit 87 in its file storage unit 25, 35, 45 (S114).
[0183] 続けて、更新通知部 91は、分散ファイル管理装置 10が備える保持サーバ記憶部 1[0183] Subsequently, the update notification unit 91 is a holding server storage unit 1 included in the distributed file management device 10.
00のファイル保持情報 100bを更新することを内容とする通知(以下、「更新通知」と いう。)を送信し、分散ファイル管理装置 10の更新通知受付部 110は更新通知を受 け付ける(S 115)。 A notification (hereinafter referred to as “update notification”) that updates the file holding information 100b of 00 is transmitted, and the update notification receiving unit 110 of the distributed file management apparatus 10 receives the update notification (S 115).
[0184] ここでの「更新通知」は、より具体的には、ファイル保持情報 100bに、アクセス元サ ーノ 20、 30、 40のフアイノレ記'隐咅 25、 35、 45に新たな電子フアイノレ力 ^格糸内されたこ と、または、電子ファイルが更新されたことを内容とする通知である。 [0184] More specifically, the "update notification" here indicates that the file storage information 100b contains the new electronic finalization information in the access source storages 20, 30, and 40 in the finalization records 25, 35, and 45. This is a notification that the content has been updated or that the electronic file has been updated.
[0185] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 100のファイル保持情報 100bを更新し (S116)、処理を終 了する。 Subsequently, the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116), and ends the process.
[0186] 図 9は、ユーザが端末 60、 65から書込要求を送信した場合に、本発明の実施の形 態 1に係る分散ファイル管理システムを構成する各装置にぉ ヽて実行される処理の 一例を示すタイムチャートである。
[0187] 本実施の形態では、書込要求が「更新要求」である場合と「格納要求」である場合と で、各装置が実行する処理および各装置間で送受信される情報は同様である。 [0186] Fig. 9 shows the processing that is executed by each device constituting the distributed file management system according to the first embodiment of the present invention when the user transmits a write request from the terminals 60 and 65. It is a time chart which shows an example of. In the present embodiment, the processing executed by each device and the information transmitted / received between the devices are the same when the write request is an “update request” and when it is a “storage request”. .
[0188] 本図に示す「端末」および「アクセス元サーノ は、図 8に示す「端末」および「ァクセ ス元サーバ」と同様であるため、ここでの説明は省略する。 [0188] The "terminal" and "access source Sano" shown in this figure are the same as the "terminal" and "access source server" shown in FIG.
[0189] まず、アクセス元サーバ 20 (30、 40)のユーザ要求受信部 71は、ユーザが利用す る端末 60 (65)力も送信された書込要求を、通信回線 50を介して受信する(S201)。 ここで、「書込要求」とは、アクセス元サーバが保持している電子ファイルを更新し、ま たは、アクセス元サーバに新たな電子ファイルを保持させる要求を内容とする情報で ある。 [0189] First, the user request receiving unit 71 of the access source server 20 (30, 40) receives, via the communication line 50, the write request to which the terminal 60 (65) used by the user is also transmitted ( S201). Here, the “write request” is information including a request to update an electronic file held by the access source server or to hold a new electronic file in the access source server.
[0190] 続けて、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、 その要求が「取得要求」と「書込要求」とのいずれであるかを判断する。本図は、書込 要求に係る処理のタイムチャートであるため、この判断を省略している。 Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71 and determines whether the request is an “acquisition request” or a “write request”. Since this figure is a time chart of processing related to a write request, this determination is omitted.
[0191] 続けて、要求種別判断部 73は、要求情報保持部 75に書込要求に係る電子フアイ ルを保持させる(S202)。 Subsequently, the request type determining unit 73 causes the request information holding unit 75 to hold the electronic file related to the write request (S202).
[0192] 続けて、まず、ロック要求送信部 89は、取得した要求が書込要求であるという要求 種別判断部 73の判断を受けて、その書込要求に係る電子ファイルに関連する書込 要求を排除する要求 (以下、「ロック要求」という。)を分散ファイル管理装置 10に送信 し、ロック要求受信部 116はロック要求を受信する(S203)。 [0192] Subsequently, the lock request transmission unit 89 first receives a determination from the request type determination unit 73 that the acquired request is a write request, and receives a write request related to the electronic file related to the write request. A request (hereinafter referred to as “lock request”) is sent to the distributed file management apparatus 10, and the lock request receiving unit 116 receives the lock request (S203).
[0193] 続けて、ロック要求受信部 116は、受信したロック要求に係る電子ファイルに関する 情報をロック情報保持部 118に保持させることにより、ロックする(S204)。 Subsequently, the lock request receiving unit 116 locks the lock information holding unit 118 by holding information about the electronic file related to the received lock request (S204).
[0194] また、ファイル記憶制御部 77は、取得した要求が書込要求であるという要求種別判 断部 73の判断を受けて、要求情報保持部 75が保持して ヽる電子ファイルを取得し、 取得したその電子ファイルを、自身のファイル記憶部 25、 35、45に書き込む 205 [0194] Further, the file storage control unit 77 acquires the electronic file held by the request information holding unit 75 in response to the determination by the request type determining unit 73 that the acquired request is a write request. Write the acquired electronic file to its own file storage unit 25, 35, 45 205
) o ) o
[0195] 続けて、ファイル記憶制御部 77は、書き込みが完了したか否かを判断する(S206) Subsequently, the file storage control unit 77 determines whether or not the writing has been completed (S206).
[0196] まず、書き込みが完了していないと判断した場合 (S206で No)、更新通知部 91は 待機する。
[0197] また、書き込みが完了したと判断した場合 (S206で Yes)、更新通知部 91は、ファ ィル記憶制御部 77から完了の通知を受けて、分散ファイル管理装置 10に更新通知 を送信し、分散ファイル管理装置 10の更新通知受付部 110は更新通知を受け付け る(S207)。 First, when it is determined that writing has not been completed (No in S206), the update notification unit 91 waits. [0197] If it is determined that the writing has been completed (Yes in S206), the update notification unit 91 receives a notification of completion from the file storage control unit 77 and transmits an update notification to the distributed file management apparatus 10. Then, the update notification receiving unit 110 of the distributed file management apparatus 10 receives the update notification (S207).
[0198] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 100のファイル保持情報 100bを更新する(S116)。 Subsequently, the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116).
[0199] 続けて、保持情報更新部 112は、ロック情報保持部 118が保持している情報を消 去することにより、ロックを解除する(S209)。 Subsequently, the retained information updating unit 112 releases the lock by deleting the information retained by the lock information retaining unit 118 (S209).
[0200] 続けて、更新完了通知部 114は、ファイル記憶制御部 77から完了の通知を受けて 、更新処理の完了をアクセス元サーバに通知し、アクセス元サーバの完了通知受信 部 93は完了の通知を受信する(S210)。 [0200] Subsequently, the update completion notification unit 114 receives the completion notification from the file storage control unit 77, notifies the access source server of the completion of the update processing, and the access source server completion notification reception unit 93 A notification is received (S210).
[0201] 続けて、アクセス元サーバのユーザ要求応答部 95は、完了通知受信部 93が完了 の通知を受信したことを受けて、ユーザの書込要求に関連する処理が完了したことを ユーザが利用する端末 60 (65)に送信して(S211)、処理を終了する。 [0201] Subsequently, the user request response unit 95 of the access source server receives that the completion notification receiving unit 93 has received the completion notification, and that the user has completed processing related to the user's write request. The data is transmitted to the terminal 60 (65) to be used (S211), and the process is terminated.
[0202] 以上が、本発明の実施の形態 1に係る分散ファイル管理システムを構成する各装 置において実行される処理である。続けて、サーバ A20が端末 a60からファイル aの 取得要求を受け付け、さらにその後に、サーバ A20が保持するファイル aの更新要求 を受け付けた場合を例に、本発明の実施の形態 1に係る分散ファイル管理システム を構成する各装置において実行される処理について、図 10から図 15までを参照して より具体的に説明する。 [0202] The above is the processing executed in each device configuring the distributed file management system according to Embodiment 1 of the present invention. Subsequently, the distributed file according to Embodiment 1 of the present invention is exemplified by a case where server A20 receives an acquisition request for file a from terminal a60 and then receives an update request for file a held by server A20. The processing executed in each device constituting the management system will be described more specifically with reference to FIGS.
[0203] 図 10は、サーバ A20が端末 a60からファイル aの取得要求を受け付けた場合に、 分散ファイル管理装置 10と、サーバ A20と、サーバ B30と、端末 a60とにおいて実行 される処理およびこれらの装置間で送受信される情報の例を示すタイムチャートであ る。 [0203] Fig. 10 shows the processes executed by the distributed file management device 10, the server A20, the server B30, and the terminal a60 when the server A20 receives an acquisition request for the file a from the terminal a60. 5 is a time chart showing an example of information transmitted / received between devices.
[0204] まず、アクセス元サーバであるサーバ A20のユーザ要求受信部 71は、ユーザが利 用する端末 a60から送信された取得要求を、通信回線 50を介して受信する(S101) 。ここでの「取得要求」は、ユーザが利用する端末 a60が最新の内容を有するフアイ ル aを取得する要求を内容とする情報である。
[0205] 続けて、要求種別判断部 73がユーザ要求受信部 71が受信した要求を取得し、そ の要求が取得要求であると判断し (図示しない)、続けて、保持サーバ問合部 79が分 散ファイル管理装置 10に保持サーバを問合せると、問合受付部 102は保持サーバ の問合わせを受け付ける(S 102)。 [0204] First, the user request receiving unit 71 of the server A20 that is the access source server receives the acquisition request transmitted from the terminal a60 used by the user via the communication line 50 (S101). The “acquisition request” here is information having a request for acquiring a file a having the latest contents by the terminal a60 used by the user. [0205] Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71, determines that the request is an acquisition request (not shown), and then continues to hold server inquiry unit 79. When the distributed file management apparatus 10 is inquired about the holding server, the inquiry receiving unit 102 receives an inquiry from the holding server (S102).
[0206] 続けて、保持サーバ判断部 104は、保持サーバ記憶部 100のファイル保持情報 10 Obを参照することにより、サーバ A20が保持サーバである力否かを判断する(S103) Subsequently, the holding server determination unit 104 determines whether or not the server A20 is a holding server by referring to the file holding information 10 Ob in the holding server storage unit 100 (S103).
[0207] ここで、ファイル保持情報 100bが図 7に示す内容である場合、サーバ A20は、「Z dataZa」により示されるファイル、すなわち、ファイル aを保持する力 「フラグ」が「0」 であり、サーバ A20は最新の内容のファイル aを保持していない。したがって、保持サ ーバ判断部 104は、サーバ A20が保持サーバではないと判断する(S 103で No)。 Here, when the file holding information 100b has the contents shown in FIG. 7, the server A20 has the file “Z dataZa”, that is, the force “flag” for holding the file “a” is “0”. Server A20 does not have file a with the latest contents. Therefore, the holding server determination unit 104 determines that the server A20 is not a holding server (No in S103).
[0208] アクセス元サーバであるサーバ A20が保持サーバでな!、と判断した場合(S 103で No)、続けて、保持サーバ判断部 104は保持サーバがある力否かを判断する(S107 [0208] If it is determined that the server A20 that is the access source server is not a holding server (No in S103), then the holding server determination unit 104 determines whether or not there is a holding server (S107).
) o ) o
[0209] ここで、ファイル保持情報 100bが図 7に示す内容である場合、サーバ B30は、「Zd ataZa」により示されるファイル、すなわち、ファイル aを保持し、「フラグ」が「1」である 。したがって、サーバ B30が保持サーバであり、保持サーバ判断部 104は保持サー バがあると判断する(S 107で Yes)。 Here, when the file holding information 100b has the contents shown in FIG. 7, the server B30 holds the file indicated by “Zd ataZa”, that is, the file a, and the “flag” is “1”. . Therefore, the server B30 is a holding server, and the holding server determination unit 104 determines that there is a holding server (Yes in S107).
[0210] また、保持サーバがあると判断した場合 (S 107で Yes)、続けて、ファイル送信要求 部 108は保持サーバであるサーバ B30にファイル aの送信要求を送信し、保持サー バのファイル送信要求受信部 83はファイル aの送信要求を受信する(S110)。 [0210] If it is determined that there is a holding server (Yes in S107), then the file transmission request unit 108 sends a transmission request for file a to server B30, which is the holding server, and the file on the holding server. The transmission request receiving unit 83 receives the transmission request for the file a (S110).
[0211] ここで、「ファイル aの送信要求」とは、ファイル aを保持するサーバ B30に、そのファ ィル aをサーバ A20へ送信する要求を内容とする。 [0211] Here, "file a transmission request" includes a request for transmitting file a to server A20 to server B30 holding file a.
[0212] 続けて、サーバ B30のファイル記憶制御部 77は、ファイル aを自身のファイル記憶 部 35から読み出す (Sl l l)。 [0212] Subsequently, the file storage control unit 77 of the server B30 reads the file a from its own file storage unit 35 (Sl l l).
[0213] 続けて、サーバ B30のファイル送信部 85は、ファイル aをアクセス元サーバであるサ ーバ A20に送信し、サーバ A20のファイル受信部 87はファイル aを受信する(S112 [0213] Subsequently, the file transmission unit 85 of the server B30 transmits the file a to the server A20 that is the access source server, and the file reception unit 87 of the server A20 receives the file a (S112).
) o
[0214] 続けて、サーバ A20のユーザ要求応答部 95は、自身のファイル記憶制御部 77を 介してファイル aを取得し、取得したファイル aをユーザが利用する端末 a60に送信す る(S113)。 ) o [0214] Subsequently, the user request response unit 95 of the server A20 acquires the file a via its own file storage control unit 77, and transmits the acquired file a to the terminal a60 used by the user (S113). .
[0215] 続けて、サーバ A20のファイル記憶制御部 77は、取得したファイル aを自身のファ ィル記憶部 25に格納する(S114)。 [0215] Subsequently, the file storage control unit 77 of the server A20 stores the acquired file a in its own file storage unit 25 (S114).
[0216] ここで、図 11は、端末 a60からファイル aの取得要求を受け付けたサーバ A20のフ アイル記憶部 25が記憶して 、る電子ファイル情報 25aを示す図である。サーバ A20 のファイル記憶部 25が記憶しているファイル情報 25aの初期状態を示す図 3Aの「a」 力 本図では「a— 2」に更新されている。 Here, FIG. 11 is a diagram showing the electronic file information 25a stored in the file storage unit 25 of the server A20 that has received the acquisition request for the file a from the terminal a60. “A” force in FIG. 3A showing the initial state of the file information 25a stored in the file storage unit 25 of the server A20 is updated to “a-2” in this figure.
[0217] ここ力も、図 10の説明に戻る。 [0217] This force also returns to the explanation of FIG.
[0218] 続けて、更新通知部 91は更新通知を送信し、分散ファイル管理装置 10の更新通 知受付部 110は更新通知を受け付ける(S 115)。 Subsequently, the update notification unit 91 transmits an update notification, and the update notification reception unit 110 of the distributed file management apparatus 10 receives the update notification (S 115).
[0219] ここでの「更新通知」は、ファイル保持情報 100bに、サーバ A20のファイル記憶部[0219] The "update notification" here includes the file storage information 100b and the file storage unit of the server A20.
25にファイル aが更新されたことを内容とする通知である。 25 is a notification that file a has been updated.
[0220] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 100のファイル保持情報 100bを更新し (S116)、処理を終 了する。 [0220] Subsequently, the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116), and ends the process.
[0221] ここで、図 12は、サーバ A20が端末 a60からファイル aの取得要求を受け付けた場 合に、更新通知に従って更新されたファイル保持情報 100bを示す図である。フアイ ル保持情報 100bの初期状態を示す図 7の「ZdataZa」に対応する「サーバ A」の「 フラグ」の「0」力 本図では「1」に更新されて 、る。 Here, FIG. 12 is a diagram showing the file holding information 100b updated in accordance with the update notification when the server A20 receives the acquisition request for the file a from the terminal a60. “0” force of “flag” of “server A” corresponding to “ZdataZa” in FIG. 7 showing the initial state of the file holding information 100b is updated to “1” in this figure.
[0222] 以上が、サーバ A20が端末 a60からファイル aの取得要求を受け付けた場合に、分 散ファイル管理装置 10と、サーバ A20と、サーバ B30と、端末 a60とにおいて実行さ れる処理およびこれらの装置間で送受信される情報である。この後に、サーバ A20 が保持するファイル aの更新要求を受け付けた場合に、分散ファイル管理装置 10と、 サーバ A20と、サーバ B30と、端末 a60とにおいて実行される処理およびこれらの装 置間で送受信される情報について、続けて説明する。 [0222] The above is the process executed by the distributed file management device 10, the server A20, the server B30, and the terminal a60 when the server A20 receives the acquisition request for the file a from the terminal a60, and these Information transmitted and received between devices. After that, when an update request for file a held by server A20 is received, processing executed in distributed file management device 10, server A20, server B30, and terminal a60 and transmission / reception between these devices The information to be described will be described subsequently.
[0223] 図 13は、サーバ A20が端末 a60からファイル aの取得要求を受け付けた後に、サー
バ A20が保持するファイル aの更新要求を受け付けた場合に、分散ファイル管理装 置 10と、サーバ A20と、サーバ B30と、端末 a60とにおいて実行される処理およびこ れらの装置間で送受信される情報の例を示すタイムチャートである。 [0223] Figure 13 shows the server A20 after receiving an acquisition request for the file a from the terminal a60. When an update request for file a held by server A20 is accepted, the processing executed on distributed file management device 10, server A20, server B30, and terminal a60, and transmission / reception between these devices 5 is a time chart showing an example of information.
[0224] まず、アクセス元サーバであるサーバ A20のユーザ要求受信部 71は、ユーザが利 用する端末 a60から送信された書込要求を、通信回線 50を介して受信する(S201) 。ここでの「書込要求」は、サーバ Aが保持しているファイル aを更新する要求を内容と する情報である。 [0224] First, the user request receiving unit 71 of the server A20 that is the access source server receives the write request transmitted from the terminal a60 used by the user via the communication line 50 (S201). Here, the “write request” is information including a request to update the file a held by the server A.
[0225] 続けて、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、 その要求が書込要求であると判断し(図示しない)、続けて、要求種別判断部 73は、 要求情報保持部 75にファイル aを保持させる(S202)。 Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71, determines that the request is a write request (not shown), and then continues with the request type determination unit 73. Causes the request information holding unit 75 to hold the file a (S202).
[0226] 続けて、まず、ロック要求送信部 89は、取得した要求が書込要求であるという要求 種別判断部 73の判断を受けて、その書込要求に係る電子ファイルであるファイル aの ロック要求を分散フアイル管理装置 10に送信し、ロック要求受信部 116はロック要求 を受信する(S203)。 Subsequently, first, the lock request transmission unit 89 receives the determination of the request type determination unit 73 that the acquired request is a write request, and locks the file a that is an electronic file related to the write request. The request is transmitted to the distributed file management apparatus 10, and the lock request receiving unit 116 receives the lock request (S203).
[0227] 続けて、ロック要求受信部 116は、受信したロック要求に係る電子ファイルであるフ アイル aに関する情報をロック情報保持部 118に保持させることにより、ロックする(S2 04)。 [0227] Subsequently, the lock request receiving unit 116 locks the lock information holding unit 118 by holding information about the file a that is the electronic file related to the received lock request (S204).
[0228] また、ファイル記憶制御部 77は、取得した要求が書込要求であるという要求種別判 断部 73の判断を受けて、要求情報保持部 75が保持しているファイル aを取得し、取 得したファイル aを、自身のファイル記憶部 25、 35、45に書き込む 205)。 [0228] Further, the file storage control unit 77 receives the determination of the request type determination unit 73 that the acquired request is a write request, acquires the file a held by the request information holding unit 75, and The obtained file a is written into its own file storage unit 25, 35, 45 (205).
[0229] ここで、図 14は、端末 a60からファイル aの更新要求により更新されたサーバ A20の ファイル記憶部 25が記憶して 、る電子ファイル情報 25aを示す図である。ファイル a の取得要求を受け付けたサーバ A20のファイル記憶部 25が記憶しているファイル情 報 25aを示す図 11の「a— 2」力 本図では「a— 3」に更新されて 、る。 Here, FIG. 14 is a diagram showing the electronic file information 25a stored in the file storage unit 25 of the server A20 updated by the update request for the file a from the terminal a60. “A-2” power in FIG. 11 showing the file information 25a stored in the file storage unit 25 of the server A20 that has received the acquisition request for the file a is updated to “a-3” in this figure.
[0230] ここ力 、図 13の説明に戻る。 [0230] Return here to the explanation of FIG.
[0231] 続けて、ファイル記憶制御部 77は、書き込みが完了したか否かを判断する(S206) [0232] まず、書き込みが完了して!/、な 、と判断した場合 (S206で No)、ファイル記憶制御
部 77は完了まで書き込みを継続する。 [0231] Subsequently, the file storage control unit 77 determines whether or not the writing is completed (S206). [0232] First, if it is determined that the writing is completed! /, (No in S206) , File storage control Part 77 continues writing until completion.
[0233] また、書き込みが完了したと判断した場合 (S206で Yes)、更新通知部 91は、ファ ィル記憶制御部 77から完了の通知を受けて、サーバ A20のファイル記憶部 25のフ アイル aを更新したことを内容とする更新通知を分散ファイル管理装置 10に送信し、 分散ファイル管理装置 10の更新通知受付部 110は、その更新通知を受け付ける(S 207) o [0233] If it is determined that the writing has been completed (Yes in S206), the update notification unit 91 receives a notification of completion from the file storage control unit 77, and the file storage unit 25 of the server A20 receives a file. An update notification that indicates that a is updated is transmitted to the distributed file management apparatus 10, and the update notification reception unit 110 of the distributed file management apparatus 10 receives the update notification (S207) o
[0234] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 100のファイル保持情報 100bを更新する(S116)。 Subsequently, the holding information update unit 112 updates the file holding information 100b in the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 110 (S116).
[0235] 続けて、保持情報更新部 112は、ロック情報保持部 118が保持しているファイル a に関連する情報を消去することにより、ロックを解除する(S 209)。 Subsequently, the retained information update unit 112 releases the lock by deleting the information related to the file a retained by the lock information retaining unit 118 (S 209).
[0236] 続けて、更新完了通知部 114は、ファイル記憶制御部 77から完了の通知を受けて 、更新処理の完了をアクセス元サーバであるサーバ A20に通知し、サーバ A20の完 了通知受信部 93は完了の通知を受信する(S210)。 [0236] Subsequently, the update completion notification unit 114 receives the completion notification from the file storage control unit 77, notifies the server A20 that is the access source server of the completion of the update process, and the server A20 completion notification reception unit. 93 receives a notification of completion (S210).
[0237] 続けて、サーバ A20のユーザ要求応答部 95は、完了通知受信部 93が完了の通 知を受信したことを受けて、ユーザの書込要求に関連する処理が完了したことをユー ザが利用する端末 a60に送信して(S211)、処理を終了する。 [0237] Subsequently, the user request response unit 95 of the server A20 confirms that the processing related to the user's write request has been completed in response to the completion notification receiving unit 93 receiving the notification of completion. Is transmitted to the terminal a60 used by the client (S211), and the process is terminated.
[0238] ここで、図 15は、サーバ A20が端末 a60からファイル aの更新要求を受け付けた場 合に、更新通知に従って更新されたファイル保持情報 100bを示す図である。フアイ ル aの取得要求を受け付けた後のファイル保持情報 100bを示す図 12の「ZdataZa 」に対応する「サーバ B」の「フラグ」の「1」力 本図では「0」に更新されて!、る。 Here, FIG. 15 is a diagram showing the file holding information 100b that is updated according to the update notification when the server A20 receives an update request for the file a from the terminal a60. “1” power of “flag” of “server B” corresponding to “ZdataZa” in FIG. 12 showing the file holding information 100b after accepting the acquisition request of file a is updated to “0” in this figure! RU
[0239] 以上が、サーバ A20が端末 a60からファイル aの取得要求を受け付け、さらにその 後に、サーバ A20が保持するファイル aの更新要求を受け付けた場合に、本発明の 実施の形態 1に係る分散ファイル管理システムを構成する各装置にぉ ヽて実行され る処理である。 [0239] The above is the distribution according to Embodiment 1 of the present invention when server A20 accepts an acquisition request for file a from terminal a60 and then accepts an update request for file a held by server A20. This is a process that is executed by each device constituting the file management system.
[0240] 続けて、図 16から図 18までを参照して、ユーザが利用する端末 60 (65)に接続さ れたモニタに表示される入力画面および結果の表示画面の例を説明する。 [0240] Next, an example of the input screen and the result display screen displayed on the monitor connected to the terminal 60 (65) used by the user will be described with reference to FIGS.
[0241] 図 16は、ユーザが利用する端末 60 (65)に接続されたモニタに表示される、ユーザ が特定のファイルに対する要求を入力するための画面の例を示す図である。ユーザ
は、本図に示す画面表示を見て、取得要求や書込要求をサーバに送信する。 FIG. 16 is a diagram showing an example of a screen for a user to input a request for a specific file, which is displayed on a monitor connected to the terminal 60 (65) used by the user. User Sees the screen display shown in the figure and sends an acquisition request and a write request to the server.
[0242] 本図に例示する入力画面 200は、ファイル構成表示部 202と、選択ファイル表示部 204と、取得ボタン 206と、書込ファイル入力部 208と、書込ボタン 210とから構成さ れる。 [0242] The input screen 200 illustrated in the figure includes a file configuration display unit 202, a selected file display unit 204, an acquisition button 206, a write file input unit 208, and a write button 210.
[0243] ファイル構成表示部 202は、分散ファイル管理装置 10の管理対象である各サーバ 20、 30、 40における電子ファイルのパスを表示する部分である。 The file configuration display unit 202 is a part that displays the path of the electronic file in each of the servers 20, 30, and 40 that are managed by the distributed file management apparatus 10.
[0244] ファイル構成表示部 202に表示される内容は、図 2に示す電子ファイルのノ スと同 様の構成であり、端末 60 (65)力もサーバ 20、 30、 40を介して分散ファイル管理装 置 10のファイル保持情報 100bにアクセスすることにより、取得される。 [0244] The content displayed in the file structure display unit 202 is the same structure as the electronic file nose shown in FIG. 2, and the terminal 60 (65) power is also distributed file management via the servers 20, 30, 40. Acquired by accessing the file holding information 100b of the device 10.
[0245] ユーザはファイル構成表示部 202に表示される電子ファイルをマウス等の入力機器 を利用して、取得要求または書込要求に関連する電子ファイルを選択する。本図の ファイル構成表示部 202は、ファイル aにカーソルがあたっており、ファイル aが選択さ れている例を示す。 [0245] The user selects an electronic file related to the acquisition request or the write request using an input device such as a mouse for the electronic file displayed on the file structure display unit 202. The file structure display unit 202 in this figure shows an example in which the cursor is on the file a and the file a is selected.
[0246] 選択ファイル表示部 204は、ユーザにより選択されている電子ファイルを表示する 部分である。本図は上記のようにファイル aが選択されている。そのため、選択フアイ ル表示部 204の「選択ファイル」には、 「ZdataZa」 t 、うパスが表示されて 、る。 [0246] The selected file display unit 204 is a part that displays the electronic file selected by the user. In this figure, file a is selected as described above. Therefore, the “Selected file” in the selected file display unit 204 displays “ZdataZa” t and the path.
[0247] 取得ボタン 206は、取得要求を端末 60 (65)に送信させるボタンである。本図のよう な入力画面 200において、ユーザが取得ボタン 206を押下すると、端末 60 (65)はサ ーバ 20、 30、 40のいずれ力に、ファイル aの取得要求を送信する。 [0247] The acquisition button 206 is a button for transmitting an acquisition request to the terminal 60 (65). When the user presses the acquisition button 206 on the input screen 200 as shown in the figure, the terminal 60 (65) transmits the acquisition request for the file a to any of the servers 20, 30, and 40.
[0248] 書込ファイル入力部 208は、サーバ 20、 30、 40が保持するファイルを更新し、また は新規格納させる電子ファイルを入力する部分である。本図は「端末 aZxyz」と 、う パスにより特定される、端末 a60 (65)が保持するファイル xyzが入力されている例で ある。 [0248] The write file input unit 208 is a part for updating the files held by the servers 20, 30, and 40 or inputting an electronic file to be newly stored. This figure is an example in which “terminal aZxyz” and the file xyz held by the terminal a60 (65) specified by the path are input.
[0249] 書込ボタン 210は、書込要求を端末 60 (65)に送信させるボタンである。本図のよう な入力画面 200において、ユーザが書込ボタン 210を押下すると、端末 60 (65)はサ ーバ 20、 30、 40のいずれ力に、ファイル aが選択されているため、ファイル aの書込 要求を送信する。また、この書込要求により更新されたファイル記憶部 25、 35、 45が 記憶しているファイル aの実体は、書込ファイル入力部 208に入力されているファイル
xyzの実体と同一である。 [0249] The write button 210 is a button for sending a write request to the terminal 60 (65). When the user presses down the write button 210 on the input screen 200 as shown in the figure, since the terminal 60 (65) selects the file a for any of the servers 20, 30, and 40, the file a Send a write request. In addition, the substance of the file a stored in the file storage unit 25, 35, 45 updated by this write request is the file input to the write file input unit 208. Same as xyz entity.
[0250] 図 17は、ユーザがファイル aの取得要求を指示した場合に、ユーザが利用する端 末 60 (65)に接続されたモニタに表示される結果の例を示す図である。 FIG. 17 is a diagram showing an example of a result displayed on the monitor connected to the terminal 60 (65) used by the user when the user instructs acquisition of the file a.
[0251] 本図に示す取得結果表示画面 220は、ファイル aの取得要求を送信することにより[0251] The acquisition result display screen 220 shown in this figure transmits a file a acquisition request.
、ユーザの利用する端末 60 (65)がファイル aを取得した場合に、モニタ上に表示さ れる画面である。 This is a screen displayed on the monitor when the terminal 60 (65) used by the user acquires the file a.
[0252] 取得結果表示画面 220は、取得ファイル表示部 222と、閲覧ボタン 224と、保存ボ タン 226とから構成される。 [0252] The acquisition result display screen 220 includes an acquisition file display unit 222, a browse button 224, and a save button 226.
[0253] 取得ファイル表示部 222は、取得したファイルの名称を表示する。 [0253] The acquired file display unit 222 displays the name of the acquired file.
[0254] 閲覧ボタン 224は、取得したファイルをモニタ上に表示させるボタンである。ユーザ がマウスなどを利用して押下すると、取得したファイルがモニタ上に表示される。 [0254] The browse button 224 is a button for displaying the acquired file on the monitor. When the user presses the mouse using a mouse, the acquired file is displayed on the monitor.
[0255] 保存ボタン 226は、取得したファイルを端末 60 (65)が備える記憶部に保存させる ボタンである。ユーザがマウスなどを利用して押下すると、取得したファイルが端末 60[0255] The save button 226 is a button for saving the acquired file in the storage unit provided in the terminal 60 (65). When the user presses using a mouse or the like, the acquired file is saved on the terminal 60.
(65)の記憶部に保存される。 (65) is stored in the storage unit.
[0256] 図 18は、ユーザがファイル aの更新要求を指示した場合に、ユーザが利用する端 末 60 (65)に接続されたモニタに表示される結果の例を示す図である。 FIG. 18 is a diagram showing an example of a result displayed on the monitor connected to the terminal 60 (65) used by the user when the user instructs to update the file a.
[0257] 本図に示す更新結果表示画面 230は、ファイル aの更新要求に関連する処理が完 了した場合に、モニタ上に表示される画面である。 [0257] The update result display screen 230 shown in this figure is a screen displayed on the monitor when the processing related to the update request for the file a is completed.
[0258] 更新結果表示画面 230は、更新結果表示部 232と、確認ボタン 234とから構成さ れる。 The update result display screen 230 includes an update result display unit 232 and a confirmation button 234.
[0259] 更新結果表示部 232には、端末 60 (65)力も送信された書込要求が電子ファイル を更新する要求である場合に、その要求に関連する電子ファイルの名称と、その処 理が完了したこととが示される。 [0259] In the update result display section 232, when the write request to which the terminal 60 (65) is also transmitted is a request to update the electronic file, the name of the electronic file related to the request and its processing are displayed. Shown as complete.
[0260] これにより、端末 60 (65)を利用するユーザは処理が完了したことを知ることができ る。 [0260] Thus, the user using the terminal 60 (65) can know that the processing is completed.
[0261] 確認ボタン 234は、押下されると更新結果表示画面 230を閉じるボタンである。 [0261] The confirmation button 234 is a button for closing the update result display screen 230 when pressed.
[0262] これらのような表示画面により、ユーザはモニタ上で要求を送信し、要求に係る処理 の結果を取得することができる。
[0263] 以上、本発明の実施の形態 1に係る分散ファイル管理装置および分散ファイル管 理システムについて説明した力 本発明はこの実施の形態に限定されるものではな い。 [0262] With such display screens, the user can send a request on the monitor and obtain the result of the processing related to the request. [0263] The power described above for the distributed file management device and the distributed file management system according to Embodiment 1 of the present invention is not limited to this embodiment.
[0264] 保持サーバ記憶部 100は、ファイル保持情報 100bの「フラグ」に代えて、電子ファ ィルの「作成日」を保持してもよ ヽ。 The holding server storage unit 100 may hold the “creation date” of the electronic file instead of the “flag” of the file holding information 100b.
[0265] 図 19は、保持サーバ記憶部 100が記憶しているファイル保持情報 100cの他の例 を示す図である。本図に示すファイル保持情報 100cは、図 7に示すファイル保持情 報 100bの「フラグ」に代えて、「作成日」を保持して!/、る。 FIG. 19 is a diagram showing another example of the file holding information 100c stored in the holding server storage unit 100. As shown in FIG. The file holding information 100c shown in this figure holds “creation date” instead of the “flag” of the file holding information 100b shown in FIG.
[0266] 電子ファイルの「作成日」が最も現在に近い電子ファイルは、最新の内容を保持す る。したがって、電子ファイルの「作成日」によって、各サーバが保持する電子内容が 最新であるか否かを判断することができる。 [0266] The electronic file whose "creation date" of the electronic file is closest to the current one retains the latest contents. Therefore, it is possible to determine whether or not the electronic contents held by each server are the latest based on the “creation date” of the electronic file.
[0267] 例えば、本図に示すファイル保持情報 100cは、「ファイルパス」が「ZdataZa」で あるファイル aを、「サーバ A」と「サーバ B」とが保持しており、「サーバ A」が保持する ファイル aの「作成日」が「2006年 3月 3日」であり、「サーバ B」が保持するファイル aの 「作成日」が「2006年 3月 20日」である情報を含む。 [0267] For example, in the file holding information 100c shown in this figure, the file "a" whose "file path" is "ZdataZa" is held by "server A" and "server B", and "server A" It contains information that the “creation date” of the file a to be retained is “March 3, 2006” and the “creation date” of the file a retained by “Server B” is “March 20, 2006”.
[0268] この場合、「作成日」が最も現在に近い「サーバ B」が保持するファイル aが最新の内 容を含み、「サーバ A」が保持するファイル aは古い内容を含んで 、る。 In this case, the file a held by “server B” whose “creation date” is closest to the present contains the latest contents, and the file a held by “server A” contains old contents.
[0269] 以上のように、実施の形態 1に係る分散ファイル管理システムは、書込要求を受け 付けた場合には、アクセス元サーバのファイル記憶部のみに新しい電子ファイルを書 き込む。また、実施の形態 1に係る分散ファイル管理システムは、取得要求を受け付 けた場合には、最新の内容を含む電子ファイルを保持するサーバから電子ファイル を取得することにより、ユーザがいずれのサーバにアクセスしたかを意識することなく 、最新の内容を有する電子ファイルをユーザに提供する。 As described above, when the distributed file management system according to Embodiment 1 accepts a write request, it writes a new electronic file only in the file storage unit of the access source server. In addition, when the distributed file management system according to Embodiment 1 receives an acquisition request, the user acquires an electronic file from a server that holds the electronic file including the latest contents, so that the user can access any server. An electronic file having the latest contents is provided to the user without being aware of whether or not the user has accessed.
[0270] これにより、更新要求に係る保持サーバが複数ある場合に、これら複数の保持サー バが保持する電子ファイルの同期をとりながら更新する場合に比べて、データの転送 量を抑制することが可能となる。特に、同一の電子ファイルを保持するサーバが多数 ある場合には、更新時のデータの転送量の抑制の利点は大きい。 [0270] With this, when there are a plurality of holding servers related to the update request, it is possible to suppress the data transfer amount compared to the case where updating is performed while synchronizing electronic files held by the plurality of holding servers. It becomes possible. In particular, when there are many servers that hold the same electronic file, the advantage of reducing the amount of data transferred during update is significant.
[0271] (実施の形態 2)
実施の形態 1に係る分散ファイル管理システムでは、取得要求を受け付けたァクセ ス元サーバがその取得要求に係る電子ファイルを保持して 、な 、場合、分散フアイ ル管理装置からの情報により、その管理に係るサーバの中に、取得要求に係る電子 ファイルを保持するサーバを特定し、そのサーバから取得要求に係る電子ファイルを 取得し、 自身のファイル記憶部に格納する。 [0271] (Embodiment 2) In the distributed file management system according to the first embodiment, the access source server that has received the acquisition request holds the electronic file related to the acquisition request. In this case, the management is performed based on information from the distributed file management device. The server that holds the electronic file related to the acquisition request is identified among the servers related to the above, and the electronic file related to the acquisition request is acquired from the server and stored in its own file storage unit.
[0272] そのため、長時間経過すると、全てのサーバが、ほぼ全ての電子ファイルを重複し て保持することとなる。端末力 取得や更新の要求を受けることが少な 、電子フアイ ルを、多くのサーバが重複して保持することは、ストレージの無駄な利用といえる。 [0272] Therefore, when a long time elapses, all servers hold almost all electronic files in duplicate. It can be said that it is a wasteful use of storage that a large number of servers hold electronic files with few requests for acquiring or updating terminal capabilities.
[0273] そこで、実施の形態 2では、ストレージの有効活用が可能な分散ファイル管理シス テムを提供する。 [0273] Thus, Embodiment 2 provides a distributed file management system capable of effectively using storage.
[0274] 図 20から図 28までを参照して、本発明に係る実施の形態 2について説明する。 [0274] A second embodiment according to the present invention will be described with reference to Figs.
[0275] 図 1に示す分散ファイル管理システムの構成の概要は、実施の形態 2に係る分散フ アイル管理システムにおいても同様であるため、分散ファイル管理システムの構成の 概要に関する、ここでの詳細な説明は省略する。 [0275] The outline of the configuration of the distributed file management system shown in FIG. 1 is the same as that of the distributed file management system according to the second embodiment. Description is omitted.
[0276] 実施の形態 2に係る分散ファイル管理システムは、ユーザが利用する端末 60、 65と 、各端末 60、 65からユーザの要求を受け付け、ファイル記憶部 25、 35、 45をそれぞ れに備えるサーバ A320と、サーバ B330と、サーバ C340と、これらのサーバと情報 を送受信することにより各サーバに分散して保持されている電子ファイルに関する情 報を管理する分散ファイル管理装置とにより構成される。 [0276] The distributed file management system according to the second embodiment accepts user requests from the terminals 60 and 65 used by the user, and the terminals 60 and 65, and sets the file storage units 25, 35, and 45 respectively. Server A320, Server B330, Server C340, and a distributed file management device that manages information related to electronic files distributed and held in each server by sending and receiving information to and from these servers .
[0277] また、実施の形態 2に係る各サーバが備えるファイル記憶部が記憶している電子フ アイルのフォルダ構成は、実施の形態 1と同様に、各ファイル記憶部において共通す るパスで示され、その具体例は、図 2に示す実施の形態 1のフォルダ構成と同様であ る。そのため、フォルダ構成に関するここでの説明は省略する。 [0277] The folder structure of the electronic file stored in the file storage unit included in each server according to the second embodiment is indicated by a common path in each file storage unit as in the first embodiment. A specific example thereof is the same as the folder structure of the first embodiment shown in FIG. Therefore, the description here regarding the folder structure is omitted.
[0278] 図 20A〜図 20Cは、実施の形態 2に係る各サーバが備えるファイル記憶部が記憶 して 、る電子ファイルの具体例を示す図である。 20A to 20C are diagrams illustrating specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 2. FIG.
[0279] 図 20Aは、実施の形態 2に係るサーバ A320が備えるファイル記憶部 25が記憶し ている電子ファイル情報 25bの例を示す図である。本図は、本実施の形態に係るファ ィル記憶部 25が「ファイル a」を記憶して 、る例を示す。
[0280] 図 20Bは、実施の形態 2に係るサーバ B330が備えるファイル記憶部 35が記憶して いる電子ファイル情報 35bの例を示す図である。本図は、本実施の形態に係るフアイ ル記憶部 35が「ファイル a」と、「ファイルのと、「ファイル e」とを記憶している例を示す FIG. 20A is a diagram showing an example of electronic file information 25b stored in the file storage unit 25 provided in the server A320 according to the second embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a”. FIG. 20B is a diagram showing an example of the electronic file information 35b stored in the file storage unit 35 provided in the server B330 according to the second embodiment. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a”, “file”, and “file e”.
[0281] 図 20Cは、実施の形態 2に係るサーバ C340が備えるファイル記憶部 45が記憶し ている電子ファイル情報 45bの例を示す図である。本図は、本実施の形態に係るファ ィル記憶部 45が「ファイル d」を記憶して 、る例を示す。 FIG. 20C is a diagram showing an example of the electronic file information 45b stored in the file storage unit 45 included in the server C340 according to Embodiment 2. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file d”.
[0282] 図 21は、実施の形態 2に係るサーノ A320が備える機能的構成の例を示すブロッ ク図である。サーバ A320は、実施の形態 1に係るサーノ A20と同様に、ユーザから の要求を受け、ユーザの要求が取得要求である場合、受け付けた取得要求に係る電 子ファイルを分散ファイル管理装置 310の管理下にある各サーバのいずれかが保持 している限り、その最新の実体を含む電子ファイルをユーザが利用する端末に送信 する。また、実施の形態 2に係るサーバ A320は、実施の形態 1に係るサーバ A20と は異なり、一定の条件を満たす電子ファイルについては、分散ファイル管理装置 310 の要求に従って、ファイル記憶部 25から削除する。 FIG. 21 is a block diagram showing an example of a functional configuration provided in the Sano A320 according to the second embodiment. Server A320 receives a request from the user, and if the user request is an acquisition request, server A320 manages the electronic file related to the received acquisition request in the distributed file management device 310, in the same manner as Sano A20 according to the first embodiment. As long as one of the servers below holds, the electronic file containing the latest entity is sent to the terminal used by the user. Further, unlike the server A20 according to the first embodiment, the server A320 according to the second embodiment deletes an electronic file that satisfies certain conditions from the file storage unit 25 in accordance with a request from the distributed file management device 310. .
[0283] サーバ A320は、ファイル記憶部 25と、ユーザ要求受信部 71と、要求種別判断部 73と、要求情報保持部 75と、ファイル記憶制御部 77と、保持サーバ問合部 79と、保 持応答受信部 81と、ファイル送信要求受信部 83と、ファイル送信部 85と、ファイル受 信部 87と、ロック要求送信部 89と、完了通知受信部 93と、ユーザ要求応答部 95と、 更新通知部 391と、削除要求受信部 322とを備える。 The server A 320 includes a file storage unit 25, a user request reception unit 71, a request type determination unit 73, a request information holding unit 75, a file storage control unit 77, a holding server inquiry unit 79, Update response reception unit 81, file transmission request reception unit 83, file transmission unit 85, file reception unit 87, lock request transmission unit 89, completion notification reception unit 93, user request response unit 95, update A notification unit 391 and a deletion request receiving unit 322 are provided.
[0284] 実施の形態 2に係るサーバ A320について、実施の形態 1に係るサーバ A20と同 様の機能を有する部位には、同一の参照符号を付しており、これらの部位に関するこ こでの説明は省略する。 [0284] For server A320 according to the second embodiment, parts having the same functions as those of server A20 according to the first embodiment are denoted by the same reference numerals, and the parts related to these parts are here. Description is omitted.
[0285] 削除要求受信部 322は、分散ファイル管理装置 310から、通信回線 15を介して、 自身のファイル記憶部 25が記憶して 、る電子ファイルの一部または全部を削除する 要求を受信する部位である。 [0285] The deletion request receiving unit 322 receives, from the distributed file management device 310, a request to delete a part or all of the electronic file stored in its own file storage unit 25 via the communication line 15. It is a part.
[0286] 更新通知部 391は、ファイル記憶制御部 77がファイル記憶部 25に新たな電子ファ ィルを格納し、電子ファイル情報 25aを更新し、または、電子ファイル情報 25aから電
子ファイルの一部または全部を削除した場合に、格納、更新、または削除された内容 を分散ファイル管理装置 10に通知する部位である。 [0286] In the update notification unit 391, the file storage control unit 77 stores a new electronic file in the file storage unit 25, updates the electronic file information 25a, or receives power from the electronic file information 25a. This is a part for notifying the distributed file management device 10 of the stored, updated, or deleted contents when part or all of the child file is deleted.
[0287] 以上が、本実施の形態に係るサーノ A320の機能的構成である。サーバ B330お よびサーバ C340も、サーバ A320と同様の機能的構成を備える。 [0287] The above is the functional configuration of the Sano A320 according to the present embodiment. Server B330 and server C340 also have the same functional configuration as server A320.
[0288] 図 22は、実施の形態 2に係る分散ファイル管理装置 310が備える機能的構成の例 を示すブロック図である。実施の形態 2に係る分散ファイル管理装置 310と、実施の 形態 1に係る分散ファイル管理装置 10との違いは、実施の形態 2に係る分散ファイル 管理装置 310が、ユーザの要求を一定以上の期間、サーバが要求を受信していな V、電子ファイルを複数のサーバが保持して 、る場合に、 、ずれか 1つのサーバ以外 が保持するその電子ファイルをサーバに削除させることである。 FIG. 22 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 310 according to the second embodiment. The difference between the distributed file management apparatus 310 according to the second embodiment and the distributed file management apparatus 10 according to the first embodiment is that the distributed file management apparatus 310 according to the second embodiment makes a user request for a certain period of time or longer. When a server does not receive a request, and multiple servers hold an electronic file, the server deletes the electronic file held by only one server.
[0289] 分散ファイル管理装置 310は、問合受付部 102と、保持応答送信部 106と、フアイ ル送信要求部 108と、更新完了通知部 114と、ロック要求受信部 116と、ロック情報 保持部 118と、保持サーバ記憶部 400と、保持サーバ判断部 404と、更新通知受付 部 410と、保持情報更新部 412と、削除条件記憶部 420と、時計部 422と、削除対象 判断部 424と、削除要求部 426とを備える。 The distributed file management apparatus 310 includes an inquiry reception unit 102, a holding response transmission unit 106, a file transmission request unit 108, an update completion notification unit 114, a lock request reception unit 116, and a lock information holding unit. 118, holding server storage unit 400, holding server determination unit 404, update notification reception unit 410, holding information update unit 412, deletion condition storage unit 420, clock unit 422, deletion target determination unit 424, A deletion request unit 426.
[0290] 実施の形態 2に係る分散ファイル管理装置 310について、実施の形態 1に係る分 散ファイル管理装置 10と同様の機能を有する部位には、同一の参照符号を付してお り、これらの部位に関するここでの説明は省略する。 [0290] In the distributed file management device 310 according to the second embodiment, parts having the same functions as those of the distributed file management device 10 according to the first embodiment are denoted by the same reference numerals. The description here is omitted.
[0291] 保持サーバ記憶部 400は、実施の形態 1に係る保持サーバ記憶部 100と同様に、 分散ファイル管理装置 310の管理対象として設定されているサーバに関する情報で ある管理サーバ情報と、管理サーバ情報に含まれる各サーバが保持している電子フ アイルに関連する情報であるファイル保持情報とを記憶して ヽる記憶部である。保持 サーバ記憶部 400は、例えば、 HD (Hard Disk)により実現される。 Similar to the holding server storage unit 100 according to the first embodiment, the holding server storage unit 400 includes management server information that is information about servers set as management targets of the distributed file management device 310, and a management server This is a storage unit that stores file holding information, which is information related to the electronic file held by each server included in the information. The holding server storage unit 400 is realized by, for example, an HD (Hard Disk).
[0292] 実施の形態 2に係る管理サーバ情報 400aは、図 6を参照して説明した実施の形態 1に係る管理サーバ情報 100aと同様であるため、ここでの説明は省略する。 [0292] The management server information 400a according to the second embodiment is the same as the management server information 100a according to the first embodiment described with reference to FIG.
[0293] 実施の形態 2に係るファイル保持情報の具体例について、図 23を参照して説明す る。 A specific example of the file holding information according to Embodiment 2 will be described with reference to FIG.
[0294] 図 23は、保持サーバ記憶部 400が記憶しているファイル保持情報 400bの例を示
す図である。本図が示すように、本実施の形態に係るファイル保持情報 400bは、「フ アイルパス」と、「サーバ名」と、「アクセス日」とから構成される。 FIG. 23 shows an example of the file holding information 400b stored in the holding server storage unit 400. It is a figure. As shown in the figure, the file holding information 400b according to the present embodiment is composed of “file path”, “server name”, and “access date”.
[0295] 本実施の形態に係るファイル保持情報 400bの「ファイルパス」と、「サーバ名」とは、 図 7を参照して説明した実施の形態 1に係るファイル保持情報 100bの「ファイルパス 」と、「サーバ名」と、それぞれ同様の情報が格納されるため、ここでの詳細な説明は 省略する。 [0295] The "file path" and "server name" of the file holding information 400b according to the present embodiment are the "file path" of the file holding information 100b according to the first embodiment described with reference to FIG. And “server name” are stored in the same information, and detailed description thereof is omitted here.
[0296] 「アクセス日」は、「サーバ名」に格納された情報により示されるサーバ力 「ファイル パス」により示される電子ファイルに関連するユーザの要求を、最後に受付けた日付 けが格納される。 [0296] The "access date" stores the date when the user request related to the electronic file indicated by the server power "file path" indicated by the information stored in the "server name" was last received.
[0297] 本図は、例えば、「ファイルパス」が「ZdataZa」である電子ファイルについて、「サ 一バ八」が、ユーザから要求を受け付けた最後の日が「20060303」、すなわち、「20 06年 3月 3日」であることを示す。 This figure shows, for example, that an electronic file whose “file path” is “ZdataZa” is “2006083”, that is, “20 06” March 3 of the year ".
[0298] ここ力 、図 22の説明に戻る。 [0298] Here, let us return to the explanation of FIG.
[0299] 保持サーバ判断部 404は、保持サーバ記憶部 400を参照することにより、問合受 付部 102が受け付けた問い合わせに関連する電子ファイルを保持するサーバを判 断する部位である。 The holding server determination unit 404 is a part that determines a server that holds an electronic file related to an inquiry received by the inquiry reception unit 102 by referring to the holding server storage unit 400.
[0300] また、保持サーバ判断部 404は、アクセス元サーバが取得要求に係る電子ファイル の保持サーバであると判断した場合には、力かる判断を保持情報更新部 112に出力 する。 [0300] Furthermore, if the holding server determination unit 404 determines that the access source server is the holding server of the electronic file related to the acquisition request, the holding server determination unit 404 outputs a useful determination to the holding information update unit 112.
[0301] さらに、保持サーバ判断部 404は、書込要求に係る電子ファイルの保持サーバ力 アクセス元サーバにある力否かを判断する。 [0301] Furthermore, the holding server determination unit 404 determines whether or not the holding server power of the electronic file related to the write request is in the access source server.
[0302] 更新通知受付部 410は、各サーバが備えるファイル記憶部 25、 35、 45に新たな電 子ファイルが格納され、ファイル記憶部 25、 35、 45が記憶している電子ファイルが更 新され、または、ファイル記憶部 25、 35、 45が記憶している電子ファイルが削除され たことを内容とする通知を、サーバから受け付ける部位である。 [0302] The update notification reception unit 410 stores new electronic files in the file storage units 25, 35, and 45 of each server, and updates the electronic files stored in the file storage units 25, 35, and 45. Or a part that receives a notification from the server that the electronic file stored in the file storage unit 25, 35, 45 has been deleted.
[0303] 保持情報更新部 412は、保持サーバ判断部 404から受け付けた情報または更新 通知受付部 410が受け付けた情報に従って、保持サーバ記憶部 400が記憶してい るファイル保持情報 400bを更新する部位である。
[0304] 削除条件記憶部 420は、各サーバが保持する電子ファイルを削除するための条件 を含む情報である削除条件情報を記憶している部位である。 [0303] The holding information update unit 412 updates the file holding information 400b stored in the holding server storage unit 400 according to the information received from the holding server determination unit 404 or the information received by the update notification receiving unit 410. is there. [0304] The deletion condition storage unit 420 is a part that stores deletion condition information, which is information including conditions for deleting an electronic file held by each server.
[0305] 図 24は、実施の形態 2に係る削除条件情報 420aの例を示す図である。本図に示 す削除条件は、ファイル保持情報 400bの「アクセス日」から「30日」以上、経過して いる場合に、そのサーバが保持するその電子ファイルを削除することを条件とする例 である。 FIG. 24 is a diagram showing an example of the deletion condition information 420a according to Embodiment 2. The deletion condition shown in this figure is an example on condition that the electronic file held by the server is deleted when “30 days” or more have passed since the “access date” of the file retention information 400b. is there.
[0306] ここ力 、図 22の説明に戻る。 [0306] This force returns to the description of FIG.
[0307] 時計部 422は、現在の日時を保持して ヽる部位である。 [0307] The clock unit 422 is a part that holds the current date and time.
[0308] 削除対象判断部 424は、削除の対象となる電子ファイルをサーバごとに判断する部 位である。より具体的には、削除対象判断部 424は、ファイル保持情報 400bの「ァク セス日」が示す日付け力も削除条件情報 420aに含まれる期間を超えて保持されて いる電子ファイルがあり、かつ、その電子ファイルを保持するサーバが複数ある場合 には、「アクセス日」が最も新しいサーバが保持する電子ファイルのみを残して、他の サーバが保持するその電子ファイルを削除すると判断する。 [0308] The deletion target determination unit 424 is a unit that determines an electronic file to be deleted for each server. More specifically, the deletion target determination unit 424 has an electronic file whose date power indicated by the “access date” of the file retention information 400b is retained beyond the period included in the deletion condition information 420a, and When there are a plurality of servers holding the electronic file, it is determined that only the electronic file held by the server having the latest “access date” is left and the electronic file held by another server is deleted.
[0309] 本実施の形態に係る削除対象判断部 424は、予め定められた周期で上記の判断 処理を実行する。 [0309] Deletion target determining section 424 according to the present embodiment executes the above determination processing at a predetermined cycle.
[0310] 削除要求部 426は、削除対象判断部 424により削除の対象として判断された電子 ファイルを保持するサーバに、その電子ファイルを削除する要求を送信する部位であ る。 [0310] The deletion request unit 426 is a part that transmits a request to delete the electronic file to the server that holds the electronic file determined to be deleted by the deletion target determination unit 424.
[0311] 以上のような機能を分散ファイル管理装置 10および各サーバ 20、 30、 40が備える ことにより、実施の形態 1と同様に、ユーザは、自己の利用する端末 60、 65からいず れのサーバにアクセスするかにかかわらず、各サーバ 20、 30、 40のいずれかが電子 ファイルを保持している限り、その電子ファイルを取得することが可能となる。 [0311] Since the distributed file management apparatus 10 and the servers 20, 30, 40 are provided with the functions as described above, as in the first embodiment, the user can use any of the terminals 60, 65 used by the user. Regardless of whether the server is accessed, as long as each of the servers 20, 30, and 40 holds the electronic file, the electronic file can be obtained.
[0312] また、ユーザの取得要求に係る電子ファイルを複数のサーバが保持する場合、そ の電子ファイルは同期がとられるため、ユーザは、いずれのサーバが最新の内容を 有する電子ファイルを保持している力を意識することなぐまた、任意のサーバにァク セスすることにより、最新の内容を有する電子ファイルを取得することが可能となる。 [0312] In addition, when a plurality of servers hold an electronic file related to a user's acquisition request, the electronic files are synchronized, and thus the user holds an electronic file having the latest contents. It is possible to obtain an electronic file having the latest contents by accessing an arbitrary server without being aware of the power of the user.
[0313] さらに、同一の電子ファイルが複数のサーバに重複して保持されている場合、予め
定められた条件に従って、いずれかのサーバが保持する電子ファイルを残して、他 のサーバが保持する電子ファイルを削除するため、ストレージの有効な活用が可能と なる。 [0313] Furthermore, if the same electronic file is held in duplicate on multiple servers, According to the specified conditions, the electronic file held by one of the servers is left and the electronic file held by the other server is deleted, so that the storage can be effectively used.
[0314] 図 25は、ユーザが端末力も取得要求を送信した場合に、本発明の実施の形態 2に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 FIG. 25 is a time chart showing an example of processing executed in each device configuring the distributed file management system according to Embodiment 2 of the present invention when the user transmits an acquisition request for terminal power. .
[0315] 本図において、図 8に示す実施の形態 1に係る各装置において実行される処理と 同一の参照符号を付した処理は、同様の処理を示す。そのため、同一の参照符号を 付した処理については、ここでの説明は省略する。 [0315] In this figure, processes denoted by the same reference numerals as those executed in each device according to Embodiment 1 shown in Fig. 8 indicate similar processes. For this reason, the description of the processes with the same reference numerals is omitted here.
[0316] 本図に示すタイムチャートと図 8に示すタイムチャートとの違いは、電子ファイルに関 するアクセス元サーバの保持判断 (S 103)にお 、て肯定判定がなされた後に(S 103 で Yes)、保持通知(S104)がなされるまでに、保持情報更新処理が(S310)実行さ れる点にある。 [0316] The difference between the time chart shown in FIG. 8 and the time chart shown in FIG. 8 is that the access source server's retention judgment regarding the electronic file (S 103) is positively determined (in S 103 Yes), the retention information update process is executed (S310) before the retention notification (S104) is made.
[0317] 保持サーバ判断部 404がアクセス元サーバが保持サーバであると判断した場合 (S 103で Yes)、続けて、保持情報更新部 412は、保持サーバ判断部の判断を受け、ァ クセス元サーバが保持する、ユーザの要求に係る電子ファイルに関するファイル保持 情報 400bの「アクセス日」を、時計部 422から取得した日付けにより更新する(S301 [0317] If the holding server determination unit 404 determines that the access source server is the holding server (Yes in S103), then the holding information update unit 412 receives the determination of the holding server determination unit, and the access source The “access date” of the file retention information 400b regarding the electronic file related to the user request held by the server is updated with the date acquired from the clock unit 422 (S301).
) o ) o
[0318] 図 26は、ユーザが端末 60、 65から書込要求を送信した場合に、本発明の実施の 形態 2に係る分散ファイル管理システムを構成する各装置において実行される処理 の一例を示すタイムチャートである。 [0318] FIG. 26 shows an example of processing executed in each device constituting the distributed file management system according to Embodiment 2 of the present invention when a user transmits a write request from terminals 60 and 65. It is a time chart.
[0319] 本図において、図 9に示す実施の形態 1に係る各装置において実行される処理と 同一の参照符号を付した処理は、同様の処理を示す。そのため、同一の参照符号を 付した処理については、ここでの説明は省略する。 [0319] In this figure, the process given the same reference numeral as the process executed in each device according to Embodiment 1 shown in Fig. 9 shows the same process. For this reason, the description of the processes with the same reference numerals is omitted here.
[0320] 本図に示すタイムチャートと図 8に示すタイムチャートとの違いは、分散ファイル管 理装置 310が、アクセス元サーバ以外の保持サーバの有無を判断し、アクセス元サ ーバ以外の保持サーバがある場合には、そのサーバが保持する電子ファイルをも更 新する点にある。このような処理により、複数のサーバに重複して保持されている電
子ファイルの内容は同期する。 [0320] The difference between the time chart shown in this figure and the time chart shown in Figure 8 is that the distributed file management device 310 determines whether there is a holding server other than the access source server, and holds other than the access source server. If there is a server, the electronic file held by the server is also updated. Through such processing, the power held redundantly by multiple servers The contents of child files are synchronized.
[0321] 分散ファイル管理装置 310の更新完了通知部 114がファイル記憶制御部 77から完 了の通知を受けて、更新処理の完了をアクセス元サーバに通知した後に(S209)、 続けて、分散ファイル管理装置 310の保持サーバ判断部 404は、書込要求に係る電 子ファイルの保持サーバ力 アクセス元サーバにある力否かを判断する(S212)。 [0321] After the update completion notification unit 114 of the distributed file management device 310 receives the completion notification from the file storage control unit 77 and notifies the access source server of the completion of the update process (S209), the distributed file The holding server determination unit 404 of the management device 310 determines whether or not the holding server power of the electronic file related to the write request is in the access source server (S212).
[0322] アクセス元サーバ以下に保持サーバがないと判断した場合 (S212で No)、分散フ アイル管理装置 310は、サーノからの要求または問合せを受け付けるまで待機する [0322] If it is determined that there is no holding server below the access source server (No in S212), the distributed file management device 310 waits until a request or inquiry from Sano is accepted.
[0323] また、アクセス元サーバ以下に保持サーバがあると判断した場合 (S212で Yes)、 ファイル送信要求部 108は、アクセス元サーバにファイル送信要求を送信し、ァクセ ス元サーバ 320のファイル送信要求受信部 83はファイル送信要求を受信する(S21 3)。 [0323] If it is determined that there is a holding server below the access source server (Yes in S212), the file transmission request unit 108 transmits a file transmission request to the access source server, and the file transmission of the access source server 320 is performed. The request receiving unit 83 receives a file transmission request (S213).
[0324] ここで、「ファイル送信要求」とは、アクセス元サーバに、ユーザの書込要求に係る 電子ファイルを他の保持サーバへ送信する要求を内容とする。 Here, the “file transmission request” includes a request for transmitting to the access source server an electronic file related to the user's write request to another holding server.
[0325] 続けて、ファイル記憶制御部 77は、ファイル送信要求に関連する電子ファイルを自 身のファイル記憶部 25から読み出す (S214)。 [0325] Subsequently, the file storage control unit 77 reads out an electronic file related to the file transmission request from its own file storage unit 25 (S214).
[0326] 続けて、アクセス元サーバ 320のファイル送信部 85は、ファイル記憶制御部 77が 読み出した電子ファイルを保持サーバに送信し、保持サーバのファイル受信部 87は その電子ファイルを受信する(S215)。 [0326] Subsequently, the file transmitting unit 85 of the access source server 320 transmits the electronic file read by the file storage control unit 77 to the holding server, and the file receiving unit 87 of the holding server receives the electronic file (S215 ).
[0327] 保持サーバのファイル記憶制御部 77は、ファイル受信部 87が受信した電子フアイ ルにより自身のファイル記憶部 25が記憶している電子ファイルを更新する(S216)。 The file storage control unit 77 of the holding server updates the electronic file stored in its own file storage unit 25 with the electronic file received by the file reception unit 87 (S216).
[0328] 続けて、更新通知部 391は、分散ファイル管理装置 310に更新通知を送信し、分 散ファイル管理装置 310の更新通知受付部 410は更新通知を受け付ける(S217)。 [0328] Subsequently, the update notification unit 391 transmits an update notification to the distributed file management device 310, and the update notification reception unit 410 of the distributed file management device 310 receives the update notification (S217).
[0329] ここでの「更新通知」は、より具体的には、アクセス元サーノ 20、 30、 40のファイル 記憶部 25、 35、 45に新たな電子ファイルが格納されたこと、または、電子ファイルが 更新されたことを内容とする通知である。 [0329] More specifically, the "update notification" here indicates that a new electronic file is stored in the file storage unit 25, 35, 45 of the access source Sano 20, 30, 40, or the electronic file This is a notification that has been updated.
[0330] 続けて、保持情報更新部 412は、更新通知受付部 410から取得した更新通知に従 つて、保持サーバ記憶部 100のファイル保持情報 100bを更新し (S218)、処理を終
了する。 Subsequently, the holding information update unit 412 updates the file holding information 100b of the holding server storage unit 100 in accordance with the update notification acquired from the update notification receiving unit 410 (S218), and ends the process. End.
[0331] 以上が、サーバの!/、ずれかがユーザの要求を受け付けた場合に、各装置にお!ヽて 実行される処理である。本実施の形態では、上記のように、ユーザが最後にアクセス した日カゝら一定期間が経過した電子ファイルを保持するサーバについては、その電 子ファイルを削除する。このとき、分散ファイル管理装置 310が実行する処理を、図 2 7を参照して説明する。 [0331] The above is the processing that is executed by each device when a server request is received from the server! In the present embodiment, as described above, the electronic file is deleted for a server that holds an electronic file for which a fixed period has passed since the last access by the user. Processing executed by the distributed file management apparatus 310 at this time will be described with reference to FIG.
[0332] 図 27は、各サーバが保持する電子ファイルを削除する際に、本発明の実施の形態 2に係る分散ファイル管理装置 310において実行される処理の一例を示すフローチ ヤートである。 FIG. 27 is a flowchart showing an example of processing executed in the distributed file management apparatus 310 according to Embodiment 2 of the present invention when deleting an electronic file held by each server.
[0333] まず、削除対象判断部 424は、自身が保持している予め定められた更新時刻であ る力否かを、時計部 422から取得する現在時刻と比較することにより判断する(S300 First, the deletion target determining unit 424 determines whether or not it is a predetermined update time held by itself by comparing it with the current time acquired from the clock unit 422 (S300).
) o ) o
[0334] 更新時刻ではな 、と判断した場合 (S300で No)、削除対象判断部 424は更新時 刻であるか否かの判断を継続する。 [0334] If it is determined that the update time is not reached (No in S300), the deletion target determination unit 424 continues to determine whether or not it is the update time.
[0335] また、更新時刻であると判断した場合 (S300で Yes)、分散ファイル管理装置 310 は、保持サーバ記憶部 400のファイル保持情報 400bに含まれる全ての電子ファイル について、以下に説明する、最終アクセスから一定時間経過したか否かの判断 (S30[0335] If it is determined that it is the update time (Yes in S300), the distributed file management apparatus 310 will explain all electronic files included in the file holding information 400b of the holding server storage unit 400 as follows. Judgment whether or not a certain time has passed since the last access (S30
2)から保持情報の更新 (S307)までの処理を繰り返す (S301)。 The processing from 2) to update of stored information (S307) is repeated (S301).
[0336] まず、削除対象判断部 424は、ファイル保持情報 400bの「アクセス日」と削除条件 情報 420aと時計部 422から現在の日付けとを取得し、現在の日付けが「アクセス日」 力も削除条件情報 420aに含まれる期間が経過している力否かを判断する(S302)。 First, the deletion target determination unit 424 obtains the “access date” of the file retention information 400b and the current date from the deletion condition information 420a and the clock unit 422, and the current date is also “access date”. It is determined whether or not the period included in the deletion condition information 420a has passed (S302).
[0337] 現在の日付けが「アクセス日」から削除条件情報 420aに含まれる期間が経過して いないと判断した場合(S302で No)、次の電子ファイルについて、経過時間の判断 処理 (S 302)を実行する。 [0337] If it is determined that the period included in the deletion condition information 420a has not passed since the "access date" (No in S302), the elapsed time is determined for the next electronic file (S 302) ) Is executed.
[0338] 現在の日付けが「アクセス日」から削除条件情報 420aに含まれる期間が経過して いると判断した場合 (S302で Yes)、削除対象判断部 424は、同一の電子ファイルを 保持して!/、るサーバが複数あるか否かを判断する(S303)。 [0338] When it is determined that the period included in the deletion condition information 420a has elapsed from the "access date" as the current date (Yes in S302), the deletion target determination unit 424 holds the same electronic file. It is determined whether or not there are a plurality of servers (S303).
[0339] 同一の電子ファイルを保持して 、るサーバが複数ではな 、と判断した場合 (S303
で No)、次の電子ファイルについて、経過時間の判断処理(S302)を実行する。した がって、最終アクセス日カゝら一定期間が経過した電子ファイルの保持サーバが 1つの みの場合、その電子ファイルは削除されない。 [0339] When it is determined that there is not more than one server holding the same electronic file (S303) No), the elapsed time determination process (S302) is executed for the next electronic file. Therefore, if there is only one electronic file holding server for which a certain period of time has passed since the last access date, the electronic file is not deleted.
[0340] また、同一の電子ファイルを保持しているサーバが複数であると判断した場合 (S30[0340] If it is determined that there are a plurality of servers holding the same electronic file (S30
3で Yes)その電子ファイルを保持するサーバの中で「アクセス日」が最も新し!/ヽサー バ除ぐ各サーバが保持する電子ファイルを削除の対象と決定する(S304)。 (Yes in 3) The “access date” is the newest among the servers holding the electronic file! The electronic files held by each server excluding the server are determined to be deleted (S304).
[0341] 削除要求部 426は、削除対象判断部 424により削除の対象と決定された電子ファ ィルを保持しているサーバに、その電子ファイルの削除要求を送信する(S305)。 [0341] The deletion request unit 426 transmits a deletion request for the electronic file to the server holding the electronic file determined to be deleted by the deletion target determination unit 424 (S305).
[0342] 更新通知受付部 410は、削除要求部 426からの要求に係る電子ファイルの削除処 理を実行したサーバから、更新通知を受け付ける(S306)。 [0342] The update notification reception unit 410 receives an update notification from the server that has executed the electronic file deletion processing related to the request from the deletion request unit 426 (S306).
[0343] ここで受信する「更新通知」は、保持サーバ 20、 30、 40のファイル記憶部 25、 35、[0343] The "update notification" received here is the file storage unit 25, 35 of the holding server 20, 30, 40,
45が記憶している電子ファイルが削除されたことを内容とする通知である。 45 is a notification indicating that the stored electronic file has been deleted.
[0344] 続けて、保持情報更新部 412は、更新通知受付部 410が受け付けた更新通知に 従って、ファイル保持情報 400bを更新して(S307)、処理を終了する。 Subsequently, the holding information update unit 412 updates the file holding information 400b according to the update notification received by the update notification receiving unit 410 (S307), and ends the processing.
[0345] 以上が、各サーバが保持する電子ファイルの削除の際に、分散ファイル管理装置 3[0345] When the electronic file held by each server is deleted, the distributed file management device 3
10が実行する処理である。ファイル保持情報 400bが図 23に示す内容である場合に10 is a process to be executed. When the file retention information 400b has the contents shown in Fig. 23
、分散ファイル管理装置 310が、削除対象判断部 424が更新時刻であると判断した 後に(S300で Yes)実行する処理につ!、て、より具体的に説明する。 The processing to be executed after the distributed file management device 310 determines that the deletion target determination unit 424 is the update time (Yes in S300) will be described in more detail.
[0346] まず、「ファイルパス」が「ZdataZa」であるファイル aにつ!/、て、時計部 422から取 得した現在の日付けが、「アクセス日」である「2006年 3月 3日」から削除条件情報 42[0346] First of all, file a whose “file path” is “ZdataZa”! /, And the current date obtained from the clock part 422 is “access date” “March 3, 2006 "Delete condition information from" 42
Oaに含まれる期間である「30日」が経過して!/、るか否かを判断する(S302)。ここで、 現在の日付けを「2006年 3月 30日」とする。 It is determined whether “30 days”, which is a period included in Oa, has passed! /, Or not (S302). Here, the current date is “March 30, 2006”.
[0347] 「2006年 3月 30曰」【ま「2006年 3月 3曰」力ら「30曰」力 ^経過して!/ヽな!ヽため (S30[0347] "March 30th 2006" [March 3rd March 2006] Power, etc. "30" power ^^!
2で No)、続けて、削除対象判断部 424は、次のファイルである「ZdataZb」である ファイル bにつ!/、て同様の判断処理(S302)を実行する。 Next, the deletion target determination unit 424 executes the same determination process (S302) for the file b that is “ZdataZb” that is the next file!
[0348] ファイル bも、ファイル aの場合と同様に、現在の日付けは「アクセス日」から削除条 件に含まれる期間を経過していないため(S302で No)、続けて、削除対象判断部 4[0348] Similarly to file a, file b also has a current date that has not passed the period included in the deletion condition since the "access date" (No in S302). Part 4
24は、次のファイルである「ZdataZcZe」であるファイル eについて同様の判断処
理 (S 302)を実行する。 24 is the same judgment process for file e which is the next file “ZdataZcZe”. (S 302) is executed.
[0349] ファイル eも、ファイル aの場合と同様に、現在の日付けは「アクセス日」から削除条 件に含まれる期間を経過していないため(S302で No)、続けて、削除対象判断部 4 24は、次のファイルである「ZdataZd」であるファイル dについて同様の判断処理(S 302)を実行する。 [0349] As with file a, the current date has not passed the period included in the deletion condition since the "access date" (No in S302). The unit 424 executes the same determination process (S 302) for the file d “ZdataZd” that is the next file.
[0350] ファイル dについて、保持サーバはサーバ B330と、サーバ C340とである。ファイル dにつ!/、て、サーバ B330の「アクセス日」は「2006年 3月 3日」であり、現在の日付で ある「2006年 3月 30日」は「アクセス日」力ら「30日」経過して!/ヽな!ヽ。 [0350] For file d, the holding servers are server B330 and server C340. File d! /, The access date of server B330 is “March 3, 2006”, and the current date “March 30, 2006” is “Access Date”. The day has passed!
[0351] また、フアイノレ dにつ!/、て、サーバ C340の「アクセス日」は「2006年 2月 20日」であ り、現在の日付である「2006年 3月 30日」は「アクセス日」から「30日」経過して!/、る。 [0351] In addition, the “access date” of server C340 is “February 20, 2006”, and the current date “March 30, 2006” is “access”. 30 days have passed since the day!
[0352] そのため、削除対象判断部 424は、ファイル dにっき、現在の日付けが「アクセス日 」から削除条件情報 420aに含まれる期間が経過していると判断する(S302で Yes) [0352] Therefore, the deletion target determination unit 424 determines that the period included in the deletion condition information 420a has elapsed from the file "d" and the current date is "access date" (Yes in S302).
[0353] 続けて、削除対象判断部 424は、ファイル dを保持しているサーバが複数あるため、 ファイル dを保持するサーバである、サーバ B330とサーバ C340との中で、最も新し い「アクセス日」に関連するサーバであるサーバ B330以外のサーノ 、すなわち、サ ーバ C340が保持するファイル dを削除の対象と決定する(S303)。 [0353] Subsequently, since there are a plurality of servers that hold the file d, the deletion target determination unit 424 has the newest “server B330 and server C340” that hold the file d. Sano other than the server B330, which is the server related to the “access date”, that is, the file d held by the server C340 is determined to be deleted (S303).
[0354] 続けて、削除要求部 426は、サーバ C340にファイル dの削除を要求する(S304)。 Subsequently, the deletion request unit 426 requests the server C340 to delete the file d (S304).
[0355] 続けて、更新通知受付部 410は、削除要求部 426からの要求に応じてファイル dを 削除したサーバ C340から、更新通知を受け付ける(S305)。 Subsequently, the update notification receiving unit 410 receives an update notification from the server C340 that has deleted the file d in response to a request from the deletion request unit 426 (S305).
[0356] ここで受信する「更新通知」は、サーバ C340のファイル記憶部 45が記憶して 、るフ アイル dが削除されたことを内容とする通知である。 The “update notification” received here is a notification that is stored in the file storage unit 45 of the server C340 and contains the information that the file d has been deleted.
[0357] 続けて、保持情報更新部 412は、更新通知受付部 410が受け付けた更新通知に 従って、ファイル保持情報 400bを更新して(S306)、処理を終了する。 Subsequently, the holding information update unit 412 updates the file holding information 400b according to the update notification received by the update notification receiving unit 410 (S306), and ends the process.
[0358] ここで、図 28は、ファイル保持情報 400bが図 23に示す内容である場合に、分散フ アイル管理装置 310による電子ファイルの削除処理が終了した後のファイル保持情 報 400cを示す図である。 Here, FIG. 28 is a diagram showing the file holding information 400c after the electronic file deletion processing by the distributed file management device 310 is completed when the file holding information 400b has the contents shown in FIG. It is.
[0359] 上述のようにファイル aと、ファイル bと、ファイル eとは削除されないため、削除処理
後のファイル保持情報 400bに変更はな 、。 [0359] As described above, file a, file b, and file e are not deleted. The file retention information after 400b will not be changed.
[0360] また、「サーバ C」が保持していたファイル dは削除されたため、「ZdataZd」の保持 サーバは「サーバ B」のみに更新されて 、る。 [0360] Since the file d held by "Server C" has been deleted, the holding server of "ZdataZd" is updated to only "Server B".
[0361] 実施の形態 2において、ユーザが利用する端末 60 (65)に接続されたモニタに表 示される入力画面および結果の表示画面の例は、実施の形態 1において図 16から 図 18までを参照して説明した入力画面および結果の表示画面の例と同様である。そ のため、ここでの説明は省略する。 [0361] In the second embodiment, examples of the input screen and the result display screen displayed on the monitor connected to the terminal 60 (65) used by the user are shown in Figs. 16 to 18 in the first embodiment. This is the same as the example of the input screen and the result display screen described with reference to FIG. Therefore, the explanation here is omitted.
[0362] 以上、本発明の実施の形態 2に係る分散ファイル管理装置および分散ファイル管 理システムについて説明した力 本発明はこの実施の形態に限定されるものではな い。 As described above, the power described for the distributed file management apparatus and the distributed file management system according to the second embodiment of the present invention is not limited to this embodiment.
[0363] 例えば、実施の形態 2に係る分散ファイル管理装置 310は、予め定められた周期で 削除処理を実行したが、サーバがユーザ力 更新要求を受け付けたときに、削除処 理を実行してもよい。 [0363] For example, the distributed file management apparatus 310 according to the second embodiment executes the deletion process at a predetermined cycle, but executes the deletion process when the server receives a user power update request. Also good.
[0364] また、分散ファイル管理装置 310は、予め定められた周期と、サーバがユーザから 更新要求を受け付けたときとの両方で、削除処理を実行してもよい。 [0364] Furthermore, the distributed file management apparatus 310 may execute the deletion process both in a predetermined cycle and when the server receives an update request from the user.
[0365] (変形例 1) [0365] (Variation 1)
ここで、サーバがユーザ力も更新要求を受け付けたときに、削除処理を実行する場 合である変形例 1について、図 29から図 33までを参照して説明する。 Here, with reference to FIG. 29 to FIG. 33, a description will be given of Modification 1 in which the deletion process is executed when the server receives an update request for user power.
[0366] 図 29は、変形例 1に係る分散ファイル管理装置 510が備える機能的構成の例を示 すブロック図である。分散ファイル管理装置 510は、管理するサーバのいずれかが更 新要求を受け付けた場合に、アクセス元サーバ以外の保持サーバに更新要求に係 る電子ファイルを削除する要求を送信する。 FIG. 29 is a block diagram illustrating an example of a functional configuration included in the distributed file management apparatus 510 according to the first modification. When any of the managed servers receives the update request, the distributed file management apparatus 510 transmits a request to delete the electronic file related to the update request to the holding server other than the access source server.
[0367] 分散ファイル管理装置 510は、問合受付部 102と、保持応答送信部 106と、フアイ ル送信要求部 108と、更新完了通知部 114と、ロック要求受信部 116と、ロック情報 保持部 118と、更新通知受付部 410と、保持情報更新部 412と、削除要求部 426と、 保持サーバ記憶部 500と、保持サーバ判断部 504と、削除対象判断部 524とを備え る。 [0367] The distributed file management apparatus 510 includes an inquiry reception unit 102, a holding response transmission unit 106, a file transmission request unit 108, an update completion notification unit 114, a lock request reception unit 116, and a lock information holding unit. 118, an update notification receiving unit 410, a holding information update unit 412, a deletion request unit 426, a holding server storage unit 500, a holding server determination unit 504, and a deletion target determination unit 524.
[0368] 保持サーバ記憶部 500は、実施の形態 2に係る保持サーバ記憶部 400と同様に、
管理サーバ情報と、ファイル保持情報とを記憶している記憶部であり、例えば、 HD ([0368] The holding server storage unit 500 is similar to the holding server storage unit 400 according to the second embodiment. This is a storage unit that stores management server information and file retention information. For example, HD (
Hard Disk)により実現される。 Hard disk).
[0369] 変形例 1に係る管理サーバ情報 500aは、図 6を参照して説明した実施の形態 1に 係る管理サーバ情報 100aと同様であるため、ここでの説明は省略する。 [0369] The management server information 500a according to the first modification is the same as the management server information 100a according to the first embodiment described with reference to FIG. 6, and thus description thereof is omitted here.
[0370] 変形例 1に係るファイル保持情報の具体例について、図 30を参照して説明する。 A specific example of the file holding information according to Modification 1 will be described with reference to FIG.
[0371] 図 30は、保持サーバ記憶部 500が記憶しているファイル保持情報 500bの例を示 す図である。本図に示すように、本実施の形態に係るファイル保持情報 500bは、「フ アイルパス」と、「サーバ名」とから構成される。 FIG. 30 is a diagram showing an example of the file holding information 500b stored in the holding server storage unit 500. As shown in the figure, the file holding information 500b according to the present embodiment is composed of “file path” and “server name”.
[0372] 本変形例に係るファイル保持情報 500bの「ファイルパス」と、「サーバ名」とは、図 2[0372] The "file path" and "server name" in the file holding information 500b according to this variation are shown in FIG.
3を参照して説明した実施の形態 2に係るファイル保持情報 400bの「ファイルパス」と“File path” of the file holding information 400b according to the second embodiment described with reference to FIG.
、「サーバ名」と、それぞれ同様の情報が格納される。 , “Server name” and similar information are stored respectively.
[0373] 本変形例に係るファイル保持情報 500bと、実施の形態 2に係るファイル保持情報 4 00bとの違いは、本変形例に係るファイル保持情報 500bに「アクセス日」が含まれて いない点にある。 [0373] The difference between the file holding information 500b according to this modification and the file holding information 400b according to Embodiment 2 is that the file holding information 500b according to this modification does not include an "access date". It is in.
[0374] 実施の形態 2ではアクセス日から一定期間が経過した電子ファイルを削除の候補と したのに対して、本変形例ではサーバが更新要求を受け付けた際に保持サーバの 電子ファイルを削除するため、アクセス日が不要となる。 [0374] In the second embodiment, an electronic file whose fixed period has elapsed from the access date is a deletion candidate. In this modification, the electronic file on the holding server is deleted when the server receives an update request. Therefore, the access date becomes unnecessary.
[0375] ここ力 、図 29の説明に戻る。 [0375] Return here to the explanation of FIG.
[0376] 保持サーバ判断部 504は、保持サーバ記憶部 500を参照することにより、問合受 付部 102が受け付けた問い合わせに関連する電子ファイルを保持するサーバを判 断する部位である。 The holding server determination unit 504 is a part that determines a server that holds an electronic file related to an inquiry received by the inquiry reception unit 102 by referring to the holding server storage unit 500.
[0377] また、保持サーバ判断部 504は、アクセス元サーバ以外に更新要求に係る電子フ アイルを保持するサーバを判断する。 [0377] Also, the holding server determination unit 504 determines a server that holds the electronic file related to the update request in addition to the access source server.
[0378] 削除対象判断部 524は、実施の形態 2に係る削除対象判断部 424と同様に、削除 の対象となる電子ファイルをサーバごとに判断する部位である。本変形例に係る削除 対象判断部 524は、保持サーバ判断部 504が判断したアクセス元サーバ以外に更 新要求に係る電子ファイルを保持するサーバに関する情報を取得し、取得したサー バに関する情報を削除要求部 426に引き渡す。
[0379] 続けて、ユーザからの更新要求をサーバが受け付けた場合に本変形例に係る各装 置が実行する処理について、図を参照して説明する。 [0378] Similarly to the deletion target determination unit 424 according to Embodiment 2, the deletion target determination unit 524 is a part that determines an electronic file to be deleted for each server. The deletion target determination unit 524 according to this modification obtains information about the server that holds the electronic file related to the update request in addition to the access source server determined by the holding server determination unit 504, and deletes the acquired information about the server. Deliver to request part 426. [0379] Next, processing executed by each device according to the present modification when the server receives an update request from the user will be described with reference to the drawings.
[0380] 図 31は、ユーザ力もの更新要求をサーバが受け付けた場合に本変形例に係る各 装置が実行する処理の例を示すタイムチャートである。本図では、サーバ A320をァ クセス元サーバとし、そのサーバ A320がファイル dの更新要求を受け付けた場合を 例に具体的に説明する。 FIG. 31 is a time chart illustrating an example of processing executed by each device according to the present modification when the server accepts an update request having a user power. In this figure, server A320 is assumed to be the access source server, and the case where server A320 receives an update request for file d will be specifically described as an example.
[0381] 本図において、図 26に示す実施の形態 2に係る各装置において実行される処理と 同一の参照符号を付した処理は、同様の処理を示す。そのため、同一の参照符号を 付した処理については、ここでの説明は省略する。 [0381] In this figure, processes denoted by the same reference numerals as those executed in each apparatus according to Embodiment 2 shown in Fig. 26 indicate similar processes. For this reason, the description of the processes with the same reference numerals is omitted here.
[0382] 本図に示す処理と、図 26に示す処理との違いは、アクセス元サーバ以外に保持サ ーバがある力否かの判断 (S212)において、アクセス元サーバ以外に保持サーバが あると判断された場合 (S212で Yes)以後の処理にある。 [0382] The difference between the process shown in this figure and the process shown in FIG. 26 is that there is a holding server other than the access source server in determining whether there is a holding server other than the access source server (S212). If it is determined (Yes in S212), it is in the subsequent processing.
[0383] ここで、アクセス元サーバであるサーバ A320がファイル dの更新要求を受け付けた 場合に、保持サーバ判断部 504が S212における判断処理を実行するときの、フアイ ル保持情報は、図 32に示すようになる。 Here, when the server A320 as the access source server receives the update request for the file d, the file holding information when the holding server determination unit 504 executes the determination processing in S212 is shown in FIG. As shown.
[0384] 図 32は、サーバ A320がファイル dの更新要求を受け付けた場合に、保持サーバ 判断部 504が S212における判断処理を実行するときの、ファイル保持情報 500cを 示す図である。ファイル保持情報の初期状態は、図 30に示すファイル保持情報 500 bとする。 FIG. 32 is a diagram showing the file holding information 500c when the holding server determination unit 504 executes the determination process in S212 when the server A320 receives the update request for the file d. The initial state of the file holding information is the file holding information 500b shown in FIG.
[0385] 本図に示すファイル保持情報 500cは、保持情報更新処理 (S208)により、ファイル dに対応する「サーバ名」に「サーバ A」が追加されて 、る。 In the file holding information 500c shown in the figure, “server A” is added to the “server name” corresponding to the file d by the holding information update process (S208).
[0386] ここ力 、図 31を参照して、アクセス元サーバ以外に保持サーバがあると判断され た場合 (S212で Yes)以後の処理にっ 、て説明する。 [0386] With reference to FIG. 31, the following processing will be described when it is determined that there is a holding server other than the access source server (Yes in S212).
[0387] まず、保持サーバ判断部 504は、保持情報更新部 412がファイル保持情報 500b を更新したことを受けて、アクセス元サーバ以外に、保持サーバがあるか否かおよび 保持サーバがある場合には保持サーバがどのサーバであるかを判断する(S212)。 [0387] First, the holding server determination unit 504 receives the fact that the holding information update unit 412 has updated the file holding information 500b, and determines whether there is a holding server other than the access source server and if there is a holding server. Determines which server the holding server is (S212).
[0388] ファイル dについて、アクセス元サーバであるサーバ A320以外の保持サーバは、「 サーバ B」と「サーバ C」とであるため、保持サーバ判断部 504は、アクセス元サーバ
以外に、保持サーバがあり、その保持サーバは「サーバ B」と「サーバ C」とであると判 断する。 [0388] Regarding the file d, since the holding servers other than the server A320 that is the access source server are the "server B" and the "server C", the holding server determination unit 504 In addition, there are holding servers, and it is determined that the holding servers are “Server B” and “Server C”.
[0389] 続けて、削除対象判断部 524は、保持サーバ判断部 504の判断を受けて、削除対 象を決定する(S313)。 Subsequently, the deletion target determination unit 524 determines the deletion target in response to the determination of the holding server determination unit 504 (S313).
[0390] ここでは、削除対象判断部 524は、保持サーバ判断部 504が判断した保持サーバ である「サーバ B」と「サーバ C」とが保持するファイル dを削除対象と決定する(S313) Here, the deletion target determining unit 524 determines the file d held by “server B” and “server C”, which are the holding servers determined by the holding server determining unit 504, as deletion targets (S313).
[0391] 続けて、削除対象判断部 524は、削除対象があるカゝ否かを判断する(S314)。 Subsequently, the deletion target determining unit 524 determines whether there is a deletion target (S314).
[0392] 削除対象がないと判断した場合 (S314で No)、分散ファイル管理装置 310は、サ ーバからの要求または問合せを受け付けるまで待機する。 [0392] If it is determined that there is no deletion target (No in S314), the distributed file management device 310 waits until receiving a request or inquiry from the server.
[0393] また、削除対象があると判断した場合 (S314で Yes)、続けて、削除要求部 426は[0393] If it is determined that there is a deletion target (Yes in S314), then the deletion request unit 426
、ファイルの削除要求を保持サーバに送信し、保持サーバの削除要求受信部 322は そのファイルの削除要求を受信する(S315)。 The file deletion request is transmitted to the holding server, and the deletion request receiving unit 322 of the holding server receives the file deletion request (S315).
[0394] ここでは、「サーバ B」と「サーバ C」とが保持するファイル dが削除対象と判断したた め、削除対象判断部 524は、削除対象があると判断し (S314で Yes)、削除要求部 4[0394] Here, since the file d held by "Server B" and "Server C" is determined as the deletion target, the deletion target determination unit 524 determines that there is a deletion target (Yes in S314), and Deletion request part 4
26は、ファイル dの削除要求をサーバ B330およびサーバ C340に送信し、サーバ B26 sends a request to delete file d to server B330 and server C340, and server B
330およびサーバ C340の削除要求受信部 322は、それぞれファイル dの削除要求 を受信する(S315)。 The deletion request receiving unit 322 of 330 and the server C340 respectively receive the deletion request for the file d (S315).
[0395] 続けて、ファイル削除要求を受け付けた保持サーバのファイル記憶制御部 77は、 削除要求に係る電子ファイルを、ファイル記憶部が記憶して 、るファイル情報から削 除する(S316)。 Subsequently, the file storage control unit 77 of the holding server that has received the file deletion request deletes the electronic file related to the deletion request from the file information stored in the file storage unit (S316).
[0396] ここでは、サーバ B330およびサーバ C340のファイル記憶制御部 77力 ファイル 記憶部 35、 45が記憶している各ファイル dを削除する(S316)。 Here, each file d stored in the file storage control unit 77 force file storage unit 35, 45 of the server B330 and the server C340 is deleted (S316).
[0397] 続けて、保持サーバの更新通知部 391は更新通知を送信し、更新通知受付部 41 0は更新通知を受信する(S317)。ここで、「更新通知」は、保持サーバ 20、 30、 40 のファイル記憶部 25、 35、 45が記憶している電子ファイルが削除されたことを内容と する通知である。 Subsequently, the update notification unit 391 of the holding server transmits an update notification, and the update notification reception unit 410 receives the update notification (S317). Here, the “update notification” is a notification indicating that the electronic file stored in the file storage units 25, 35, 45 of the holding servers 20, 30, 40 has been deleted.
[0398] ここでは、サーバ B330およびサーバ C340の更新通知部 391が、ファイル記憶部
35、 45が記憶しているファイル dが削除されたことを内容とする更新通知を送信し、 更新通知受付部 410がその更新通知を受信する(S317)。 [0398] Here, the update notification unit 391 of the server B330 and the server C340 is the file storage unit. An update notification with the content that the file d stored in 35 and 45 is deleted is transmitted, and the update notification receiving unit 410 receives the update notification (S317).
[0399] 続けて、保持情報更新部 412は、更新通知受付部 410が受け付けた更新通知に 従って、保持サーバ記憶部 500のファイル保持情報 500cを更新して(S318)、処理 を終了する。 Subsequently, the holding information update unit 412 updates the file holding information 500c in the holding server storage unit 500 according to the update notification received by the update notification receiving unit 410 (S318), and ends the processing.
[0400] ここで、保持情報更新部 412による更新処理をした後のファイル保持情報について 、図を参照して説明する。 Here, the file holding information after the update processing by the holding information update unit 412 will be described with reference to the drawings.
[0401] 図 33は、ユーザ力 ファイル dの更新要求をサーバ A320が受け付けた場合に、本 変形例に係る各装置が実行する処理が終了した後のファイル保持情報 500dを示す 図である。本図に示すファイル保持情報 500dでは、図 32に示すファイル保持情報 5 OOc力ら、ファイル dに対応する「サーバ名」から「サーバ B」と「サーバ C」とが削除され ており、ファイル dに対応する「サーバ名」は「サーバ A」のみとなる。 [0401] FIG. 33 is a diagram showing the file holding information 500d after the processing executed by each device according to the present modification is completed when the server A320 receives a request for updating the user power file d. In the file holding information 500d shown in this figure, “Server B” and “Server C” have been deleted from the “Server name” corresponding to the file d from the file holding information 5 OOc force shown in FIG. “Server name” is the only “server name” corresponding to.
[0402] 以上に説明した変形例 1では、ユーザから更新要求を受け付けたときに削除処理 を実行するため、「アクセス日」が不要となる。また、更新要求を受け付けたアクセス元 サーバには、処理後も、削除に係る電子ファイルが保持される。そのため、削除対象 判断部 424は、削除に係る電子ファイルを保持するサーバが複数のある力否かに基 づいて、削除対象を決定する必要がなぐ処理を簡略ィ匕することができる。 [0402] In Modification 1 described above, the deletion process is executed when an update request is received from the user, so the "access date" is not required. In addition, the access source server that has received the update request holds the electronic file related to the deletion even after processing. Therefore, the deletion target determination unit 424 can simplify the process that does not require determination of the deletion target based on whether or not there is a plurality of servers that hold the electronic file related to the deletion.
[0403] なお、上記のように、予め定められた周期と、サーバがユーザから書込要求を受け 付けたときとの両方で、削除処理を実行する場合には、分散ファイル管理装置は、図 22に示す実施の形態 2に係る分散ファイル管理装置 310が備える機能と、図 29に示 す変形例 1に係る分散ファイル管理装置 310が備える機能とを組み合わせることで実 現できる。 [0403] As described above, when the deletion process is executed both in a predetermined cycle and when the server receives a write request from the user, the distributed file management apparatus This can be realized by combining the function of the distributed file management apparatus 310 according to the second embodiment shown in FIG. 22 and the function of the distributed file management apparatus 310 according to the first modification shown in FIG.
[0404] さらに、例えば、ファイル保持情報 400bに、さらに、実施の形態 1と同様に電子ファ ィルの内容が最新であるカゝ否かを示す「フラグ」を含め、削除の対象とする電子フアイ ルに古い内容を有する電子ファイルを含めても構わな!/ヽ。 [0404] Further, for example, the file holding information 400b further includes a “flag” indicating whether or not the content of the electronic file is the latest as in the first embodiment. You may include electronic files with old content in the file! / ヽ.
[0405] 図 34は、古い内容を有する電子ファイルを削除の対象とする場合のファイル保持 情報 400dの例を示す図である。本図に示すように、この場合のファイル保持情報 40 Odは、「ファイルパス」と、「サーバ名」と、「フラグ」と、「アクセス日」とから構成される。
[0406] ファイル保持情報 400dの「ファイルパス」と、「サーバ名」と、「アクセス日」とは、図 2 3を参照して説明した実施の形態 2に係るファイル保持情報 400bの「ファイルパス」と 、「サーバ名」と、「アクセス日」と、それぞれ同様の情報が格納される。また、ファイル 保持情報 400dの「フラグ」には、図 7を参照して説明した実施の形態 1に係るファイル 保持情報 100bの「フラグ」と同様の情報が格納される。 FIG. 34 is a diagram showing an example of the file holding information 400d when an electronic file having old contents is to be deleted. As shown in the figure, the file holding information 40 Od in this case is composed of “file path”, “server name”, “flag”, and “access date”. [0406] The "file path", "server name", and "access date" of the file holding information 400d are the "file path" of the file holding information 400b according to the second embodiment described with reference to FIG. "," Server name "and" access date "are stored in the same information. Further, the “flag” of the file holding information 400d stores the same information as the “flag” of the file holding information 100b according to Embodiment 1 described with reference to FIG.
[0407] この場合の各装置の機能的構成は、実施の形態 1、実施の形態 2および変形例 1 に係る各装置が備える機能を組み合わせることによって、実現される。 [0407] The functional configuration of each device in this case is realized by combining the functions of each device according to Embodiment 1, Embodiment 2, and Modification 1.
[0408] (実施の形態 3) [0408] (Embodiment 3)
実施の形態 1および実施の形態 2に係る分散ファイル管理システムでは、最新の内 容を有する電子ファイルを複数のサーバが重複して保持する場合がある。このように 重複して保持することにより、ユーザが頻繁に取得する電子ファイルについては、そ の取得要求に関する処理において、通信回線を移動する情報量を減少させることを 可能としている。 In the distributed file management system according to the first embodiment and the second embodiment, a plurality of servers may hold an electronic file having the latest contents in an overlapping manner. In this way, the electronic file that is frequently acquired by the user can be reduced in the amount of information that travels through the communication line in the processing related to the acquisition request.
[0409] しかし、実施の形態 1および実施の形態 2では、同一の電子ファイルを複数のサー バが重複して保持することを有効に活用して 、な 、と 、う問題がある。 [0409] However, in Embodiment 1 and Embodiment 2, there is a problem in that it is effectively utilized that a plurality of servers hold the same electronic file redundantly.
[0410] そこで、実施の形態 3では、複数のサーバによる重複保持を積極的に活用し、第三 者による電子ファイルの改竄を防止することを可能とする分散ファイル管理システム を提供する。また、サーバやディスクの耐障害性の向上を可能とする分散ファイル管 理システムを提供する。 [0410] Therefore, Embodiment 3 provides a distributed file management system that can actively prevent duplication of a plurality of servers and prevent tampering of electronic files by a third party. It also provides a distributed file management system that can improve the fault tolerance of servers and disks.
[0411] 図 35から図 47までを参照して、本発明に係る実施の形態 3について説明する。 [0411] Embodiment 3 according to the present invention will be described with reference to Figs.
[0412] 図 1に示す分散ファイル管理システムの構成の概要は、実施の形態 3に係る分散フ アイル管理システムにおいても同様であるため、分散ファイル管理システムの構成の 概要に関する、ここでの詳細な説明は省略する。 [0412] The outline of the configuration of the distributed file management system shown in FIG. 1 is the same as that of the distributed file management system according to the third embodiment. Description is omitted.
[0413] 実施の形態 3に係る分散ファイル管理システムは、ユーザが利用する端末 60、 65と 、ファイル記憶部 25、 35、 45をそれぞれに備え、各端末 60、 65からユーザの要求を 受け付けるサーバ A620と、サーバ B630と、サーバ C640と、これらのサーバと情報 を送受信することにより各サーバに分散して保持されている電子ファイルを管理する 分散ファイル管理装置とにより構成される。
[0414] また、図 2に示す各サーバが備えるファイル記憶部が記憶している電子ファイルに 共通のフォルダ構成は、実施の形態 3に係る分散ファイル管理システムにお 、ても同 様であるため、フォルダ構成に関するここでの説明は省略する。 [0413] The distributed file management system according to Embodiment 3 includes terminals 60 and 65 used by a user and file storage units 25, 35, and 45, respectively, and a server that receives a user request from each terminal 60 and 65 A620, server B630, server C640, and a distributed file management device that manages electronic files distributed and held in each server by transmitting and receiving information to and from these servers. [0414] Also, the folder configuration common to the electronic files stored in the file storage unit included in each server shown in FIG. 2 is the same in the distributed file management system according to the third embodiment. A description of the folder structure is omitted here.
[0415] 図 35A〜図 35Cは、実施の形態 3に係る各サーバが備えるファイル記憶部が記憶 して 、る電子ファイルの具体例を示す図である。 [0415] FIGS. 35A to 35C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 3. FIG.
[0416] 図 35Aは、実施の形態 3に係るサーバ A620が備えるファイル記憶部 25が記憶し ている電子ファイル情報 25bの例を示す図である。本図は、本実施の形態に係るファ ィル記憶部 25が「ファイル a」と、「ファイル b」とを記憶して 、る例を示す。 [0416] FIG. 35A is a diagram showing an example of the electronic file information 25b stored in the file storage unit 25 included in the server A620 according to the third embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a” and “file b”.
[0417] 図 35Bは、実施の形態 3に係るサーバ B630が備えるファイル記憶部 35が記憶して いる電子ファイル情報 35bの例を示す図である。本図は、本実施の形態に係るフアイ ル記憶部 35が「ファイル a」と、「ファイルのと、「ファイル e」とを記憶している例を示す [0417] FIG. 35B is a diagram showing an example of the electronic file information 35b stored in the file storage unit 35 provided in the server B630 according to Embodiment 3. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a”, “file”, and “file e”.
[0418] 図 35Cは、実施の形態 3に係るサーバ C640が備えるファイル記憶部 45が記憶し ている電子ファイル情報 45bの例を示す図である。本図は、本実施の形態に係るファ ィル記憶部 45が「ファイル b」と、「ファイル d」と、「ファイル e」とを記憶して ヽる例を示 す。 [0418] FIG. 35C is a diagram showing an example of the electronic file information 45b stored in the file storage unit 45 included in the server C640 according to the third embodiment. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file b”, “file d”, and “file e”.
[0419] 図 36は、実施の形態 3に係るサーノ A620が備える機能的構成の例を示すブロッ ク図である。サーバ A620は、実施の形態 1に係るサーノ A20と同様に、ユーザから の要求を受け、ユーザの要求が取得要求である場合、受け付けた取得要求に関連 する電子ファイルを分散ファイル管理装置 610の管理下にある各サーバのいずれか が保持している限り、その最新の実体を含む電子ファイルをユーザが利用する端末 に送信する。また、実施の形態 3に係るサーバ A620は、実施の形態 1に係るサーバ A20とは異なり、改竄を検知するために電子ファイルのノ、ッシュ値を計算する。 [0419] FIG. 36 is a block diagram illustrating an example of a functional configuration included in the Sano A620 according to the third embodiment. Server A 620 receives a request from the user as in the case of Sano A20 according to Embodiment 1, and when the user request is an acquisition request, server A 620 manages the electronic file related to the received acquisition request in As long as one of the servers below holds, it sends an electronic file containing the latest entity to the terminal used by the user. Further, unlike the server A20 according to the first embodiment, the server A620 according to the third embodiment calculates the value of the electronic file in order to detect tampering.
[0420] サーバ A620は、ファイル記憶部 25と、ユーザ要求受信部 71と、要求種別判断部 73と、要求情報保持部 75と、保持サーバ問合部 79と、保持応答受信部 81と、フアイ ル送信要求受信部 83と、ファイル送信部 85と、ファイル受信部 87と、ロック要求送信 部 89と、更新通知部 91と、完了通知受信部 93と、ユーザ要求応答部 95と、ハッシュ 値要求受信部 624と、ハッシュ値計算部 626と、ハッシュ値送信部 628と、記憶部情
報要求受信部 630と、記憶部情報送信部 632と、複写先受信部 634と、ファイル記 憶制御部 677とを備える。 [0420] The server A 620 includes a file storage unit 25, a user request receiving unit 71, a request type determining unit 73, a request information holding unit 75, a holding server query unit 79, a holding response receiving unit 81, a file Transmission request receiving unit 83, file transmitting unit 85, file receiving unit 87, lock request transmitting unit 89, update notification unit 91, completion notification receiving unit 93, user request response unit 95, hash value request Receiving unit 624, hash value calculating unit 626, hash value transmitting unit 628, storage unit information An information request receiving unit 630, a storage unit information transmitting unit 632, a copy destination receiving unit 634, and a file storage control unit 677 are provided.
[0421] 実施の形態 3に係るサーバ A620について、実施の形態 1に係るサーバ A20と同 様の機能を有する部位には、同一の参照符号を付しており、これらの部位に関するこ こでの説明は省略する。 [0421] For the server A620 according to the third embodiment, parts having the same functions as those of the server A20 according to the first embodiment are denoted by the same reference numerals. Description is omitted.
[0422] ハッシュ値要求受信部 624は、分散ファイル管理装置 610から、特定の電子フアイ ルのハッシュ値の要求を受信する部位である。 The hash value request receiving unit 624 is a part that receives a request for a hash value of a specific electronic file from the distributed file management apparatus 610.
[0423] ハッシュ値計算部 626は、ハッシュ値要求受信部 624が受信した要求に係る電子 ファイルをファイル記憶制御部 77を介して取得し、その電子ファイルのハッシュ値を 計算する部位である。 [0423] The hash value calculation unit 626 is a part that acquires the electronic file related to the request received by the hash value request reception unit 624 via the file storage control unit 77 and calculates the hash value of the electronic file.
[0424] ハッシュ値送信部 628は、ハッシュ値計算部 626が計算したハッシュ値を分散ファ ィル管理装置 610に送信する部位である。 The hash value transmission unit 628 is a part that transmits the hash value calculated by the hash value calculation unit 626 to the distributed file management device 610.
[0425] 記憶部情報要求受信部 630は、自身が備えるファイル記憶部 25の状態に関する 情報、例えば、空き容量などの要求を受信する部位である。 [0425] The storage unit information request receiving unit 630 is a part that receives information related to the state of the file storage unit 25 included in the storage unit information request, such as a request for free space.
[0426] 記憶部情報送信部 632は、後述するファイル記憶制御部 677からファイル記憶部 2[0426] The storage unit information transmission unit 632 sends a file storage unit 2 from a file storage control unit 677 to be described later.
5の状態を示す情報を取得し、分散ファイル管理装置 610に送信する部位である。 This is a part that acquires information indicating the state of 5 and transmits it to the distributed file management apparatus 610.
[0427] 複写先受信部 634は、書込要求に係る電子ファイルが、いずれのサーノ にも保持 されて 、な 、新規に格納される電子ファイルである場合、その電子ファイルのコピー を格納するサーバ (以下、「複写先サーバ」という。)に関する情報を受信する部位で ある。 [0427] When the electronic file related to the write request is a newly stored electronic file held in any Sano, the copy destination receiving unit 634 stores a copy of the electronic file. (Hereinafter referred to as “copy destination server”).
[0428] これにより、新規格納に係る電子ファイルは複写先サーバにコピーされるため、同 一の電子ファイルを少なくとも 2つ以上のサーバが保持することとなる。そのため、ュ 一ザの取得要求に係る電子ファイルを保持するいずれか 1つのサーバ、または、サ ーバが備えるファイル記憶部に障害が発生しても、その電子ファイルは他のサーバ にも保持されているため、ユーザは他のサーバから要求に係る電子ファイルを取得 することができる。 [0428] As a result, the electronic file related to the new storage is copied to the copy destination server, and therefore, at least two or more servers hold the same electronic file. For this reason, even if a failure occurs in any one server that holds the electronic file related to the user's acquisition request or the file storage unit of the server, the electronic file is also held in the other server. Therefore, the user can obtain the electronic file related to the request from another server.
[0429] ファイル記憶制御部 677は、実施の形態 1に係るファイル記憶制御部 77と同様に、 ファイル記憶部 25を制御する部位であり、ファイル記憶部 25が特定の電子ファイル
を記憶して 、る力否かを検索し、ファイル記憶部 25が記憶して 、る電子ファイルを読 み出し、ファイル記憶部 25が記憶している電子ファイルを更新し、また、ファイル記憶 部 25に新たな電子ファイルを格納し、さらに、ファイル記憶部 25の空き容量などファ ィル記憶部 25の状態を示す情報を取得する。 Similarly to the file storage control unit 77 according to Embodiment 1, the file storage control unit 677 is a part that controls the file storage unit 25, and the file storage unit 25 is a specific electronic file. The file storage unit 25 stores and reads the electronic file stored in the file storage unit 25, updates the electronic file stored in the file storage unit 25, and the file storage unit. A new electronic file is stored in 25, and information indicating the state of the file storage unit 25 such as the free capacity of the file storage unit 25 is acquired.
[0430] 以上が、本実施の形態に係るサーノ A620が備える機能的構成である。サーバ B6 30およびサーバ C640も、サーバ A620と同様の機能的構成を備える。 [0430] The above is the functional configuration of the Sano A620 according to the present embodiment. Server B630 and server C640 also have the same functional configuration as server A620.
[0431] 図 37は、実施の形態 3に係る分散ファイル管理装置 610が備える機能的構成の例 を示すブロック図である。実施の形態 3に係る分散ファイル管理装置 610と、実施の 形態 1に係る分散ファイル管理装置 10との違いは、実施の形態 3に係る分散ファイル 管理装置 610が、取得要求に係る電子ファイルのハッシュ値をサーバから取得するこ とにより、最新かつ正しい内容を有する電子ファイルをユーザに送信し、また、 1つの 電子ファイルを少なくとも 2つのサーバが保持するように管理することである。 FIG. 37 is a block diagram showing an example of a functional configuration provided in the distributed file management apparatus 610 according to the third embodiment. The difference between the distributed file management apparatus 610 according to the third embodiment and the distributed file management apparatus 10 according to the first embodiment is that the distributed file management apparatus 610 according to the third embodiment has the hash of the electronic file related to the acquisition request. By obtaining the value from the server, the electronic file having the latest and correct contents is transmitted to the user, and one electronic file is managed so that at least two servers hold it.
[0432] 分散ファイル管理装置 610は、問合受付部 102と、保持応答送信部 106と、フアイ ル送信要求部 108と、更新通知受付部 110と、保持情報更新部 112と、更新完了通 知部 114と、ロック要求受信部 116と、ロック情報保持部 118と、保持サーバ記憶部 7 00と、保持サーバ判断部 704と、ハッシュ値要求部 728と、ハッシュ値受信部 730と 、更新許可要求受信部 732と、ハッシュ値初期化部 734と、更新許可送信部 736と、 記憶部情報要求部 738と、記憶部情報受信部 740と、複写先判定部 742と、複写先 送信部 744とを備える。 [0432] The distributed file management device 610 includes an inquiry reception unit 102, a retention response transmission unit 106, a file transmission request unit 108, an update notification reception unit 110, a retention information update unit 112, and an update completion notification. Unit 114, lock request receiving unit 116, lock information holding unit 118, holding server storage unit 700, holding server determining unit 704, hash value requesting unit 728, hash value receiving unit 730, update permission request A receiving unit 732, a hash value initializing unit 734, an update permission transmitting unit 736, a storage unit information requesting unit 738, a storage unit information receiving unit 740, a copy destination determining unit 742, and a copy destination transmitting unit 744. Prepare.
[0433] 保持サーバ記憶部 700は、実施の形態 1に係る保持サーバ記憶部 100と同様に、 管理サーバ情報と、ファイル保持情報とを記憶している記憶部である。保持サーバ記 憶部 700は、例えば、 HDにより実現される。 The holding server storage unit 700 is a storage unit that stores management server information and file holding information, like the holding server storage unit 100 according to the first embodiment. The holding server storage unit 700 is realized by HD, for example.
[0434] 実施の形態 3に係る管理サーバ情報 700aは、図 6を参照して説明した実施の形態 [0434] The management server information 700a according to Embodiment 3 is the embodiment described with reference to FIG.
1に係る管理サーバ情報 100aと同様であるため、ここでの説明は省略する。 Since it is the same as the management server information 100a related to 1, description here is omitted.
[0435] 実施の形態 3に係るファイル保持情報の具体例について、図 38を参照して説明す る。 A specific example of file retention information according to Embodiment 3 will be described with reference to FIG.
[0436] 図 38は、保持サーバ記憶部 700が記憶しているファイル保持情報 700bの例を示 す図である。本図が示すように、本実施の形態に係るファイル保持情報 700bは、「フ
アイルパス」と、「サーバ名」と、「ハッシュ値」と力ら構成される。 FIG. 38 is a diagram showing an example of the file holding information 700b stored in the holding server storage unit 700. As shown in the figure, the file retention information 700b according to the present embodiment is “FRAME”. It consists of “Isle pass”, “Server name”, and “Hash value”.
[0437] 本実施の形態に係るファイル保持情報 700bの「ファイルパス」と、「サーバ名」とは、 図 7を参照して説明した実施の形態 1に係るファイル保持情報 100bの「ファイルパス 」と、「サーバ名」と、それぞれ同様の情報が格納されるため、ここでの詳細な説明は 省略する。 [0437] The "file path" and "server name" of the file holding information 700b according to the present embodiment are the "file path" of the file holding information 100b according to the first embodiment described with reference to FIG. And “server name” are stored in the same information, and detailed description thereof is omitted here.
[0438] 「ハッシュ値」には、サーバにおいて算出された正規の電子ファイルのハッシュ値が 格納される。ここで、「正規の電子ファイル」とは、その電子ファイルを作成または変更 する権限を有する者により、作成または変更された電子ファイルをいう。また、本実施 の形態に係るハッシュ値は、例えば、予め定められたハッシュ関数を用いて、電子フ アイルの全てまたは一部を入力値として算出される値である。ノ、ッシュ関数は全ての サーバにおいて共通して予め定められており、また、入力値が、電子ファイルの全て であるか、または、一部であるか、さらに、一部の場合にはいずれの部分である力も、 全てのサーバにおいて共通して予め定められている。 [0438] In the "hash value", the hash value of the regular electronic file calculated in the server is stored. Here, the “regular electronic file” refers to an electronic file created or changed by a person who has authority to create or change the electronic file. In addition, the hash value according to the present embodiment is a value calculated using, for example, all or part of the electronic file as an input value using a predetermined hash function. The node function is pre-determined in common for all servers, and the input value is all or part of the electronic file. The force that is a part is also predetermined for all servers.
[0439] 本図は、例えば、「ZdataZa」で示されるファイル aについて、「ハッシュ値」が「19 32066」であり、保持サーバが「サーバ A」および「サーバ B」であることを示す。 This figure shows that, for example, for the file a indicated by “ZdataZa”, the “hash value” is “19 32066” and the holding servers are “server A” and “server B”.
[0440] また、本図に示すように、全ての電子ファイルが 2つ以上のサーバに保持されてい る。そのため、例えば、「サーバ A」に障害が発生した場合であっても、ファイル &は「 サーバ B」から、ファイル bは「サーバ C」カも取得することができる。したがって、異なる サーバが電子ファイルを重複して保持することにより、システム全体での耐障害性が 向上する。 [0440] Also, as shown in this figure, all electronic files are held in two or more servers. Therefore, for example, even if a failure occurs in “server A”, file & can be obtained from “server B” and file b can be obtained as “server C”. Therefore, the fault tolerance of the entire system is improved by holding electronic files redundantly on different servers.
[0441] ここ力 、図 37の説明に戻る。 [0441] This force returns to the explanation of FIG.
[0442] 保持サーバ判断部 704は、保持サーバ記憶部 700を参照することにより、問合受 付部 102が受け付けた問い合わせに関連する電子ファイルを保持するサーバを判 断する部位である。本実施の形態に係る保持サーバ判断部 704は、ユーザの取得 要求に係る電子ファイルの保持サーバを判断する場合、正規の内容を有する電子フ アイルを保持するサーバを保持サーバと判断する。 The holding server determination unit 704 is a part that determines a server holding an electronic file related to the inquiry received by the inquiry reception unit 102 by referring to the holding server storage unit 700. When the holding server determination unit 704 according to the present embodiment determines the holding server of the electronic file related to the user acquisition request, the holding server determination unit 704 determines that the server holding the electronic file having regular contents is the holding server.
[0443] ノ、ッシュ値要求部 728は、保持サーバ判断部 704が取得要求に係る電子ファイル の保持サーバの候補として判断したサーバに、そのサーバが保持する取得要求に係
る電子ファイルのハッシュ値を要求する部位である。 [0443] The cache value requesting unit 728 relates to the acquisition request held by the server to the server determined by the holding server determination unit 704 as a candidate for the holding server of the electronic file related to the acquisition request. This is the part that requests the hash value of the electronic file.
[0444] ノヽッシュ値受信部 730は、ハッシュ値要求部 728が要求を送信したサーバから、ハ ッシュ値を受信する部位である。 [0444] The nosh value receiving unit 730 is a part that receives the hash value from the server to which the hash value request unit 728 has transmitted the request.
[0445] 更新許可要求受信部 732は、ユーザが電子ファイルを更新する場合に、ユーザが 利用する端末 60 (65)から、その電子ファイルの更新に関する許可の要求を受信す る部位である。 [0445] The update permission request receiving unit 732 is a part that receives a request for permission regarding the update of the electronic file from the terminal 60 (65) used by the user when the user updates the electronic file.
[0446] ハッシュ値初期化部 734は、更新許可要求受信部 732が更新許可要求を受信した 場合に、その更新に係る電子ファイルに対応するファイル保持情報 700bの「ハッシュ 値」を初期化する部位である。本実施の形態のハッシュ値の初期化では、「ハッシュ 値」を「- 1」で更新する。 [0446] When the update permission request receiving unit 732 receives the update permission request, the hash value initializing unit 734 initializes the "hash value" of the file holding information 700b corresponding to the electronic file related to the update It is. In the initialization of the hash value in this embodiment, the “hash value” is updated with “−1”.
[0447] 更新許可送信部 736は、ハッシュ値初期化部 734が「ハッシュ値」を初期化したこと を受けて、更新許可要求受信部 732が受信した更新許可要求の送信元である端末 60 (65)に、更新を許可することを内容とする情報を送信する部位である。 [0447] In response to the fact that the hash value initialization unit 734 has initialized the "hash value", the update permission transmission unit 736 receives the update permission request received from the terminal 60 ( 65) is a part that transmits information whose content is to permit the update.
[0448] 記憶部情報要求部 738は、保持情報更新部 112が新規格納に係る更新をした場 合に、分散ファイル管理装置 610の管理下にある各サーバに、各サーバが備えるフ アイル記憶部の状態を示す情報 (以下、「記憶部情報」という。)を要求する部位であ る。 [0448] The storage unit information request unit 738 is a file storage unit included in each server in each server under the management of the distributed file management device 610 when the retained information update unit 112 performs an update related to new storage. This is a part that requests information indicating the status of the device (hereinafter referred to as “storage unit information”).
[0449] 本実施の形態に係る「記憶部情報」は、例えば、各ファイル記憶部の空き容量に関 連する情報であり、具体的には、全記憶容量に対する空き容量の割合などである。 [0449] "Storage unit information" according to the present embodiment is, for example, information related to the free capacity of each file storage unit, and specifically, the ratio of the free capacity to the total storage capacity.
[0450] 記憶部情報受信部 740は、記憶部情報要求部 738からの要求に応じて各サーバ 力 送信される記憶部情報を受信する部位である。 Storage unit information reception unit 740 is a part that receives storage unit information transmitted from each server in response to a request from storage unit information request unit 738.
[0451] 複写先判定部 742は、記憶部情報受信部 740が受信した記憶部情報に基づ 、て 、複写先サーバを判定する部位である。本実施の形態に係る複写先判定部 742は、 記憶部情報に含まれる空き容量の割合が最大であるサーバを、複写先サーバとする The copy destination determination unit 742 is a part that determines a copy destination server based on the storage unit information received by the storage unit information reception unit 740. Copy destination determination unit 742 according to the present embodiment sets the server having the largest percentage of free space included in the storage unit information as the copy destination server.
[0452] 複写先送信部 744は、複写先判定部 742により複写先サーバと判定されたサーバ に関する情報を、アクセス元サーバに送信する部位である。 [0452] The copy destination transmission unit 744 is a part that transmits information regarding the server determined as the copy destination server by the copy destination determination unit 742 to the access source server.
[0453] 以上のような機能を分散ファイル管理装置 610および各サーバ 620、 630、 640力 S
備えることにより、実施の形態 1と同様に、ユーザは、自己の利用する端末 60、 65か らいずれのサーバにアクセスするかにかかわらず、各サーバ 620、 630、 640のいず れかが電子ファイルを保持している限り、その電子ファイルを取得することが可能とな る。 [0453] Distributed file management device 610 and each server 620, 630, 640 power S By providing the same as in the first embodiment, the user can select one of the servers 620, 630, and 640 electronically regardless of which server is accessed from the terminal 60 or 65 used by the user. As long as the file is held, the electronic file can be obtained.
[0454] また、実施の形態 2と同様に、複数のサーバが保持する同一の電子ファイルは同期 力 Sとられるため、ユーザは、いずれのサーバが最新の内容を有する電子ファイルを保 持しているかを意識することなぐまた、任意のサーバにアクセスすることにより、最新 の内容を有する電子ファイルを取得することが可能となる。 [0454] Also, as in the second embodiment, the same electronic file held by a plurality of servers has a synchronization power S, so that the user can hold the electronic file having the latest contents on any server. In addition, it is possible to obtain an electronic file having the latest contents by accessing an arbitrary server.
[0455] さらに、同一の電子ファイルを少なくとも 2つのサーバが保持するため、もし、 1つの 保持サーバや保持サーバの記憶部に障害が生じた場合であっても、他の保持サー ノから電子ファイルを取得することができ、システム全体での耐障害性を向上させる ことが可能となる。 [0455] Further, since at least two servers hold the same electronic file, even if one holding server or the storage unit of the holding server fails, the electronic file can be transferred from another holding server. It is possible to improve the fault tolerance of the entire system.
[0456] さらに、分散ファイル管理装置 610が各ファイルのハッシュ値を保持している。その ため、ノ、ッシュ値を参照して、各サーバが保持する電子ファイルが正規であるか否か を判断でき、電子ファイルの不正な書き換えを防止することが可能となる。 [0456] Furthermore, the distributed file management device 610 holds the hash value of each file. Therefore, it is possible to determine whether or not the electronic file held by each server is legitimate by referring to the no-shake value and to prevent unauthorized rewriting of the electronic file.
[0457] 図 39は、ユーザが端末カゝら取得要求を送信した場合に、本発明の実施の形態 3〖こ 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 [0457] FIG. 39 shows a time indicating an example of processing executed in each device constituting the distributed file management system according to the third embodiment of the present invention when the user transmits an acquisition request from the terminal device. It is a chart.
[0458] 本図に示す「端末」、「アクセス元サーバ」、「保持サーバ」は、図 8と同様である。そ のため、これらに関するここでの説明は省略する。 The “terminal”, “access source server”, and “holding server” shown in this figure are the same as those in FIG. Therefore, the explanation here regarding these is omitted.
[0459] まず、アクセス元サーバ 20 (30、 40)のユーザ要求受信部 71は、ユーザが利用す る端末 60 (65)力も送信された取得要求を、通信回線 50を介して受信する(S401)。 ここで、「取得要求」とは、ユーザの指定に係る電子ファイルであって、最新の内容を 有する電子ファイルをユーザが利用する端末が取得する要求を内容とする情報であ る。 [0459] First, the user request receiving unit 71 of the access source server 20 (30, 40) receives the acquisition request transmitted also by the terminal 60 (65) force used by the user via the communication line 50 (S401). ). Here, the “acquisition request” is an electronic file that is specified by the user, and is information that includes a request that the terminal that the user uses the electronic file having the latest contents acquires.
[0460] 次に、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、そ の要求が「取得要求」と「書込要求」とのいずれであるかを判断する。本図は、取得要 求に係る処理のタイムチャートであるため、この判断を省略している。
[0461] 続けて、ファイル記憶制御部 677は、自身のファイル記憶部 25を参照することによ り、自身のファイル記憶部 25が取得要求に係る電子ファイルを記憶保持しているか 否かを判断する(S402)。 Next, the request type determination unit 73 acquires the request received by the user request reception unit 71 and determines whether the request is an “acquisition request” or a “write request”. Since this figure is a time chart of processing related to an acquisition request, this determination is omitted. Subsequently, the file storage control unit 677 refers to its own file storage unit 25 to determine whether or not its own file storage unit 25 stores and holds the electronic file related to the acquisition request. (S402).
[0462] 電子ファイルを保持して!/、な 、と判断した場合 (S402で No)、続けて、保持サーバ 問合部 79は分散ファイル管理装置 10に保持サーバを問合せ、問合受付部 102は 保持サーバの問合わせを受け付ける(S403)。 [0462] If it is determined that the electronic file is held! /, (No in S402), then the holding server inquiry unit 79 inquires the distributed file management device 10 about the holding server, and receives the inquiry reception unit 102. Accepts the query of the holding server (S403).
[0463] 続けて、保持サーバ判断部 704は、保持サーバ記憶部 100のファイル保持情報 10Subsequently, the holding server determination unit 704 performs the file holding information 10 of the holding server storage unit 100.
Obを参照することにより、アクセス元サーバ以外に保持サーバがあるか否かを判断す る(S404)。 By referring to Ob, it is determined whether there is a holding server other than the access source server (S404).
[0464] アクセス元サーバ以外に保持サーバがな 、と判断した場合(S404で No)、続けて 、保持応答送信部 106は不保持通知を送信し、保持応答受信部 81は不保持通知を 受信する(S405)。 [0464] If it is determined that there is no holding server other than the access source server (No in S404), then the holding response transmission unit 106 transmits a non-holding notification, and the holding response receiving unit 81 receives the non-holding notification. (S405).
[0465] 続けて、ユーザ要求応答部 95は、不保持通知をファイル記憶制御部 77を介して取 得すると、取得要求を送信した端末 60 (65)に不保持通知を送信して(S406)、処理 を終了する。 [0465] Subsequently, when the user request response unit 95 acquires the non-holding notification via the file storage control unit 77, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that transmitted the acquisition request (S406). End the process.
[0466] また、アクセス元サーバ以外に保持サーバがあると判断した場合 (S404で Yes)、 続けて、ハッシュ値要求部 728は、取得要求に係る電子ファイルのハッシュ値の要求 を保持サーバに送信し、保持サーバのハッシュ値要求受信部 624はハッシュ値の要 求を受信する(S407)。 [0466] If it is determined that there is a holding server other than the access source server (Yes in S404), the hash value request unit 728 subsequently sends a request for the hash value of the electronic file related to the acquisition request to the holding server. Then, the hash value request receiving unit 624 of the holding server receives the request for the hash value (S407).
[0467] 続けて、ハッシュ値計算部 626は、ファイル記憶制御部 677にファイル記憶部 25か ら取得要求に係る電子ファイルを取得させ、ファイル記憶制御部 677からその電子フ アイルを取得し、その電子ファイルのハッシュ値を計算する(S408)。 [0467] Subsequently, the hash value calculation unit 626 causes the file storage control unit 677 to acquire the electronic file related to the acquisition request from the file storage unit 25, acquires the electronic file from the file storage control unit 677, and The hash value of the electronic file is calculated (S408).
[0468] 続けて、ハッシュ値送信部 628はノ、ッシュ値計算部 626が計算したハッシュ値を送 信し、ハッシュ値受信部 730はハッシュ値を受信する(S409)。 [0468] Subsequently, the hash value transmitting unit 628 transmits the hash value calculated by the hash value calculating unit 626, and the hash value receiving unit 730 receives the hash value (S409).
[0469] 続けて、保持サーバ判断部 704は、保持サーバ記憶部 700のファイル保持情報 70 Obに含まれるハッシュ値と、ノ、ッシュ値受信部 730が受信したハッシュ値とがー致す るカゝ否かにより、保持サーバが保持する電子ファイルが正規であるカゝ否かを判断する (S410)。
[0470] ファイル保持情報 700bに含まれるハッシュ値と、ハッシュ値受信部 730が受信した ノ、ッシュ値とがー致しな 、場合、保持サーバ判断部 704は正規ではな 、と判断する( S41(TCNo)。 [0469] Subsequently, the holding server determination unit 704 determines whether the hash value included in the file holding information 70 Ob of the holding server storage unit 700 matches the hash value received by the hash value receiving unit 730. Whether or not the electronic file held by the holding server is valid is determined based on whether or not (S410). [0470] If the hash value included in the file holding information 700b does not match the hash value received by the hash value receiving unit 730, the holding server determining unit 704 determines that it is not normal (S41 ( TCNo).
[0471] この場合、続けて、保持応答送信部 106は不保持通知を送信し、保持応答受信部 [0471] In this case, subsequently, the holding response transmission unit 106 transmits a non-holding notification, and the holding response receiving unit
81は不保持通知を受信する(S411)。 81 receives the non-holding notification (S411).
[0472] 続けて、ユーザ要求応答部 95は、不保持通知をファイル記憶制御部 677を介して 取得すると、取得要求を送信した端末 60 (65)に不保持通知を送信して(S412)、処 理を終了する。 [0472] Subsequently, when the user request response unit 95 acquires the non-holding notification via the file storage control unit 677, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that transmitted the acquisition request (S412). End processing.
[0473] また、ファイル保持情報 700bに含まれるハッシュ値と、ノ、ッシュ値受信部 730が受 信したハッシュ値とがー致する場合、保持サーバ判断部 704は正規であると判断す る(S410で Yes)。 [0473] If the hash value included in the file holding information 700b matches the hash value received by the hash value receiving unit 730, the holding server determining unit 704 determines that it is authentic ( Yes in S410).
[0474] この場合、続けて、ファイル送信要求部 108は、保持サーバにファイル送信要求を 送信し、ファイル送信要求受信部 83はファイル送信要求を受信する(S413)。ここで 、「ファイル送信要求」とは、ユーザの取得要求に係る電子ファイルをアクセス元サー バに送信することを内容とし、保持サーバに送信される要求である。 [0474] In this case, subsequently, the file transmission request unit 108 transmits a file transmission request to the holding server, and the file transmission request receiving unit 83 receives the file transmission request (S413). Here, the “file transmission request” is a request transmitted to the holding server with the content of transmitting the electronic file related to the user acquisition request to the access source server.
[0475] 続けて、ファイル記憶制御部 677は、ファイル送信要求部 108が受信したファイル 送信要求を受けて、ユーザの取得要求に係る電子ファイルをファイル記憶部力 読 み出す (S414)。 [0475] Subsequently, in response to the file transmission request received by the file transmission request unit 108, the file storage control unit 677 reads the electronic file related to the user acquisition request by the file storage unit (S414).
[0476] 続けて、保持サーバのファイル送信部 85はユーザの取得要求に係る電子ファイル を送信し、アクセス元サーバのファイル受信部 87はその電子ファイルを受信する(S4 15)。 [0476] Subsequently, the file transmission unit 85 of the holding server transmits an electronic file related to the user's acquisition request, and the file reception unit 87 of the access source server receives the electronic file (S415).
[0477] 続けて、アクセス元サーバのファイル記憶制御部 677は、ファイル受信部 87が受信 した電子ファイルを自身のファイル記憶部 25に格納する(S416)。 Subsequently, the file storage control unit 677 of the access source server stores the electronic file received by the file reception unit 87 in its own file storage unit 25 (S416).
[0478] 続けて、アクセス元サーバのユーザ要求応答部 95は、ユーザの取得要求に係る電 子ファイルをファイル記憶制御部 677から取得し、ユーザが利用する端末 60 (65)に 送信する(S417)。 Subsequently, the user request response unit 95 of the access source server acquires the electronic file related to the user acquisition request from the file storage control unit 677 and transmits it to the terminal 60 (65) used by the user (S417). ).
[0479] 続けて、アクセス元サーバの更新通知部 91はファイル記憶制御部 677の格納処理 Subsequently, the update notification unit 91 of the access source server performs the storage process of the file storage control unit 677.
(S416)が終了したことを受けて、更新通知を送信し、更新通知受付部 110は更新
通知を受け付ける(S418)。 In response to the completion of (S416), an update notification is transmitted, and the update notification receiving unit 110 updates. A notification is accepted (S418).
[0480] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 700のファイル保持情報 700bを更新し (S419)、処理を終 了する。 [0480] Subsequently, the holding information update unit 112 updates the file holding information 700b of the holding server storage unit 700 according to the update notification acquired from the update notification receiving unit 110 (S419), and ends the process.
[0481] また、電子ファイルを保持して!/ヽると判断した場合(S402で Yes)、続けて、ハッシュ 値計算部 626は、その電子ファイルのハッシュ値を計算する(S420)。 [0481] If it is determined that the electronic file is held! / ヽ (Yes in S402), then the hash value calculation unit 626 calculates the hash value of the electronic file (S420).
[0482] 続けて、ハッシュ値送信部 628はハッシュ値計算部 626が計算したハッシュ値を送 信し、ハッシュ値受信部 730はハッシュ値を受信する(S421)。 [0482] Subsequently, the hash value transmission unit 628 transmits the hash value calculated by the hash value calculation unit 626, and the hash value reception unit 730 receives the hash value (S421).
[0483] 続けて、保持サーバ判断部 704は、 S410における判断処理と同様に、保持サー バが保持する電子ファイルが正規であるか否かを判断する(S422)。 [0483] Subsequently, the holding server determination unit 704 determines whether or not the electronic file held by the holding server is authentic, similarly to the determination processing in S410 (S422).
[0484] 保持サーバ判断部 704が正規であると判断した場合 (S422で Yes)、続けて、保持 応答送信部 106は、アクセス元サーバに保持通知を送信し、保持応答受信部 81は 保持通知を受信する(S423)。 [0484] If the holding server determination unit 704 determines that it is legitimate (Yes in S422), then the holding response transmission unit 106 transmits a holding notification to the access source server, and the holding response receiving unit 81 holds the holding notification. Is received (S423).
[0485] 続けて、ファイル記憶制御部 677は、保持応答受信部 81が受信した保持通知を受 けて、ユーザの取得要求に係る電子ファイルをファイル記憶部 25から読み出す (S4[0485] Subsequently, the file storage control unit 677 receives the holding notification received by the holding response receiving unit 81, and reads the electronic file related to the user acquisition request from the file storage unit 25 (S4).
24)。 twenty four).
[0486] 続けて、ユーザ要求応答部 95はユーザの取得要求に係る電子ファイルをファイル 記憶制御部 677から取得し、ユーザが利用する端末 60 (65)に送信し (S425)、ァク セス元サーバは処理を終了する。 [0486] Subsequently, the user request response unit 95 acquires the electronic file related to the user's acquisition request from the file storage control unit 677, and transmits it to the terminal 60 (65) used by the user (S425). The server ends the process.
[0487] また、保持サーバ判断部 704が正規ではな 、と判断した場合 (S410で No)、続け て、保持サーバ判断部 704は、 S404における判断処理と同様に、保持サーバ記憶 部 100のファイル保持情報 100bを参照することにより、アクセス元サーバ以外に保 持サーバがあるカゝ否かを判断する(S426)。 [0487] If the holding server determination unit 704 determines that it is not legitimate (No in S410), the holding server determination unit 704 continues the file of the holding server storage unit 100 in the same manner as the determination process in S404. By referring to the holding information 100b, it is determined whether there is a holding server other than the access source server (S426).
[0488] アクセス元サーバ以外に保持サーバがな 、と判断した場合 (S426で No)、続けて[0488] If it is determined that there is no holding server other than the access source server (No in S426), continue
、保持応答送信部 106は不保持通知を送信し、保持応答受信部 81は不保持通知を 受信する(S427)。 The holding response transmitting unit 106 transmits a non-holding notification, and the holding response receiving unit 81 receives the non-holding notification (S427).
[0489] 続けて、ユーザ要求応答部 95は、不保持通知をファイル記憶制御部 677を介して 取得すると、取得要求を送信した端末 60 (65)に不保持通知を送信し (S428)、ァク
セス元サーバは処理を終了する。 [0489] Subsequently, when the user request response unit 95 acquires the non-holding notification via the file storage control unit 677, the user request response unit 95 transmits the non-holding notification to the terminal 60 (65) that transmitted the acquisition request (S428). The The access source server ends the process.
[0490] アクセス元サーバ以外に保持サーバがあると判断した場合 (S426で Yes)、続けて 、ノヽッシュ値送信部 628は S407と同様に、ハッシュ値要求部 728と保持サーバのハ ッシュ値要求受信部 624とは、取得要求に係る電子ファイルのハッシュ値の要求を送 受信する(S429)。 [0490] If it is determined that there is a holding server other than the access source server (Yes in S426), then, as with S407, the nose value sending unit 628 requests a hash value request from the hash value requesting unit 728 and the holding server. The receiving unit 624 sends and receives a request for the hash value of the electronic file related to the acquisition request (S429).
[0491] 本図に示す、 S430以降における処理は、上記の S408以降における処理と同様で ある。詳しくは、 S430力ら S432までの処理は S408力ら S410までの処理とそれぞれ 同じであり、 S427と S428と〖こおける処理は S411と S412と〖こおける処理とそれぞれ 同じであり、 S433力ら S437までの処理は S413力ら S417までの処理とそれぞれ同 じである。そのため、これらの処理に関するここでの説明は、省略する。 [0491] The processing after S430 shown in the figure is the same as the processing after S408 described above. Specifically, the processing from S430 force to S432 is the same as the processing from S408 force to S410, and the processing from S427 and S428 is the same as the processing from S411 and S412, respectively. The processing up to S437 is the same as the processing from S413 force to S417. Therefore, the description here regarding these processes is omitted.
[0492] 図 40は、ユーザが端末力 格納要求を送信した場合に、本発明の実施の形態 3に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 FIG. 40 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability storage request. .
[0493] 本図に示す「端末」と、「アクセス元サーバ」とは、図 8に示す「端末」と、「アクセス元 サーバ」と、それぞれ同様であるため、ここでの説明は省略する。 [0493] The "terminal" and the "access source server" shown in the figure are the same as the "terminal" and the "access source server" shown in FIG. 8, respectively, and thus description thereof is omitted here.
[0494] 本図に示す「複写先サーバ」は、分散ファイル管理装置 610により新規格納に係る 電子ファイルの複写先と判断されたサーバである。本実施の形態における複写先サ ーバは、サーバ A620、サーバ B630またはサーバ C640のいずれか 1つである。 The “copy destination server” shown in the figure is a server that is determined by the distributed file management apparatus 610 as the copy destination of the electronic file related to the new storage. The copy destination server in this embodiment is one of server A620, server B630, and server C640.
[0495] まず、アクセス元サーバ 20 (30、 40)のユーザ要求受信部 71は、ユーザが利用す る端末 60 (65)から送信された格納要求を、通信回線 50を介して受信する(S501)。 ここで、「格納要求」とは、アクセス元サーバに新たな電子ファイルを保持させる要求 を内容とする情報である。 First, the user request receiving unit 71 of the access source server 20 (30, 40) receives the storage request transmitted from the terminal 60 (65) used by the user via the communication line 50 (S501). ). Here, the “storage request” is information that includes a request for causing the access source server to hold a new electronic file.
[0496] 続けて、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、 その要求が「取得要求」と「書込要求」と「格納要求」との 、ずれであるかを判断する。 本図は、格納要求に係る処理のタイムチャートであるため、この判断を省略している。 [0496] Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71, and the request is a difference between the "acquisition request", the "write request", and the "storage request". Determine whether. Since this figure is a time chart of processing related to a storage request, this determination is omitted.
[0497] 続けて、要求種別判断部 73は、要求情報保持部 75に格納要求に係る電子フアイ ルを保持させる(S502)。 [0497] Subsequently, the request type determining unit 73 causes the request information holding unit 75 to hold the electronic file related to the storage request (S502).
[0498] 続けて、まず、ロック要求送信部 89は、取得した要求が書込要求であるという要求
種別判断部 73の判断を受けて、ロック要求を分散ファイル管理装置 10に送信し、口 ック要求受信部 116はロック要求を受信する(S503)。 [0498] Next, first, the lock request transmission unit 89 requests that the acquired request is a write request. In response to the determination of the type determining unit 73, a lock request is transmitted to the distributed file management apparatus 10, and the hack request receiving unit 116 receives the lock request (S503).
[0499] 続けて、ロック要求受信部 116は、受信したロック要求に係る電子ファイルに関する 情報をロック情報保持部 118に保持させる。これにより、ロック要求に係る電子フアイ ルの書込要求はロックされる(S504)。 Subsequently, the lock request receiving unit 116 causes the lock information holding unit 118 to hold information related to the electronic file related to the received lock request. Thus, the electronic file write request related to the lock request is locked (S504).
[0500] また、ファイル記憶制御部 677は、取得した要求が格納要求であると!/、う要求種別 判断部 73の判断を受けて、要求情報保持部 75が保持して ヽる電子ファイルを取得 し、取得したその電子ファイルを、自身のファイル記憶部 25、 35、 45に新規格納する[0500] Further, the file storage control unit 677 determines that the acquired request is a storage request! /, And receives the determination of the request type determination unit 73, and receives the electronic file held by the request information holding unit 75. Acquire and newly store the acquired electronic file in its own file storage unit 25, 35, 45
(S505)。 (S505).
[0501] 続けて、ノ、ッシュ値計算部 626は新規格納した電子ファイルのハッシュ値を計算す る(S506)。 [0501] Subsequently, the hash value calculation unit 626 calculates a hash value of the newly stored electronic file (S506).
[0502] 続けて、更新通知部 91は、分散ファイル管理装置 10に更新通知とハッシュ値とを 送信し、分散ファイル管理装置 10の更新通知受付部 110は更新通知とハッシュ値と を受け付ける(S507)。 Subsequently, the update notification unit 91 transmits an update notification and a hash value to the distributed file management device 10, and the update notification reception unit 110 of the distributed file management device 10 receives the update notification and the hash value (S507). ).
[0503] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知とハ ッシュ値とに従って、保持サーバ記憶部 700のファイル保持情報 700bを更新する(S 508)。 Subsequently, the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification and the hash value acquired from the update notification receiving unit 110 (S508).
[0504] 続けて、保持情報更新部 112は、ロック情報保持部 118が保持している情報を消 去することにより、ロックを解除する(S509)。 [0504] Subsequently, the retained information update unit 112 releases the lock by deleting the information retained by the lock information retaining unit 118 (S509).
[0505] 続けて、更新完了通知部 114は、ファイル記憶制御部 677から完了の通知を受け て、更新処理の完了をアクセス元サーバに通知し、アクセス元サーバの完了通知受 信部 93は完了の通知を受信する(S510)。 Subsequently, the update completion notification unit 114 receives the completion notification from the file storage control unit 677, notifies the access source server of the completion of the update process, and the access source server completion notification reception unit 93 is completed. Is received (S510).
[0506] 続けて、アクセス元サーバのユーザ要求応答部 95は、完了通知受信部 93が完了 の通知を受信したことを受けて、ユーザの書込要求に関連する処理が完了したことを ユーザが利用する端末 60 (65)に送信する(S511)。これにより、端末 60 (65)とァク セス元サーバとの間で実行される処理は終了する。 [0506] Subsequently, the user request response unit 95 of the access source server receives that the completion notification receiving unit 93 has received the notification of completion, and that the user has completed processing related to the user's write request. Transmit to the terminal 60 (65) to be used (S511). As a result, the processing executed between the terminal 60 (65) and the access source server ends.
[0507] 分散ファイル管理装置 610は、 S510における更新完了通知部 114による完了通 知の送信に続けて、複写先判定部 742が各サーバのファイル記憶部の空き容量に
基づ 、て複写先サーバを決定する(S512)。この処理の詳細は後述する。 [0507] Following the transmission of the completion notification by the update completion notification unit 114 in S510, the distributed file management apparatus 610 allows the copy destination determination unit 742 to set the free space in the file storage unit of each server. Based on this, a copy destination server is determined (S512). Details of this processing will be described later.
[0508] 続けて、複写先送信部 744は、アクセス元サーバが新規格納した電子ファイルを複 写先サーバに送信する要求を、アクセス元サーバに送信し、複写先受信部 634はこ のファイルの送信要求を受信する(S 513)。 [0508] Subsequently, the copy destination sending unit 744 sends a request to the copy source server to send the electronic file newly stored by the access source server to the copy source server, and the copy destination receiving unit 634 sends the request for this file. A transmission request is received (S513).
[0509] 続けて、ファイル記憶制御部 677は、自身のファイル記憶部 25から新規格納した電 子ファイルを読み出す (S514)。 Subsequently, the file storage control unit 677 reads out the newly stored electronic file from its own file storage unit 25 (S514).
[0510] 続けて、アクセス元サーバのファイル送信部 85は複写先サーバに新規格納した電 子ファイルを送信し、複写先サーバのファイル受信部 87は新規格納した電子フアイ ルを受信する(S515)。 [0510] Subsequently, the file transmission unit 85 of the access source server transmits the newly stored electronic file to the copy destination server, and the file reception unit 87 of the copy destination server receives the newly stored electronic file (S515). .
[0511] 続けて、複写先サーバのファイル記憶制御部 677はファイル記憶部 35にファイル 受信部 87が受信した電子ファイルを新規格納する(S516)。 Subsequently, the file storage control unit 677 of the copy destination server newly stores the electronic file received by the file receiving unit 87 in the file storage unit 35 (S516).
[0512] 続けて、複写先サーバの更新通知部 91は更新通知を分散ファイル管理装置 610 に送信し、更新通知受付部 110は更新通知を受信する(S517)。 [0512] Subsequently, the update notification unit 91 of the copy destination server transmits an update notification to the distributed file management apparatus 610, and the update notification reception unit 110 receives the update notification (S517).
[0513] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 700のファイル保持情報 700bを更新して(S518)、処理を 終了する。 Subsequently, the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification acquired from the update notification receiving unit 110 (S518), and ends the process.
[0514] 図 41は、図 40に示す複写先決定処理 (S512)の詳細であり、本発明の実施の形 態 3に係る分散ファイル管理システムを構成する各装置において実行される処理の 一例を示すタイムチャートである。 FIG. 41 is a detail of the copy destination determination process (S512) shown in FIG. 40, and shows an example of the process executed in each device constituting the distributed file management system according to the third embodiment of the present invention. It is a time chart which shows.
[0515] まず、記憶部情報要求部 738は、各サーバ、すなわち、本実施の形態ではサーバ[0515] First, the storage unit information request unit 738 is a server, that is, a server in this embodiment.
A620と、サーバ B630と、サーバ C640とに記憶部情報の送信要求を送信し、各サ ーバの記憶部情報要求受信部 630はその送信要求を受信する(それぞれ、 S551とA storage unit information transmission request is transmitted to A620, server B630, and server C640, and storage unit information request reception unit 630 of each server receives the transmission request (respectively, as S551 and
、 S552と、 S553とに対応する。)。 , Corresponding to S552 and S553. ).
[0516] 続けて、サーバ A620のファイル記憶制御部 677は自身のファイル記憶部 25を参 照することにより記憶部情報を取得または算出する(S554)。 [0516] Subsequently, the file storage control unit 677 of the server A620 acquires or calculates storage unit information by referring to its own file storage unit 25 (S554).
[0517] サーバ B630とサーバ C640とのファイル記憶制御部 677も、同様に記憶部情報を 取得する(それぞれ、 S555と、 S556とに対応する。;)。 [0517] Similarly, the file storage control units 677 of the server B630 and the server C640 also acquire storage unit information (corresponding to S555 and S556, respectively).
[0518] 続けて、記憶部情報受信部 740は、各サーバ、すなわち、本実施の形態ではサー
ノ A620と、サーノ B630と、サーノ C640力ら、各サーバのファイル記憶部 25と、フ アイル記憶部 35と、ファイル記憶部 45とに関する記憶部情報を受信する(それぞれ、 S557と、 S558と、 S559とに対応する。 )0 [0518] Subsequently, the storage unit information receiving unit 740 includes each server, that is, the server in this embodiment. Storage unit information about the file storage unit 25, the file storage unit 35, and the file storage unit 45 of each server (S557, S558, respectively) Corresponds to S559.) 0
[0519] 続けて、複写先判定部 742は分散ファイル管理装置 610が管理する全てのサーバ から記憶部情報を受信したか否かを判断する(S560)。 Subsequently, the copy destination determination unit 742 determines whether or not storage unit information has been received from all servers managed by the distributed file management device 610 (S560).
[0520] 記憶部情報を受信していないサーバが 1つでもある場合、全てのサーバから記憶 部情報を受信していないと判断し (S560で No)、複写先判定部 742は待機する。 [0520] If there is even one server that has not received storage unit information, it is determined that storage unit information has not been received from all servers (No in S560), and copy destination determination unit 742 waits.
[0521] 全てのサーバから記憶部情報を受信したと判断した場合 (S560で Yes)、複写先 判定部 742は取得した記憶部情報に基づいて複写先サーバを決定する(S561)。 [0521] If it is determined that storage unit information has been received from all servers (Yes in S560), the copy destination determination unit 742 determines a copy destination server based on the acquired storage unit information (S561).
[0522] 以上が、ユーザが端末力 格納要求を送信した場合に、本発明の実施の形態 3に 係る分散ファイル管理システムを構成する各装置にぉ ヽて実行される処理である。続 けて、ファイル保持情報 700bの初期状態を図 38に示す内容であるとして、ユーザが 端末カゝらファイル fの格納要求をサーバ A620に送信した場合に、本発明の実施の 形態 3に係る分散ファイル管理システムを構成する各装置において実行される処理 について、より具体的に説明する。 [0522] The above is the process executed by each device constituting the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability storage request. Subsequently, assuming that the initial state of the file holding information 700b is the content shown in FIG. 38, when the user sends a storage request for the file f from the terminal manager to the server A620, the third embodiment of the present invention The processing executed in each device constituting the distributed file management system will be described more specifically.
[0523] まず、サーバ A620のユーザ要求受信部 71は、ユーザが利用する端末 60 (65)か ら送信されたファイル fの格納要求を、通信回線 50を介して受信する(S501)。 [0523] First, the user request receiving unit 71 of the server A620 receives the storage request for the file f transmitted from the terminal 60 (65) used by the user via the communication line 50 (S501).
[0524] 続けて、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、 その要求力 S「格納要求」であると判断する。続けて、要求種別判断部 73は、要求情報 保持部 75に格納要求に係るファイル fを保持させる(S502)。 [0524] Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71, and determines that the request power S is “storage request”. Subsequently, the request type determination unit 73 causes the request information holding unit 75 to hold the file f related to the storage request (S502).
[0525] 続けて、まず、ロック要求送信部 89は、取得した要求が書込要求であるという要求 種別判断部 73の判断を受けて、ロック要求を分散ファイル管理装置 10に送信し、口 ック要求受信部 116はロック要求を受信し (S503)、受信したロック要求に係る電子フ アイルに関する情報をロック情報保持部 118に保持させる。これにより、ファイル fの書 込要求はロックされる (S504)。 [0525] Subsequently, first, the lock request transmission unit 89 transmits a lock request to the distributed file management device 10 in response to the determination by the request type determination unit 73 that the acquired request is a write request, and the request is received. The lock request receiving unit 116 receives the lock request (S503), and causes the lock information holding unit 118 to hold information on the electronic file related to the received lock request. As a result, the request to write file f is locked (S504).
[0526] ファイル記憶制御部 677は、取得した要求が格納要求であるという要求種別判断 部 73の判断を受けて、要求情報保持部 75が保持している電子ファイルを取得し、取 得したその電子ファイルを、自身のファイル記憶部 25に新規格納する(S505)。
[0527] 続けて、ノ、ッシュ値計算部 626は新規格納した電子ファイルのハッシュ値を計算す る(S506)。ここで算出されたファイル fのハッシュ値は、「1814680」であるとする。 [0526] The file storage control unit 677 receives the determination by the request type determination unit 73 that the acquired request is a storage request, acquires the electronic file held by the request information holding unit 75, and acquires the acquired electronic file. The electronic file is newly stored in its own file storage unit 25 (S505). [0527] Subsequently, the hash value calculation unit 626 calculates a hash value of the newly stored electronic file (S506). It is assumed that the hash value of the file f calculated here is “1814680”.
[0528] 続けて、更新通知部 91は、分散ファイル管理装置 10に更新通知とハッシュ値とを 送信し、分散ファイル管理装置 10の更新通知受付部 110は更新通知とハッシュ値と を受け付ける(S507)。 [0528] Subsequently, the update notification unit 91 transmits the update notification and the hash value to the distributed file management device 10, and the update notification reception unit 110 of the distributed file management device 10 receives the update notification and the hash value (S507). ).
[0529] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知とハ ッシュ値とに従って、保持サーバ記憶部 700のファイル保持情報 700bを更新する(S 508)。 Subsequently, the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification and the hash value acquired from the update notification receiving unit 110 (S508).
[0530] ここで、図 42は、ユーザが端末 60からサーバ A620にファイル fの更新要求を送信 した場合に、サーバ A620から送信された更新通知およびハッシュ値に従って更新さ れた保持サーバ記憶部 700のファイル保持情報 700cの例を示す図である。 Here, FIG. 42 shows the retained server storage unit 700 updated according to the update notification and the hash value transmitted from the server A 620 when the user transmits an update request for the file f from the terminal 60 to the server A 620. It is a figure which shows the example of the file holding information 700c.
[0531] 本図に示すファイル保持情報 700cと図 38に示すファイル保持情報 700bの初期 状態との違いは、ファイル保持情報 700cでは「ファイルパス」が「ZdataZf」であり、 「ハッシュ値」が「 1814680」であり、「サーバ名」が「サーバ A」である情報が追加され ている点にある。 [0531] The difference between the file retention information 700c shown in this figure and the initial state of the file retention information 700b shown in Fig. 38 is that in the file retention information 700c, the "file path" is "ZdataZf" and the "hash value" is " 1814680 ”and the information that“ Server name ”is“ Server A ”is added.
[0532] このようにファイル保持情報を更新 (S508)した後、保持情報更新部 112はロックを 解除し (S509)、更新完了通知部 114とアクセス元サーバの完了通知受信部 93とは 完了通知を送受信し(S510)、アクセス元サーバのユーザ要求応答部 95は、ユーザ の書込要求に関連する処理が完了したことをユーザが利用する端末 60 (65)に送信 する(S511)。 [0532] After updating the file holding information in this way (S508), the holding information updating unit 112 releases the lock (S509), and the update completion notification unit 114 and the completion notification receiving unit 93 of the access source server are notified of completion. (S510), the user request response unit 95 of the access source server transmits to the terminal 60 (65) used by the user that processing related to the user's write request has been completed (S511).
[0533] 続けて、分散ファイル管理装置 610は複写先サーバを決定する(S512)。 [0533] Subsequently, the distributed file management apparatus 610 determines a copy destination server (S512).
[0534] 複写先決定処理 (S512)において、記憶部情報の送信要求の送受信(S551から [0534] In the copy destination determination process (S512), transmission / reception of the storage unit information transmission request (from S551)
S553まで)と、記憶部情報の取得処理 (S554から S556まで)と、記憶部情報の送 受信処理 (S557から S559まで)とが実行される。 S553), storage unit information acquisition processing (S554 to S556), and storage unit information transmission / reception processing (S557 to S559) are executed.
[0535] 続けて、複写先判定部 742は全てのサーバから記憶部情報を受信するまで待機し [0535] Subsequently, the copy destination determination unit 742 waits until it receives storage unit information from all servers.
(S560で No)、全てのサーバから記憶部情報を受信した場合 (S560で Yes)、取得 した記憶部情報に基づいて複写先サーバを決定する(S561)。 If the storage unit information is received from all servers (No in S560) (Yes in S560), the copy destination server is determined based on the acquired storage unit information (S561).
[0536] ここで、複写先判定部 742が取得した記憶部情報が図 43に示す内容である場合を
例に、複写先サーバを決定する具体例について説明する。 Here, it is assumed that the storage unit information acquired by the copy destination determination unit 742 has the contents shown in FIG. A specific example of determining a copy destination server will be described as an example.
[0537] 図 43は、記憶部情報を説明するための具体例を示す図である。本実施の形態で は、「空き割合」に記載の各割合が、各サーバが備える各ファイル記憶部 25、 35、 45 の記憶部情報となる。「空き割合」は、各ファイル記憶部の空き容量の総容量に対す る割り合いである。このような、ファイル記憶部の空き容量および総容量の取得と、空 き割合の算出とは、ファイル記憶制御部 677が行う(S554から S556まで)。 FIG. 43 is a diagram showing a specific example for explaining the storage unit information. In the present embodiment, each ratio described in the “vacant ratio” is storage unit information of each file storage unit 25, 35, 45 provided in each server. The “free ratio” is a percentage of the total free capacity of each file storage unit. The file storage control unit 677 performs the acquisition of the free capacity and the total capacity of the file storage unit and the calculation of the free rate (S554 to S556).
[0538] 本図では、例えば、「サーバ A」が備えるファイル記憶部 25の「記憶部総容量」が「1 84256MB」(Mega Byte)であり、「記憶部空容量」が「120789MB」であるため、 「空き容量」は 120789を 184256で割った値である「66%」である例を示す。 In this figure, for example, the “storage unit total capacity” of the file storage unit 25 included in “server A” is “1 84256 MB” (Mega Byte), and the “storage unit free space” is “120789 MB”. For this reason, “Free Space” is “66%”, which is 120789 divided by 184256.
[0539] そして、本図では「サーバ B」に対応する「空き割合」が「73%」であり、各サーバの 中で最大である。 [0539] In this figure, the "free ratio" corresponding to "server B" is "73%", which is the largest among the servers.
[0540] そのため、空き割合が本図に示す内容である場合、複写先判定部 742は、「サーバ [0540] Therefore, when the empty ratio is the content shown in the figure, the copy destination determination unit 742 displays "server
BJを複写先サーバと決定する(S561)。 BJ is determined as the copy destination server (S561).
[0541] このように複写先サーバが決定されると、複写先送信部 744とアクセス元サーバで あるサーバ A620の複写先受信部 634とは、ファイル fをサーバ B630に送信する要 求を送受信する(S513)。 [0541] When the copy destination server is determined in this way, the copy destination sending unit 744 and the copy destination receiving unit 634 of the server A620 that is the access source server transmit and receive a request to send the file f to the server B630. (S513).
[0542] 続けて、ファイル記憶制御部 677は、自身のファイル記憶部 25からファイル fを読み 出し(S514)、サーバ A620のファイル送信部 85とサーバ B630のファイル受信部 87 とはファイル fを送受信する(S 515)。 [0542] Subsequently, the file storage control unit 677 reads the file f from its own file storage unit 25 (S514), and the file transmission unit 85 of the server A620 and the file reception unit 87 of the server B630 transmit and receive the file f. (S 515).
[0543] 続けて、サーバ B630のファイル記憶制御部 677はファイル記憶部 35にファイル fを 格納し(S516)、サーバ B630の更新通知部 91と更新通知受付部 110とは更新通知 を送受信する(S517)。 [0543] Subsequently, the file storage control unit 677 of the server B630 stores the file f in the file storage unit 35 (S516), and the update notification unit 91 and the update notification reception unit 110 of the server B630 transmit and receive an update notification ( S517).
[0544] 続けて、保持情報更新部 112は、更新通知受付部 110から取得した更新通知に従 つて、保持サーバ記憶部 700のファイル保持情報 700bを更新して(S518)、処理を 終了する。 Subsequently, the holding information update unit 112 updates the file holding information 700b in the holding server storage unit 700 according to the update notification acquired from the update notification receiving unit 110 (S518), and ends the process.
[0545] ここで、図 44は、ユーザが端末 60からサーバ A620にファイル fの更新要求を送信 した場合に、各装置における処理が終了した後の保持サーバ記憶部 700のファイル 保持情報 700dの例を示す図である。
[0546] 本図に示すファイル保持情報 700dでは、「ファイルパス」が「ZdataZf」である情 報に対応付けられた「サーバ名」に、図 42に示すファイル保持情報 700cの「サーバ A」に加えて「サーバ B」が格納されて!、る。 [0545] Here, Fig. 44 shows an example of the file holding information 700d in the holding server storage unit 700 after the processing in each device is completed when the user transmits an update request for the file f from the terminal 60 to the server A620. FIG. [0546] In the file holding information 700d shown in this figure, the "server name" associated with the information whose "file path" is "ZdataZf" is assigned to "server A" of the file holding information 700c shown in FIG. In addition, “Server B” is stored! RU
[0547] 以上が、ユーザが端末力 更新要求を送信した場合に、本発明の実施の形態 3に 係る分散ファイル管理システムを構成する各装置にぉ ヽて実行される処理である。次 に、ユーザが端末力 更新要求を送信した場合に、本発明の実施の形態 3に係る分 散ファイル管理システムを構成する各装置において実行される処理について説明す る。 [0547] The above is the processing that is executed by each device configuring the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability update request. Next, processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability update request will be described.
[0548] 図 45は、ユーザが端末力 更新要求を送信した場合に、本発明の実施の形態 3に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 [0548] FIG. 45 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 3 of the present invention when the user transmits a terminal capability update request. .
[0549] まず、更新許可要求受信部 732は、ユーザが利用する端末 60 (65)から、特定の 電子ファイルの更新の許可の要求を受信する(S601)。 First, the update permission request receiving unit 732 receives a request for permission to update a specific electronic file from the terminal 60 (65) used by the user (S601).
[0550] 続けて、ハッシュ値初期化部 734は、更新許可要求受信部 732が受信した要求に 含まれる電子ファイルに対応付けられた、ファイル保持情報 700bのハッシュ値を初 期化する(S602)。 [0550] Subsequently, the hash value initialization unit 734 initializes the hash value of the file holding information 700b associated with the electronic file included in the request received by the update permission request reception unit 732 (S602). .
[0551] ここで、図 46は、実施の形態 3に係る分散ファイル管理装置 610が更新許可要求 を受信することにより、ハッシュ値が初期化されたファイル保持情報 700eの例を示す 図である。 Here, FIG. 46 is a diagram illustrating an example of the file holding information 700e in which the hash value is initialized when the distributed file management apparatus 610 according to Embodiment 3 receives the update permission request.
[0552] 本図は、ハッシュ値が初期化される前のファイル保持情報 700bが図 38に示す内 容である場合に、ファイル bの更新許可要求を受信した分散ファイル管理装置 610が ファイル保持情報 700bを更新した例を示す。 [0552] This figure shows that the file retention information 700b before the hash value is initialized has the content shown in FIG. An example of updating 700b is shown.
[0553] 本実施の形態では、ハッシュ値初期化部 734は、更新許可要求に係る「ハッシュ値In the present embodiment, hash value initialization unit 734 performs “hash value related to update permission request”.
」に「一 1」を格納することにより、ノ、ッシュ値を初期化する。 “1” is stored in “” to initialize the value.
[0554] 本図では、ファイル bの更新許可要求であるため、「ファイルパス」が「ZdataZb」で あるファイル bの「ノヽッシュ値」に「 1」が格納されて!、る。 In this figure, since it is an update permission request for file b, “1” is stored in “nosh value” of file b whose “file path” is “ZdataZb”!
[0555] ここ力 、図 45の説明に戻る。 [0555] Here, let us return to the explanation of FIG.
[0556] 続けて、更新許可送信部 736は、ユーザが利用する端末 60 (65)に、更新許可要
求受信部 732が要求を受けた電子ファイルの更新の許可を送信する(S603)。 [0556] Subsequently, the update permission transmission unit 736 sends an update permission request to the terminal 60 (65) used by the user. The solicitation / reception unit 732 transmits permission to update the requested electronic file (S603).
[0557] 続けて、アクセス元サーバ 20 (30、 40)のユーザ要求受信部 71は、ユーザが利用 する端末 60 (65)から送信された更新要求を、通信回線 50を介して受信する(S201Subsequently, the user request receiving unit 71 of the access source server 20 (30, 40) receives the update request transmitted from the terminal 60 (65) used by the user via the communication line 50 (S201).
)。ここで、「更新要求」とは、アクセス元サーバが保持している電子ファイルを更新す る要求を内容とする情報である。 ). Here, the “update request” is information including a request for updating an electronic file held by the access source server.
[0558] 続けて、要求種別判断部 73は、ユーザ要求受信部 71が受信した要求を取得し、 その要求が「取得要求」と「更新要求」と「格納要求」との 、ずれであるかを判断する。 本図は、更新要求に係る処理のタイムチャートであるため、この判断を省略している。 Subsequently, the request type determination unit 73 acquires the request received by the user request reception unit 71, and whether the request is a difference between “acquisition request”, “update request”, and “storage request”. Judging. Since this diagram is a time chart of processing related to the update request, this determination is omitted.
[0559] 続けて、要求種別判断部 73は、要求情報保持部 75に更新要求に係る電子フアイ ルを保持させる(S605)。 Subsequently, the request type determining unit 73 causes the request information holding unit 75 to hold the electronic file related to the update request (S605).
[0560] 続く、ロック要求の送受信処理(S606)と、ロック処理(S607)とは、図 9に示すロッ ク要求の送受信処理 (S203)と、ロック処理 (S204)と、それぞれ同じである。そのた め、これらに関するここでの説明は省略する。 The subsequent lock request transmission / reception processing (S606) and lock processing (S607) are the same as the lock request transmission / reception processing (S203) and lock processing (S204) shown in FIG. Therefore, the explanation here regarding these is omitted.
[0561] 続けて、ファイル記憶制御部 677は、取得した要求が更新要求であるという要求種 別判断部 73の判断を受けて、要求情報保持部 75が保持して ヽる電子ファイルを取 得し、取得したその電子ファイルにより、自身のファイル記憶部 25、 35、 45が記憶し て 、る電子ファイルを更新する(S608)。 [0561] Subsequently, the file storage control unit 677 obtains the electronic file held by the request information holding unit 75 in response to the determination by the request type determining unit 73 that the acquired request is an update request. Then, the electronic file stored in its own file storage unit 25, 35, 45 is updated by the acquired electronic file (S608).
[0562] 続けて、ファイル記憶制御部 677は、更新が完了したカゝ否かを判断する(S609)。 [0562] Subsequently, the file storage control unit 677 determines whether or not the update has been completed (S609).
[0563] まず、更新が完了して 、な 、と判断した場合 (S609で No)、ハッシュ値計算部 626 は待機する。 [0563] First, when it is determined that the update has been completed (No in S609), the hash value calculation unit 626 waits.
[0564] また、更新が完了したと判断した場合 (S609で Yes)、ハッシュ値計算部 626は、フ アイル記憶制御部 677から更新に係る新たな電子ファイルを取得し、その電子フアイ ルのハッシュ値を計算する(S610)。 [0564] If it is determined that the update has been completed (Yes in S609), the hash value calculation unit 626 acquires a new electronic file related to the update from the file storage control unit 677, and hashes the electronic file. The value is calculated (S610).
[0565] 続けて、図 40〖こ示す S507および S508〖こおける処理と同様〖こ、アクセス元サーバ の更新通知部 91と分散ファイル管理装置 610の更新通知受付部 110とは、更新通 知とハッシュ値とを送受信し (S611)、続けて、保持情報更新部 112は、更新通知受 付部 110から取得した更新通知とハッシュ値とに従って、保持サーバ記憶部 700の ファイル保持情報 700bを更新する(S612)。
[0566] ここで、図 47は、実施の形態 3において、ユーザが端末力 更新要求を送信した場 合に、その要求に係る電子ファイルの更新処理を実行した後のファイル保持情報の 例を示す図である。本図は、ファイル bを更新した場合の例であり、新たなファイル b の「ノヽッシュ値」が「3417510」である例を示す。 [0565] Subsequently, the update notification unit 91 of the access source server and the update notification reception unit 110 of the distributed file management device 610 are similar to the processing in S507 and S508 shown in Fig. 40. The holding information update unit 112 subsequently updates the file holding information 700b of the holding server storage unit 700 according to the update notification and the hash value acquired from the update notification receiving unit 110. (S612). [0566] FIG. 47 shows an example of file retention information after execution of the electronic file update process related to the request in the third embodiment when the user transmits a terminal capability update request. FIG. This figure shows an example in the case where the file b is updated, and shows an example in which the “nosh value” of the new file b is “3417510”.
[0567] ここ力 、図 45の説明に戻る。 [0567] Here, let us return to the explanation of FIG.
[0568] 続けて、保持情報更新部 112によるロック解除処理 (S613)から、アクセス元サー バのユーザ要求応答部 95によるユーザが利用する端末 60 (65)への完了通知の送 信処理(S615)までは、図 40に示す S509から S511までにおける処理とそれぞれ同 様であるため、ここでの説明は省略する。 [0568] Subsequently, from the unlocking process (S613) by the retained information updating unit 112, the user request response unit 95 of the access source server transmits the completion notification to the terminal 60 (65) used by the user (S615). ) Is the same as the processing from S509 to S511 shown in FIG. 40, and the description is omitted here.
[0569] 続けて、保持サーバ判断部 704は、保持情報更新部 112がファイル保持情報 500 bを更新したことを受けて、保持サーバを抽出する(S616)。 [0569] Subsequently, the holding server determination unit 704 extracts the holding server in response to the update of the file holding information 500b by the holding information update unit 112 (S616).
[0570] 続けて、ファイル送信要求部 108は、アクセス元サーバにファイル送信要求を送信 し、アクセス元サーバ 320のファイル送信要求受信部 83はファイル送信要求を受信 する(S617)。 Subsequently, the file transmission request unit 108 transmits a file transmission request to the access source server, and the file transmission request reception unit 83 of the access source server 320 receives the file transmission request (S617).
[0571] 続けて、ファイル記憶制御部 677は、ファイル送信要求に関連する電子ファイルを 自身のファイル記憶部 25から読み出す(S618)。 Subsequently, the file storage control unit 677 reads the electronic file related to the file transmission request from its own file storage unit 25 (S618).
[0572] 続けて、アクセス元サーバ 320のファイル送信部 85は、ファイル記憶制御部 677が 読み出した電子ファイルを保持サーバに送信し、保持サーバのファイル受信部 87は その電子ファイルを受信する(S619)。 [0572] Subsequently, the file transmitting unit 85 of the access source server 320 transmits the electronic file read by the file storage control unit 677 to the holding server, and the file receiving unit 87 of the holding server receives the electronic file (S619). ).
[0573] 続けて、保持サーバのファイル記憶制御部 677は、ファイル受信部 87が受信した 電子ファイルにより自身のファイル記憶部 25が記憶して 、る電子ファイルを更新するSubsequently, the file storage control unit 677 of the holding server updates the electronic file stored in its file storage unit 25 by the electronic file received by the file receiving unit 87.
(S620)。 (S620).
[0574] 実施の形態 3において、ユーザが利用する端末 60 (65)に接続されたモニタに表 示される入力画面および結果の表示画面の例は、実施の形態 1において図 16から 図 18までを参照して説明した入力画面および結果の表示画面の例と同様である。そ のため、ここでの説明は省略する。 In the third embodiment, examples of the input screen and the result display screen displayed on the monitor connected to the terminal 60 (65) used by the user are shown in FIGS. 16 to 18 in the first embodiment. This is the same as the example of the input screen and the result display screen described with reference to FIG. Therefore, the explanation here is omitted.
[0575] 以上、本発明の実施の形態 3に係る分散ファイル管理装置および分散ファイル管 理システムについて説明した力 本発明はこの実施の形態に限定されるものではな
い。 [0575] The power described above for the distributed file management device and the distributed file management system according to Embodiment 3 of the present invention is not limited to this embodiment. Yes.
[0576] 例えば、本実施の形態では、「記憶部情報」を記憶部の「空き容量の割合」としたが 、「記憶部情報」は「空き容量」そのものでもよ 、。 For example, in this embodiment, “storage unit information” is “ratio of free space” of the storage unit, but “storage unit information” may be “free space” itself.
[0577] また例えば、本実施の形態では、図 46に示すようにファイル保持情報 700eの「ハツ シュ値」に「 1」を格納することによりハッシュ値を初期化することとしたが、初期化の ためにハッシュ値に格納される値は「一 1」に限られず、ノ、ッシュ値としてとり得ない値 であればよい。また、 NULL値が格納されてもよい。 [0577] Also, for example, in this embodiment, the hash value is initialized by storing "1" in the "hash value" of the file holding information 700e as shown in FIG. Therefore, the value stored in the hash value is not limited to “1”, and any value that cannot be taken as a hash value may be used. A NULL value may be stored.
[0578] (実施の形態 4) [0578] (Embodiment 4)
実施の形態 1から実施の形態 3までに説明したように、本発明に係る分散ファイル 管理システムでは、電子ファイルに係るユーザの要求を処理するためには分散フアイ ル管理装置が不可欠である。そのため、障害などにより分散ファイル管理装置が機 能しなくなると電子ファイルに係るユーザの要求を処理できず、そのため、分散フアイ ル管理システムも機能しなくなるという問題がある。 As described in the first to third embodiments, in the distributed file management system according to the present invention, a distributed file management apparatus is indispensable for processing a user request related to an electronic file. For this reason, if the distributed file management device does not function due to a failure or the like, the user's request for the electronic file cannot be processed, and therefore the distributed file management system does not function.
[0579] そこで、実施の形態 4では、耐障害性に優れた分散ファイル管理システムを提供す る。 [0579] Thus, Embodiment 4 provides a distributed file management system with excellent fault tolerance.
[0580] 図 48から図 62までを参照して、本発明に係る実施の形態 4について説明する。 [0580] Embodiment 4 according to the present invention will be described with reference to Figs. 48 to 62.
[0581] 図 48は、本発明の実施の形態 4に係る分散ファイル管理システムの構成の概要を 示す図である。実施の形態 4に係る分散ファイル管理システムは、実施の形態 1から 実施の形態 3までと同様に、アクセス元サーバがいずれであるかにかかわらず、電子 ファイルに関するユーザの要求に応じるシステムである。 FIG. 48 is a diagram showing an outline of the configuration of the distributed file management system according to the fourth embodiment of the present invention. The distributed file management system according to the fourth embodiment is a system that responds to a user request regarding an electronic file regardless of which access server is the same as in the first to third embodiments.
[0582] 本実施の形態に係る分散ファイル管理システムは、通信回線 50を介して接続され た、サーバ A820、サーバ B830およびサーバ C840と、端末 a60および端末 b65と から構成される。本実施の形態に係る分散ファイル管理システムを構成する要素に ついて、実施の形態 1に係る分散ファイル管理システムを構成する要素と同様の機 能を有する要素には、同一の参照符号を付しており、これらの要素に関する説明は 省略する。 [0582] The distributed file management system according to the present embodiment includes server A820, server B830, and server C840, and terminal a60 and terminal b65 connected via communication line 50. Regarding the elements constituting the distributed file management system according to the present embodiment, elements having the same functions as those constituting the distributed file management system according to the first embodiment are denoted by the same reference numerals. The explanation of these elements is omitted.
[0583] 本実施の形態に係る各サーバ 820、 830、 840は、各サーバに保持されている電 子ファイルを管理する分散ファイル管理装置の機能を備え、また、電子ファイルを保
持し、ユーザの要求を受け付け、ユーザの要求を受け付けた場合に分散ファイル管 理装置または他のサーバと連携してその要求に対する応答をするファイルサーバの 機能をも備える。 [0583] Each of the servers 820, 830, and 840 according to the present embodiment has a function of a distributed file management apparatus that manages electronic files held in each server, and also stores electronic files. It also has a file server function that accepts user requests and responds to requests in cooperation with the distributed file management device or other servers when user requests are received.
[0584] 各サーバのいずれか 1台が分散ファイル管理装置として機能する。本実施の形態 ではサーバが分散ファイル管理装置となる順位が予め定められ、稼動しているサー バの中で最も順位の高 、サーバが分散ファイル管理装置として機能する。これにより 、分散ファイル管理装置として機能しているサーバが障害などのために稼動を停止し ても、他のサーバが分散ファイル管理装置となることができ、耐障害性を向上させるこ とが可能となる。 [0584] One of the servers functions as a distributed file management device. In this embodiment, the order in which servers are distributed file management apparatuses is determined in advance, and the server having the highest rank among operating servers functions as the distributed file management apparatus. As a result, even if a server functioning as a distributed file management device stops operating due to a failure, other servers can become distributed file management devices, improving fault tolerance. It becomes.
[0585] 本実施の形態では、分散ファイル管理装置として機能しているサーバを「管理装置 サーバ」という。 In the present embodiment, a server functioning as a distributed file management device is referred to as a “management device server”.
[0586] また、各サーバは電子ファイルを記憶保持するためのファイル記憶部を備え、本実 施の形態に係るサーノ A820はファイル記憶部 25を備え、サーバ B830はファイル 記憶部 35を備え、サーバ C840はファイル記憶部 45を備える。 [0586] Each server includes a file storage unit for storing and holding electronic files. The Sano A820 according to this embodiment includes a file storage unit 25, and the server B830 includes a file storage unit 35. The C840 includes a file storage unit 45.
[0587] ここで、実施の形態 4に係る分散ファイル管理システムにおいても各サーバが備え るファイル記憶部が記憶して 、る電子ファイルのフォルダ構成は共通しており、具体 的には、図 2に示すフォルダ構成と同様である。そのため、フォルダ構成に関するここ での説明は省略する。 [0587] Here, also in the distributed file management system according to the fourth embodiment, the file storage unit included in each server stores the same electronic file folder structure. Specifically, FIG. The folder structure is the same as that shown in FIG. Therefore, the explanation here regarding the folder structure is omitted.
[0588] また、実施の形態 4に係る各ファイル記憶部 25、 35、 45が記憶している電子フアイ ルの具体例について、図を参照して説明する。 [0588] A specific example of the electronic file stored in each file storage unit 25, 35, 45 according to Embodiment 4 will be described with reference to the drawings.
[0589] 図 49A〜図 49Cは、実施の形態 4に係る各サーバが備えるファイル記憶部が記憶 して 、る電子ファイルの具体例を示す図である。 49A to 49C are diagrams showing specific examples of electronic files stored in the file storage unit included in each server according to Embodiment 4. FIG.
[0590] 図 49Aは、実施の形態 4に係るサーバ A820が備えるファイル記憶部 25が記憶し ている電子ファイル情報 25dの例を示す図である。本図は、本実施の形態に係るファ ィル記憶部 25が「ファイル a」と、「ファイル b」とを記憶して 、る例を示す。 FIG. 49A is a diagram showing an example of the electronic file information 25d stored in the file storage unit 25 provided in the server A820 according to the fourth embodiment. This figure shows an example in which the file storage unit 25 according to the present embodiment stores “file a” and “file b”.
[0591] 図 49Bは、実施の形態 4に係るサーバ B830が備えるファイル記憶部 35が記憶して いる電子ファイル情報 35dの例を示す図である。本図は、本実施の形態に係るフアイ ル記憶部 35が「ファイル a」と、「ファイルのと、「ファイル e」とを記憶している例を示す
[0592] 図 49Cは、実施の形態 4に係るサーバ C840が備えるファイル記憶部 45が記憶し ている電子ファイル情報 45dの例を示す図である。本図は、本実施の形態に係るファ ィル記憶部 45が「ファイル d」を記憶して 、る例を示す。 FIG. 49B is a diagram showing an example of the electronic file information 35d stored in the file storage unit 35 provided in the server B830 according to Embodiment 4. This figure shows an example in which the file storage unit 35 according to the present embodiment stores “file a”, “file”, and “file e”. FIG. 49C is a diagram showing an example of the electronic file information 45d stored in the file storage unit 45 provided in the server C840 according to the fourth embodiment. This figure shows an example in which the file storage unit 45 according to the present embodiment stores “file d”.
[0593] 続けて、各サーバが備える機能的構成の例について、サーバ A820を例に図を参 照して説明する。 [0593] Next, an example of a functional configuration included in each server will be described with reference to the drawings by taking the server A820 as an example.
[0594] 図 50は、実施の形態 4に係るサーバ A820が備える機能的構成の概要の一例を示 すブロック図である。サーバ Aは電子ファイルを保持するファイルサーバの機能と複 数のファイルサーバが保持する電子ファイルを管理する分散ファイル管理装置の機 會とをともに備える。 FIG. 50 is a block diagram showing an example of an outline of a functional configuration provided in the server A820 according to the fourth embodiment. Server A has both the function of a file server that holds electronic files and the function of a distributed file management device that manages electronic files held by multiple file servers.
[0595] サーバ A820は、ファイルサーバ部 900と、管理装置部 910と、管理装置判定部 92 0とを備える。 The server A 820 includes a file server unit 900, a management device unit 910, and a management device determination unit 920.
[0596] ファイルサーバ部 900と、管理装置部 910と、管理装置判定部 920とは内部バス( 図示しない)を介して相互に接続される。したがって、ファイルサーバ部 900と、管理 装置部 910と、管理装置判定部 920とが有する各部位は、サーバ A820の内部では 内部バスを介して情報を送受信する。ファイルサーバ部 900と、管理装置部 910と、 管理装置判定部 920とに含まれる部位の詳細については後述する。 The file server unit 900, the management device unit 910, and the management device determination unit 920 are connected to each other via an internal bus (not shown). Therefore, each part of the file server unit 900, the management device unit 910, and the management device determination unit 920 transmits and receives information through the internal bus inside the server A820. Details of the parts included in the file server unit 900, the management device unit 910, and the management device determination unit 920 will be described later.
[0597] また、ファイルサーバ部 900と、管理装置部 910と、管理装置判定部 920とは、通 信回線 50を介して、端末 60、 65または他のサーバと情報を送受信する。 [0597] In addition, the file server unit 900, the management device unit 910, and the management device determination unit 920 transmit and receive information to and from the terminals 60 and 65 or other servers via the communication line 50.
[0598] ファイルサーバ部 900は、ファイルサーバとしての機能を実現する部位である。すな わち、ファイルサーバ部 900は、ユーザの要求または管理装置サーバから送信され る要求を受信する。そして、ファイルサーバ部 900は、受信したこれらの要求に応じた 処理を実行する。 The file server unit 900 is a part that realizes a function as a file server. That is, the file server unit 900 receives a user request or a request transmitted from the management apparatus server. Then, the file server unit 900 executes processing corresponding to these received requests.
[0599] 管理装置部 910は、分散ファイル管理装置としての機能を実現する部位である。す なわち、管理装置部 910は、サーバ A820、サーバ B830、または、サーバ C840が 保持する電子ファイルに関する情報を管理し、また、サーバ A820が管理装置サー バである場合には、他のサーノくからの問合せを受け付ける。 [0599] The management device unit 910 is a part that realizes a function as a distributed file management device. In other words, the management device unit 910 manages information related to the electronic files held by the server A820, the server B830, or the server C840, and when the server A820 is a management device server, Inquiries from are accepted.
[0600] 管理装置判定部 920は、他のサーバが備える管理装置判定部と送受信される情報
に基づ!/、て、管理装置サーバを判定する部位である。 [0600] The management device determination unit 920 transmits / receives information to / from the management device determination unit provided in another server. This is a part for determining the management device server based on! /.
[0601] 以上が、本実施の形態に係るサーノ A820が備える機能的構成の概要である。次 に、各部位が有する機能の詳細を、図を参照して説明する。 [0601] The above is the outline of the functional configuration of the Sano A820 according to the present embodiment. Next, details of the functions of each part will be described with reference to the drawings.
[0602] 図 51は、実施の形態 4に係るサーノ A820のファイルサーバ部 900が備える機能 的構成の詳細について、その一例を示す図である。 [0602] FIG. 51 is a diagram showing an example of the functional configuration of the file server unit 900 of the Sano A820 according to the fourth embodiment.
[0603] ファイルサーバ部 900は、ファイル記憶部 25と、ユーザ要求受信部 71と、要求種別 判断部 73と、要求情報保持部 75と、ファイル記憶制御部 77と、保持応答受信部 81 と、ファイル送信要求受信部 83と、ファイル送信部 85と、ファイル受信部 87と、ロック 要求送信部 89と、完了通知受信部 93と、ユーザ要求応答部 95と、保持サーバ問合 部 1079と、更新通知部 1091とを有し、これらは、上記のように、管理装置部 910お よび管理装置判定部 920と内部バス(図示しない)を介して相互に情報を送受信する [0603] The file server unit 900 includes a file storage unit 25, a user request receiving unit 71, a request type determining unit 73, a request information holding unit 75, a file storage control unit 77, a holding response receiving unit 81, File transmission request reception unit 83, file transmission unit 85, file reception unit 87, lock request transmission unit 89, completion notification reception unit 93, user request response unit 95, holding server inquiry unit 1079, update And a notification unit 1091, which transmit / receive information to / from the management device unit 910 and the management device determination unit 920 via an internal bus (not shown) as described above.
[0604] 本実施の形態に係るファイルサーバ部 900が有する各部位について、図 4に示す 実施の形態 1に係るサーバが備える各部位と同様の機能を有する部位には、同一の 参照符号を付しており、ここでは、これらの各部位の詳細な説明は省略する。 [0604] For each part of the file server unit 900 according to the present embodiment, parts having the same functions as the parts provided in the server according to the first embodiment shown in FIG. Here, detailed description of each of these parts is omitted.
[0605] 保持サーバ問合部 1079は、実施の形態 1に係る保持サーバ問合部 79と同様に、 V、ずれのサーバがユーザの要求に係る電子ファイルを保持して!/、るかにつ!、て、通 信回線 50を介して管理装置 910に問い合わせる部位である。保持サーバ問合部 10 79は、実施の形態 1に係る保持サーバ問合部 79と異なり、ファイル記憶制御部 77か ら取得する指示に従って、保持サーバを管理装置 910に問い合わせる。 [0605] The holding server query unit 1079 is similar to the holding server query unit 79 according to the first embodiment. This is the part that makes an inquiry to the management device 910 via the communication line 50. Unlike the holding server inquiry unit 79 according to the first embodiment, the holding server inquiry unit 10 79 inquires of the management apparatus 910 about the holding server in accordance with an instruction acquired from the file storage control unit 77.
[0606] 更新通知部 1091は、ファイル記憶制御部 77が電子ファイルを格納または更新した 場合に、格納または更新された内容を各サーバに通知する部位である。これにより、 全てのサーバが、保持サーバに関する最新の情報を保持することが可能となる。 The update notification unit 1091 is a part that notifies each server of the stored or updated content when the file storage control unit 77 stores or updates an electronic file. As a result, all the servers can hold the latest information on the holding server.
[0607] 図 52は、実施の形態 4に係るサーバ A820の管理装置部 910と管理装置判定部 9 20とが備える機能的構成の詳細について、その一例を示す図である。 FIG. 52 is a diagram showing an example of details of the functional configuration of the management device unit 910 and the management device determination unit 920 of the server A820 according to the fourth embodiment.
[0608] まず、管理装置部 910は、問合受付部 102と、保持サーバ判断部 104と、保持応 答送信部 106と、ファイル送信要求部 108と、更新通知受付部 110と、保持情報更 新部 112と、更新完了通知部 114と、ロック要求受信部 116と、ロック情報保持部 11
8と、保持サーバ記憶部 1000とを有し、これらは、上記のように、ファイルサーバ部 9 00および管理装置判定部 920と内部バス(図示しない)を介して相互に情報を送受 信する。 First, the management device unit 910 includes an inquiry reception unit 102, a retention server determination unit 104, a retention response transmission unit 106, a file transmission request unit 108, an update notification reception unit 110, and a retention information update. New section 112, update completion notifying section 114, lock request receiving section 116, lock information holding section 11 8 and the holding server storage unit 1000, which transmit / receive information to / from the file server unit 900 and the management device determination unit 920 via an internal bus (not shown) as described above.
[0609] 本実施の形態に係る管理装置部 910が有する各部位について、図 5に示す実施の 形態 1に係る分散ファイル管理装置 10が備える各部位と同様の機能を有する部位に は、同一の参照符号を付しており、ここでは、これらの各部位の詳細な説明は省略す る。 [0609] For each part included in the management apparatus unit 910 according to the present embodiment, the same part as each part included in the distributed file management apparatus 10 according to the first embodiment shown in FIG. Reference numerals are attached, and detailed descriptions of these parts are omitted here.
[0610] 保持サーバ記憶部 1000は、実施の形態 1の保持サーバ記憶部 100と同様に、管 理サーバ情報とファイル保持情報とを記憶している記憶部であり、例えば、 HDにより 実現される。実施の形態 1の保持サーバ記憶部 100とは、各情報の内容が異なる。 各情報の詳細について図を参照して説明する。 [0610] The holding server storage unit 1000 is a storage unit that stores management server information and file holding information, similar to the holding server storage unit 100 of the first embodiment, and is realized by, for example, HD. . The content of each information is different from the holding server storage unit 100 of the first embodiment. Details of each information will be described with reference to the drawings.
[0611] ここで、図 53は、実施の形態 4に係る保持サーバ記憶部 1000が記憶している管理 サーバ情報 1000aの一例を示す図である。管理サーバ情報 1000aには、管理対象 として設定されているサーバを特定するための情報に加えて、各サーバが分散フアイ ル管理装置として機能する順位を示す情報が含まれる。 Here, FIG. 53 is a diagram showing an example of the management server information 1000a stored in the holding server storage unit 1000 according to Embodiment 4. The management server information 1000a includes information indicating the order in which each server functions as a distributed file management apparatus, in addition to information for specifying a server set as a management target.
[0612] 本図に示す管理サーバ情報 1000aは、「サーノ名」と、「IPアドレス」と、「順位」とに より構成される。「サーバ名」および「IPアドレス」は、実施の形態 1に係る「サーノ名」 および「IPアドレス」と、それぞれ同一であるため、これらに関するここでの説明は省 略する。 [0612] The management server information 1000a shown in this figure is composed of "Sano name", "IP address", and "rank". “Server name” and “IP address” are the same as “Sano name” and “IP address” according to the first embodiment, respectively, so description thereof will be omitted.
[0613] 「順位」は、各サーバが分散ファイル管理装置として機能する順位を内容とする。 [0613] "Order" includes the order in which each server functions as a distributed file management device.
[0614] 本図は、例えば、「サーバ名」が「サーバ A」であるサーバの「IPアドレス」が「192. 1[0614] This figure shows, for example, that the “IP address” of the server whose “server name” is “server A” is “192. 1”.
68. XXX. 1」であり、その「順位」が「3」である管理サーバ情報を含む。 68. XXX. 1 ”, including management server information whose“ rank ”is“ 3 ”.
[0615] また、「順位」についてみると、「サーバ B」が「1」、「サーバ C」が「2」、「サーバ A」が 「3」である。これは、「サーバ B」がまず管理装置サーバとなり、「サーバ B」が稼動を 停止した場合には、次に、「サーバ C」が管理装置サーバとなり、さらに、「サーバ C」 をも稼動を停止した場合には、「サーバ A」が管理装置サーバとなることを示す。この ような順位は、本実施の形態に係る分散ファイル管理システムの管理者などにより、 予め定められる。
[0616] 次に、図 54は、実施の形態 4に係る保持サーバ記憶部 1000が記憶しているフアイ ル保持情報 1000bの一例を示す図である。本実施の形態に係るファイル保持情報 1 000bの「ファイルパス」と、「サーバ名」とは、図 7を参照して説明した実施の形態 1に 係るファイル保持情報 100bの「ファイルパス」と、「サーバ名」と、それぞれ同様の情 報が格納されるため、ここでの詳細な説明は省略する。 [0615] Also, regarding "ranking", "Server B" is "1", "Server C" is "2", and "Server A" is "3". This is because “Server B” first becomes the management device server, and if “Server B” stops operating, then “Server C” becomes the management device server, and “Server C” also becomes active. When stopped, it indicates that “Server A” is the management device server. Such order is determined in advance by the administrator of the distributed file management system according to the present embodiment. Next, FIG. 54 is a diagram showing an example of the file holding information 1000b stored in the holding server storage unit 1000 according to Embodiment 4. The “file path” and “server name” of the file holding information 1 000b according to the present embodiment are the “file path” of the file holding information 100b according to the first embodiment described with reference to FIG. Since “server name” and the same information are stored, detailed description is omitted here.
[0617] 本図は、例えば、「サーバ A」と「サーバ B」とが、「ファイルパス」が「ZdataZa」であ る電子ファイルを保持していることを示すファイル保持情報を含む例である。 [0617] This figure is an example including file holding information indicating that "server A" and "server B" hold an electronic file whose "file path" is "ZdataZa", for example. .
[0618] 次に、図 52に示す管理装置判定部 920について説明する。 Next, the management device determination unit 920 shown in FIG. 52 will be described.
[0619] 管理装置判定部 920は、管理装置保持部 1200と、管理装置通知部 1202と、管理 装置通知受付部 1204と、変更判断部 1206と、管理装置決定部 1208と、保持サー バ情報取得部 1210と、サーバ応答部 1212と、サーバ応答受付部 1214と、を有す る。 [0619] The management device determination unit 920 includes a management device holding unit 1200, a management device notification unit 1202, a management device notification reception unit 1204, a change determination unit 1206, a management device determination unit 1208, and a holding server information acquisition. A unit 1210, a server response unit 1212, and a server response reception unit 1214.
[0620] 管理装置保持部 1200は、現在の管理装置サーバを特定するための情報(以下、「 管理装置情報」 t 、う)を保持して!/、る部位である。 The management device holding unit 1200 is a part that holds information for specifying the current management device server (hereinafter, “management device information” t).
[0621] 管理装置通知部 1202は、管理装置保持部 1200を参照することにより、自身を備 えるサーバが管理装置サーバであるか否かを判断し、自身を備えるサーバが管理装 置サーバである場合には、予め定められた時間間隔で各サーバに自身を備えるサ ーバが現在の管理装置サーバであることを通知する部位である。 [0621] The management device notification unit 1202 refers to the management device holding unit 1200 to determine whether or not the server provided with the management device notification unit 1202 is a management device server, and the server including the management device notification unit 1202 is the management device server In this case, it is a part for notifying that a server provided with each server is a current management device server at a predetermined time interval.
[0622] ここで、管理装置通知部 1202は、管理装置保持部 1200に自身を備えるサーバを 示す情報が保持されている場合には自身を備えるサーバが管理装置サーバであると 判断し、管理装置保持部 1200に自身を備えるサーバを示す情報が保持されていな V、場合には自身を備えるサーバが管理装置サーバでな 、と判断する。 [0622] Here, when the information indicating the server including the management apparatus holding unit 1200 is stored in the management apparatus holding unit 1200, the management apparatus notification unit 1202 determines that the server including the management apparatus notification unit 1202 is the management apparatus server. It is determined that the information indicating the server including itself is not stored in the storage unit 1200, and in this case, the server including itself is not the management apparatus server.
[0623] 管理装置通知受付部 1204は、管理装置サーバの管理装置通知部 1202からの通 知を受け付ける部位である。 [0623] The management device notification accepting unit 1204 is a part that accepts notification from the management device notification unit 1202 of the management device server.
[0624] 変更判断部 1206は、管理装置通知受付部 1204が受け付けた通知に基づいて、 管理装置サーバの変更が必要か否かを判断する部位である。 [0624] The change determination unit 1206 is a part that determines whether or not the management device server needs to be changed based on the notification received by the management device notification reception unit 1204.
[0625] 具体的には、まず、変更判断部 1206は、管理装置通知受付部 1204が受け付け た応答の送信元が、管理装置保持部 1200が保持している情報が示すサーバより順
位が高いサーバである場合に、変更が必要であると判断する。このとき、順位を判断 するために、保持サーバ記憶部 1000の管理サーバ情報 1000aを参照する。このよ うに、管理装置保持部 1200が保持している情報が示すサーバより順位が高いサー ノくからの応答を受け付けるのは、ー且ダウンしたサーバが復旧した場合である。従つ て、各サーバは、ダウンしていたサーバの復旧を検知できる。 [0625] Specifically, first, the change determination unit 1206 determines that the transmission source of the response received by the management device notification reception unit 1204 is in order from the server indicated by the information held by the management device holding unit 1200. If the server is higher in rank, it is determined that a change is necessary. At this time, the management server information 1000a in the holding server storage unit 1000 is referred to in order to determine the order. As described above, the response from the server having higher rank than the server indicated by the information held by the management device holding unit 1200 is accepted when the downed server is recovered. Therefore, each server can detect the recovery of the server that was down.
[0626] 次に、変更判断部 1206は、管理装置通知受付部 1204が通知を受け付けることな く予め定められた時間が経過した場合に、変更が必要であると判断する。このように 管理装置通知受付部 1204がー定時間通知を受け付けないのは、管理装置サーバ に障害が発生するなど、そのサーバの稼動が停止した場合である。従って、各サー バは、管理装置サーバの稼動停止を検知することができる。 Next, change determination section 1206 determines that a change is necessary when a predetermined time has elapsed without management apparatus notification reception section 1204 receiving the notification. In this way, the management device notification accepting unit 1204 does not accept the fixed-time notification when the operation of the server is stopped, for example, when a failure occurs in the management device server. Therefore, each server can detect the operation stop of the management apparatus server.
[0627] 管理装置決定部 1208は、変更判断部 1206が分散ファイル管理装置として機能す るサーバの変更が必要であると判断した場合に、次の管理装置サーバを、保持サー バ記憶部 1000の管理サーバ情報 1000aを参照することにより決定し、決定したサー バを特定する情報を管理装置保持部 1200に格納する。ここで、管理装置決定部 12 08は、稼動しているサーバのうち、管理サーバ情報 1000aの順位が最も上位のサー バを次の管理装置サーバとして決定する。 [0627] When the change determination unit 1206 determines that the server functioning as the distributed file management device needs to be changed, the management device determination unit 1208 assigns the next management device server to the holding server storage unit 1000. Information that is determined by referring to the management server information 1000a and that identifies the determined server is stored in the management device holding unit 1200. Here, the management device determination unit 1208 determines the server with the highest rank in the management server information 1000a among the servers in operation as the next management device server.
[0628] 保持サーバ情報取得部 1210は、サーバの復旧により変更判断部 1206が管理装 置サーバの変更が必要と判断したことによって、管理装置決定部 1208がサーバを 決定した場合に、保持サーバ記憶部 1000のファイル保持情報 1000bを取得する。 [0628] The holding server information acquisition unit 1210 stores the holding server storage when the management device determination unit 1208 determines a server because the change determination unit 1206 determines that the management device server needs to be changed due to server recovery. Get the file holding information 1000b of the copy 1000.
[0629] サーバ応答部 1212は、管理装置通知受付部 1204が通知を受け付けた場合に、 変更判断部 1206の判断に従って、管理装置サーバに応答する部位である。 Server response unit 1212 is a part that responds to the management device server according to the determination of change determination unit 1206 when management device notification reception unit 1204 receives the notification.
[0630] まず、サーバ応答部 1212は、変更判断部 1206が変更の必要がないと判断した場 合には、管理装置通知受付部 1204が受け付けた通知の送信元に、応答する。 [0630] First, when the change determination unit 1206 determines that there is no need for a change, the server response unit 1212 responds to the transmission source of the notification received by the management device notification reception unit 1204.
[0631] また、サーバ応答部 1212は、サーバの復旧により変更判断部 1206が管理装置サ ーバの変更が必要と判断した場合には、管理装置決定部 1208が決定したサーバに 、保持サーバ情報取得部 1210が取得したファイル保持情報 1000bを含む応答を送 信する。 [0631] In addition, when the change determination unit 1206 determines that the management device server needs to be changed due to the server recovery, the server response unit 1212 sends the retained server information to the server determined by the management device determination unit 1208. The acquisition unit 1210 sends a response including the file holding information 1000b acquired.
[0632] サーバ応答受付部 1214は、他のサーバのサーバ応答部 1212から送信された応
答を受け付ける部位である。 [0632] The server response reception unit 1214 receives the response transmitted from the server response unit 1212 of another server. It is a part that accepts answers.
[0633] ここで、受け付けた応答にファイル保持情報 1000bが含まれていた場合には、サー バ応答受付部 1214は、そのファイル保持情報 1000bにより自身の保持サーバ記憶 部 1000のファイル保持情報 1000bを更新する。 [0633] If the file holding information 1000b is included in the received response, the server response receiving unit 1214 uses the file holding information 1000b to store the file holding information 1000b of its own holding server storage unit 1000. Update.
[0634] 応答にファイル保持情報 1000bが含まれるのは、応答を受け付けたサーバに障害 が発生していた場合である。障害が発生していた間、そのサーバが保持するファイル 保持情報 1000bは更新できないため、内容が古い場合がある。このように、サーバの 復旧時にファイル保持情報 1000bを更新することにより、復旧したサーバが直ちに管 理装置サーバとして正しく機能することが可能となる。 [0634] The file holding information 1000b is included in the response when a failure has occurred in the server that received the response. While the failure occurred, the file retention information 1000b held by the server cannot be updated, so the contents may be out of date. Thus, by updating the file holding information 1000b when the server is restored, the restored server can immediately function correctly as a management apparatus server.
[0635] 以上が、本実施の形態に係るサーノ A820が備える機能的構成である。ここで説明 したサーバ A820の機能的構成は、ファイルサーバ部 900のファイル記憶部 25がサ ーバ B830ではファイル記憶部 35であり、サーバ C840ではファイル記憶部 45である ことを除いて、共通する。そのため、サーバ B830およびサーバ C840の機能的構成 の説明は省略する。 [0635] The above is the functional configuration of the Sano A820 according to the present embodiment. The functional configuration of the server A820 described here is common except that the file storage unit 25 of the file server unit 900 is the file storage unit 35 in the server B830 and the file storage unit 45 in the server C840. . Therefore, description of the functional configuration of the server B830 and the server C840 is omitted.
[0636] 次に、本実施の形態に係る分散ファイル管理システムにおいて実行される処理に ついて、図を参照して説明する。 Next, processing executed in the distributed file management system according to the present embodiment will be described with reference to the drawings.
[0637] 図 55は、ユーザが端末力 取得要求を送信した場合に、本発明の実施の形態 4に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 [0637] FIG. 55 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 4 of the present invention when the user transmits a terminal capability acquisition request. .
[0638] 本実施の形態では、管理サーバ情報 1000aは図 53に示す内容であり、従って、順 位が最も高い「サーバ B」を管理装置サーバとし、各サーバの管理装置保持部 1200 には「サーバ B」を示す情報が保持されているとする。 In this embodiment, the management server information 1000a has the contents shown in FIG. 53. Therefore, “Server B” having the highest order is the management device server, and the management device holding unit 1200 of each server has “ It is assumed that information indicating “Server B” is held.
[0639] また、本図に示す「端末」はユーザが利用する端末であり、本実施の形態において は端末 a60または端末 b65のいずれかである。さらに、本図は、サーバ A820がァク セス元サーバである例を示す。 [0639] "Terminal" shown in the figure is a terminal used by the user, and in this embodiment, is either terminal a60 or terminal b65. Furthermore, this figure shows an example in which server A820 is the access source server.
[0640] 従って、本図および本図の説明における、「サーバ A」 820の処理は「アクセス元サ ーバ」が実行する処理であり、「サーバ B」 830の処理は「管理装置サーノ が実行す る処理である。
[0641] まず、サーバ B830の管理装置通知部 1202が「通知 1」を他のサーバに送信し、サ ーバ A820およびサーバ C840の管理装置通知受付部 1204が「通知 1 Jを、それぞ れ受け付ける(S701および S702)。 Therefore, in this figure and the explanation of this figure, the process of “Server A” 820 is a process executed by “Accessing Server”, and the process of “Server B” 830 is executed by “Management Device Sano”. This process. [0641] First, the management device notification unit 1202 of the server B830 transmits "Notification 1" to the other servers, and the management device notification reception unit 1204 of the server A820 and the server C840 each receives "Notification 1 J. Accept (S701 and S702).
[0642] ここで、「通知 1」とは、管理装置サーバであるサーバ B830の管理装置通知部 120 2が、自身が稼動していることを他のサーバに知らせるために、継続的にまたは一定 間隔で断続的に送信する情報をいう。 [0642] Here, "Notification 1" means that the management device notification unit 1202 of the server B830, which is the management device server, is continuously or constant in order to notify other servers that it is operating. Information that is transmitted intermittently at intervals.
[0643] 続けて、管理装置保持部 1200に保持されている情報により示されるサーバと、管 理装置通知受付部 1204が「通知 1」を受け付けたサーバとは、ともに「サーバ B」であ るため、サーバ A820およびサーバ C840の変更判断部 1206は変更の必要がない と判断し、この判断を受けたサーバ A820およびサーバ C840のサーバ応答部 1212 は「応答 1」をサーバ B830に送信する。そして、サーバ B830のサーバ応答受付部 1 214は「応答 1」を受け付ける(S703および S704)。 [0643] Subsequently, the server indicated by the information held in management device holding unit 1200 and the server for which management device notification receiving unit 1204 has received "notification 1" are both "server B" Therefore, the change determination unit 1206 of the server A820 and the server C840 determines that no change is necessary, and the server response unit 1212 of the server A820 and the server C840 that receives this determination transmits “response 1” to the server B830. Then, the server response reception unit 1 214 of the server B830 receives “response 1” (S703 and S704).
[0644] ここまでの S701から S704までの処理は、各サーバの管理装置判定部 920が管理 装置サーバを判定するために継続されて 、る処理である。 [0644] The processing from S701 to S704 so far is processing that is continued for the management device determination unit 920 of each server to determine the management device server.
[0645] 続けて、アクセス元サーバであるサーバ A820のユーザ要求受信部 71は、ユーザ が利用する端末 60 (65)力も送信された取得要求を、通信回線 50を介して受信する (S705)。ここで、「取得要求」とは、ユーザの指定に係る電子ファイルをユーザが利 用する端末が取得する要求である。 [0645] Subsequently, the user request receiving unit 71 of the server A820, which is the access source server, receives the acquisition request to which the terminal 60 (65) used by the user is transmitted via the communication line 50 (S705). Here, the “acquisition request” is a request that the terminal that the user uses the electronic file specified by the user acquires.
[0646] 続けて、サーバ A820の要求種別判断部 73は、ユーザ要求受信部 71が受信した 要求を取得し、その要求が「取得要求」と「書込要求」との ヽずれであるかを判断する 。本図は、取得要求に係る処理のタイムチャートであるため、この判断を省略している [0646] Subsequently, the request type determination unit 73 of the server A820 acquires the request received by the user request reception unit 71, and determines whether the request is a difference between the "acquisition request" and the "write request". to decide . Since this figure is a time chart of processing related to an acquisition request, this determination is omitted.
[0647] 続けて、サーバ A820のファイル記憶制御部 77は、自身のファイル記憶部 25が取 得要求に係る電子ファイルを記憶している力否かを判断する(S706)。 Subsequently, the file storage control unit 77 of the server A 820 determines whether or not the file storage unit 25 of the server A 820 stores the electronic file related to the acquisition request (S706).
[0648] 自身のファイル記憶部 25が取得要求に係る電子ファイルを記憶して 、ると判断した 場合(S706で Yes)、サーバ A820のファイル記憶制御部 77は、続けて、ファイル記 憶部 25から取得要求に係る電子ファイルを読み出す (S707)。 [0648] If it is determined that its own file storage unit 25 stores the electronic file related to the acquisition request (Yes in S706), the file storage control unit 77 of the server A820 continues to the file storage unit 25. The electronic file related to the acquisition request is read out from (S707).
[0649] 続けて、サーバ A820のユーザ要求応答部 95は、自身のファイル記憶制御部 77か
ら取得要求に係る電子ファイルを取得し、その電子ファイルをユーザが利用する端末[0649] Subsequently, the user request response unit 95 of the server A820 is the file storage control unit 77 of itself. Terminal that acquires the electronic file related to the acquisition request and uses the electronic file by the user
60 (65)に送信する(S708)。 60 (65) is transmitted (S708).
[0650] 続けて、自身のファイル記憶部 25が取得要求に係る電子ファイルを記憶していな いと判断した場合(S706で No)、サーバ A820の保持サーバ問合部 1079はサーバ[0650] Subsequently, when it is determined that the file storage unit 25 of its own does not store the electronic file related to the acquisition request (No in S706), the holding server inquiry unit 1079 of the server A820
B830に取得要求に係る電子ファイルの保持サーバの問合せを送信し、サーバ B83Sends an inquiry to the server that holds the electronic file related to the acquisition request to
0の問合受付部 102はその保持サーバの問合せを受け付ける(S709)。 The 0 inquiry reception unit 102 receives the inquiry of the holding server (S709).
[0651] 続けて、サーバ B830の保持サーバ判断部 104は、保持サーバ記憶部 1000のフ アイル保持情報 1000bを参照することにより、取得要求に係る電子ファイルの保持サ ーバがある力否かを判断する(S710)。 Subsequently, the holding server determination unit 104 of the server B830 refers to the file holding information 1000b of the holding server storage unit 1000 to determine whether or not the holding server of the electronic file related to the acquisition request has power. Judgment is made (S710).
[0652] 保持サーバがないと判断した場合 (S710で No)、サーノ B830の保持応答送信部[0652] If it is determined that there is no holding server (No in S710), the holding response transmitter of Sano B830
106はサーバ A820に不保持通知を送信する(S711)。 106 transmits a non-holding notification to server A820 (S711).
[0653] 続けて、サーバ A820のユーザ要求応答部 95は、ユーザが利用する端末 60 (65) に不保持通知を送信する(S 712)。 [0653] Subsequently, the user request response unit 95 of the server A820 transmits a non-holding notification to the terminal 60 (65) used by the user (S712).
[0654] また、保持サーバがあると判断した場合(S710で Yes)、続けて、サーバ B830の保 持サーバ判断部 104は、サーバ B830自身が保持サーバである力否かを判断する([0654] If it is determined that there is a holding server (Yes in S710), then the holding server determination unit 104 of the server B830 determines whether or not the server B830 itself is a holding server (
S713)。 S713).
[0655] 自身が保持サーバであると判断した場合(S713で Yes)、続けて、サーバ B830の ファイル記憶制御部 77は、自身の管理装置部 910の要求に基づいて、ファイル記憶 部 35から取得要求に係る電子ファイルを読み出す (S714)。 [0655] If it is determined that it is a holding server (Yes in S713), then the file storage control unit 77 of the server B830 obtains from the file storage unit 35 based on the request of its own management device unit 910. The electronic file related to the request is read (S714).
[0656] 続けて、サーバ B830のファイル送信部 85は、自身のファイル記憶制御部 77から 取得要求に係る電子ファイルを取得し、サーノ A820に送信する。そして、サーバ A 820のファイル受信部 87は、サーバ Bのファイル送信部 85が送信した電子ファイル を受信する(S715)。 [0656] Subsequently, the file transmission unit 85 of the server B830 acquires the electronic file related to the acquisition request from its own file storage control unit 77, and transmits it to the Sano A820. Then, the file receiving unit 87 of the server A 820 receives the electronic file transmitted by the file transmitting unit 85 of the server B (S715).
[0657] 続けて、サーバ A820のユーザ要求応答部 95は、取得要求に係る電子ファイルを ファイル記憶制御部 77を介して取得し、ユーザが利用する端末 60 (65)に送信する( S716)。 [0657] Subsequently, the user request response unit 95 of the server A820 acquires the electronic file related to the acquisition request via the file storage control unit 77, and transmits it to the terminal 60 (65) used by the user (S716).
[0658] 続けて、サーバ A820のファイル記憶制御部 77は、自身のファイル受信部 87から 取得した電子ファイルを自身のファイル記憶部 25に格納する(S717)。
[0659] 続けて、サーバ A820の更新通知部 1091は、アクセス元サーバが取得要求に係る 電子ファイルの保持サーバとなったことを内容とする更新通知を、サーバ B830およ びサーバ C840に送信し、サーバ B830およびサーバ C840の更新通知受付部 110 はその更新通知を受け付ける(S718および S719)。 [0658] Subsequently, the file storage control unit 77 of the server A820 stores the electronic file acquired from its own file reception unit 87 in its own file storage unit 25 (S717). [0659] Subsequently, the update notification unit 1091 of the server A820 sends an update notification to the server B830 and the server C840, which indicates that the access source server has become the electronic file holding server related to the acquisition request. The update notification receiving unit 110 of the server B830 and the server C840 receives the update notification (S718 and S719).
[0660] 続けて、サーバ A820の更新通知受付部 110は上記の更新通知を内部バスを介し て自身の更新通知部 1091から取得し、サーバ A820の保持情報更新部 112は、更 新通知受付部 110から取得した更新通知に従って自身の保持サーバ記憶部 1000 のファイル保持情報 1000bを更新する(S720)。 [0660] Subsequently, the update notification reception unit 110 of the server A820 obtains the update notification from its own update notification unit 1091 via the internal bus, and the retained information update unit 112 of the server A820 receives the update notification reception unit. According to the update notification acquired from 110, the file holding information 1000b of its own holding server storage unit 1000 is updated (S720).
[0661] また、サーバ 830ぉょびサーバじ840の保持情報更新部112は、それぞれの更 新通知受付部 110から更新通知を取得し、取得した更新通知に従ってそれぞれの 保持サーバ記憶部 1000のファイル保持情報 1000bを更新する(S721および S722 [0661] In addition, the retention information update unit 112 of the server 830 and the server 840 acquires the update notification from each update notification reception unit 110, and the file of each storage server storage unit 1000 according to the acquired update notification. Update retention information 1000b (S721 and S722
) o ) o
[0662] 続けて、 S701力ら S704までにおける処理と同様に、サーバ B830とサーバ A820 との間、および、サーバ B830とサーバ C840との間で「通知 1」が送受信され、また、 「応答 1」力 s送受信される(S723力ら S726まで)。 S723は S701に、 S724は S702 に、 S725iま S703に、 S726iま S704に、それぞれ対応する同様の処理であるため、 ここでの詳しい説明は省略する。さらに、各サーバの管理装置判定部 920は管理装 置サーバを «続的に判定している力 図示していない。この管理装置判定処理の説 明は後述するため、ここでは省略する。 [0662] Subsequently, in the same manner as in S701 to S704, “Notification 1” is transmitted and received between server B830 and server A820, and between server B830 and server C840, and “response 1 ' S Forces are transmitted and received (S723 forces up to S726). Since S723 corresponds to S701, S724 corresponds to S702, S725i to S703, and S726i to S704, the detailed processing is omitted here. Further, the management device determination unit 920 of each server does not show the power for continuously determining the management device server. Since the description of the management device determination process will be described later, it is omitted here.
[0663] また、自身が保持サーバでないと判断した場合 (S713で No)、続けて、サーバ B8 30のファイル送信要求部 108は、取得要求に係る電子ファイルをアクセス元サーバ であるサーバ A820に送信する要求を、保持サーバに送信する(S727)。ここでは、 サーバ C840が保持サーバであるとする。 [0663] If it is determined that the server itself is not a holding server (No in S713), then the file transmission request unit 108 of the server B830 transmits the electronic file related to the acquisition request to the server A820 that is the access source server. The request to be transmitted is transmitted to the holding server (S727). Here, it is assumed that the server C840 is a holding server.
[0664] 続けて、保持サーバであるサーバ C840のファイル記憶制御部 77は、ファイル記憶 部 25から取得要求に係る電子ファイルを読み出す (S728)。 [0664] Subsequently, the file storage control unit 77 of the server C840 serving as the holding server reads the electronic file related to the acquisition request from the file storage unit 25 (S728).
[0665] 続けて、サーバ C840のファイル送信部 85は取得要求に係る電子ファイルをフアイ ル記憶制御部 77から取得し、取得した電子ファイルをサーバ A820に送信する(S7 29)。
[0666] 続けて、サーバ A820のユーザ要求応答部 95は、取得要求に係る電子ファイルを ファイル記憶制御部 77を介して取得し、ユーザが利用する端末 60 (65)に送信する( S730)。 [0665] Subsequently, the file transmission unit 85 of the server C840 acquires the electronic file related to the acquisition request from the file storage control unit 77, and transmits the acquired electronic file to the server A820 (S729). [0666] Subsequently, the user request response unit 95 of the server A820 acquires the electronic file related to the acquisition request via the file storage control unit 77, and transmits it to the terminal 60 (65) used by the user (S730).
[0667] 続けて、 S717以降の処理を実行する。 S717以降の処理については、既に説明し たため、ここでの説明は省略する。 [0667] Subsequently, the processing after S717 is executed. Since the processing after S717 has already been described, the description thereof is omitted here.
[0668] 図 56は、ユーザが端末力 書込要求を送信した場合に、本発明の実施の形態 4に 係る分散ファイル管理システムを構成する各装置において実行される処理の一例を 示すタイムチャートである。 [0668] FIG. 56 is a time chart showing an example of processing executed in each device constituting the distributed file management system according to Embodiment 4 of the present invention when the user transmits a terminal capability write request. is there.
[0669] ここでも、図 55の場合と同様に、管理サーバ情報 1000aは図 53に示す内容であり 、従って、順位が最も高い「サーバ B」を管理装置サーバとし、各サーバの管理装置 保持部 1200には「サーバ B」を示す情報が保持されて 、るとする。 Here, as in the case of FIG. 55, the management server information 1000a has the contents shown in FIG. 53. Therefore, “Server B” having the highest rank is set as the management device server, and the management device holding unit of each server. Assume that 1200 indicates information indicating “server B”.
[0670] また、本図に示す「端末」はユーザが利用する端末であり、本実施の形態において は端末 a60または端末 b65のいずれかである。さらに、本図は、サーバ A820がァク セス元サーバである例を示す。 [0670] Further, the "terminal" shown in the figure is a terminal used by the user, and is either terminal a60 or terminal b65 in the present embodiment. Furthermore, this figure shows an example in which server A820 is the access source server.
[0671] 従って、本図および本図の説明における、「サーバ A」 820の処理は「アクセス元サ ーバ」が実行する処理であり、「サーバ B」 830の処理は「管理装置サーノ が実行す る処理である。 Therefore, in this figure and the explanation of this figure, the process of “Server A” 820 is a process executed by “Accessing Server”, and the process of “Server B” 830 is “Executed by Management Device Sano” This process.
[0672] まず、本図に示す S701から S704までの処理は、分散ファイル管理装置として機 能するサーバを各サーバが判定するために継続されて 、る処理であり、図 55にお ヽ て同一の参照符号を付した処理とそれぞれ同じである。そのため、ここでの説明は省 略する。 [0672] First, the processing from S701 to S704 shown in this figure is the processing that is continued for each server to determine the server that functions as the distributed file management device, and is the same as in FIG. This is the same as the processing given the reference numerals. Therefore, the explanation here is omitted.
[0673] 続けて、アクセス元サーバであるサーバ A820のユーザ要求受信部 71は、ユーザ が利用する端末 60 (65)から送信された書込要求を、通信回線 50を介して受信する (S801)。ここで、「書込要求」とは、アクセス元サーバが保持している電子ファイルを 更新し、または、アクセス元サーバに新たな電子ファイルを保持させる要求を内容と する情報である。 [0673] Subsequently, the user request receiving unit 71 of the server A820 as the access source server receives the write request transmitted from the terminal 60 (65) used by the user via the communication line 50 (S801). . Here, the “write request” is information that includes a request to update an electronic file held by the access source server or to make the access source server hold a new electronic file.
[0674] 続けて、サーバ A820の要求種別判断部 73は、自身の要求情報保持部 75に書込 要求に係る電子ファイルを保持させる(S802)。
[0675] 続けて、まず、サーバ A820のロック要求送信部 89は、取得した要求が書込要求で あるという要求種別判断部 73の判断を受けて、ロック要求を分散ファイル管理装置と して機能しているサーバ B830に送信し、サーバ B830のロック要求受信部 116は口 ック要求を受信する(S803)。 [0674] Subsequently, the request type determination unit 73 of the server A820 causes the request information holding unit 75 to hold the electronic file related to the write request (S802). [0675] Subsequently, first, the lock request transmission unit 89 of the server A820 receives the determination of the request type determination unit 73 that the acquired request is a write request, and functions as a distributed file management device. The lock request receiving unit 116 of the server B830 receives the request for the request (S803).
[0676] 続けて、サーバ B830のロック要求受信部 116は、受信したロック要求に係る電子フ アイルに関する情報をロック情報保持部 118に保持させることにより、ロックする(S80 4)。 [0676] Subsequently, the lock request receiving unit 116 of the server B830 locks the lock information holding unit 118 by holding information on the electronic file related to the received lock request (S804).
[0677] また、サーバ A820のファイル記憶制御部 77は、取得した要求が書込要求であると いう要求種別判断部 73の判断を受けて、要求情報保持部 75が保持している電子フ アイルを取得し、取得したその電子ファイルを、自身のファイル記憶部 25に書き込む (S805)。 [0677] The file storage control unit 77 of the server A820 receives the determination of the request type determination unit 73 that the acquired request is a write request, and the electronic file stored in the request information storage unit 75 is stored. And the obtained electronic file is written in its own file storage unit 25 (S805).
[0678] 続けて、サーバ A820のファイル記憶制御部 77は、書き込みが完了したか否かを 判断する(S806)。 [0678] Subsequently, the file storage control unit 77 of the server A820 determines whether or not the writing is completed (S806).
[0679] 書き込みが完了して 、な 、と判断した場合(S806で No)、サーバ A820の更新通 知部 1091は待機する。 [0679] If it is determined that the writing has been completed (No in S806), the update notification unit 1091 of the server A820 waits.
[0680] また、書き込みが完了したと判断した場合 (S806で Yes)、サーバ A820の更新通 知部 1091は、自身のファイル記憶制御部 77から完了の通知を受けて、アクセス元 サーバが書込要求に係る電子ファイルの保持サーバとなったことを内容とする更新 通知を、サーバ B830に送信し、サーバ B830の更新通知受付部 110は更新通知を 受け付ける(S807)。 [0680] If it is determined that the writing is completed (Yes in S806), the update notification unit 1091 of the server A820 receives a notification of completion from its own file storage control unit 77, and the access source server writes it. An update notification is sent to the server B830 to indicate that it has become a holding server for the electronic file related to the request, and the update notification receiving unit 110 of the server B830 receives the update notification (S807).
[0681] 続けて、サーバ A820の保持サーバ問合部 1079は、自身のファイル記憶制御部 7 7から完了の通知を受けて、書込要求に係る電子ファイルの保持サーバの問合せを 、サーバ B830に送信し、サーバ B830の問合受付部 102は保持サーバの問合せを 受け付ける(S808)。 [0681] Subsequently, the holding server inquiry unit 1079 of the server A820 receives a notification of completion from its own file storage control unit 77, and sends an inquiry about the holding server of the electronic file related to the write request to the server B830. The inquiry reception unit 102 of the server B830 receives the inquiry of the holding server (S808).
[0682] 続けて、サーバ A820の更新通知部 1091は、自身のファイル記憶制御部 77から 完了の通知を受けて、アクセス元サーバが書込要求に係る電子ファイルの保持サー ノ となったことを内容とする更新通知を、サーバ C840に送信し、サーバ C840の更 新通知受付部 110は更新通知を受け付ける(S809)。
[0683] 続けて、サーバ A820の更新通知受付部 110は上記の更新通知を内部バスを介し て自身の更新通知部 1091から取得し、サーバ A820の保持情報更新部 112は、更 新通知受付部 110から取得した更新通知に従って自身の保持サーバ記憶部 1000 のファイル保持情報 1000bを更新する(S810)。 [0682] Subsequently, the update notification unit 1091 of the server A820 receives a notification of completion from its file storage control unit 77, and confirms that the access source server has become a storage server for the electronic file related to the write request. The update notification as content is transmitted to the server C840, and the update notification receiving unit 110 of the server C840 receives the update notification (S809). [0683] Subsequently, the update notification reception unit 110 of the server A820 acquires the above update notification from its own update notification unit 1091 via the internal bus, and the retained information update unit 112 of the server A820 receives the update notification reception unit. In accordance with the update notification acquired from 110, the file holding information 1000b of its own holding server storage unit 1000 is updated (S810).
[0684] また、サーバ 830ぉょびサーバじ840の保持情報更新部112は、それぞれの更 新通知受付部 110から更新通知を取得し、取得した更新通知に従ってそれぞれの 保持サーバ記憶部 1000のファイル保持情報 1000bを更新する(S811および S812 [0684] In addition, the retention information update unit 112 of the server 830 and the server 840 acquires the update notification from each update notification reception unit 110, and the file of each storage server storage unit 1000 according to the acquired update notification. Update retention information 1000b (S811 and S812
) o ) o
[0685] 続けて、保持情報更新部 112は、ロック情報保持部 118が保持している情報を消 去することにより、ロックを解除する(S813)。 [0685] Subsequently, the retained information updating unit 112 releases the lock by deleting the information retained by the lock information retaining unit 118 (S813).
[0686] 続けて、更新完了通知部 114は、ファイル記憶制御部 77から完了の通知を受けて[0686] Subsequently, the update completion notification unit 114 receives the completion notification from the file storage control unit 77.
、更新処理の完了をサーバ A820に通知し、サーバ A820の完了通知受信部 93は 完了の通知を受信する(S814)。 Then, the completion of the update process is notified to the server A820, and the completion notification receiving unit 93 of the server A820 receives the notification of completion (S814).
[0687] 続けて、サーバ A820のユーザ要求応答部 95は、完了通知受信部 93が完了の通 知を受信したことを受けて、ユーザの書込要求に関連する処理が完了したことをユー ザが利用する端末 60 (65)に送信する(S815)。 Subsequently, the user request response unit 95 of the server A 820 confirms that the processing related to the user write request has been completed in response to the completion notification receiving unit 93 receiving the completion notification. (S815).
[0688] 続けて、サーバ B830の保持サーバ判断部 104は、自身の保持サーバ記憶部 100[0688] Subsequently, the holding server determination unit 104 of the server B830 has its own holding server storage unit 100.
0のファイル保持情報 1000bを参照することにより、アクセス元サーバであるサーバ ABy referring to the file holding information 1000b of 0, server A that is the access source server
820以外の保持サーバの有無を判断する(S816)。 The presence / absence of a holding server other than 820 is determined (S816).
[0689] 保持サーバがあると判断した場合(S816で Yes)、サーバ B830のファイル送信要 求部 108は、保持サーバを特定する情報を自身の保持サーバ判断部 104から取得 することにより、書込要求に係る電子ファイルを保持サーバに送信することを内容とす るファイル送信要求をサーバ A820に送信し、サーノ A820のファイル送信要求受信 部 83は、ファイルの送信要求を受信する(S817)。本図は、 S816で肯定判断された 場合の保持サーバが「サーバ C」 840である場合の例を示す。したがって、以下の「サ 一バじ」 840の処理は、「保持サーバ」が実行する処理である。 [0689] If it is determined that there is a holding server (Yes in S816), the file transmission requesting unit 108 of the server B830 obtains information by identifying the holding server from its own holding server determining unit 104, and writes it. A file transmission request including the content of transmitting the electronic file related to the request to the holding server is transmitted to the server A820, and the file transmission request receiving unit 83 of the Sano A820 receives the file transmission request (S817). This figure shows an example in which the holding server is “Server C” 840 when an affirmative determination is made in S816. Therefore, the following “server” 840 is a process executed by the “holding server”.
[0690] 続けて、サーバ A820のファイル記憶制御部 77は、ファイル送信要求受信部 83が 受信したファイル送信要求をファイル送信要求受信部 83から取得し、自身のファイル
記憶部 25から書込要求に係る電子ファイルを読み出す (S818)。 [0690] Subsequently, the file storage control unit 77 of the server A820 obtains the file transmission request received by the file transmission request receiving unit 83 from the file transmission request receiving unit 83, and acquires its own file. The electronic file related to the write request is read from the storage unit 25 (S818).
[0691] 続けて、サーバ A820のファイル送信部 85は、書込要求に係る電子ファイルおよび ファイル送信要求をファイル記憶制御部 77から取得し、書込要求に係る電子フアイ ルをサーバ C840に送信し、サーバ C840のファイル受信部 87はその電子ファイルを 受信する(S819)。 [0691] Subsequently, the file transmission unit 85 of the server A820 acquires the electronic file related to the write request and the file transmission request from the file storage control unit 77, and transmits the electronic file related to the write request to the server C840. The file receiver 87 of the server C840 receives the electronic file (S819).
[0692] 続けて、サーバ C840のファイル記憶制御部 77は、自身のファイル受信部 87から ファイル受信部 87が受信した電子ファイルを取得し、その電子ファイルにより自身の ファイル記憶部 45を更新する(S820)。 [0692] Subsequently, the file storage control unit 77 of the server C840 acquires the electronic file received by the file reception unit 87 from its own file reception unit 87, and updates its own file storage unit 45 with the electronic file ( S820).
[0693] 続けて、本図に示す S722から S725までの処理が継続される。これらの処理は、管 理装置サーバを各サーバが判定するために «I続されている処理であり、図 55におい て同一の参照符号を付した処理とそれぞれ同じである。そのため、ここでの説明は省 略する。さらに、各サーバの管理装置判定部 920が管理装置サーバを継続的に判 定しているが、図示していない。この管理装置判定処理の説明は後述するため、ここ では省略する。 [0693] Subsequently, the processing from S722 to S725 shown in the figure is continued. These processes are processes continued for each server to determine the management apparatus server, and are the same as the processes given the same reference numerals in FIG. Therefore, the explanation here is omitted. Further, although the management device determination unit 920 of each server continuously determines the management device server, it is not shown. Since the description of the management device determination process will be described later, it is omitted here.
[0694] 次に、各サーバの管理装置判定部 920による管理装置判定処理に関連する手順 について、図を参照して説明する。 [0694] Next, a procedure related to management device determination processing by the management device determination unit 920 of each server will be described with reference to the drawings.
[0695] 図 57は、管理装置サーバを判定するために各サーバにおいて実行される処理のタ ィムチャートである。本図は、管理装置サーバであるサーバ B830の稼動が停止し、 その後、普及した場合に、管理装置サーバを判定するために各サーバにおいて実行 される処理の具体例を示すタイムチャートである。 FIG. 57 is a time chart of processing executed in each server to determine the management apparatus server. This figure is a time chart showing a specific example of processing executed in each server in order to determine the management apparatus server when the operation of the server B830 as the management apparatus server is stopped and then spread.
[0696] 本図では、サーバ A820、サーバ B830およびサーバ C840の保持サーバ記憶部 1In this figure, server A820, server B830, and server C840 holding server storage unit 1
000の管理サーバ情報 1000aは、図 53に示す内容であることとする。従って、サー ノ B830が停止した場合、次の管理装置サーバはサーバ C840である。 The management server information 1000a of 000 has the contents shown in FIG. Therefore, when the server B830 is stopped, the next management apparatus server is the server C840.
[0697] まず、管理装置サーバであるサーバ B830が停止する(S901)。そのため、サーバ[0697] First, the server B830, which is the management apparatus server, stops (S901). Therefore, the server
B830は、サーバ A820およびサーバ C840に「通知 1」を送信できない。「通知 1」にB830 cannot send “Notification 1” to server A820 and server C840. To "Notification 1"
X印を付した本図の記載は、これを表す。 The description in this figure with an X mark represents this.
[0698] 次に、サーバ A820の管理装置判定部 920は、管理装置サーバであるサーバ B83[0698] Next, the management device determination unit 920 of the server A820 executes the server B83 which is a management device server.
0から一定時間内に通知を受信することができず、そのため、管理装置サーバは、次
の順位のサーバであるサーバ C840を管理装置サーバと判定し、自身が保持する管 理装置情報をサーバ B830からサーバ C840に変更する(S902)。 The notification cannot be received within a certain time from 0, so the management device server Server C840, which is the server of the rank of the server, is determined as the management apparatus server, and the management apparatus information held by itself is changed from server B830 to server C840 (S902).
[0699] ここで、管理装置サーバではな 、各サーバが、現在の管理装置サーバを判定し、 正しい管理装置情報を保持するために断続的に実行する処理を「第 1管理装置判定 処理」といい、その詳細は後述する。 Here, the process that each server, not the management apparatus server, determines the current management apparatus server and performs intermittently in order to retain correct management apparatus information is referred to as a “first management apparatus determination process”. The details will be described later.
[0700] また、サーバ C840の管理装置判定部 920も、同様に、第 1管理装置判定処理に おいて、サーバ C840を管理装置サーバと判定し、自身が保持する管理装置情報を サーバ B830からサーバ C840に変更する(S903)。 [0700] Similarly, the management device determination unit 920 of the server C840 also determines that the server C840 is a management device server in the first management device determination processing, and the management device information held by itself from the server B830 to the server Change to C840 (S903).
[0701] 続けて、管理装置サーバとなったサーバ C840の管理装置通知部 1202が「通知 2[0701] Subsequently, the management device notification unit 1202 of the server C840 that has become the management device server reports "Notification 2
」を他のサーバに送信し、サーバ A820の管理装置通知受付部 1204が「通知 2」を 受け付ける(S904)。サーバ B830は、停止しているため、「通知 2」を受け付けること ができない(S905)。本図の「通知 2」の矢印に付した Xは、これを表す。 Is transmitted to the other server, and the management device notification receiving unit 1204 of the server A820 receives “Notification 2” (S904). Server B830 cannot accept “Notification 2” because it is stopped (S905). The X on the “Notification 2” arrow in this figure indicates this.
[0702] ここで、「通知 2」とは、「通知 1」と同様に、自身が稼動していることを他のサーバに 知らせるために、継続的にまたは一定間隔で断続的に送信する情報であり、管理装 置サーバであるサーバ C840の管理装置通知部 1202が送信する通知である。 [0702] Here, "Notification 2" refers to information that is sent continuously or intermittently at regular intervals to notify other servers that it is operating, as with "Notification 1". This notification is transmitted by the management device notification unit 1202 of the server C840 that is the management device server.
[0703] 続けて、サーバ A820の管理装置判定部 920は、第 1管理装置判定処理において[0703] Subsequently, the management device determination unit 920 of the server A820 performs the first management device determination process.
、管理装置の変更は必要ないと判定する(S906)。 Then, it is determined that there is no need to change the management device (S906).
[0704] 続けて、 A820のサーバ応答部 1212は「応答 2」をサーバ C840に送信し、サーバ[0704] Subsequently, the server response unit 1212 of the A820 transmits "response 2" to the server C840, and the server
C840のサーバ応答受付部 1214は「応答 2」を受け付ける(S907)。 The server response acceptance unit 1214 of C840 accepts “response 2” (S907).
[0705] 続けて、サーバ A820の管理装置判定部 920は第 1装置判定処理を継続し、サー バ A820およびサーバ C840の管理装置判定部 920は、「通知 2」と「応答 2」との送 受信を繰り返す (図示して ヽな ヽ)。 [0705] Subsequently, the management device determination unit 920 of the server A820 continues the first device determination processing, and the management device determination unit 920 of the server A820 and the server C840 transmits "notification 2" and "response 2". Repeat reception (shown as ヽ).
[0706] 続けて、サーバ B830が復旧したとする(S908)。 [0706] Next, it is assumed that the server B830 is restored (S908).
[0707] 復旧したサーバ B830の管理装置通知部 1202は「通知 1」を他のサーバに送信し 、サーバ A820およびサーバ C840の管理装置通知受付部 1204は「通知 1」を、そ れぞれ受け付ける(S909および S910)。 [0707] The management device notification unit 1202 of the restored server B830 transmits "Notification 1" to the other servers, and the management device notification reception unit 1204 of the server A820 and the server C840 each receives "Notification 1". (S909 and S910).
[0708] 続けて、サーバ A820の管理装置判定部 920は、第 1管理装置判定処理において 、現在の管理装置サーバとして保持して 、る情報が示すサーバ C840よりも順位が
上位であるサーバ B830から通知を受け付けたため、サーバ B830を管理装置サー バと判定し、自身が保持する管理装置情報をサーバ C840からサーバ B830に変更 する(S911)。 [0708] Subsequently, the management device determination unit 920 of the server A820 retains the current management device server in the first management device determination process and ranks higher than the server C840 indicated by the information indicated. Since the notification is received from the upper server B830, the server B830 is determined as the management device server, and the management device information held by itself is changed from the server C840 to the server B830 (S911).
[0709] 続けて、サーバ A820のサーバ応答部 1212は「応答 1」を送信し、サーバ B830の サーバ応答受付部 1214は「応答 1」をサーバ A820から受け付ける(S912)。 Subsequently, server response unit 1212 of server A820 transmits “response 1”, and server response reception unit 1214 of server B830 receives “response 1” from server A820 (S912).
[0710] また、サーバ C840の管理装置判定部 920は、自身より順位の高いサーバ B830か ら通知を受け付けたため、サーバ B830を管理装置サーバと判定し、自身が保持す る管理装置情報をサーバ C840からサーバ B830に変更する(S913)。 [0710] Further, since the management device determination unit 920 of the server C840 has received a notification from the server B830 having a higher rank than itself, the management device determination unit 920 determines that the server B830 is a management device server, and stores the management device information held by itself. To server B830 (S913).
[0711] ここで、管理装置サーバが、現在の管理装置サーバを判定し、正 、管理装置情 報を保持するために断続的に実行する処理を「第 2管理装置判定処理」といい、その 詳細は後述する。 [0711] Here, the process in which the management apparatus server determines the current management apparatus server and performs intermittently in order to properly hold the management apparatus information is called "second management apparatus determination process". Details will be described later.
[0712] 続けて、サーバ C840のサーバ応答部 1212は自身の保持サーバ記憶部 1000が 記憶しているファイル保持情報 1000bを含む「応答 1」を送信し、サーバ B830のサ ーバ応答受付部 1214はファイル保持情報 1 OOObを含む「応答 1」をサーバ C840か ら受け付ける(S914)。 [0712] Subsequently, the server response unit 1212 of the server C840 transmits “response 1” including the file holding information 1000b stored in its own holding server storage unit 1000, and the server response reception unit 1214 of the server B830. Receives “Response 1” including file holding information 1 OOOb from server C840 (S914).
[0713] 続けて、ファイル保持情報 1000bを含む「応答 1」を受け付けたサーバ B830のサ ーバ応答受付部 1214は、そのファイル保持情報 1000bにより、自身の保持サーバ 記憶部 1000が記憶しているファイル保持情報 1000bを更新する(S915)。これによ り、サーバ B830が保持するファイル保持情報 1000bは最新の内容となる。 [0713] Subsequently, the server response receiving unit 1214 of the server B830 that has received “response 1” including the file holding information 1000b is stored in its holding server storage unit 1000 based on the file holding information 1000b. The file holding information 1000b is updated (S915). As a result, the file holding information 1000b held by the server B830 becomes the latest content.
[0714] 続けて、サーバ B830の管理装置通知部 1202が「通知 1」を他のサーバに送信し、 サーバ A820およびサーバ C840の管理装置通知受付部 1204が「通知 1 Jを、それ ぞれ受け付ける( S 916および S 917)。 [0714] Subsequently, the management device notification unit 1202 of the server B830 sends “Notification 1” to the other servers, and the management device notification reception unit 1204 of the server A820 and the server C840 receives “Notification 1 J respectively”. (S 916 and S 917).
[0715] 続けて、サーバ A820およびサーバ C840の管理装置判定部 920は、それぞれ、 第 1管理装置判定処理において、管理装置の変更は必要ないと判定する(S918お よび S919)。 [0715] Subsequently, the management device determination units 920 of the server A820 and the server C840 determine that the management device does not need to be changed in the first management device determination processing (S918 and S919).
[0716] 続けて、サーバ A820およびサーバ C840のサーバ応答部 1212は「応答 1」をサー バ B830に送信する。そして、サーバ B830のサーバ応答受付部 1214は「応答 1」を 受け付ける(S920および S921)。
[0717] 続けて、サーバ A820およびサーバ C840の管理装置判定部 920は第 1装置判定 処理を ϋ続し、サーバ Α820およびサーバ C840の管理装置判定部 920は、「通知 1 」と「応答 1」との送受信を繰り返す (図示して 、な 、)。 [0716] Subsequently, the server response unit 1212 of the server A820 and the server C840 transmits "response 1" to the server B830. Then, the server response reception unit 1214 of the server B830 receives “response 1” (S920 and S921). [0717] Subsequently, the management device determination unit 920 of server A820 and server C840 continues the first device determination processing, and the management device determination unit 920 of server 820 and server C840 performs "notification 1" and "response 1". Repeatedly send and receive (and illustrated).
[0718] 図 58は、通常のサーバの管理装置判定部 920が実行する第 1管理装置処理の詳 細なフローチャートである。 FIG. 58 is a detailed flowchart of the first management device process executed by the normal server management device determination unit 920.
[0719] まず、変更判断部 1206は、管理装置通知受付部 1204が直前に通知を受け付け てから予め定められた一定の時間が経過したか否かを判断する(S 1001)。この一定 時間は、変更判断部 1206が保持している。 [0719] First, the change determination unit 1206 determines whether or not a predetermined time has elapsed since the management device notification reception unit 1204 received the notification immediately before (S1001). The change determination unit 1206 holds this fixed time.
[0720] 一定時間が経過していないと判断した場合(S1001で No)、すなわち、直前の通 知から一定の時間内に次の通知を受け付けた場合、続けて、変更判断部 1206は、 管理装置保持部 1200が保持している情報と、保持サーバ記憶部 1000の管理サー バ情報 1000aとを取得し、次の通知の送信元のサーバの順位力 管理装置保持部 1 200が保持して 、る管理装置情報が示すサーバより上位であるか否かを判断する(S 1002)。 [0720] If it is determined that a certain time has not elapsed (No in S1001), that is, if the next notification is received within a certain time from the previous notification, the change determination unit 1206 continues to manage The information held by the device holding unit 1200 and the management server information 1000a of the holding server storage unit 1000 are acquired, and the ranking of the server that is the transmission source of the next notification is held by the management device holding unit 1 200. It is determined whether or not the management device information is higher than the server indicated (S1002).
[0721] 送信元であるサーバが管理装置情報が示すサーバより上位でないと判断した場合 [0721] When determining that the server that is the sender is not higher than the server indicated by the management device information
(S1002で No)、変更判断部 1206は、管理装置サーバの変更が必要がないと判断 し、時間経過の判断処理 (S1001)に戻る。 (No in S1002), the change determination unit 1206 determines that there is no need to change the management apparatus server, and returns to the determination process of time passage (S1001).
[0722] また、一定時間が経過したと判断した場合 (S 1001で Yes)、または、一定時間が経 過していないと判断し (S1001で No)、かつ、送信元であるサーバが管理装置情報 が示すサーバより上位であると判断した場合 (S1002で Yes)、変更判断部 1206は 管理装置サーバの変更が必要であると判断し、この判断を受けた管理装置決定部 1 208は管理装置サーバを決定する(S1003)。 [0722] If it is determined that a certain time has passed (Yes in S1001), or it is determined that the certain time has not passed (No in S1001), and the server that is the transmission source is the management device When it is determined that the information is higher than the server indicated by the information (Yes in S1002), the change determination unit 1206 determines that the management device server needs to be changed. A server is determined (S1003).
[0723] ここで、一定時間が経過したために(S 1001で Yes)、管理装置サーバの変更が必 要と判断された場合には、管理装置決定部 1208は、この判断と、管理装置保持部 1 200が保持している管理装置情報とを変更判断部 1206から取得し、さらに、保持サ ーバ記憶部 1000から管理サーバ情報 1000aの「順位」を取得し、管理装置情報が 示すサーバの次の順位に対応するサーバを、新たな管理装置サーバとして決定する
[0724] また、送信元であるサーバが管理装置情報が示すサーバより上位であるために(S 1002で Yes)、管理装置サーバの変更が必要と判断された場合には、管理装置決 定部 1208は、この判断と、送信元であるサーバを特定するための情報とを変更判断 部 1206から取得し、送信元であるサーバを、新たな管理装置サーバとして決定する [0723] Here, when it is determined that the management device server needs to be changed because a certain time has elapsed (Yes in S1001), the management device determination unit 1208 determines this determination and the management device holding unit. 1 The management device information held by the 200 is obtained from the change determination unit 1206, and the “rank” of the management server information 1000a is obtained from the holding server storage unit 1000, and the server next indicated by the management device information is obtained. The server corresponding to the rank of the server is determined as a new management device server [0724] Also, because the server that is the transmission source is higher than the server indicated by the management device information (Yes in S1002), if it is determined that the management device server needs to be changed, the management device determination unit The 1208 obtains this determination and information for specifying the transmission source server from the change determination unit 1206, and determines the transmission source server as a new management apparatus server.
[0725] 続けて、管理装置決定部 1208は、自身が決定した管理装置サーバを特定するた めの情報により、管理装置保持部 1200が保持する管理装置情報を更新し、保持さ せる(S1004)。これにより、通常のサーバの管理装置判定部 920による、第 1管理装 置判定処理は終了する。 [0725] Subsequently, the management device determination unit 1208 updates and holds the management device information held by the management device holding unit 1200 with the information for specifying the management device server determined by itself (S1004). . As a result, the first management device determination process by the normal server management device determination unit 920 ends.
[0726] 図 59は、管理装置サーバの管理装置判定部 920が実行する第 2管理装置処理の 詳細なフローチャートである。 FIG. 59 is a detailed flowchart of the second management device process executed by the management device determination unit 920 of the management device server.
[0727] まず、変更判断部 1206は、管理装置通知受付部 1204が通知を受け付けた場合、 その通知の送信元が、自身を備えるサーバより上位であるカゝ否かを判断する(S110 0)。 First, when the management device notification receiving unit 1204 receives a notification, the change determining unit 1206 determines whether or not the transmission source of the notification is higher than the server including the notification (S110 0). .
[0728] 送信元が自身を備えるサーバより上位ではな 、と判断した場合 (S1100で No)、変 更判断部 1206は待機する。 [0728] If it is determined that the transmission source is not higher than the server provided with the transmission source (No in S1100), change determination section 1206 waits.
[0729] 送信元が自身を備えるサーバより上位であると判断した場合 (S 1100で Yes)、管 理装置決定部 1208は、この判断と、送信元であるサーバを特定するための情報とを 変更判断部 1206から取得し、送信元であるサーバを、新たな管理装置サーバとして 決定する(S1101)。 [0729] If it is determined that the transmission source is higher than the server including itself (Yes in S1100), the management device determination unit 1208 uses this determination and information for specifying the server that is the transmission source. The server that is acquired from the change determination unit 1206 and is the transmission source is determined as a new management apparatus server (S1101).
[0730] 続けて、管理装置決定部 1208は、自身が決定した管理装置サーバを特定するた めの情報により、管理装置保持部 1200が保持する管理装置情報を更新し、保持さ せる(S1102)。 Subsequently, the management device determination unit 1208 updates and holds the management device information held by the management device holding unit 1200 with the information for specifying the management device server determined by itself (S1102). .
[0731] 続けて、保持サーバ情報取得部 1210は、管理装置決定部 1208が新たな管理装 置サーバとして決定したサーバを特定するための情報を取得すると、自身の保持サ ーバ記憶部 1000のファイル保持情報 1000bを取得し、取得したファイル保持情報 1 000bとサーバを特定するための情報とをサーバ応答部 1212に引き渡す (S1103)
[0732] これにより、管理装置サーバの管理装置判定部 920による、第 1管理装置判定処 理は終了する。 [0731] Subsequently, when the holding server information acquisition unit 1210 acquires information for identifying the server determined by the management device determination unit 1208 as a new management device server, the holding server information acquisition unit 1210 stores the information of its own holding server storage unit 1000. The file holding information 1000b is acquired, and the acquired file holding information 1 000b and the information for specifying the server are delivered to the server response unit 1212 (S1103) Thereby, the first management device determination process by the management device determination unit 920 of the management device server ends.
[0733] 次に、実施の形態 4に係る分散ファイル管理システムを構成する各装置において実 行される処理について、より具体的な一例を挙げて説明する。 [0733] Next, the processing executed in each device constituting the distributed file management system according to Embodiment 4 will be described with a more specific example.
[0734] 図 60は、サーバ B830の停止中にサーバ A820がファイル dの取得要求を受け付 けた後に、サーバ B830が復旧した場合に、本発明の実施の形態 4に係る分散フアイ ル管理システムを構成する各装置において実行される処理の具体例を示すタイムチ ヤートである。 FIG. 60 shows the distributed file management system according to the fourth embodiment of the present invention when server B 830 recovers after server A 820 receives a file d acquisition request while server B 830 is stopped. 6 is a time chart showing a specific example of processing executed in each of the constituent devices.
[0735] ここでも、各サーバの保持サーバ記憶部 1000の管理サーバ情報は、図 53に示す 管理サーバ情報 1000aであるとする。また、各サーバの保持サーバ記憶部 1000の ファイル保持情報の初めの内容は、図 54に示すファイル保持情報 1000bであるとす る。さらに、各サーバのファイル記憶部 25、 35、 45が記憶している電子ファイル情報 の初めの内容は、図 49に示す内容であるとする。 [0735] Also here, it is assumed that the management server information of the holding server storage unit 1000 of each server is the management server information 1000a shown in FIG. Further, it is assumed that the initial content of the file holding information in the holding server storage unit 1000 of each server is the file holding information 1000b shown in FIG. Furthermore, the initial contents of the electronic file information stored in the file storage units 25, 35, and 45 of each server are assumed to be the contents shown in FIG.
[0736] まず、管理装置サーバであるサーバ B830が停止してから(S901)、サーバ A820 が新たに管理装置サーバとなったサーバ C840に「応答 2」を送信するまで (S907) の処理は、図 57において同じ参照符号を付した処理と同一である。そのため、これら に関するここでの説明は省略する。この時点での管理装置サーバは、サーバ C840 に変更されている。 [0736] First, after the server B830, which is the management device server, is stopped (S901), until the server A820 sends "Response 2" to the server C840 that has newly become the management device server, the processing of (S907) This is the same as the process given the same reference number in FIG. Therefore, the description here regarding these is omitted. The management apparatus server at this time is changed to the server C840.
[0737] 続けて、サーバ A820のユーザ要求受信部 71は、ユーザが利用する端末 60 (65) から、ファイル dの取得要求を受け付ける(S1201)。 [0737] Subsequently, the user request receiving unit 71 of the server A820 receives an acquisition request for the file d from the terminal 60 (65) used by the user (S1201).
[0738] 続けて、サーバ A820の要求種別判断部 73は、ユーザ要求受信部 71が受信した 要求が「取得要求」であるかを判断し(図示していない)、続けて、サーバ A820のファ ィル記憶制御部 77は、自身のファイル記憶部 25が取得要求に係る電子ファイルを 記憶しているカゝ否かを判断する(S1202)。 [0738] Subsequently, the request type determination unit 73 of the server A820 determines whether the request received by the user request reception unit 71 is an “acquisition request” (not shown), and then continues with the process of the server A820. The file storage control unit 77 determines whether or not the own file storage unit 25 stores the electronic file related to the acquisition request (S1202).
[0739] 図 49Aに示すように、サーバ A820のファイル記憶部 25はファイル dを記憶してい ない。そのため、サーバ A820のファイル記憶制御部 77は、自身のファイル記憶部 2 5が取得要求に係る電子ファイルを記憶して 、な 、と判断する(S 1202で No)。 [0739] As shown in FIG. 49A, the file storage unit 25 of the server A820 does not store the file d. Therefore, the file storage control unit 77 of the server A 820 determines that its own file storage unit 25 has stored the electronic file related to the acquisition request (No in S 1202).
[0740] サーバ A820の保持サーバ問合部 1079は、ファイル記憶制御部 77の判断を受け
て、サーバ C840に取得要求に係る電子ファイルの保持サーバの問合せを送信し、 サーバ B830の問合受付部 102はその保持サーバの問合せを受け付ける(S1203) [0740] The holding server query unit 1079 of the server A820 receives the judgment of the file storage control unit 77. Then, the server C840 sends an inquiry about the holding server of the electronic file related to the acquisition request, and the inquiry receiving unit 102 of the server B830 receives the inquiry about the holding server (S1203)
[0741] 続けて、サーバ C840の保持サーバ判断部 104は、保持サーバ記憶部 1000のフ アイル保持情報 1000bを参照することにより、取得要求に係る電子ファイルの保持サ ーバがある力否かを判断する(S 1204)。 [0741] Subsequently, the holding server determination unit 104 of the server C840 refers to the file holding information 1000b of the holding server storage unit 1000 to determine whether the holding server of the electronic file related to the acquisition request has power. Judgment is made (S 1204).
[0742] 図 54に示すように、ファイル dの保持サーバは「サーバ B」と「サーバ C」とであるため[0742] As shown in FIG. 54, the holding servers of the file d are “server B” and “server C”.
、サーバ C840の保持サーバ判断部 104は、保持サーバがあると判断し(S1204でThe holding server determination unit 104 of the server C840 determines that there is a holding server (in S1204
Yes)、続けて、サーバ C840自身が保持サーバであるか否かを判断する(S 1205)。 Yes), it is subsequently determined whether or not the server C840 itself is a holding server (S 1205).
[0743] 上記のように、「サーバ C」が保持サーバであるため、自身が保持サーバであると判 断し(S 1205で Yes)、続けて、サーバ C840のファイル記憶制御部 77は、自身の管 理装置部 910の要求により、ファイル記憶部 45からファイル dを読み出す (S1206)。 [0743] As described above, since "Server C" is the holding server, it is determined that it is the holding server (Yes in S1205), and then the file storage control unit 77 of the server C840 determines itself. In response to a request from the management apparatus unit 910, the file d is read from the file storage unit 45 (S1206).
[0744] 続けて、サーバ C840のファイル送信部 85は、自身のファイル記憶制御部 77から ファイル dを取得し、サーバ A820に送信する。そして、サーバ A820のファイル受信 部 87はそのファイル dを受信する(S1207)。 [0744] Subsequently, the file transmission unit 85 of the server C840 acquires the file d from its own file storage control unit 77 and transmits it to the server A820. Then, the file receiving unit 87 of the server A820 receives the file d (S1207).
[0745] 続けて、サーバ A820のユーザ要求応答部 95は、ファイル dをファイル記憶制御部[0745] Subsequently, the user request response unit 95 of the server A820 transfers the file d to the file storage control unit.
77を介して取得し、ユーザが利用する端末 60 (65)に送信する(S1208)。 It is acquired via 77 and transmitted to the terminal 60 (65) used by the user (S1208).
[0746] 続けて、サーバ A820のファイル記憶制御部 77は、自身のファイル受信部 87から 取得した電子ファイルを自身のファイル記憶部 25に格納する(S 1209)。 [0746] Subsequently, the file storage control unit 77 of the server A820 stores the electronic file acquired from its own file reception unit 87 in its own file storage unit 25 (S1209).
[0747] 続けて、サーバ A820の更新通知部 1091は、自身がファイル dの保持サーバとな つたことを内容とする更新通知を、サーバ C840に送信し、サーバ C840の更新通知 受付部 110はその更新通知を受け付ける(S1210)。 [0747] Subsequently, the update notification unit 1091 of the server A820 transmits an update notification with the content that it has become the holding server of the file d to the server C840, and the update notification reception unit 110 of the server C840 An update notification is accepted (S1210).
[0748] 続けて、サーバ A820の更新通知受付部 110は上記の更新通知を内部バスを介し て自身の更新通知部 1091から取得し、サーバ A820の保持情報更新部 112は、更 新通知受付部 110から取得した更新通知に従って自身の保持サーバ記憶部 1000 のファイル保持情報 1000bを更新する(S1211)。 [0748] Subsequently, the update notification reception unit 110 of the server A820 acquires the update notification from its own update notification unit 1091 via the internal bus, and the retained information update unit 112 of the server A820 receives the update notification reception unit. According to the update notification acquired from 110, the file holding information 1000b of its own holding server storage unit 1000 is updated (S1211).
[0749] また、サーバ C840の保持情報更新部 112は、それぞれの更新通知受付部 110か ら更新通知を取得し、取得した更新通知に従ってそれぞれの保持サーバ記憶部 10
00のファイル保持情報 1000bを更新する(S 1212)。 [0749] Further, the retained information update unit 112 of the server C840 acquires an update notification from each update notification reception unit 110, and each of the retained server storage units 10 according to the acquired update notification. The file holding information 1000b of 00 is updated (S1212).
[0750] この後、サーバ C840とサーバ A820とは「通知 2」の送受信から(S904)、「応答 2」 の送受信まで (S907)の処理を継続する。 [0750] Thereafter, the server C840 and the server A820 continue the processing from the transmission / reception of "Notification 2" (S904) to the transmission / reception of "Response 2" (S907).
[0751] ここまでの処理を終えた時に、各サーバが保持しているファイル保持情報について 、図を参照して説明する。 [0751] The file holding information held by each server when the processing so far is finished will be described with reference to the drawings.
[0752] 図 61は、サーバ B830の停止中に実行されたファイル dの取得要求に関する処理 が終了した後の、サーバ A820およびサーバ C840の保持サーバ記憶部の保持サー バ情報 1000cの例を示す図である。サーバ A820およびサーバ C840の保持サーバ 情報 1000cには、「ファイル d」の保持サーバに「サーバ A」が新たに追加されている。 [0752] Fig. 61 is a diagram showing an example of the server information 1000c stored in the storage server storage unit of the server A820 and the server C840 after the processing related to the acquisition request for the file d executed while the server B830 is stopped. It is. In the holding server information 1000c of server A820 and server C840, “server A” is newly added to the holding server of “file d”.
[0753] また、図 62は、サーバ B830の停止中に実行されたファイル dの取得要求に関する 処理が終了した後の、サーバ B830の保持サーバ記憶部の保持サーバ情報 1000b の例を示す図である。サーバ B830は停止しているため保持サーバ情報 lOOOdが更 新されておらず、「ファイル d」の保持サーバに「サーバ A」が新たに追加されて ヽな ヽ [0753] FIG. 62 is a diagram showing an example of the holding server information 1000b in the holding server storage unit of the server B830 after the processing related to the acquisition request for the file d executed while the server B830 is stopped is completed. . Because server B830 is stopped, holding server information lOOOd has not been updated, and “server A” is newly added to the holding server of “file d”.
[0754] このように、停止中のサーバが保持するファイル保持情報 1000dは、正しい情報を 保持していないことがある。そのため、以下に説明する処理が実行される。 [0754] As described above, the file holding information 1000d held by the stopped server may not hold the correct information. Therefore, the process described below is executed.
[0755] ここ力 、図 60の説明に戻る。 [0755] Here, let us return to the explanation of FIG.
[0756] サーバ B830が復旧したとする(S908)。 [0756] Assume that server B830 is restored (S908).
[0757] 続けて、サーバ B830とサーバ A820との「通知 1」の送受信から(S909)、サーバ B による保持サーバ情報の更新までは(S915)、図 57において同じ参照符号を付した 処理と同一である。そのため、これらに関するここでの説明は省略する。 [0757] Subsequently, the process from transmission / reception of "Notification 1" between server B830 and server A820 (S909) to the update of retained server information by server B (S915) is the same as the process with the same reference number in FIG. It is. Therefore, the description here regarding these is omitted.
[0758] ここで、 S914においてサーバ C840のサーバ応答部 1212が送信する「応答 1」に は、図 61に示す最新のファイル保持情報 1000cが含まれる。そのため、「応答 1」を 受信したサーバ B830は、 S915において、ファイル保持情報 1000cにより、自身の 保持サーバ記憶部 1000が記憶しているファイル保持情報 1000bを更新することが でき、復旧したサーバ B830は管理装置サーバとして正しく機能することが可能となる Here, “response 1” transmitted by server response unit 1212 of server C840 in S914 includes the latest file holding information 1000c shown in FIG. Therefore, the server B830 that has received “response 1” can update the file holding information 1000b stored in its holding server storage unit 1000 with the file holding information 1000c in S915, and the restored server B830 It can function correctly as a management device server
[0759] 実施の形態 2において、ユーザが利用する端末 60 (65)に接続されたモニタに表
示される入力画面および結果の表示画面の例は、実施の形態 1において図 16から 図 18までを参照して説明した入力画面および結果の表示画面の例と同様である。そ のため、ここでの説明は省略する。 [0759] In Embodiment 2, it is displayed on a monitor connected to terminal 60 (65) used by the user. The example of the input screen and the result display screen shown are the same as the example of the input screen and the result display screen described with reference to FIGS. 16 to 18 in the first embodiment. Therefore, the explanation here is omitted.
[0760] 以上、本発明の実施の形態 4に係る分散ファイル管理システムについて説明したが 、本発明はこの実施の形態に限定されるものではない。 [0760] Although the distributed file management system according to the fourth embodiment of the present invention has been described above, the present invention is not limited to this embodiment.
[0761] (変形例 2) [0761] (Modification 2)
例えば、本実施の形態に係る分散ファイル管理システムを構成するサーバに、分散 ファイル管理装置としての機能を有しな 、サーバが含まれても構わな 、。 For example, the server constituting the distributed file management system according to the present embodiment may include a server that does not have a function as a distributed file management device.
[0762] 実施の形態 4では、分散ファイル管理システムを構成するサーバが 3台の場合を例 に説明した。しかし、分散ファイル管理システムを構成するサーバの台数は、より多く ても構わない。分散ファイル管理装置としての機能を備えたサーバは、保持サーバ 記憶部 1000にファイル保持情報を記憶しており、サーバの 、ずれかのファイル記憶 部に変更があると、すべての分散ファイル管理装置としての機能を備えたサーバのフ アイル保持情報が、同期を保っために、更新される。多数のサーバにより分散フアイ ル管理システムが構成される場合、このファイル保持情報の同期のための処理およ び通信情報量が増加する。 [0762] In the fourth embodiment, the case where there are three servers constituting the distributed file management system has been described as an example. However, the number of servers constituting the distributed file management system may be larger. A server having a function as a distributed file management device stores file retention information in the retention server storage unit 1000, and if any file storage unit of the server is changed, all the distributed file management devices are used. The file retention information of the server with the above function is updated in order to maintain synchronization. When a distributed file management system is configured with a large number of servers, the amount of processing and communication information for synchronizing this file retention information increases.
[0763] したがって、分散ファイル管理システムが多数のサーバにより構成される場合には、 そのサーバ群の一部に分散ファイル管理装置の機能を有するサーバを含むことによ り、分散ファイル管理システムの耐障害性を向上させることが可能になるとともに、そ のサーバ群の一部に分散ファイル管理装置の機能を有しないサーバを含むことによ り、各サーバの処理に係る負荷の増加と通信情報量が増加とを抑えることが可能とな る。 [0763] Therefore, when the distributed file management system is configured by a large number of servers, by including a server having the function of the distributed file management device as a part of the server group, the distributed file management system can It is possible to improve the faultiness and include a server that does not have the function of the distributed file management device in a part of the server group, thereby increasing the load related to the processing of each server and the amount of communication information. It is possible to suppress the increase.
[0764] このような実施の形態 4に係る一変形例について、図 63から図 65までを参照して説 明する。 [0764] One modification according to Embodiment 4 will be described with reference to FIGS. 63 to 65. FIG.
[0765] 図 63は、本発明の変形例 2に係る分散ファイル管理システムの構成の概要を示す 図である。本図に示す分散ファイル管理システムは、サーノ A820と、サーバ B830と 、サーノ C840と、サーバ D850と、端末 a60と、端末 b65とから構成され、これらの各 装置は通信回線 50介して接続されている。すなわち、本図に示す分散ファイル管理
システムの構成は、実施の形態 4に係る分散ファイル管理システムの構成に、さら〖こ、 サーバ D850を追カ卩したものである。サーバ D850以外の装置は実施の形態 4と同様 であるため、ここでの詳しい説明は省略する。 FIG. 63 is a diagram showing an outline of the configuration of the distributed file management system according to the second modification of the present invention. The distributed file management system shown in this figure is composed of a Sano A820, a server B830, a Sano C840, a server D850, a terminal a60, and a terminal b65. These devices are connected via a communication line 50. Yes. That is, distributed file management shown in this figure The system configuration is obtained by adding the server D850 to the configuration of the distributed file management system according to the fourth embodiment. Since the devices other than the server D850 are the same as those in the fourth embodiment, a detailed description thereof is omitted here.
[0766] サーバ D850は、他のサーバと同様に、電子ファイルを記憶している記憶部である ファイル記憶部 855を備える。サーバ D850が他のサーバと異なる点は、分散フアイ ル管理装置としての機能を備えて 、な 、ことにある。 [0766] The server D850 includes a file storage unit 855, which is a storage unit that stores electronic files, in the same manner as other servers. The server D850 is different from other servers in that it has a function as a distributed file management device.
[0767] そのため、分散ファイル管理装置としての機能を備えるサーバであるサーバ A820 と、サーバ B830と、サーバ C840とが備える保持サーバ記憶部 1000の管理サーバ 情報は、サーバ D850が分散ファイル管理装置としての機能を備えて 、な 、ことが識 別できるようになつている。 [0767] Therefore, the management server information of the holding server storage unit 1000 included in the server A820, the server B830, and the server C840, which are servers having a function as a distributed file management device, is stored in the server D850 as a distributed file management device. It has a function so that it can be identified.
[0768] 図 64は、本発明の変形例 2に係る分散ファイル管理装置として機能するサーバが 備える保持サーバ記憶部 1000の管理サーバ情報 lOOOeの一例を示す図である。 FIG. 64 is a diagram showing an example of the management server information lOOOe of the holding server storage unit 1000 included in the server functioning as the distributed file management device according to the second modification of the present invention.
[0769] 本図に示す管理サーバ情報 lOOOeは、図 53に示す実施の形態 4に係る管理サー バ情報 1000aと同様に、「サーバ名」と、「IPアドレス」と、「順位」と力も構成される。本 変形において、これらに格納される情報も、実施の形態と同様である。違いは、分散 ファイル管理装置としての機能を備えないサーバを識別できるようにするため、その サーバに対応する「順位」に情報を含まないことである。 [0769] The management server information lOOOe shown in this figure is composed of "server name", "IP address", "rank", and power as well as the management server information 1000a according to the fourth embodiment shown in FIG. Is done. In this modification, the information stored in these is the same as in the embodiment. The difference is that in order to be able to identify servers that do not have a function as a distributed file management device, no information is included in the “rank” corresponding to those servers.
[0770] 例えば、本図では、「サーバ D」に対応付けて格納されている情報は「IPアドレス」の みであり、「順位」は NULL値である。このように、「順位」が NULL値であることにより 、分散ファイル管理装置としての機能を備えたサーバは、「サーバ D」が分散ファイル 管理装置としての機能を備えないサーバであることを識別でき、例えば、管理装置サ ーバが停止した場合、サーバ D850は次の管理装置サーバの候補とならな 、。 [0770] For example, in this figure, the only information stored in association with "Server D" is "IP address", and "Rank" is a null value. In this way, when “rank” is a null value, a server having a function as a distributed file management apparatus can identify that “server D” is a server not having a function as a distributed file management apparatus. For example, if the management device server stops, server D850 must be a candidate for the next management device server.
[0771] なお、サーバが分散ファイル管理装置としての機能を備えな 、ことを示す方法は、 これに限られない。「順位」が NULL値である他、「順位」を「一 1」とするなど、分散フ アイル管理装置の機能を備えるサーバに対応付けられた「順位」に付与されない値で もよい。また、分散ファイル管理装置としての機能を有するサーバである力否かを示 すフラグを、さらに追加してもよい。 [0771] Note that the method of indicating that the server does not have a function as a distributed file management device is not limited to this. In addition to the “rank” being a null value, it may be a value not assigned to the “rank” associated with the server having the function of the distributed file management device, such as “rank” being “1”. In addition, a flag indicating whether or not the server has a function as a distributed file management apparatus may be added.
[0772] 図 65は、本発明の変形例 2に係る分散ファイル管理装置として機能しないサーバ
であるサーバ D850が備える機能的構成を示すブロック図である。 FIG. 65 shows a server that does not function as the distributed file management device according to the second modification of the present invention. It is a block diagram which shows the functional structure with which server D850 which is is.
[0773] サーバ D850は、ファイルサーバ部 900と、管理装置判定部 1300と力も構成される[0773] The server D850 is also configured with a file server unit 900 and a management device determination unit 1300.
。また、各部位は内部バスで接続されている(図示しない)。 . Each part is connected by an internal bus (not shown).
[0774] サーバ D850のファイルサーバ部 900は、図 51に示すサーバ A820のファイルサ ーバ部 820と同様に、ファイルサーバとしての機能を実現する部位であり、サーバ A8 20のファイルサーバ部 820と同様の機能的構成を備える。本図に示すファイルサー バ部 900の各部位が備える機能は、図 51において同一の参照符号を付したサーバ A820のファイルサーバ部 820の各部位が備える機能と同様である。そのため、ここ でサーバ D850のファイルサーバ部 900の各部位が備える機能に関する詳細な説明 は省略する。 [0774] The file server unit 900 of the server D850 is a part that implements a function as a file server, similar to the file server unit 820 of the server A820 shown in FIG. It has the same functional configuration. The functions provided in each part of the file server unit 900 shown in this figure are the same as the functions provided in each part of the file server unit 820 of the server A 820 given the same reference numerals in FIG. Therefore, a detailed description of the functions provided in each part of the file server unit 900 of the server D850 is omitted here.
[0775] 管理装置判定部 1300は、図 52に示すサーバ A820の管理装置判定部 920と同 様に、管理装置サーバとの間で送受信される情報に基づいて、管理装置サーバを判 定する部位である。 [0775] Similar to the management device determination unit 920 of the server A820 shown in FIG. 52, the management device determination unit 1300 determines the management device server based on information transmitted to and received from the management device server. It is.
[0776] 本変形例に係るサーバ D850の管理装置判定部 1300は、管理装置保持部 1400 と、管理装置通知受付部 1402と、サーバ応答部 1412とを有する。 [0776] The management device determination unit 1300 of the server D850 according to this variation includes a management device holding unit 1400, a management device notification receiving unit 1402, and a server response unit 1412.
[0777] 管理装置保持部 1400は、図 52に示す管理装置保持部 1200と同様に、管理装置 情報を保持して!/、る部位である。 [0777] Management device holding unit 1400 is a unit that holds management device information, like management device holding unit 1200 shown in FIG.
[0778] 管理装置通知受付部 1402は、図 52に示す管理装置通知受付部 1204と同様に、 管理装置サーバの管理装置通知部 1202からの通知を受け付ける部位である。管理 装置通知受付部 1402は、受け付けた通知の送信元であるサーバを示す情報を管 理装置情報として管理装置保持部 1400に保持させる。 [0778] The management device notification receiving unit 1402 is a part that receives a notification from the management device notification unit 1202 of the management device server, similarly to the management device notification reception unit 1204 shown in FIG. The management device notification receiving unit 1402 causes the management device holding unit 1400 to hold information indicating the server that is the transmission source of the received notification as management device information.
[0779] すなわち、分散ファイル管理装置としての機能を備えないサーバの管理装置判定 部 1300は、通知元であるサーバが管理装置サーバであると判定する。 That is, the management device determination unit 1300 of the server that does not have the function as the distributed file management device determines that the server that is the notification source is the management device server.
[0780] サーバ応答部 1412は、管理装置通知受付部 1402が通知を受け付けた場合に、 管理装置サーバに応答する部位である。サーバ応答部 1412は、管理装置保持部 1 400が保持している管理装置情報を取得し、取得した管理装置情報により示される サーバを、応答先である管理装置サーバとする。 [0780] The server response unit 1412 is a part that responds to the management device server when the management device notification reception unit 1402 receives the notification. The server response unit 1412 acquires the management device information held by the management device holding unit 1400, and sets the server indicated by the acquired management device information as the management device server that is the response destination.
[0781] このような機能を備えることにより、分散ファイル管理装置の機能を有しないサーバ
は、分散ファイル管理サーバを検知することができ、ユーザ力もの要求を受け付けた 場合には、必要に応じて分散ファイル管理サーバにユーザの要求に係る電子フアイ ルの保持サーバを問 、合わせることができる。 [0781] By providing such a function, a server that does not have the function of a distributed file management device Can detect the distributed file management server, and when it receives a request from the user, it can query the distributed file management server for the electronic file holding server related to the user's request as necessary. it can.
[0782] なお、本変形例では分散ファイル管理装置の機能を有しないサーバを 1台である場 合を例にした力 複数台であってもよいのはもちろんである。 [0782] In this modification, it is needless to say that multiple servers may be used as an example in which there is one server that does not have the function of the distributed file management device.
[0783] 以上、本発明の実施の形態 1から実施の形態 4までに係る分散ファイル管理システ ムについて説明した力 本発明は、これらの実施の形態に限定されるものではない。 [0783] The power described above for the distributed file management system according to Embodiments 1 to 4 of the present invention The present invention is not limited to these embodiments.
[0784] 例えば、実施の形態 1から実施の形態 3まででは、分散ファイル管理装置の管理下 にあるサーバが 3台である場合を例に説明したが、サーバは複数あればよい。また、
、程、ユーザは電子ファイルの所在を意識することなく所望の電 子ファイルを取得することが可能となるなど、各実施の形態における効果は顕著にな る。 [0784] For example, in Embodiments 1 to 3, the case where there are three servers managed by the distributed file management device has been described as an example, but there may be a plurality of servers. Also, As described above, the effect of each embodiment becomes remarkable, such as the user being able to acquire a desired electronic file without being aware of the location of the electronic file.
産業上の利用可能性 Industrial applicability
[0785] 本発明は、複数のサーバで分散して保持されている電子ファイル群を管理する装 置またはシステム等に適用でき、特に、複数のファイルサーバおよび各ファイルサー バを管理する装置により構成されるシステムや、複数の WWW (World Wide Web )サーバおよび各 WWWサーバを管理する装置により構成されるシステム等に適用 できる。
[0785] The present invention can be applied to a device or system that manages a group of electronic files that are distributed and held by a plurality of servers, and particularly includes a plurality of file servers and a device that manages each file server. The present invention can be applied to a system that includes a plurality of WWW (World Wide Web) servers and devices that manage each WWW server.
Claims
[1] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理システムであつ て、 [1] A distributed file management system that manages electronic files held by multiple servers.
前記分散ファイル管理システムは、通信回線により接続された、前記複数のサーバ と、ユーザが利用する端末と、分散ファイル管理装置とにより構成され、 The distributed file management system is composed of the plurality of servers, terminals used by users, and a distributed file management device connected by a communication line,
前記分散ファイル管理装置は、 The distributed file management device includes:
電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記識別子を含む最新の電子ファイルを保持するサーバである保持サーバが いずれであるかという問合せを、前記アクセス元サーバから受け付ける問合受付手段 と、 When an access source server that receives a user request related to an electronic file receives a request for the terminal to acquire an electronic file including a user-specified identifier, the latest electronic file including the identifier is retained. Inquiry receiving means for receiving from the access source server an inquiry as to which holding server is a server to perform;
最新の電子ファイルを保持するサーバがいずれであるかを示す情報であるファイル 保持情報を記憶して!/ヽる保持サーバ記憶手段と、 Holding server storage means for storing and holding file holding information, which is information indicating which server holds the latest electronic file;
前記問合受付手段が問合せを受け付けた場合に、前記ファイル保持情報を参照 することにより、前記保持サーバがいずれであるかを判断する保持サーバ判断手段と 前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する 要求であるファイル送信要求を、前記保持サーバ判断手段により保持サーバである と判断されたサーバに送信するファイル送信要求手段とを備える When the inquiry accepting means accepts an inquiry, referring to the file holding information, the holding server judging means for judging which is the holding server and an electronic file including the user-specified identifier A file transmission request unit that transmits a file transmission request, which is a request to be transmitted to the access source server, to a server that is determined to be a holding server by the holding server determination unit.
ことを特徴とする分散ファイル管理システム。 Distributed file management system characterized by that.
[2] 前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別子と、同一 の識別子を含む電子ファイル群の中で最新であるカゝ否かを示すフラグとを対応付け た情報であるファイル保持情報を記憶し、 [2] The holding server storage means is information in which the server, the identifier of the electronic file, and a flag indicating whether or not the latest in the electronic file group including the same identifier is associated with each other Remember file retention information,
前記保持サーバ判断手段は、前記ファイル保持情報を参照することにより、前記ュ 一ザ指定の識別子と、最新であることを示す前記フラグとに対応付けられているサー バを、前記保持サーバと判断する The holding server judging means judges the server associated with the user-specified identifier and the flag indicating the latest as the holding server by referring to the file holding information. Do
ことを特徴とする請求項 1に記載の分散ファイル管理システム。 The distributed file management system according to claim 1, wherein:
[3] 前記各サーバは、
電子ファイルを記憶して 、るファイル記憶手段と、 [3] Each server is A file storage means for storing electronic files;
前記ファイル送信要求手段が送信した前記ファイル送信要求を受信するファイル 送信要求受信手段と、 A file transmission request receiving means for receiving the file transmission request transmitted by the file transmission request means;
前記ファイル送信要求に係る電子ファイルを前記ファイル記憶手段力 読み出すフ アイル記憶制御手段と、 A file storage control means for reading the electronic file related to the file transmission request by the file storage means; and
前記ファイル記憶制御手段が読み出した電子ファイルを取得し、取得した当該電 子ファイルを前記アクセス元サーバに送信するファイル送信手段とを備える A file transmission unit that acquires the electronic file read by the file storage control unit and transmits the acquired electronic file to the access source server;
ことを特徴とする請求項 2に記載の分散ファイル管理システム。 The distributed file management system according to claim 2, wherein:
[4] 前記各サーバは、 [4] Each server is
さらに、他のサーバの前記ファイル送信手段カゝら送信された電子ファイルを受信す るファイル受信手段を備え、 And a file receiving means for receiving the electronic file transmitted from the file transmitting means of another server.
前記ファイル記憶制御手段は、さらに、前記ファイル受信手段が受信した電子ファ ィルを前記ファイル記憶手段に書き込む The file storage control means further writes the electronic file received by the file receiving means into the file storage means.
ことを特徴とする請求項 3に記載の分散ファイル管理システム。 The distributed file management system according to claim 3, wherein:
[5] 前記各サーバは、さらに、 [5] Each server further includes:
前記ファイル記憶制御手段がファイル記憶手段に電子ファイルを書き込んだ場合 に、書き込みの前後における当該ファイル記憶手段が記憶している情報の差分を、 前記分散ファイル管理装置に通知する更新通知手段を備え、 When the file storage control means writes an electronic file to the file storage means, the update notification means for notifying the distributed file management device of the difference between the information stored in the file storage means before and after writing,
前記分散ファイル管理装置は、 The distributed file management device includes:
前記更新通知手段による通知を受け付ける更新通知受付手段と、 Update notification accepting means for accepting notification by the update notifying means;
前記更新通知受付手段が受け付けた通知に含まれる前記差分により、前記フアイ ル保持情報を更新する保持情報更新手段とを備える Holding information updating means for updating the file holding information based on the difference included in the notification received by the update notification receiving means.
ことを特徴とする請求項 4に記載の分散ファイル管理システム。 The distributed file management system according to claim 4, wherein:
[6] 前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末が取 得する要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記取得要 求に係る電子ファイルを保持するに至った場合に、前記取得要求に係る電子フアイ ルの識別子を前記差分として、前記分散ファイル管理装置に通知し、 [6] The update notification means is configured so that the access source server receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request. If it arrives, the distributed file management device is notified of the electronic file identifier related to the acquisition request as the difference,
前記更新通知受付手段は前記更新通知手段による通知を受け、
前記保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応じて、 前記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別子と、 最新であることを示す前記フラグとを対応付けた情報を追加することにより、前記ファ ィル保持情報を更新する The update notification receiving means receives notification from the update notification means, In response to the notification received by the update notification receiving unit, the holding information update unit includes information indicating the access source server, an identifier of the electronic file included in the difference, and the flag indicating the latest Update the file retention information by adding the associated information
ことを特徴とする請求項 5に記載の分散ファイル管理システム。 The distributed file management system according to claim 5, wherein:
[7] 前記更新通知手段は、電子ファイルを前記サーバに保持させる要求である書込要 求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記書込要求に係る 電子ファイルを保持するに至った場合に、前記書込要求に係る電子ファイルの識別 子と、書込要求に基づく保持であることを示す情報とを、前記差分として、前記分散 ファイル管理装置に通知し、 [7] The update notification means is configured so that the access source server receives a write request that is a request to hold the electronic file in the server, and the access source server holds the electronic file related to the write request. When it arrives, the distributed file management device is notified as the difference between the identifier of the electronic file related to the write request and the information indicating the retention based on the write request,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応じて、 前記差分に含まれる識別子に対応付けられているサーバがある場合に、当該サーバ に対応する前記フラグを最新でないことを示すフラグに変更するとともに、前記ァクセ ス元サーバを示す情報と、前記差分に含まれる識別子と、最新であることを示す前記 フラグとを対応付けた情報を追加することにより、前記ファイル保持情報を更新する ことを特徴とする請求項 5に記載の分散ファイル管理システム。 The holding information update unit determines that the flag corresponding to the server is not the latest when there is a server associated with the identifier included in the difference in response to the notification received by the update notification reception unit. The information stored in the access source server, the identifier included in the difference, and the information indicating the latest flag are added to change the file holding information. 6. The distributed file management system according to claim 5, wherein updating is performed.
[8] 前記各サーバは、さらに、 [8] Each server further includes:
電子ファイルに関連するユーザの要求を、前記端末から受信するユーザ要求受信 手段と、 User request receiving means for receiving a user request related to the electronic file from the terminal;
前記ユーザ要求受信手段が受信した前記ユーザの要求が、ユーザ指定の識別子 を含む電子ファイルを前記端末が取得する要求である取得要求と、電子ファイルを 前記サーバに保持させる要求である書込要求とのいずれであるかを判断する要求種 別判断手段と、 The user request received by the user request receiving means is an acquisition request that is a request for the terminal to acquire an electronic file including a user-specified identifier, and a write request that is a request for causing the server to hold an electronic file. A request type judging means for judging whether or not,
要求種別判断手段が前記取得要求であると判断した場合に、前記取得要求係る 電子ファイルの保持サーバカ^、ずれであるかを、分散ファイル管理装置に問 、合わ せる保持サーバ問合手段とを備え、 When the request type determining unit determines that the request is the acquisition request, the electronic file holding server for the acquisition request is provided with a holding server inquiry unit that queries the distributed file management device as to whether it is a deviation. ,
前記問合受付手段は、取得要求を受け付けた前記アクセス元サーバが備える保持
サーバ問合手段から、当該取得要求に係る電子ファイルの保持サーバがいずれで あるかという問合せを受け付ける The inquiry accepting unit is provided in the access source server that has accepted the acquisition request. Receives an inquiry from the server inquiry means as to which electronic file holding server is associated with the acquisition request.
ことを特徴とする請求項 1から請求項 7までのいずれか 1項に記載の分散ファイル管 理システム。 8. The distributed file management system according to claim 1, wherein the distributed file management system is any one of claims 1 to 7.
[9] 前記ファイル記憶制御手段は、さらに、前記要求種別判断部が前記書込要求と判 断した場合に、前記ユーザ要求受信手段が受信した前記書込要求に係る電子フアイ ルを前記ファイル記憶手段に書き込む [9] The file storage control means further stores an electronic file related to the write request received by the user request reception means when the request type determination unit determines that the request is a write request. Write on means
ことを特徴とする請求項 8に記載の分散ファイル管理システム。 The distributed file management system according to claim 8, wherein:
[10] 前記各サーバは、 [10] Each server is
さらに、前記要求種別判断手段が前記書込要求であると判断した場合に、前記書 込要求に係る電子ファイルの書き込みに関連する処理を排除するロックの要求と前 記ロックを解除する要求とを、分散ファイル管理装置に送信するロック要求送信手段 を備え、 Further, when the request type determination unit determines that the request is the write request, a request for locking that excludes processing related to writing of the electronic file related to the write request and a request for releasing the lock are made. And a lock request transmission means for transmitting to the distributed file management device,
前記分散ファイル管理装置は、 The distributed file management device includes:
さらに、ロックすべき電子ファイルを識別するための情報であるロック情報を保持す るロック情報保持手段と、 Furthermore, lock information holding means for holding lock information which is information for identifying an electronic file to be locked,
前記ロック要求送信手段力 前記ロック要求またはロック解除要求を受け付け、前 記ロックの要求を受け付けた場合に、当該ロックの要求に係る前記ロック情報を前記 ロック情報保持手段に保持させ、前記ロック解除の要求を受け付けた場合に、当該口 ック解除の要求に係る前記ロック情報を前記ロック情報保持手段から削除するロック 要求受信手段とを備え、 The lock request transmission means force When the lock request or the lock release request is received and the lock request is received, the lock information holding means holds the lock information related to the lock request, and the lock release A lock request receiving unit that deletes the lock information related to the request to release the lock from the lock information holding unit when a request is received;
前記保持情報更新手段は、前記ロック情報が示す電子ファイルと、前記更新通知 受付手段が受け付けた通知の前記差分が示す電子ファイルとが同一である場合に は、前記ロック情報保持手段が保持している前記ロック情報が削除された後に、前記 ファイル保持情報を更新する If the electronic file indicated by the lock information is the same as the electronic file indicated by the difference in the notification received by the update notification receiving means, the holding information updating means holds the lock information holding means. The file holding information is updated after the lock information is deleted
ことを特徴とする請求項 8または請求項 9に記載の分散ファイル管理システム。 10. The distributed file management system according to claim 8 or 9, wherein:
[11] 前記各サーバは、 [11] Each server is
さらに、前記ユーザ要求受信部が受信した要求が前記取得要求である場合に、当
該取得要求の送信元である端末に当該取得要求に係る電子ファイルを送信し、前記 ユーザ要求受信部が受信した要求が前記書込要求である場合に、前記ファイル記 憶制御手段から当該書込要求に係る電子ファイルの書込の完了を受けて、書込が 完了したことを前記書込要求の送信元である端末に通知するユーザ要求応答手段 を備える Further, when the request received by the user request receiving unit is the acquisition request, When the electronic file related to the acquisition request is transmitted to the terminal that is the transmission source of the acquisition request, and the request received by the user request receiving unit is the write request, the file storage control unit writes the electronic file. User request response means for receiving completion of writing of the electronic file related to the request and notifying the terminal that is the transmission source of the write request that writing is completed
ことを特徴とする請求項 8から請求項 10までのいずれか 1項に記載の分散ファイル 管理システム。 The distributed file management system according to claim 8, wherein the distributed file management system is any one of claims 8 to 10.
[12] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理方法であって、 電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記識別子を含む最新の電子ファイルを保持するサーバである保持サーバが いずれであるかという問合せを、前記アクセス元サーノから受け付ける問合受付ステ ップと、 [12] A distributed file management method for managing electronic files held by a plurality of servers, wherein an access source server that receives a user request related to an electronic file receives an electronic file including an identifier specified by the user. An inquiry reception step for receiving from the access source Sano an inquiry as to which holding server is a server holding the latest electronic file including the identifier when a request acquired by the terminal is received; ,
前記問合受付ステップにお ヽて問合せを受け付けた場合に、最新の電子ファイル を保持するサーバがいずれであるかを示す情報であるファイル保持情報を参照する ことにより、前記保持サーバがいずれであるかを判断する保持サーバ判断ステップと 前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する 要求であるファイル送信要求を、前記保持サーバ判断ステップにお 、て保持サーバ であると判断されたサーバに送信するファイル送信要求ステップとを含む When the inquiry is accepted in the inquiry acceptance step, the holding server is referred to by referring to file holding information which is information indicating which server holds the latest electronic file. A holding server determination step for determining whether or not a file transmission request that is a request for transmitting an electronic file including the user-specified identifier to the access source server is determined to be a holding server in the holding server determination step. A file transmission request step to be transmitted to the server.
ことを特徴とする分散ファイル管理方法。 A distributed file management method.
[13] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理プログラムであ つて、 [13] A distributed file management program for managing electronic files held by multiple servers.
電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記識別子を含む最新の電子ファイルを保持するサーバである保持サーバが いずれであるかという問合せを、前記アクセス元サーノから受け付ける問合受付ステ ップと、
前記問合受付ステップにお ヽて問合せを受け付けた場合に、最新の電子ファイル を保持するサーバがいずれであるかを示す情報であるファイル保持情報を参照する ことにより、前記保持サーバがいずれであるかを判断する保持サーバ判断ステップと 前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する 要求であるファイル送信要求を、前記保持サーバ判断ステップにお 、て保持サーバ であると判断されたサーバに送信するファイル送信要求ステップとをコンピュータに 実行させる When an access source server that receives a user request related to an electronic file receives a request for the terminal to acquire an electronic file including a user-specified identifier, the latest electronic file including the identifier is retained. An inquiry reception step for receiving an inquiry as to which holding server is a server to be accessed from the access source Sano; When the inquiry is accepted in the inquiry acceptance step, the holding server is referred to by referring to file holding information which is information indicating which server holds the latest electronic file. A holding server determination step for determining whether or not a file transmission request that is a request for transmitting an electronic file including the user-specified identifier to the access source server is determined to be a holding server in the holding server determination step. Causes the computer to execute the file transmission request step
ことを特徴とする分散ファイル管理プログラム。 A distributed file management program.
[14] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理システムであつ て、 [14] A distributed file management system that manages electronic files held by multiple servers.
前記分散ファイル管理システムは、通信回線により接続された、前記複数のサーバ と、ユーザが利用する端末と、分散ファイル管理装置とにより構成され、 The distributed file management system is composed of the plurality of servers, terminals used by users, and a distributed file management device connected by a communication line,
前記分散ファイル管理装置は、 The distributed file management device includes:
電子ファイルを保持するサーバがいずれであるかを示す情報であるファイル保持情 報を記憶して!/、る保持サーバ記憶手段と、 Storage server storage means for storing file holding information, which is information indicating which server holds an electronic file!
前記ファイル保持情報を参照し、同一の識別子を有する電子ファイルを複数のサ ーバが保持している場合に、当該複数のサーバの少なくとも 1つが保持する前記電 子ファイルを残すように、前記各電子ファイルを削除するカゝ否かを判断する削除対象 判断手段と、 With reference to the file holding information, when a plurality of servers hold an electronic file having the same identifier, the electronic files held by at least one of the plurality of servers are left. A deletion object determining means for determining whether or not to delete the electronic file;
前記削除対象判断手段により削除すると判断された電子ファイルを保持するサー バに、前記電子ファイルを削除する要求を送信する削除要求送信手段とを備える ことを特徴とする分散ファイル管理システム。 A distributed file management system comprising: a deletion request transmission unit that transmits a request to delete the electronic file to a server that holds the electronic file determined to be deleted by the deletion target determination unit.
[15] 前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別子と、サー バが保持する電子ファイルに係るユーザの要求を最後に受け付けた日付けである最 終アクセス日とを対応付けた情報であるファイル保持情報を記憶し、 [15] The holding server storage means associates the server, the identifier of the electronic file, and the last access date that is the date when the user's request related to the electronic file held by the server was last received. Store file retention information,
前記削除対象判断手段は、前記ファイル保持情報を参照し、同一の電子ファイル を複数のサーバが保持し、かつ、前記複数のサーバが保持する電子ファイルのいず
れかが前記最終アクセス日力も予め定められた期間を経過している場合に、前記最 終アクセス日が最も新しい電子ファイルを残すように、前記各電子ファイルを削除す るカゝ否かを判断する The deletion target judging means refers to the file holding information, holds the same electronic file by a plurality of servers, and determines which of the electronic files held by the plurality of servers is If it is determined that the last access date has also passed a predetermined period, it is determined whether or not to delete each electronic file so that the electronic file with the latest access date remains the newest. Do
ことを特徴とする請求項 14に記載の分散ファイル管理システム。 15. The distributed file management system according to claim 14, wherein:
[16] 前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別子と、同一 の識別子を含む電子ファイル群の中で最新であるカゝ否かを示すフラグとを対応付け た情報であるファイル保持情報を記憶し、 [16] The holding server storage means is information in which the server, the identifier of the electronic file, and a flag indicating whether or not the latest in the electronic file group including the same identifier is associated with each other Remember file retention information,
前記削除対象判断手段は、前記ファイル保持情報を参照し、同一の識別子を含む 電子ファイルを複数のサーバが保持し、かつ、当該同一の識別子を含む電子フアイ ルの 、ずれかに最新でな 、ことを示す前記フラグが対応付けられて 、る場合に、最 新の内容であることを示す前記フラグに対応付けられた電子ファイルのみを残すよう に、前記各電子ファイルを削除するカゝ否かを判断する The deletion target judging means refers to the file holding information, a plurality of servers holds an electronic file including the same identifier, and the electronic file including the same identifier is not up to date. Whether or not to delete each electronic file so that only the electronic file associated with the flag indicating the latest contents is left. To judge
ことを特徴とする請求項 14に記載の分散ファイル管理システム。 15. The distributed file management system according to claim 14, wherein:
[17] 前記削除対象判断手段は、同一の識別子を含む電子ファイルを複数のサーバが 保持している場合に、前記複数のサーバの少なくとも 1つが保持する前記電子フアイ ルを残すように、前記各電子ファイルを削除する力否かを、定期的に、判断する ことを特徴とする請求項 14力も請求項 16までのいずれか 1項に記載の分散フアイ ル管理システム。 [17] When the plurality of servers hold an electronic file that includes the same identifier, the deletion target determination means leaves each electronic file held by at least one of the plurality of servers. The distributed file management system according to any one of claims 14 to 16, wherein it is periodically determined whether or not to delete an electronic file.
[18] 前記分散ファイル管理装置は、さらに、 [18] The distributed file management device further includes:
電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが 電子ファイルを前記サーバに保持させる要求である書込要求を受信した場合に、前 記書込要求に係る電子ファイルと同一の識別子を含む電子ファイルを保持するサー バがいずれであるかという問合せを、前記アクセス元サーバから受け付ける問合受付 手段と、 When an access source server that is a server that has received a user request related to an electronic file receives a write request that is a request to hold the electronic file to the server, it is the same as the electronic file related to the write request. Inquiry accepting means for accepting an inquiry as to which server holds an electronic file including an identifier from the access source server;
前記削除対象判断手段は、前記問合受付手段が前記書込要求に基づく問合せを 受け付けたときに、前記ファイル保持情報を参照し、同一の識別子を含む電子フアイ ルを複数のサーバが保持して 、る場合に、前記アクセス元サーバが前記書込要求を 受信することにより保持した電子ファイルのみを残すように、前記各電子ファイルを削
除するカゝ否かを判断する The deletion object judging means refers to the file holding information when the inquiry receiving means receives an inquiry based on the write request, and a plurality of servers hold electronic files including the same identifier. In this case, the access source server deletes each electronic file so that only the electronic file retained by receiving the write request remains. Determine whether or not to remove
ことを特徴とする請求項 14に記載の分散ファイル管理装置。 The distributed file management apparatus according to claim 14, wherein:
[19] 前記分散ファイル管理装置は、さらに、 [19] The distributed file management device further includes:
電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記取得要求に係る電子ファイルを保持するサーバである保持サーバカ^ヽず れであるかという問合せを、前記アクセス元サーバから受け付ける問合受付手段と、 前記問合受付手段が前記取得要求に基づく問合せを受け付けた場合に、前記フ アイル保持情報を参照することにより、前記保持サーバがいずれであるかを判断する 保持サーバ判断手段と、 When an access source server that is a server that has received a user request related to an electronic file receives a request for the terminal to acquire an electronic file including a user-specified identifier, the electronic file related to the acquisition request is retained. A query accepting unit that accepts an inquiry as to whether the holding server is a server from the access source server, and the file holding when the query accepting unit accepts an inquiry based on the acquisition request. A holding server judging means for judging which of the holding servers is by referring to the information;
前記保持サーバ判断手段により保持サーバであると判断されたサーバに、前記ュ 一ザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する要求であ るファイル送信要求を、前記保持サーバ判断手段により保持サーバであると判断され たサーバに送信するファイル送信要求手段とを備える A file transmission request, which is a request for transmitting an electronic file including the user-designated identifier to the server that is determined to be a holding server by the holding server determination unit, is sent to the holding server determination unit. File transmission request means for transmitting to a server determined to be a holding server by
ことを特徴とする請求項 14から請求項 18までのいずれか 1項に記載の分散フアイ ル管理システム。 19. The distributed file management system according to claim 14, wherein the distributed file management system is any one of claims 14 to 18.
[20] 前記分散ファイル管理装置は、さらに、 [20] The distributed file management device further includes:
現在の日時を保持する時計手段と、 A clock means for holding the current date and time;
前記保持サーバ判断手段により前記アクセス元サーバが保持サーバであると判断 された場合に、前記時計手段が保持する日によって、前記アクセス元サーバおよび 前記ユーザ指定の識別子に対応付けられた前記ファイル保持情報に含まれる前記 最終アクセス日を更新する第 1の保持情報更新手段とを備える The file holding information associated with the access source server and the user-specified identifier according to the date held by the clock means when the holding server determination unit determines that the access source server is a holding server. And first holding information updating means for updating the last access date included in
ことを特徴とする請求項 19に記載の分散ファイル管理システム。 20. The distributed file management system according to claim 19, wherein:
[21] 前記各サーバは、 [21]
電子ファイルを記憶して 、るファイル記憶手段と、 A file storage means for storing electronic files;
前記ファイル送信要求手段が送信した前記ファイル送信要求を受信するファイル 送信要求受信手段と、 A file transmission request receiving means for receiving the file transmission request transmitted by the file transmission request means;
前記ファイル送信要求に係る電子ファイルを前記ファイル記憶手段力 読み出すフ
アイル記憶制御手段と、 A file for reading the electronic file related to the file transmission request. An aisle memory control means;
前記ファイル記憶制御手段が読み出した電子ファイルを取得し、取得した当該電 子ファイルを前記アクセス元サーバに送信するファイル送信手段とを備える A file transmission unit that acquires the electronic file read by the file storage control unit and transmits the acquired electronic file to the access source server;
ことを特徴とする請求項 19に記載の分散ファイル管理システム。 20. The distributed file management system according to claim 19, wherein:
[22] 前記各サーバは、 [22] Each server is
さらに、他のサーバの前記ファイル送信手段カゝら送信された電子ファイルを受信す るファイル受信手段を備え、 And a file receiving means for receiving the electronic file transmitted from the file transmitting means of another server.
前記ファイル記憶制御手段は、さらに、前記ファイル受信手段が受信した電子ファ ィルを前記ファイル記憶手段に書き込む The file storage control means further writes the electronic file received by the file receiving means into the file storage means.
ことを特徴とする請求項 21に記載の分散ファイル管理システム。 The distributed file management system according to claim 21, wherein:
[23] 前記各サーバは、さらに、 [23] Each server further includes:
前記ファイル記憶制御手段がファイル記憶手段に電子ファイルを書き込んだ場合 に、書き込みの前後における当該ファイル記憶手段の差分を前記分散ファイル管理 装置に通知する更新通知手段を備え、 An update notification means for notifying the distributed file management device of the difference between the file storage means before and after writing when the file storage control means writes an electronic file to the file storage means;
前記分散ファイル管理装置は、 The distributed file management device includes:
前記更新通知手段による通知を受け付ける更新通知受付手段と、 Update notification accepting means for accepting notification by the update notifying means;
前記更新通知受付手段が受け付けた通知に含まれる前記差分により、前記フアイ ル保持情報を更新する第 2の保持情報更新手段とを備える A second holding information updating unit that updates the file holding information based on the difference included in the notification received by the update notification receiving unit.
ことを特徴とする請求項 22に記載の分散ファイル管理システム。 23. The distributed file management system according to claim 22, wherein
[24] 前記分散ファイル管理装置は、さらに、 [24] The distributed file management device further includes:
現在の日時を保持する時計部を備え、 It has a clock that holds the current date and time,
前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末が取 得する要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記取得要 求に係る電子ファイルを保持するに至った場合に、当該取得要求に係る電子フアイ ルの識別子を、前記差分として、前記分散ファイル管理装置に通知し、 The update notification means is when the access source server receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request. In addition, the distributed file management apparatus is notified of the identifier of the electronic file related to the acquisition request as the difference,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記第 2の保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応 じて、前記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別
子と、前記最終アクセス日として前記時計部から取得した日とを対応付けた情報を追 加することにより、前記ファイル保持情報を更新する The second holding information update unit is configured to identify information indicating the access source server and an electronic file included in the difference in response to the notification received by the update notification reception unit. The file holding information is updated by adding information that associates the child with the date acquired from the clock unit as the last access date.
ことを特徴とする請求項 23に記載の分散ファイル管理システム。 24. The distributed file management system according to claim 23.
[25] 前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末が取 得する要求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記取得要 求に係る電子ファイルを保持するに至った場合に、当該取得要求に係る電子フアイ ルの識別子を、前記差分として、前記分散ファイル管理装置に通知し、 [25] The update notification means is configured so that the access source server receives a request for the terminal to acquire an electronic file including a user-specified identifier, and the access source server holds the electronic file related to the acquisition request. When it arrives, the distributed file management apparatus is notified of the electronic file identifier related to the acquisition request as the difference,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記第 2の保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応 じて、前記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別 子と、最新であることを示す前記フラグとを対応付けた情報を追加することにより、前 記ファイル保持情報を更新する In response to the notification received by the update notification receiving means, the second held information updating means confirms that the information indicating the access source server, the identifier of the electronic file included in the difference, and the latest information are updated. The file retention information is updated by adding information associated with the flag shown.
ことを特徴とする請求項 23に記載の分散ファイル管理システム。 24. The distributed file management system according to claim 23.
[26] 前記分散ファイル管理装置は、さらに、 [26] The distributed file management device further includes:
現在の日時を保持する時計部を備え、 It has a clock that holds the current date and time,
前記更新通知手段は、電子ファイルを前記サーバに保持させる要求である書込要 求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記書込要求に係る 電子ファイルを保持するに至った場合に、当該書込要求に係る電子ファイルの識別 子と、書込要求に基づく保持であることを示す情報とを、前記差分として、前記分散 ファイル管理装置に通知し、 The update notification means, when the access source server receives a write request that is a request to hold the electronic file in the server, and the access source server has held the electronic file related to the write request. To the distributed file management device as the difference between the identifier of the electronic file related to the write request and the information indicating the retention based on the write request,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記第 2の保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応 じて、前記アクセス元サーバを示す情報と、前記差分に含まれる識別子と、前記最終 アクセス日として前記時計部から取得した日とを対応付けた情報により、前記ファイル 保持情報を更新する In response to the notification received by the update notification receiving unit, the second held information updating unit receives information indicating the access source server, an identifier included in the difference, and the last access date from the clock unit. The file retention information is updated with the information associated with the acquired date.
ことを特徴とする請求項 23に記載の分散ファイル管理システム。 24. The distributed file management system according to claim 23.
[27] 前記更新通知手段は、電子ファイルを前記サーバに保持させる要求である書込要 求を前記アクセス元サーバが受信し、当該アクセス元サーバが前記書込要求に係る
電子ファイルを保持するに至った場合に、当該書込要求に係る電子ファイルの識別 子と、書込要求に基づく保持であることを示す情報とを、前記差分として、前記分散 ファイル管理装置に通知し、 [27] The update notification means receives the write request that is a request to hold the electronic file in the server, and the access source server receives the write request. When the electronic file is held, the distributed file management apparatus is notified as the difference between the identifier of the electronic file related to the write request and information indicating that the hold is based on the write request. And
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記第 2の保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応 じて、前記差分に含まれる識別子に対応付けられているサーバがある場合に、当該 サーバに対応する前記フラグを最新でないことを示すフラグに変更するとともに、前 記アクセス元サーバを示す情報と、前記差分に含まれる識別子と、最新であることを 示す前記フラグとを対応付けた情報を追加することにより、前記ファイル保持情報を 更新する In response to the notification received by the update notification receiving means, the second holding information update means sets the flag corresponding to the server when there is a server associated with the identifier included in the difference. By changing to a flag indicating that it is not the latest, and adding information that associates the information indicating the access source server, the identifier included in the difference, and the flag indicating the latest, Update file retention information
ことを特徴とする請求項 23に記載の分散ファイル管理システム。 24. The distributed file management system according to claim 23.
[28] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理方法であって、 電子ファイルを保持するサーバがいずれであるかを示す情報であるファイル保持情 報を参照し、同一の識別子を有する電子ファイルを複数のサーバが保持して 、る場 合に、当該複数のサーバの少なくとも 1つが保持する前記電子ファイルを残すように 、前記各電子ファイルを削除するか否かを判断する削除対象判断ステップと、 前記削除対象判断ステップにおいて削除すると判断された電子ファイルを保持す るサーバに、前記電子ファイルを削除する要求を送信する削除要求送信ステップとを 含む [28] A distributed file management method for managing electronic files held by a plurality of servers, referring to file holding information that is information indicating which server holds an electronic file and assigning the same identifier. When a plurality of servers hold electronic files, the deletion target for determining whether or not to delete each electronic file so that the electronic file held by at least one of the plurality of servers remains. A determination step, and a deletion request transmission step of transmitting a request to delete the electronic file to a server holding the electronic file determined to be deleted in the deletion target determination step.
ことを特徴とする分散ファイル管理方法。 A distributed file management method.
[29] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理プログラムであ つて、 [29] A distributed file management program for managing electronic files held by multiple servers.
電子ファイルを保持するサーバがいずれであるかを示す情報であるファイル保持情 報を参照し、同一の識別子を有する電子ファイルを複数のサーバが保持して 、る場 合に、当該複数のサーバの少なくとも 1つが保持する前記電子ファイルを残すように 、前記各電子ファイルを削除するか否かを判断する削除対象判断ステップと、 前記削除対象判断ステップにおいて削除すると判断された電子ファイルを保持す るサーバに、前記電子ファイルを削除する要求を送信する削除要求送信ステップとを
コンピュータに実行させる Referring to file holding information, which is information indicating which server holds an electronic file, and when multiple servers hold an electronic file having the same identifier, A deletion object determination step for determining whether or not to delete each electronic file so as to leave the electronic file held by at least one; and a server for holding the electronic file determined to be deleted in the deletion object determination step And a delete request sending step for sending a request to delete the electronic file. Let computer run
ことを特徴とする分散ファイル管理プログラム。 A distributed file management program.
[30] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理システムであつ て、 [30] A distributed file management system that manages electronic files held by multiple servers.
前記分散ファイル管理システムは、通信回線により接続された、前記複数のサーバ と、ユーザが利用する端末と、分散ファイル管理装置とにより構成され、 The distributed file management system is composed of the plurality of servers, terminals used by users, and a distributed file management device connected by a communication line,
前記分散ファイル管理装置は、 The distributed file management device includes:
電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記識別子を含む権限ある者により作成された真正な電子ファイルを保持す るサーバである保持サーバカ^、ずれであるかと 、う問合せを、前記アクセス元サーバ 力 受け付ける問合受付手段と、 When an access source server that is a server that receives a user request related to an electronic file receives a request for the terminal to obtain an electronic file that includes a user-specified identifier, the access source server is created by an authorized person including the identifier. Inquiry accepting means for accepting a query as to whether the server is a server holding a genuine electronic file, whether it is a deviation,
電子ファイルを保持するサーバがいずれであるかを示す情報であるファイル保持情 報を記憶して!/、る保持サーバ記憶手段と、 Storage server storage means for storing file holding information, which is information indicating which server holds an electronic file!
前記問合受付手段が問合せを受け付けた場合に、前記ファイル保持情報を参照 することにより、前記保持サーバがいずれであるかを判断する保持サーバ判断手段と 前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する 要求であるファイル送信要求を、前記保持サーバ判断手段により保持サーバである と判断されたサーバに送信するファイル送信要求手段とを備える When the inquiry accepting means accepts an inquiry, referring to the file holding information, the holding server judging means for judging which is the holding server and an electronic file including the user-specified identifier A file transmission request unit that transmits a file transmission request, which is a request to be transmitted to the access source server, to a server that is determined to be a holding server by the holding server determination unit.
ことを特徴とする分散ファイル管理システム。 Distributed file management system characterized by that.
[31] 前記保持サーバ記憶手段は、前記サーバと、前記電子ファイルの識別子と、電子 ファイルのハッシュ値とを対応付けた情報であるファイル保持情報を記憶し、 前記保持サーバ判断手段は、前記問合受付手段が問合せを受け付けた場合に、 前記ファイル保持情報を参照し、前記ユーザ指定の識別子に対応付けられて!/ヽるサ ーバが保持している電子ファイルのハッシュ値を取得することにより、前記ユーザ指 定の識別子に対応付けられたハッシュ値が取得した前記ハッシュ値と一致する場合 に、前記ユーザ指定の識別子に対応付けられているサーバを保持サーバと判断する
ことを特徴とする請求項 30に記載の分散ファイル管理システム。 [31] The holding server storage unit stores file holding information which is information in which the server, an identifier of the electronic file, and a hash value of the electronic file are associated with each other, and the holding server determination unit stores the question When the joint acceptance means accepts the inquiry, it refers to the file retention information and obtains the hash value of the electronic file held by the server that is associated with the identifier specified by the user! If the hash value associated with the user-specified identifier matches the acquired hash value, the server associated with the user-specified identifier is determined as a holding server. The distributed file management system according to claim 30, wherein:
[32] 前記保持サーバ判断手段は、前記問合受付手段が問合せを受け付けた場合に、 前記ファイル保持情報を参照することにより、ユーザ指定の識別子を含む電子フアイ ルを保持するサーバを判断する第 1の判断部と、 [32] The holding server determination unit determines a server holding an electronic file including a user-specified identifier by referring to the file holding information when the inquiry receiving unit receives an inquiry. 1 decision part,
前記第 1判断部により電子ファイルを保持すると判断されたサーバが保持している 当該電子フアイルのハッシュ値を取得し、当該ハッシュ値と前記ファイル保持情報に 含まれるノ、ッシュ値とがー致している場合に、前記第 1判断部により電子ファイルを保 持する判断されたサーバを保持サーバと判断する第 2の判断部とを有し、 The hash value of the electronic file held by the server determined to hold the electronic file by the first determination unit is acquired, and the hash value and the hash value included in the file holding information are matched. A second determination unit that determines that the server determined to hold the electronic file by the first determination unit is a holding server.
前記分散ファイル管理装置は、さらに、 The distributed file management device further includes:
前記問合受付手段が問合せを受け付けることにより、前記第 1の判断部により電子 ファイルを保持すると判断されたサーバに、当該サーバが保持している当該電子ファ ィルのハッシュ値を要求するハッシュ値要求手段と、 A hash value for requesting the server determined to hold the electronic file by the first determination unit when the inquiry reception unit receives the inquiry, to request the hash value of the electronic file held by the server. Request means;
前記ハッシュ値要求手段が要求を送信したサーバから、当該要求に係る電子ファ ィルのハッシュ値を受信するノ、ッシュ値受信手段とを備え、 A hash value receiving means for receiving the hash value of the electronic file related to the request from the server to which the hash value requesting means has transmitted the request;
前記各サーバは、 Each of the servers
電子ファイルを記憶して 、るファイル記憶手段と、 A file storage means for storing electronic files;
前記ハッシュ値要求手段から特定の電子ファイルのハッシュ値の要求を受信する ハッシュ値要求受信手段と、 A hash value request receiving means for receiving a request for a hash value of a specific electronic file from the hash value requesting means;
前記ハッシュ値要求受信手段が受信した要求に含まれる前記特定の電子ファイル を、前記ファイル記憶手段から取得し、前記特定の電子ファイルのハッシュ値を計算 するハッシュ値計算手段と、 A hash value calculating means for obtaining the specific electronic file included in the request received by the hash value request receiving means from the file storage means and calculating a hash value of the specific electronic file;
前記ハッシュ値計算手段により計算されたハッシュ値を前記ハッシュ値受信部に送 信するハッシュ値送信手段とを備える Hash value transmission means for transmitting the hash value calculated by the hash value calculation means to the hash value reception unit.
ことを特徴とする請求項 31に記載の分散ファイル管理システム。 32. The distributed file management system according to claim 31, wherein:
[33] 前記問合受付手段は、さらに、電子ファイルを前記アクセス元サーバが備えるフアイ ル記憶手段に書き込む要求を受信したサーバであるアクセス元サーバから、当該書 込要求に係る電子ファイルを保持するサーバがいずれであるかという問合せを受け 付け、
前記保持サーバ判断手段は、さらに、前記問合受付手段が前記書込要求に基づく 問合せを受け付けた場合に、前記ファイル保持情報を参照することにより、当該書込 要求に係る電子ファイルの識別子と同一の識別子を含む電子ファイルを保持するサ ーバを判断し、 [33] The inquiry reception means further holds the electronic file related to the write request from the access source server that has received the request to write the electronic file in the file storage means included in the access source server. In response to an inquiry about which server The holding server determination unit further refers to the file holding information when the inquiry receiving unit receives an inquiry based on the write request, thereby identifying the same as the identifier of the electronic file related to the write request. Determine the server that holds the electronic file containing the
前記分散ファイル管理装置は、さらに、 The distributed file management device further includes:
前記保持サーバ判断手段により電子ファイルを保持するサーバがないと判断され た場合に、前記各サーバが電子ファイルを記憶するために備えるファイル記憶手段 の空き状態を示す値が最も大き ヽサーバを判断し、空き状態を示す値が最も大き ヽ サーバを、前記書込要求に係る電子ファイルの複製を保持させるサーバと決定する 複写先判定部と、 When the holding server determining means determines that there is no server holding the electronic file, the server indicating the largest value indicating the free state of the file storage means provided for storing the electronic file by each of the servers is determined. A value indicating the empty state is the largest.
前記複写先判定部により複製を保持させると決定されたサーバへの前記書込要求 に係る電子ファイルの送信を、前記アクセス元サーバに送信する複写先送信部を備 える A copy destination transmitting unit for transmitting to the access source server transmission of an electronic file related to the write request to the server determined to hold the copy by the copy destination determining unit;
ことを特徴とする請求項 30から請求項 32までのいずれか 1項に記載の分散フアイ ル管理システム。 33. The distributed file management system according to any one of claims 30 to 32, wherein:
[34] 前記複写先判定部は、前記保持サーバ判断手段により電子ファイルを保持するサ ーバがないと判断された場合に、前記各サーバが電子ファイルを記憶するために備 えるファイル記憶手段の全容量に対する空き容量の割合が最も大きいサーバを判断 し、当該割合が最も大きいサーバを、前記書込要求に係る電子ファイルの複製を保 持させるサーバと決定する [34] The copy destination determination unit may include a file storage unit provided for each server to store an electronic file when the storage server determination unit determines that there is no server holding the electronic file. The server having the largest ratio of the free capacity to the total capacity is determined, and the server having the largest ratio is determined as the server that holds the copy of the electronic file related to the write request.
ことを特徴とする請求項 33に記載の分散ファイル管理システム。 34. The distributed file management system according to claim 33.
[35] 前記複写先判定部は、前記保持サーバ判断手段により電子ファイルを保持するサ ーバがないと判断された場合に、前記各サーバが電子ファイルを記憶するために備 えるファイル記憶手段の空き容量が最も大き!ヽサーバを判断し、空き容量が最も大き いサーバを、前記書込要求に係る電子ファイルの複製を保持させるサーバと決定す る [35] The copy destination determination unit may include a file storage unit provided for each server to store an electronic file when the storage server determination unit determines that there is no server holding the electronic file. The server with the largest available capacity is determined as the server, and the server with the largest available capacity is determined as the server that holds the copy of the electronic file related to the write request.
ことを特徴とする請求項 33に記載の分散ファイル管理システム。 34. The distributed file management system according to claim 33.
[36] 前記各サーバは、
前記ファイル送信要求手段が送信した電子ファイルの識別子を含むファイル送信 要求を受信するファイル送信要求受信手段と、 [36] A file transmission request receiving means for receiving a file transmission request including an identifier of the electronic file transmitted by the file transmission request means;
前記ファイル送信要求に含まれる識別子を含む電子ファイルを前記ファイル記憶 手段から読み出すファイル記憶制御手段と、 File storage control means for reading out an electronic file including an identifier included in the file transmission request from the file storage means;
前記ファイル記憶制御手段が読み出した電子ファイルを取得し、取得した当該電 子ファイルを前記アクセス元サーバに送信するファイル送信手段とを備える A file transmission unit that acquires the electronic file read by the file storage control unit and transmits the acquired electronic file to the access source server;
ことを特徴とする請求項 30から請求項 35までのいずれか 1項に記載の分散フアイ ル管理システム。 36. The distributed file management system according to any one of claims 30 to 35, wherein:
[37] 前記各サーバは、さらに、 [37] Each server further includes:
他のサーバの前記ファイル送信手段から送信された電子ファイルを受信するフアイ ル受信手段を備え、 File receiving means for receiving an electronic file transmitted from the file transmitting means of another server;
前記ファイル記憶制御手段は、さらに、前記ファイル受信手段が受信した電子ファ ィルを前記ファイル記憶手段に書き込む The file storage control means further writes the electronic file received by the file receiving means into the file storage means.
ことを特徴とする請求項 30から請求項 36までのいずれか 1項に記載の分散フアイ ル管理システム。 37. The distributed file management system according to any one of claims 30 to 36, wherein:
[38] 前記各サーバは、さらに、 [38] Each server further includes:
前記ファイル記憶制御手段がファイル記憶手段に電子ファイルを書き込んだ場合 に、書き込みの前後における当該ファイル記憶手段の差分を前記分散ファイル管理 装置に通知する更新通知手段を備え、 An update notification means for notifying the distributed file management device of the difference between the file storage means before and after writing when the file storage control means writes an electronic file to the file storage means;
前記分散ファイル管理装置は、 The distributed file management device includes:
前記更新通知手段による通知を受け付ける更新通知受付手段と Update notification accepting means for accepting notification by the update notifying means;
前記更新通知受付手段が受け付けた通知に含まれる前記差分により、前記フアイ ル保持情報を更新する保持情報更新手段とを備える Holding information updating means for updating the file holding information based on the difference included in the notification received by the update notification receiving means.
ことを特徴とする請求項 30から請求項 37までのいずれか 1項に記載の分散フアイ ル管理システム。 38. The distributed file management system according to any one of claims 30 to 37, wherein:
[39] 前記更新通知手段は、ユーザ指定の識別子を含む電子ファイルを前記端末が取 得する要求を前記アクセス元サーバが受け付けたことにより、前記アクセス元サーバ が備えるファイル記憶手段に当該要求に係る電子ファイルが書き込まれた場合に、
当該取得要求に係る電子ファイルの識別子を、前記差分として、前記分散ファイル管 理装置に通知し、 [39] When the access source server accepts a request for the terminal to obtain an electronic file including a user-specified identifier, the update notification means includes an electronic file related to the request in a file storage means provided in the access source server. When the file is written, Notifying the distributed file management device of the identifier of the electronic file related to the acquisition request as the difference,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記保持情報更新手段は、前記更新通知受付手段が受け付けた通知に応じて、 前記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別子とを 対応付けた情報を追加することにより、前記ファイル保持情報を更新する In accordance with the notification received by the update notification receiving unit, the holding information update unit adds information that associates the information indicating the access source server with the identifier of the electronic file included in the difference, Update the file retention information
ことを特徴とする請求項 38に記載の分散ファイル管理システム。 The distributed file management system according to claim 38, wherein:
[40] 前記更新通知手段は、電子ファイルを前記アクセス元サーバが備えるファイル記憶 手段に書き込む要求を前記アクセス元サーバが受け付けたことにより、前記アクセス 元サーバが備えるファイル記憶手段に当該要求に係る電子ファイルが書き込まれた 場合に、当該書込要求に係る電子ファイルの識別子とハッシュ値とを、前記差分とし て、前記分散ファイル管理装置に通知し、 [40] The update notification means receives the request for writing the electronic file in the file storage means provided in the access source server, and the electronic mail related to the request is provided in the file storage means provided in the access source server. When a file is written, the distributed file management apparatus is notified of the identifier and hash value of the electronic file related to the write request as the difference,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記保持情報更新手段は、前記更新通知受付手段が受け付けた、前記ハッシュ 値を前記差分に含む通知に応じて、前記アクセス元サーバを示す情報と、前記差分 に含まれる電子ファイルの識別子と、前記差分に含まれる電子ファイルのノ、ッシュ値 とを追加することにより、前記ファイル保持情報を更新する In response to the notification including the hash value included in the difference received by the update notification receiving unit, the retained information update unit includes information indicating the access source server, an identifier of the electronic file included in the difference, and the The file retention information is updated by adding the value of the electronic file included in the difference and the hash value.
ことを特徴とする請求項 38に記載の分散ファイル管理システム。 The distributed file management system according to claim 38, wherein:
[41] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理方法であって、 電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記識別子を含む権限ある者により作成された真正な電子ファイルを保持す るサーバである保持サーバカ^、ずれであるかと 、う問合せを、前記アクセス元サーバ 力 受け付ける問合受付ステップと、 [41] A distributed file management method for managing electronic files held by a plurality of servers, wherein an access source server that has received a user request related to an electronic file stores an electronic file including a user-specified identifier. When the terminal receives a request to be acquired, a holding server that holds a genuine electronic file created by an authorized person including the identifier is inquired about whether it is a deviation or not. Inquiry acceptance step to accept server power,
前記問合受付ステップにお!ヽて問合せを受け付けた場合に、電子ファイルを保持 するサーバがいずれであるかを示す情報であるファイル保持情報を参照することによ り、前記保持サーバがいずれであるかを判断する保持サーバ判断ステップと、 前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する
要求であるファイル送信要求を、前記保持サーバ判断ステップにお 、て保持サーバ であると判断されたサーバに送信するファイル送信要求ステップとを含む When the inquiry is accepted in the inquiry reception step, the holding server refers to the file holding information which is information indicating which server holds the electronic file. A holding server determining step for determining whether or not the electronic file including the user-specified identifier is transmitted to the access source server; A file transmission request step for transmitting a file transmission request as a request to the server determined to be the holding server in the holding server determination step.
ことを特徴とする分散ファイル管理方法。 A distributed file management method.
[42] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理プログラムであ つて、 [42] A distributed file management program for managing electronic files held by multiple servers.
電子ファイルに関連するユーザの要求を受信したサーバであるアクセス元サーバが ユーザ指定の識別子を含む電子ファイルを前記端末が取得する要求を受信した場 合に、前記識別子を含む権限ある者により作成された真正な電子ファイルを保持す るサーバである保持サーバカ^、ずれであるかと 、う問合せを、前記アクセス元サーバ 力 受け付ける問合受付ステップと、 When an access source server that is a server that receives a user request related to an electronic file receives a request for the terminal to obtain an electronic file that includes a user-specified identifier, the access source server is created by an authorized person including the identifier. Inquiry accepting step for accepting an inquiry as to whether or not the holding server is a server holding a genuine electronic file,
前記問合受付ステップにお!ヽて問合せを受け付けた場合に、電子ファイルを保持 するサーバがいずれであるかを示す情報であるファイル保持情報を参照することによ り、前記保持サーバがいずれであるかを判断する保持サーバ判断ステップと、 前記ユーザ指定の識別子を含む電子ファイルを前記アクセス元サーバに送信する 要求であるファイル送信要求を、前記保持サーバ判断ステップにお 、て保持サーバ であると判断されたサーバに送信するファイル送信要求ステップとをコンピュータに 実行させる When the inquiry is accepted in the inquiry reception step, the holding server refers to the file holding information which is information indicating which server holds the electronic file. A holding server determining step for determining whether there is a file transmission request, which is a request for transmitting an electronic file including the user-specified identifier to the access source server, in the holding server determining step; Causes the computer to execute a file transmission request step to be transmitted to the determined server
ことを特徴とする分散ファイル管理プログラム。 A distributed file management program.
[43] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理システムであつ て、 [43] A distributed file management system that manages electronic files held by multiple servers.
前記分散ファイル管理システムは、通信回線により接続された、複数の第 1のサー バと、ユーザが利用する端末とにより構成され、 The distributed file management system is composed of a plurality of first servers connected by communication lines and terminals used by users,
前記各第 1のサーバは、 Each of the first servers is
ユーザが利用する端末から、電子ファイルの取得または書込に係るユーザの要求 を受け付け、当該ユーザの要求に応じて、前記サーバ群が保持する電子ファイルを 管理する前記第 1のサーバ群の 1つである管理装置に、前記ユーザの要求に係る電 子ファイルを保持するサーバがいずれであるかを問合せるファイルサーバ手段と、 電子ファイルを保持するサーバがいずれであるかを示す情報であるファイル保持情
報を記憶し、前記ユーザの要求を受信したサーバであるアクセス元サーバからの問 合せに応じて、前記ファイル保持情報を参照して、前記ユーザの要求に係る電子フ アイルを保持するサーバである保持サーバを判断することにより、前記サーバ群が保 持する電子ファイルを管理する管理装置手段と、 One of the first server groups that receives a user request for acquiring or writing an electronic file from a terminal used by the user and manages the electronic file held by the server group in response to the user request. A file server means for inquiring which server holds an electronic file related to the user's request, and file holding information which is information indicating which server holds an electronic file. A server that stores information and refers to the file holding information in response to an inquiry from an access source server that is a server that has received the user's request, and holds the electronic file according to the user's request. Management device means for managing an electronic file held by the server group by determining a holding server;
前記第 1のサーバ群と通信することにより、前記第 1のサーバ群のいずれが前記管 理装置であるかを判定する第 1の管理装置判定手段とを備える First management device determination means for determining which of the first server group is the management device by communicating with the first server group
ことを特徴とする分散ファイル管理装置。 A distributed file management apparatus.
[44] 前記分散ファイル管理システムは、通信回線により接続された、前記複数の第 1の サーバと、少なくとも 1つの第 2のサーバと、ユーザが利用する端末とにより構成され、 前記第 2のサーバは、 [44] The distributed file management system includes the plurality of first servers, at least one second server, and a terminal used by a user, connected via a communication line, and the second server. Is
前記ファイルサーバ手段と、 The file server means;
前記第 1のサーバ群と通信することにより、前記第 1のサーバ群のいずれが前記管 理装置であるかを判定する第 2の管理装置判定手段とを備える Second management device determination means for determining which of the first server groups is the management device by communicating with the first server group
ことを特徴とする請求項 43に記載の分散ファイル管理装置。 44. The distributed file management apparatus according to claim 43, wherein:
[45] 前記第 1の管理装置判定手段は、 [45] The first management device determination means includes:
現在の前記管理装置が前記第 1のサーバ群のいずれであるかを示す情報を保持 している第 1の管理装置保持部と、 A first management device holding unit holding information indicating which of the first server group the current management device is;
前記第 1のサーバ群が前記管理装置として機能する順序を定めた情報である順位 情報を記憶する順位記憶部と、 A rank storage unit that stores rank information that is information that defines the order in which the first server group functions as the management device;
前記管理装置が前記各第 1のサーバに前記管理装置であることを通知する管理装 置通知部と、 A management device notifying unit for notifying that each of the management devices is the management device;
前記管理装置通知部からの通知を受け付ける第 1の管理装置通知受付部と、 前記第 1の管理装置通知受付部が前記通知を受け付けてから、次の通知を受け付 けずに予め定めた時間が経過した場合に、管理装置の変更が必要であると判断する 変更判断部と、 A first management device notification receiving unit that receives a notification from the management device notification unit, and a predetermined time without receiving a next notification after the first management device notification receiving unit receives the notification. A change determination unit that determines that the management device needs to be changed when it has passed,
前記変更判断部が管理装置の変更が必要であると判断した場合に、前記順位情 報を参照することにより、稼動している前記第 1のサーバ群の中で最も順位の高い第 1のサーバを示す情報を前記第 1の管理装置保持部に保持させる管理装置決定部
とを有する When the change determination unit determines that the management device needs to be changed, the first server having the highest rank in the first server group in operation is referred to by referring to the rank information. A management device determination unit that causes the first management device holding unit to hold information indicating And having
ことを特徴とする請求項 43に記載の分散ファイル管理システム。 44. The distributed file management system according to claim 43, wherein:
[46] 前記第 1の管理装置判定手段は、 [46] The first management device determination means includes:
現在の前記管理装置が前記第 1のサーバ群のいずれであるかを示す情報を保持 している第 1の管理装置保持部と、 A first management device holding unit holding information indicating which of the first server group the current management device is;
前記第 1のサーバ群が前記管理装置として機能する順序を定めた情報である順位 情報を記憶する順位記憶部と、 A rank storage unit that stores rank information that is information that defines the order in which the first server group functions as the management device;
前記管理装置が前記各第 1のサーバおよび前記第 2のサーバに前記管理装置で あることを通知する管理装置通知部と、 A management device notifying unit for notifying the first management server and the second server that the management device is the management device;
前記管理装置通知部からの通知を受け付ける第 1の管理装置通知受付部と、 前記管理装置通知受付部が前記通知を受け付けてから、次の通知を受け付けず に予め定めた時間が経過した場合に、管理装置の変更が必要であると判断する変 更判断部と、 A first management device notification receiving unit that receives a notification from the management device notification unit; and a case where a predetermined time elapses without receiving a next notification after the management device notification receiving unit receives the notification. A change determination unit that determines that the management device needs to be changed;
前記変更判断部が管理装置の変更が必要であると判断した場合に、前記順位情 報を参照することにより、稼動している前記第 1のサーバ群の中で最も順位の高い第 1のサーバを示す情報を前記第 1の管理装置保持部に保持させる管理装置決定部 とを有し、 When the change determination unit determines that the management device needs to be changed, the first server having the highest rank in the first server group in operation is referred to by referring to the rank information. A management device determination unit that causes the first management device holding unit to hold information indicating
前記第 2の管理装置判定手段は、 The second management device determination means includes
現在の前記管理装置が前記第 1のサーバ群のいずれであるかを示す情報を保持 して!/ヽる第 2の管理装置保持部と、 A second management device holding unit that holds information indicating which of the first server group the current management device is! /
前記管理装置通知部からの通知を受け付け、受け付けた前記通知の送信元を示 す情報を前記第 2の管理装置保持部に保持させる第 2の管理装置通知受付部とを 有する A second management device notification receiving unit that receives the notification from the management device notification unit and causes the second management device holding unit to hold information indicating a transmission source of the received notification
ことを特徴とする請求項 44に記載の分散ファイル管理システム。 45. The distributed file management system according to claim 44, wherein:
[47] 前記変更判断部は、さらに、前記第 1の管理装置保持部が保持している情報が示 す前記現在の管理装置と、前記第 1の管理装置通知受付部が受け付けた前記通知 の送信元とがー致しない場合に、管理装置の変更が必要であると判断する ことを特徴とする請求項 45または請求項 46に記載の分散ファイル管理システム。
[47] The change determination unit further includes the current management device indicated by the information held by the first management device holding unit and the notification received by the first management device notification receiving unit. 47. The distributed file management system according to claim 45 or claim 46, wherein it is determined that the management device needs to be changed when the transmission source does not match.
[48] 前記管理装置手段は、 [48] The management device means includes:
前記ファイル保持情報を記憶する保持サーバ記憶部と、 A holding server storage unit for storing the file holding information;
ユーザ指定の識別子含む電子ファイルを前記端末が取得する要求である取得要 求を受信した前記アクセス元サーバから、当該識別子を含む電子ファイルを保持す るサーバがいずれであるかという問合せを受け付ける問合受付部と、 Query that receives an inquiry from the access source server that has received an acquisition request, which is a request for the terminal to acquire an electronic file including a user-specified identifier, as to which server holds the electronic file including the identifier. A reception department;
前記問合受付部が前記取得要求に基づく問合せを受け付けた場合に、前記フアイ ル保持情報を参照することにより、前記保持サーバがいずれであるかを判断する保 持サーバ判断部と、 A holding server determination unit that determines the holding server by referring to the file holding information when the inquiry receiving unit receives an inquiry based on the acquisition request;
前記保持サーバ判断部により保持サーバであると判断されたサーバに、前記ユー ザの要求に係る電子ファイルを前記アクセス元サーバへ送信するように要求するファ ィル送信要求部とを備える A file transmission requesting unit that requests the server determined to be the holding server by the holding server determining unit to transmit the electronic file related to the user request to the access source server;
ことを特徴とする請求項 43から請求項 47までのいずれか 1項に記載の分散フアイ ル管理システム。 48. The distributed file management system according to any one of claims 43 to 47, wherein:
[49] 前記問合受付部は、さらに、ユーザ指定の識別子を含む電子ファイルを前記サー バに保持させる要求である書込要求を受信した前記アクセス元サーバから、当該識 別子を含む電子ファイルを保持するサーバカ^、ずれであるかと!/ヽぅ問合せを受け付 け、 [49] The inquiry reception unit may further include an electronic file including the identifier from the access source server that has received a write request that is a request for holding the electronic file including the user-specified identifier in the server. Server server that holds the
保持サーバ判断部は、前記問合受付部が前記書込要求に基づく問合せを受け付 けた場合に、前記ファイル保持情報を参照することにより、前記保持サーバがいずれ であるかを判断し、 The holding server judging unit judges the holding server by referring to the file holding information when the inquiry receiving unit receives an inquiry based on the write request, and
前記管理装置手段は、さらに、 The management device means further includes:
前記保持サーバ判断部により保持サーバであると判断されたサーバを示す情報を 、前記アクセス元サーバに送信する保持応答送信部を有する A holding response transmitter that transmits information indicating the server determined to be a holding server by the holding server determination unit to the access source server;
ことを特徴とする請求項 48に記載の分散ファイル管理システム。 49. The distributed file management system according to claim 48, wherein:
[50] 前記ファイルサーバ手段は、 [50] The file server means comprises:
電子ファイルを記憶するファイル記憶部と、 A file storage unit for storing electronic files;
前記ファイル送信要求部が送信した電子ファイルの識別子を含むファイル送信要 求を受信するファイル送信要求受信部と、
前記ファイル送信要求に含まれる識別子を含む電子ファイルを前記ファイル記憶 部から読み出すファイル記憶制御部と、 A file transmission request receiving unit that receives a file transmission request including an identifier of an electronic file transmitted by the file transmission request unit; A file storage control unit for reading an electronic file including an identifier included in the file transmission request from the file storage unit;
前記ファイル記憶制御手段が読み出した電子ファイルを取得し、取得した当該電 子ファイルを前記アクセス元サーバに送信するファイル送信部とを備える A file transmission unit that acquires the electronic file read by the file storage control unit and transmits the acquired electronic file to the access source server;
ことを特徴とする請求項 48または請求項 49に記載の分散ファイル管理システム。 50. The distributed file management system according to claim 48 or claim 49, wherein:
[51] 前記ファイルサーバ手段は、さらに、 [51] The file server means further includes:
他のサーバの前記ファイル送信部から送信された電子ファイルを受信するファイル 受信部を備え、 A file receiving unit for receiving an electronic file transmitted from the file transmitting unit of another server;
前記ファイル記憶制御部は、さらに、前記ファイル受信部が受信した電子ファイル を前記ファイル記憶部に書き込む The file storage control unit further writes the electronic file received by the file receiving unit into the file storage unit.
ことを特徴とする請求項 50に記載の分散ファイル管理システム。 51. The distributed file management system according to claim 50, wherein:
[52] 前記ファイルサーバ手段は、さらに、 [52] The file server means further includes:
前記ファイル記憶制御部がファイル記憶部に電子ファイルを書き込んだ場合に、書 き込みの前後における当該フアイル記憶部の差分を前記第 1のサーバ群に通知する 更新通知部を備え、 An update notification unit for notifying the first server group of differences in the file storage unit before and after writing when the file storage control unit writes an electronic file in the file storage unit;
前記管理装置手段は、 The management device means includes
前記更新通知部による通知を受け付ける更新通知受付部と An update notification receiving unit for receiving a notification from the update notification unit;
前記更新通知受付部が受け付けた通知に含まれる前記差分により、前記ファイル 保持情報を更新する保持情報更新部とを備える A retention information update unit that updates the file retention information based on the difference included in the notification received by the update notification reception unit.
ことを特徴とする請求項 51に記載の分散ファイル管理システム。 52. The distributed file management system according to claim 51, wherein:
[53] 前記管理装置手段は、さらに、 [53] The management device means further includes:
前記更新通知部は、ユーザ指定の識別子を含む電子ファイルを前記端末が取得 する要求を前記アクセス元サーバが受け付けたことにより、前記アクセス元サーバが 備えるファイル記憶手段に当該要求に係る電子ファイルが書き込まれた場合に、当 該取得要求に係る電子ファイルの識別子を、前記差分として、前記分散ファイル管理 装置に通知し、 The update notifying unit writes the electronic file related to the request to the file storage unit included in the access source server when the access source server accepts the request for the terminal to acquire the electronic file including the user-specified identifier. The distributed file management apparatus is notified of the identifier of the electronic file related to the acquisition request as the difference,
前記更新通知受付部は前記更新通知手段による通知を受け、 The update notification receiving unit receives notification from the update notification means,
前記保持情報更新部は、前記更新通知受付手段が受け付けた通知に応じて、前
記アクセス元サーバを示す情報と、前記差分に含まれる電子ファイルの識別子とを対 応付けた情報を追加することにより、前記ファイル保持情報を更新する The holding information update unit is responsive to the notification received by the update notification receiving unit. The file holding information is updated by adding information that associates the information indicating the access source server with the identifier of the electronic file included in the difference.
ことを特徴とする請求項 52に記載の分散ファイル管理システム。 53. The distributed file management system according to claim 52, wherein:
[54] 前記管理装置手段は、さらに、 [54] The management device means further includes:
前記更新通知部は、電子ファイルを前記アクセス元サーバが備えるファイル記憶手 段に書き込む要求を前記アクセス元サーバが受け付けたことにより、前記アクセス元 サーバが備えるファイル記憶手段に当該要求に係る電子ファイルが書き込まれた場 合に、当該書込要求に係る電子ファイルの識別子を、前記差分として、前記分散ファ ィル管理装置に通知し、 The update notification unit receives a request for writing an electronic file in a file storage unit included in the access source server, so that the electronic file related to the request is stored in the file storage unit included in the access source server. When written, the identifier of the electronic file related to the write request is notified to the distributed file management device as the difference,
前記更新通知受付手段は前記更新通知手段による通知を受け、 The update notification receiving means receives notification from the update notification means,
前記保持情報更新手段は、前記更新通知受付手段が受け付けた、前記ハッシュ 値を前記差分に含む通知に応じて、前記アクセス元サーバを示す情報と、前記差分 に含まれる電子ファイルの識別子とを追加することにより、前記ファイル保持情報を更 新する The holding information update unit adds information indicating the access source server and an identifier of the electronic file included in the difference according to the notification received by the update notification receiving unit and including the hash value in the difference. To update the file retention information.
ことを特徴とする請求項 53に記載の分散ファイル管理システム。 54. The distributed file management system according to claim 53.
[55] 複数のサーバが保持する電子ファイルを管理する分散ファイル管理方法であって、 ユーザが利用する端末から、電子ファイルの取得または書込に係るユーザの要求 を受け付け、当該ユーザの要求に応じて、前記サーバ群が保持する電子ファイルを 管理する第 1のサーバ群の 1つである管理装置に、前記ユーザの要求に係る電子フ アイルを保持するサーバがいずれであるかを問合せるファイルサーバステップと、 前記ユーザの要求を受信したサーバであるアクセス元サーノくからの問合せに応じ て、電子ファイルを保持するサーバカ^、ずれであるかを示す情報であるファイル保持 情報を参照して、前記ユーザの要求に係る電子ファイルを保持するサーバである保 持サーバを判断することにより、前記サーバ群が保持する電子ファイルを管理する管 理装置ステップと、 [55] A distributed file management method for managing electronic files held by a plurality of servers, which accepts a user request for obtaining or writing an electronic file from a terminal used by the user, and responds to the request from the user. A file server step for inquiring to a management apparatus, which is one of the first server groups that manage the electronic files held by the server group, which server holds the electronic files according to the user's request. In response to an inquiry from the access source server that is the server that received the user's request, the user refers to the server holding the electronic file and the file holding information that is information indicating whether or not the By determining the holding server that holds the electronic file related to the request, the electronic file held by the server group is determined. And management apparatus step to management,
前記第 1のサーバ群と通信することにより、前記第 1のサーバ群のいずれが前記管 理装置であるかを判定する第 1の管理装置判定ステップとを含む And a first management device determination step for determining which of the first server groups is the management device by communicating with the first server group.
ことを特徴とする分散ファイル管理方法。
複数のサーバが保持する電子ファイルを管理する分散ファイル管理プログラムであ つて、 A distributed file management method. A distributed file management program that manages electronic files held by multiple servers.
ユーザが利用する端末から、電子ファイルの取得または書込に係るユーザの要求 を受け付け、当該ユーザの要求に応じて、前記サーバ群が保持する電子ファイルを 管理する第 1のサーバ群の 1つである管理装置に、前記ユーザの要求に係る電子フ アイルを保持するサーバがいずれであるかを問合せるファイルサーバステップと、 前記ユーザの要求を受信したサーバであるアクセス元サーノくからの問合せに応じ て、電子ファイルを保持するサーバカ^、ずれであるかを示す情報であるファイル保持 情報を参照して、前記ユーザの要求に係る電子ファイルを保持するサーバである保 持サーバを判断することにより、前記サーバ群が保持する電子ファイルを管理する管 理装置ステップと、 One of the first server groups that accepts user requests for obtaining or writing electronic files from a terminal used by the user and manages the electronic files held by the server group in response to the user requests. In response to an inquiry from an access source server that is a server that has received the user's request, and a file server step that inquires a certain management apparatus which server holds the electronic file related to the user's request. By referring to the file holding information that is information indicating whether or not the server holds the electronic file, it is possible to determine the holding server that is the server holding the electronic file according to the user's request. A management device step for managing electronic files held by the server group;
前記第 1のサーバ群と通信することにより、前記第 1のサーバ群のいずれが前記管 理装置であるかを判定する第 1の管理装置判定ステップとをコンピュータに実行させ る By communicating with the first server group, the computer is caused to execute a first management device determination step for determining which of the first server groups is the management device.
ことを特徴とする分散ファイル管理プログラム。
A distributed file management program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008525854A JPWO2008010473A1 (en) | 2006-07-19 | 2007-07-17 | Distributed file management system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006197465 | 2006-07-19 | ||
JP2006-197465 | 2006-07-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008010473A1 true WO2008010473A1 (en) | 2008-01-24 |
Family
ID=38956804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2007/064057 WO2008010473A1 (en) | 2006-07-19 | 2007-07-17 | Distributed file managing system |
Country Status (2)
Country | Link |
---|---|
JP (2) | JPWO2008010473A1 (en) |
WO (1) | WO2008010473A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010146375A (en) * | 2008-12-19 | 2010-07-01 | Fuji Xerox Co Ltd | Program, information processing apparatus and information processing system |
JPWO2012108015A1 (en) * | 2011-02-09 | 2014-07-03 | 富士通株式会社 | Data synchronization method, data synchronization program, and data synchronization control device |
KR20140099892A (en) * | 2011-12-09 | 2014-08-13 | 마이크로소프트 코포레이션 | Access to supplemental data based on identifier derived from corresponding primary application data |
CN114363081A (en) * | 2019-12-31 | 2022-04-15 | 北京深思数盾科技股份有限公司 | Access control method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9723074B2 (en) * | 2011-11-15 | 2017-08-01 | Alcatel Lucent | Method and apparatus for in the middle primary backup replication |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003162441A (en) * | 2001-11-28 | 2003-06-06 | Oki Electric Ind Co Ltd | Distributed file-sharing system and file-access control method therefor |
JP2005292868A (en) * | 2004-03-31 | 2005-10-20 | Japan Research Institute Ltd | File sharing control system, shared control server and shared control program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06266600A (en) * | 1993-03-12 | 1994-09-22 | Hitachi Ltd | Distributed file system |
JP2002351729A (en) * | 2001-05-22 | 2002-12-06 | Nec Corp | Data sharing system |
JP4146653B2 (en) * | 2002-02-28 | 2008-09-10 | 株式会社日立製作所 | Storage device |
JP4287092B2 (en) * | 2002-03-29 | 2009-07-01 | 株式会社富士通ソーシアルサイエンスラボラトリ | File management system and file management method |
JP2004185263A (en) * | 2002-12-03 | 2004-07-02 | Oki Electric Ind Co Ltd | Dispersed cooperative content delivery system |
-
2007
- 2007-07-17 WO PCT/JP2007/064057 patent/WO2008010473A1/en active Search and Examination
- 2007-07-17 JP JP2008525854A patent/JPWO2008010473A1/en active Pending
-
2009
- 2009-07-14 JP JP2009165295A patent/JP2009259265A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003162441A (en) * | 2001-11-28 | 2003-06-06 | Oki Electric Ind Co Ltd | Distributed file-sharing system and file-access control method therefor |
JP2005292868A (en) * | 2004-03-31 | 2005-10-20 | Japan Research Institute Ltd | File sharing control system, shared control server and shared control program |
Non-Patent Citations (2)
Title |
---|
HIROTA N. ET AL.: "Chikyu Kibo Bunsan File System Muki no File Cache Protocol no Sekkei", INFORMATION PROCESSING SOCIETY OF JAPAN KENKYU HOKOKU, vol. 93, no. 27, 19 March 1993 (1993-03-19), pages 1 - 8, XP003018715 * |
KAMESHIMA T. ET AL.: "Sekei Kibo Bunsan File System SKINNY", INFORMATION PROCESSING SOCIETY OF JAPAN KENKYU HOKOKU, vol. 95, no. 79, 23 August 1995 (1995-08-23), pages 1 - 8, XP003018714 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010146375A (en) * | 2008-12-19 | 2010-07-01 | Fuji Xerox Co Ltd | Program, information processing apparatus and information processing system |
JPWO2012108015A1 (en) * | 2011-02-09 | 2014-07-03 | 富士通株式会社 | Data synchronization method, data synchronization program, and data synchronization control device |
KR20140099892A (en) * | 2011-12-09 | 2014-08-13 | 마이크로소프트 코포레이션 | Access to supplemental data based on identifier derived from corresponding primary application data |
JP2015501050A (en) * | 2011-12-09 | 2015-01-08 | マイクロソフト コーポレーション | Access to supplemental data based on identifiers derived from corresponding primary application data |
JP2017162506A (en) * | 2011-12-09 | 2017-09-14 | マイクロソフト テクノロジー ライセンシング,エルエルシー | Access to supplemental data based on identifier derived from corresponding primary application data |
KR102032583B1 (en) | 2011-12-09 | 2019-11-08 | 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 | Access to supplemental data based on identifier derived from corresponding primary application data |
CN114363081A (en) * | 2019-12-31 | 2022-04-15 | 北京深思数盾科技股份有限公司 | Access control method and device |
Also Published As
Publication number | Publication date |
---|---|
JP2009259265A (en) | 2009-11-05 |
JPWO2008010473A1 (en) | 2009-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103384876B (en) | Information processing system is unified data processing method | |
US9405781B2 (en) | Virtual multi-cluster clouds | |
EP2498476B1 (en) | Massively scalable object storage system | |
JP5727020B2 (en) | Cloud computing system and data synchronization method thereof | |
CN101449559B (en) | Distributed storage | |
JP4696721B2 (en) | Document management server, document management system | |
CN101272313B (en) | Intermediate device for achieving virtualization of file level, file server system and relay method | |
JP4714778B2 (en) | Archive device, conversion device, and conversion program | |
JP2005276094A (en) | Program, distributed storage system and method for managing file for distributed storage unit | |
US20150199414A1 (en) | Locally cached file system | |
KR20100070895A (en) | Metadata server and metadata management method | |
JP2008234570A (en) | Data migration processor | |
CN106446159B (en) | A kind of method of storage file, the first virtual machine and name node | |
WO2008010473A1 (en) | Distributed file managing system | |
KR100977159B1 (en) | Method And System Of File Metadata Management Transparent About Address Changing Of Data Servers And Their Disk Movements | |
CN105593839A (en) | Distributed disaster recovery file sync server system | |
KR20110044611A (en) | Content management system and method for content delivery network service | |
JP2009237979A (en) | Information processing device and method, and program | |
JP4241200B2 (en) | Data sharing system and method, and data sharing program | |
US8713059B2 (en) | Management of computer-file sharing between at least two devices | |
JP4713257B2 (en) | Data storage device and version management program | |
JP2002140239A (en) | Information management system, information management method and system controller | |
JP3811615B2 (en) | Information distribution system, apparatus and method, and recording medium | |
JP4622300B2 (en) | Information sharing system and information sharing program | |
JP2008250864A (en) | Data storing method, data storing system and information processor |
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: 07790819 Country of ref document: EP Kind code of ref document: A1 |
|
DPE1 | Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2008525854 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
NENP | Non-entry into the national phase |
Ref country code: RU |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07790819 Country of ref document: EP Kind code of ref document: A1 |
|
DPE1 | Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101) |