Abstract:
A document managing system is provided with a plurality of document managing apparatuses each configured to retrieve a document stored in a storage according to a document ID and to judge whether or not an operation with respect to the retrieved document is possible according to a user ID that is generated with respect to each document managing apparatus, and a user ID generating apparatus provided externally to the document managing apparatuses and configured to generate a common user ID that is used in common among each of the document managing apparatuses. Each document managing apparatus has an expert and import part configured to export and import data of an arbitrary document and an access control list (ACL).

Description:
BACKGROUND OF THE INVENTION  
       [0001]     1. Field of the Invention  
         [0002]     The present invention generally relates to document managing systems, and more particularly to a document managing system which has a plurality of independent document managing apparatuses. The present invention also relates to a document managing apparatus and a document managing method employed by the document managing system.  
         [0003]     2. Description of the Related Art  
         [0004]     A document managing apparatus formed by a server or the like that is provided in a network, records document management information such as bibliographical information. The document management information includes, in addition to an identification (ID) of each document, user IDs (UIDs) of creators, readers, editors and the like. For example, the UID is used to manage rights to access the documents.  
         [0005]     In relatively large organizations such as corporations, there often exist a plurality of independent document managing apparatuses.  
         [0006]      FIG. 1  is a diagram showing a structure of an example of a conventional document managing system. The document management apparatus  100  shown in  FIG. 1  has a UID managing part  101  for managing UIDs, a document managing part  102  for managing documents, a document database (DB)  103  forming a storage for storing the documents, and an access control list (ACL) table  104  that records access right information related to access rights to the documents. A document managing apparatus  200  has a structure similar to that of the document managing apparatus  100 , and has an UID managing part  201 , a document managing part  202 , a document DB  203 , and an ACL table  204 .  
         [0007]     For example, if a user wishes to access a target document that is stored in the document DB  103  of the document managing apparatus  100  in  FIG. 1 , the document managing part  102  acquires the UID of the user who is authenticated by the UID managing part  101 , with respect to the target document that is retrieved from the document DB  103  according to the document ID, and refers to the access right information of the target document by referring to the ACL table  104 , and permits access to the user within the range permitted for this user.  
         [0008]     On the other hand, a Japanese Laid-Open Patent Application No. 2004-70416 proposes a technique for providing services to a user in a network system employing a plurality of authentication systems, by authenticating a user who is registered for one or a plurality of authentication systems of the network system as the user of a target service.  
         [0009]     In the document managing system shown in  FIG. 1  having the plurality of independent document managing apparatuses, there are cases where it becomes necessary to distribute, move or integrate a portion or all of the documents managing in one document managing apparatus  100  to the other document managing apparatus  200 , for example. In such cases, the target document is distributed from the document managing apparatus  100  as export data D 1  to the document managing apparatus  200 , and the document managing apparatus  200  accepts the target document as import data D 2 .  
         [0010]     However, The UIDs in the document managing apparatus  100  are managed by the UID managing part  101 , and the UIDs in the document managing apparatus  200  are managed by the UID managing part  201 , and the UIDs are defined independently for each document managing apparatus. For this reason, when the user who is permitted to access the target document in the document managing apparatus  100  wishes to access the same target document in the document managing apparatus  200 , a situation may occur where the user is not be permitted access the target document in the document managing apparatus  200  even though the same user is making access to the same target document.  
         [0011]     If this situation occurs, it becomes necessary to reassign the access right to the target document in the document managing apparatus  200 . But when a large number of documents are distributed, moved or integrated between the document managing apparatuses  100  and  200 , the reassignment of the access rights to the documents becomes an extremely troublesome and complex operation, and there was a problem in that the load on a manager who manages the access rights to the documents will become considerably large.  
       SUMMARY OF THE INVENTION  
       [0012]     Accordingly, it is a general object of the present invention to provide a novel and useful document managing system, a document managing apparatus and a document managing method, in which the problems described above are suppressed.  
         [0013]     Another and more specific object of the present invention is to provide a document managing system, a document managing apparatus and a document managing method, which can facilitate the management of the access rights to documents when the documents are distributed, moved or integrated among the plurality of independent document managing apparatuses of the document managing system.  
         [0014]     Still another object of the present invention is to provide a document managing system comprising a plurality of document managing apparatuses, each of the document managing apparatuses being configured to retrieve a document stored in a storage according to a document ID, and to judge whether or not an operation with respect to the retrieved document is possible according to a user ID that is generated with respect to the each of the document managing apparatuses; and a user ID generating apparatus, provided externally to the document managing apparatuses, and configured to generate a common user ID that is used in common among each of the document managing apparatuses, wherein each of the document managing apparatuses has an expert and import part configured to export and import data of an arbitrary document and an access control list (ACL). According to the document managing system of the present invention, it is possible to facilitate the management of the access rights to documents when the documents are distributed, moved or integrated among a plurality of independent document managing apparatuses of the document managing system.  
         [0015]     A further object of the present invention is to provide a document managing apparatus for retrieving a document stored in a storage according to a document ID and judging whether or not an operation with respect to the retrieved document is possible according to a user ID that is generated with respect to the document managing apparatus, comprising a user ID managing part configured to manage user IDs within the document managing apparatus by acquiring a common user ID that is generated by an external user ID generating apparatus and is used in common among a plurality of document managing apparatuses including the document managing apparatus; and an expert and import part configured to export and import data of an arbitrary document and an access control list (ACL). According to the document managing apparatus of the present invention, it is possible to facilitate the management of the access rights to documents when the documents are distributed, moved or integrated among a plurality of independent document managing apparatuses of a document managing system.  
         [0016]     Another object of the present invention is to provide a document managing method for a document managing system in which each of a plurality of document managing apparatuses is configured to retrieve a document stored in a storage according to a document ID, and to judge whether or not an operation with respect to the retrieved document is possible according to a user ID that is generated with respect to said each of the document managing apparatuses, comprising generating a common user ID that is used in common among each of the document managing apparatuses by a user ID generating apparatus that is provided externally to the document managing apparatuses; and exporting and importing data of an arbitrary document and an access control list (ACL) in response to a user instruction. According to the document managing method of the present invention, it is possible to facilitate the management of the access rights to documents when the documents are distributed, moved or integrated among the plurality of independent document managing apparatuses of the document managing system.  
         [0017]     Other objects and further features of the present invention will be apparent from the following detailed description when read in conjunction with the accompanying drawings. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0018]      FIG. 1  is a diagram showing a structure of an example of a conventional document managing system;  
         [0019]      FIG. 2  is a diagram showing a structure of a first embodiment of a document managing system according to the present invention;  
         [0020]      FIG. 3  is a diagram for explaining a document distribution in the first embodiment of the document managing system;  
         [0021]      FIG. 4  is a diagram showing a screen for explaining an export operation;  
         [0022]      FIG. 5  is a diagram showing a screen for explaining an import operation;  
         [0023]      FIG. 6  is a diagram showing a structure of a second embodiment of the document managing system according to the present invention;  
         [0024]      FIGS. 7A and 7B  are diagrams for explaining a UID generating process of the second embodiment of the document managing system;  
         [0025]      FIG. 8  is a diagram for explaining an ACL setting process of the second embodiment of the document managing system;  
         [0026]      FIG. 9  is a diagram showing an ACL table;  
         [0027]      FIG. 10  is a diagram showing a structure of a third embodiment of the document managing system according to the present invention;  
         [0028]      FIG. 11  is a diagram for explaining a UID generating process of the third embodiment of the document managing system;  
         [0029]      FIG. 12  is a diagram for explaining another UID generating process of the third embodiment of the document managing system;  
         [0030]      FIG. 13  is a diagram showing a structure of a fourth embodiment of the document managing system according to the present invention; and  
         [0031]      FIG. 14  is a diagram showing a UID generating process of the fourth embodiment of the document managing system. 
     
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0032]     A description will be given of embodiments of the document managing system, the document managing apparatus and the document managing method according to the present invention, by referring to  FIG. 2  and the subsequent figures.  
       First Embodiment  
       [0033]      FIG. 2  is a diagram showing a structure of a first embodiment of the document managing system according to the present invention. The document managing system shown in  FIG. 2  has a first document managing apparatus  1  and a second document managing apparatus  2 . Each of the first and second document managing apparatuses  1  and  2  may be a dedicated server apparatus for exclusive use or, an apparatus, such as a multi function peripheral (MFP), having functions other than the document managing function.  
         [0034]     The first document managing apparatus  1  has a user identification (UID) managing part  11  for managing UIDs, a document managing part  12  for managing documents, a document database (DB)  13  forming a storage for storing the documents, an access control list (ACL) table  14  that records access right information related to access rights to the documents, and an export and import part  15  exporting and importing the documents and the ACL. Similarly, the second document managing apparatus  2  has a user identification (UID) managing part  21  for managing UIDs, a document managing part  22  for managing documents, a document database (DB)  23  forming a storage for storing the documents, an access control list (ACL) table  24  that records access right information related to access rights to the documents, and an export and import part  25  exporting and importing the documents and the ACL. The UID is not limited to the kind of UID that is input at the time of the authentication or the like, and may be any suitable UID indicating user attributes such as the post (group, department, etc.), the position and the authority (authorized limits of rights or power).  
         [0035]     In addition to the first and second document managing apparatuses  1  and  2 , the document managing system has a UID generating apparatus  3  for generating UIDs that are used in common between the first and second document managing apparatuses  1  and  2 . Of course, the number of document managing apparatuses provided in the document managing system is of course not limited to two.  
         [0036]     When storing the document in the document DB  13  in the first document managing apparatus  1 , the document managing part  12  acquires the UID from the UID managing part  11 , and sets the acquired UID in the ACL table  14  in correspondence with the document ID. In this state, the UID managing part  11  acquires from the UID generating apparatus  3  a common UID that is common to the first and second document managing apparatuses  1  and  2 , and this common UID is reflected to the ACL table  14 .  
         [0037]     Similarly, when storing the document in the document DB  23  in the second document managing apparatus  2 , the document managing part  22  acquires the UID from the UID managing part  21 , and sets the acquired UID in the ACL table  24  in correspondence with the document ID. In this state, the UID managing part  21  acquires from the UID generating apparatus  3  a common UID that is common to the first and second document managing apparatuses  1  and  2 , and this common UID is reflected to the ACL table  24 .  
         [0038]     Hence, the UID can be made common between the first and second document managing apparatuses  1  and  2  even when the first and second document managing apparatuses  1  and  2  are independent of each other. Consequently, even when the documents are distributed, moved or integrated between the first and second document managing apparatuses  1  and  2 , it is possible to avoid an inconvenient situation where the user who is permitted to access a target document in one of the first and second document managing apparatuses  1  and  2  becomes unable to access the same target document in the other of the first and second document managing apparatuses  1  and  2 .  
         [0039]      FIG. 3  is a diagram for explaining a document distribution in this first embodiment of the document managing system. When distributing the document from the first document managing apparatus  1  to the second document managing apparatus  2 , the export and import part  15  of the first document managing apparatus  1  distributes, as export data D 1 , the data of the document (that is, the document data) and the ACL data. On the other hand, the second document managing apparatus  2  receives the document data and the ACL data as import data D 2 , and stores the document data in the document DB  23  and reflects the ACL data in the ACL table  24  (that is, modifies the document ID), so as to maintain access right consistency.  
         [0040]      FIG. 4  is a diagram showing a screen for explaining an export operation. In  FIG. 4 , a document  41  that is to be exported is selected by a client software of the first document managing apparatus  1  or on an operation panel of an MFP, and an “Export” button in a pop-up menu  42  that is displayed is selected using a right-click of a mouse or the like, so as to instruct an export process. Then, a storage location of the export data is specified, and the execution of the export process is instructed. The export and import part  15  shown in  FIG. 3  inputs the document ID, and retrieves from the document DB  13  the document data corresponding to the document ID. In addition, export and import part  15  obtains the ACL data corresponding to the document ID from the ACL table  14 , and changes the document ID within the obtained ACL data to an indefinite value.  
         [0041]     The export data may be moved to the second document managing apparatus  2  by any suitable means, such as (A) sharing a disk in the network, (B) transferring the export data using the network by a file transfer protocol (ftp) or the like, and (C) using a removable storage medium such as an universal serial bus (USB) memory key and an external hard disk drive (HDD).  
         [0042]      FIG. 5  is a diagram showing a screen for explaining an import operation. In  FIG. 5 , a logical storage location  51  of the document, such as a folder, for storing the imported document, is selected by a client software of the second document managing apparatus  2  or on an operation panel of an MFP, and an “Import” button  53  in a pop-up menu  52  that is displayed is selected using a right-click of a mouse or the like, so as to instruct an import process. Then, the import data is specified, and the execution of the import process is instructed. The export and import part  25  shown in  FIG. 3  inputs the export data that includes the document data and the ACL data, registers the document data in the document DB  23 , and obtains a new document ID. Next, the export and import part  25  updates the document ID within the ACL data using the new document ID, and registers the ACL data having the updated document ID in the ACL table  24 .  
         [0043]     Instead of carrying out the export operation, the first document managing apparatus  1  may directly carry out a distribution operation. In this case, the document that is to be distributed is selected by the client software of the first document managing apparatus  1  or on the operation panel of the MFP, so as to instruct a distribution process. In addition, the first document managing apparatus  1  specifies the second document managing apparatus  2  as the distribution destination and the specifies the logical storage location of the document, such as the folder, within the second document managing apparatus  2 , so as to instruct the execution of the distribution process. The distribution operation described above is realized by successively carrying out the export process and the import process in this manner by the first and second document managing apparatuses  1  and  2 .  
         [0044]     Therefore, by providing the UID generating apparatus  3  externally to the first and second document managing apparatuses  1  and  2  and independently of the first and second document managing apparatuses  1  and  2 , the first and second document managing apparatuses  1  and  2  can share the services provided by the UID generating apparatus  3 . As a result, it is possible to generate the common UID that is common to the first and second document managing apparatuses  1  and  2  (that is, common to a plurality of document managing apparatuses), and to provide the same UID with respect to the same user. Hence, it becomes unnecessary to reassign the access rights to documents when the documents are distributed, moved or integrated among a plurality of document managing apparatuses.  
       Second Embodiment  
       [0045]      FIG. 6  is a diagram showing a structure of a second embodiment of the document managing system according to the present invention. In  FIG. 6 , those parts that are the same as those corresponding parts in  FIG. 2  are designated by the same reference numerals, and a description thereof will be omitted. In this second embodiment, the UID generating apparatus  3  is formed by a lightweight directory access protocol (LDAP) server, and the UID managing parts  11  and  21  of the first and second document managing apparatuses  1  and  2  are formed by user authentication for user directory (UAUD) parts in accordance therewith.  
         [0046]      FIGS. 7A and 7B  are diagrams for explaining a UID generating process of this second embodiment of the document managing system. When the user is specified and the UID acquisition is requested from the UID managing part  11  (or  21 ) of the document managing apparatus  1  (or  2 ) to the UID generating apparatus  3  in a step S 1  shown in  FIG. 7A , the LDAP server which forms the UID generating apparatus  3  returns a fully qualified domain name (FQDN), which is a global unique name of the user, in a step S 2 . Then, the UID managing part  11  (or  21 ) generates the UID from the FQDN in a step S 3 .  
         [0047]      FIG. 7B  shows a logical format of the UID of this embodiment. The UID shown in  FIG. 7B  has an identifier for indicating a type of the user or user group, a user space for identifying a type of the database that stores the user information, and the FQDN that is acquired from the LDAP server.  
         [0048]      FIG. 8  is a diagram for explaining an ACL setting process of this second embodiment of the document managing system. After the UID managing part  11  (or  21 ) generates the UID in the step S 3  shown in  FIG. 8 , the UID managing part  11  (or  21 ) transfers the UID to the document managing part  12  (or  22 ) in a step S 4 . The document managing part  12  (or  22 ) acquires the document ID from the document DB  13  (or  23 ) in a step S 5 , and sets the acquired document ID in the ACL table  14  (or  24 ) in a step S 6 .  
         [0049]      FIG. 9  is a diagram showing the ACL table  14  (or  24 ). In the ACL table  14  (or  24 ) shown in  FIG. 9 , the UID and the access right are recorded in the ACL table  14  (or  24 ) in correspondence with the document ID. In  FIG. 9 , RW indicates the right to make access by referring or updating, and R indicates the right to make access by referring.  
       Third Embodiment  
       [0050]      FIG. 10  is a diagram showing a structure of a third embodiment of the document managing system according to the present invention. In  FIG. 10 , those parts that are the same as those corresponding parts in  FIG. 6  are designated by the same reference numerals, and a description thereof will be omitted. In  FIG. 10 , domain name (DN) compressing and expanding parts  16  and  26  are additionally provided in the first and second document managing apparatuses  1  and  2 , respectively. The DN compressing and expanding part  16  compresses and expands the UID that is set in the ACL table  14 , and the DN compressing and expanding part  26  compresses and expands the UID that is set in the ACL table  24 . Otherwise, the structure of this third embodiment is the same as that of the second embodiment shown in  FIG. 6 .  
         [0051]     When the LDAP server is used as the UID generating apparatus  3 , the maximum length of the FQDN data that is obtained therefrom cannot be prescribed in advance. On the other hand, in order to enable the document managing apparatus to create the ACL table that manages the ACL, it is inconvenient from the point of view of prescribing the format of the ACL table if the maximum length of the global unique name of the user cannot be prescribed, as is the case of the FQDN data.  
         [0052]     Hence, in this third embodiment, the FQDN that is obtained from the UID generating apparatus  3  is not used as it is when generating the UID, but is compressed into a substitute FQDN that can be accommodated within the ACL table even in the case of a relatively long FQDN. In other words, it is possible to extend the limit of the maximum length of the FQDN that is recordable in the ACL table.  
         [0053]      FIG. 11  is a diagram for explaining a UID generating process of this third embodiment of the document managing system. In  FIG. 11 , the FQDN that is obtained from the UID generating apparatus  3  by the UID managing part  11  (or  21 ) of the document managing apparatus  1  (or  2 ) is compressed by the DN compressing and expanding part  16  (or  26 ) into a compressed FQDN in binary data state, in a step S 11 . Any suitable known compression techniques may be used for the compression of the FQDN, but on an average, it is possible to obtain a compression rate (or efficiency) on the order of approximately 70%.  
         [0054]     Then, the DN compressing and expanding part  16  (or  26 ) generates the substitute FQDN in a step S 12  by converting the compressed FQDN into text such as Base  64 , so that the substitute FQDN in a text data state may be used as a portion of the UID. The data size slightly increases by this conversion into the text, but the compression rate (or efficiency) on the order of approximately 50% can be anticipated by the combination of the compression and the conversion into the text.  
         [0055]      FIG. 12  is a diagram for explaining another UID generating process of this third embodiment of the document managing system. In this case, instead of directly compressing the FQDN that is obtained from the UID generating apparatus  3 , a normalizing process is carried out in a step S 21  to remove spaces (which should originally be ignored) before and after a delimiter that may be included in the FQDN. Steps S 22  through S 24  that are carried out thereafter are the same as the steps S 11  through S 13  shown in  FIG. 11 , except that the step S 22  compresses the FQDN that has been removed of the space.  
         [0056]     Therefore, by compressing the FQDN as shown in  FIG. 11  or  FIG. 12 , it is possible to extend the limit of the maximum length of the FQDN that is usable for the ACL.  
         [0057]     In addition, it is possible to acquire the original FQDN by carrying out an expanding operation in the DN compressing and expanding part  16  (or  26 ) to expand the substitute FQDN under the control of the UID managing part  11  (or  21 ). Accordingly, the document managing apparatus  1  (or  2 ) can make the access to the LDAP server which forms the UID generating apparatus  3 , in a normal manner.  
       Fourth Embodiment  
       [0058]      FIG. 13  is a diagram showing a structure of a fourth embodiment of the document managing system according to the present invention. In  FIG. 13 , those parts that are the same as those corresponding parts in  FIG. 6  are designated by the same reference numerals, and a description thereof will be omitted. In  FIG. 13 , hash tables  17  and  27  are additionally provided in the first and second document managing apparatuses  1  and  2 , respectively. In this fourth embodiment, the FQDN that is obtained from the UID generating apparatus  3  is not used as it is when generating the UID, similarly as in the case of the third embodiment described above, and the FQDN is subjected to a hash process, so that the FQDN that can be accommodated within the ACL table even in the case of a relatively long FQDN. More particularly, the UID managing part  11  (or  21 ) of the document managing apparatus  1  (or  2 ) carries out the hash process with respect to the FQDN, and records a hash value and the original FQDN in correspondence with each other in the hash table  17  (or  27 ). In addition, the hash value (or hash code) of the FQDN data and a predetermined number of header (or leading) bytes of the FQDN data are set in the ACL table  14  (or  24 ) as a substitute UID.  
         [0059]      FIG. 14  is a diagram showing a UID generating process of this fourth embodiment of the document managing system. In  FIG. 14 , the UID managing part  11  (or  21 ) of the document managing apparatus  1  (or  2 ) calculates the hash value using an algorithm such as MD5, based on the FQDN obtained from the UID generating apparatus  3 , and sets the calculated hash value in the hash table  17  (or  27 ) in correspondence with the original FQDN, in a step S 31 . In this case, the hash values obtained from the same FQDN will become the same, but in order to maintain the hash value to a small size, a plurality of FQDNs are allowed to correspond to the same hash value. It is assumed that the FQDN is normalized to remove the unnecessary spaces prior to carrying out the hash process.  
         [0060]     Then, the UID managing part  11  (or  21 ) regards the N header (or leading) bytes of the original FQDN, the delimiter (#) and the hash value as the substitute FQDN, and generates the UID by combining an identifier and a user space, in a step S 32 . The N header (or leading) bytes of the original FQDN are included in the substitute FQDN in order to enable the FQDN to be specified, since a plurality of FQDNs are allowed to correspond to the same hash value. The FQDN is prescribed by the user name, host name, sub domain name, domain name, organization type and country code, in this order. The identification of the FQDN becomes more difficult towards the latter portion of this order, but since there is no information overlap at the header portion of the FQDN (that is, the information in the header portions of the FQDNs do not match), it is possible to specify the FQDN by the header portion.  
         [0061]     By generating the UID from the FQDN through the conversion into the hash value, the hash value having an arbitrary length can be made to uniquely correspond to the FQDN and be used as the substitute UID.  
         [0062]     In addition, the UID managing part  11  (or  21 ) can acquire the original FQDN from the hash table  17  (or  27 ) by carrying out a restoration operation with respect to the substitute FQDN. Accordingly, the document managing apparatus  1  (or  2 ) can make the access to the LDAP server which forms the UID generating apparatus  3 , in a normal manner.  
         [0063]     This application claims the benefit of Japanese Patent Applications No. 2005-315056 filed Oct. 28, 2005 and No. 2006-278079 filed Oct. 11, 2006, in the Japanese Patent Office, the disclosures of which are hereby incorporated by reference.  
         [0064]     Further, the present invention is not limited to these embodiments, but various variations and modifications may be made without departing from the scope of the present invention.