Abstract:
In the field of mobile communications, embodiments of the present invention disclose a method, a device and a system for forwarding document content in Extensible Markup Language Document Management (XDM). The method includes: receiving a forwarding request sent by a forwarding sender, where the forwarding request is used to forward the document content to a forwarding receiver; judging, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content; and when the forwarding sender has the forwarding right and the forwarding receiver has the access right, forwarding the document content to the forwarding receiver. Through the solutions in the embodiments of the present invention, the forwarding sender selectively forwards the document content to the forwarding receiver according to the rights document stored in an XDM Server (XDMS).

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application is a continuation of international Application No. PCT/CN2010/076987, filed on Sep. 16, 2010, which claims priority to Chinese Patent Application No. 200910093226.X, filed on Sep. 16, 2009, both of which are hereby incorporated by reference in their entireties. 
     
    
     FIELD OF THE INVENTION 
       [0002]    The present invention relates to the communications field, and in particular, to a method, a device and a system for forwarding document content in Extensible Markup Language (XML) Document Management (XDM). 
       BACKGROUND OF THE INVENTION 
       [0003]    XDM is a general mechanism for generating information related to user specific services such as Presence, push to talk over cellular (PoC) and Instant Message (IM), and the specific service information is stored at a network side, and may be accessed and processed by an authorized user. In the XDM, how the specific service information is defined as Extensible Markup Language (XML) documents and a general protocol for accessing and processing these XML documents are described in detail. 
         [0004]    A document that is accessed and processed through an XML Configuration Protocol (XCAP) of the XDM is stored in a logic storage library XDM Server (XDMS) in a network. Different users have different access rights to the same document, and the access rights of these users are administered by an administrator, where the administrator is a special user that is authorized to modify an access right of a document, and a user may access all documents or a part of the documents in the XDMS according to the access right set by the administrator. 
         [0005]    In a current XDM, a right of a forwarding receiver is not set; in this case, a forwarding sender can arbitrarily forward a document after having a forwarding right. After receiving the document sent by the forwarding sender, the forwarding receiver may not only watch the document content, but also has the same right as a document management user; in this case, the document management user cannot perform safe and effective management on the document, which is against a will of the document management user. 
       SUMMARY OF THE INVENTION 
       [0006]    In order to enable a forwarding sender to selectively forward document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has a forwarding right, and ensure confidentiality of the document for a document creator, embodiments of the present invention provides a method, a device and a system for forwarding document content in XDM. The solutions are as follows: 
         [0007]    An embodiment of the present invention provides a method for forwarding document content in XDM, where the method includes: 
         [0008]    receiving a forwarding request sent by a forwarding sender, where the forwarding request is used to forward the document content to a forwarding receiver; 
         [0009]    judging, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content; and 
         [0010]    when the forwarding sender has the forwarding right and the forwarding receiver has the access right, forwarding the document content to the forwarding receiver. 
         [0011]    An embodiment of the present invention further provides an XDMS device, where the device includes: 
         [0012]    a receiving module, configured to receive a forwarding request sent by a forwarding sender, where the forwarding request is used to forward document content to a forwarding receiver; 
         [0013]    a judging module, configured to judge, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content; and 
         [0014]    a forwarding module, configured to forward the document content to the forwarding receiver when the forwarding sender has the forwarding right and the forwarding receiver has the access right. 
         [0015]    An embodiment of the present invention further provides a system for forwarding document content in XDM, where the system includes an XDMS and an XDM client (XDMC). 
         [0016]    The XDMS is configured to receive a forwarding request sent by a forwarding sender, where the forwarding request is used to forward the document content to a forwarding receiver; judge, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content; and when the forwarding sender has the forwarding right and the forwarding receiver has the access right, forward the document content to the forwarding receiver. 
         [0017]    The XDMC is configured to send the forwarding request to the XDMS, where the forwarding request is used to forward the document content to the forwarding receiver. 
         [0018]    The embodiments of the present invention have the following beneficial effects: 
         [0019]    In the methods according to the embodiments of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time sets the access right of the forwarding receiver, or asks a document administrator the forwarding right of the forwarding sender and the access right of the forwarding receiver after receiving the forwarding request, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to the rights setting in the access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right and ensuring the confidentiality of the document for the document creator. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0020]    To illustrate the technical solutions according to the embodiments of the present invention or in the prior art more clearly, the accompanying drawings required for describing the embodiments or the prior art are briefly introduced below. Apparently, the accompanying drawings in the following descriptions merely show some of the embodiments of the present invention, and persons of ordinary skill in the art may obtain other drawings according to the accompanying drawings without creative efforts. 
           [0021]      FIG. 1  is a flow chart of a method according to Embodiment 1 of the present invention; 
           [0022]      FIG. 2  is a flow chart of a method according to Embodiment 2 of the present invention; 
           [0023]      FIG. 3  is a flow chart of a method according to Embodiment 3 of the present invention; 
           [0024]      FIG. 4  is a flow chart of a method according to Embodiment 4 of the present invention; 
           [0025]      FIG. 5  is a flow chart of a method according to Embodiment 5 of the present invention; 
           [0026]      FIG. 6  is a flow chart of a method according to Embodiment 6 of the present invention; 
           [0027]      FIG. 7  is a flow chart of a method according to Embodiment 7 of the present invention; 
           [0028]      FIG. 8  is a schematic structural diagram of a device according to Embodiment 8 of the present invention; and 
           [0029]      FIG. 9  is a schematic structural diagram of a system according to Embodiment 9 of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0030]    In order to make the objectives, technical solutions and advantages of the present invention more comprehensible, the present invention is described in further detail below with reference to the accompanying drawings. 
       Embodiment 1 
       [0031]    This embodiment of the present invention provides a method for forwarding document content in XDM. Referring to  FIG. 1 , the method includes: 
         [0032]      101 : Receive a forwarding request sent by a forwarding sender, where the forwarding request is used to forward the document content to a forwarding receiver. 
         [0033]      102 : Judge, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content. 
         [0034]      103 : When the forwarding sender has the forwarding right and the forwarding receiver has the access right, forward the document content to the forwarding receiver. 
         [0035]    Before receiving the forwarding request sent by the forwarding sender, the method further includes: 
         [0036]    setting, in the rights document, the forwarding right of the forwarding sender, and setting a forwarding receiver list of the forwarding sender; or 
         [0037]    setting, in the rights document, the forwarding right of the forwarding sender, and setting, in the rights document, the access right of the forwarding receiver. 
         [0038]    Alternatively, 
         [0039]    before receiving the forwarding request sent by the forwarding sender, the method further includes: 
         [0040]    setting, in the rights document, the forwarding right of the forwarding sender; or 
         [0041]    setting, in the rights document, the forwarding right of the forwarding sender, and setting a prohibited forwarding receiver list of the forwarding sender. 
         [0042]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender and setting the forwarding receiver list of the forwarding sender, the setting the forwarding receiver list of the forwarding sender specifically includes: 
         [0043]    extending a sub-element under a forwarding operation element (corresponding to an &lt;allow-forwarding&gt; element in the rights document) in an action element (corresponding to an &lt;actions&gt; element in the rights document), where the extended sub-element is used to set the forwarding receiver list; 
         [0044]    setting a forwarding sender list and the forwarding receiver list respectively under a condition element (corresponding to a &lt;conditions&gt; element in the rights document); or 
         [0045]    setting the forwarding sender list and the forwarding receiver list under different condition elements respectively, and associating a forwarding sender with a forwarding receiver. 
         [0046]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender and setting the prohibited forwarding receiver list of the forwarding sender, the setting the prohibited forwarding receiver list specifically includes: 
         [0047]    extending a sub-element under a forwarding operation element (corresponding to an &lt;allow-forwarding&gt; element in the rights document) in an action element (corresponding to an &lt;actions&gt; element in the rights document), where the extended sub-element is used to set the prohibited forwarding receiver list; 
         [0048]    setting a forwarding sender list and the prohibited forwarding receiver list respectively under a condition element (corresponding to a &lt;conditions&gt; element in the rights document); or 
         [0049]    setting the forwarding sender list and the prohibited forwarding receiver list under different condition elements respectively, and associating a forwarding sender and a prohibited forwarding receiver. 
         [0050]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender and setting the forwarding receiver list of the forwarding sender, 
         [0051]    the setting, in the rights document, the forwarding right of the forwarding sender further includes: 
         [0052]    setting document content to which the forwarding sender has the forwarding right, and setting received document content of the forwarding receiver, where the received document content includes a part of the document content or the whole document content to which the forwarding sender has the forwarding right. 
         [0053]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender, and setting, in the rights document, the access right of the forwarding receiver, the setting, in the rights document, the forwarding right of the forwarding sender further includes: 
         [0054]    setting document content to which the forwarding sender has the forwarding right and setting document content to which the forwarding receiver has the access right. 
         [0055]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender, 
         [0056]    the setting, in the rights document, the forwarding right of the forwarding sender further includes: 
         [0057]    setting document content to which the forwarding sender has the forwarding right. 
         [0058]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender and setting the prohibited forwarding receiver list of the forwarding sender, 
         [0059]    the setting, in the rights document, the forwarding right of the forwarding sender further includes: 
         [0060]    setting document content to which the forwarding sender has the forwarding right. 
         [0061]    When the method includes setting, in the rights document, the forwarding right of the forwarding sender, the judging, according to the rights document, whether the forwarding sender has the forwarding right to the document content and whether the forwarding receiver has the access right to the document content specifically includes: 
         [0062]    acquiring, from the rights document, the access right of the forwarding sender to the document content, and judging whether the forwarding sender has the forwarding right to the document content; 
         [0063]    when the forwarding sender has the forwarding right, sending an asking request to an XDMC of a document management user, and asking whether the forwarding receiver has the access right to the document content; and 
         [0064]    receiving an asking result returned by the XDMC of the document management user, where when the query result is yes, the forwarding receiver has the access right to the document content. 
         [0065]    The judging, according to the rights document, whether the forwarding sender has the forwarding right to the document content and whether the forwarding receiver has the access right to the document content further includes: 
         [0066]    after receiving the forwarding request sent by the forwarding sender, acquiring the forwarding right of the forwarding sender in the rights document, if the rights document does not include the forwarding right of the forwarding sender, sending the asking request to the XDMC of the document management user, and asking whether the forwarding sender has the forwarding right to the document content and whether the forwarding receiver has the access right to the document content; and 
         [0067]    receiving the asking result returned by the XDMC of the document management user. 
         [0068]    In the method according to this embodiment of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time se is the access right of the forwarding receiver, or asks a document administrator the forwarding right of the forwarding sender and the access right of the forwarding receiver after receiving the forwarding request, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to a rights setting in an access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring confidentiality of the document for a document creator. 
       Embodiment 2 
       [0069]    In order to enable a forwarding sender to selectively forward document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has a forwarding right, and ensure confidentiality of the document for a document creator, this embodiment of the present invention provides a method for forwarding document content in XDM. The specific content is as follows: 
         [0070]    In the method for selectively forwarding content to the forwarding receiver in the XDM according to this embodiment of the present invention, two methods may be adopted for selective forwarding: One method is setting, in an access right, a Uniform Resource Identifier (URI) of a forwarding receiver for a forwarding sender having the forwarding right, and at the same time, setting forwarding times; the other method is sending the URI of the forwarding receiver to the XDMS when the forwarding sender having the forwarding right sends a document, and authenticating, by the XDMS in the access rights document, whether the URI has a right of accessing the document content. Taking that a user A is the document management user, a user B is the forwarding sender, and a user C is the forwarding receiver as an example, referring to  FIG. 2 , the specific process is as follows: 
         [0071]      201 : The user B sends a request to the XDMS to request for forwarding a part of document content of the user A to a directory of the user C in the XDMS. 
         [0072]    In this embodiment of the present invention, the user A is the document management user, the user B is the forwarding sender, and the user C is the forwarding receiver. The user B requests for forwarding a part of the document content of the user A to the directory of the user C in the XDMS; as the document management user, the user A may be a creator of an XML document, or may be a special user that is authorized and can modify the access right of the document, and another user may access the whole document or a part of the document content in the XDMS according to the access right set by the administrator user A. 
         [0073]    The user B is located at an XDMC, and sends a request to the XDMS to request for forwarding a part of the document content of the user A to the directory of the user C in the XDMS, or request for forwarding the whole document content of the user A to the user C, provided that the user B has a right of forwarding the whole document content. 
         [0074]      202 : After receiving the request, the XDMS acquires the rights document of the user A, and judges whether the user B has the forwarding right and whether the user C has the right to the document content. If the user B has the forwarding right and the user C has the right to the document content, step  204  is performed; if the user B does not have the forwarding right or the user C does not have the right to the document content, step  203  is performed. 
         [0075]    After the XDMS receives the request, first, acquire an access rights document of the user A in the XDMS, and check whether the user B has the forwarding right in the access rights document; secondly, when the user B has the access right, acquire whether the user B can forward the document content to which the user B has the right to the user C, where a forwarding procedure is forwarding the content, which the user B can access, of the user A in the XDMS to a path of the user C in the XDMS, instead of forwarding to the XDM user C of the user C. 
         [0076]    Specifically, two storage and setting methods exist for storing and setting the forwarding right of the user B in the access rights document of the user A and whether the user B can forward to the user C. 
         [0077]    (1) When that the user B has the forwarding right is set in the rights document of the user A, the forwarding receiver to which the user B can forward is also set. If the forwarding receiver of the user B in the rights document of the user A does not include the user C, the XDMS performs step  203 ; if the forwarding receiver of the user B in the rights document of the user A includes the user C, the XDMS performs step  204 . 
         [0078]    When the forwarding receiver to which the user B can forward the document content is set, the forwarding times of the user B may also be set to limit the user B; and forwarding content of the user B may also be set, that is, the user B has the forwarding right to the document, but may have the forwarding right of only a part of the content of the document, so that the user B can forward only the part of the content to which the user B has the forwarding right; similarly, receiving content of the user C may also be set, where the receiving content may be the part of the document content to which the user B has the forwarding right and may also be the whole document content to which the user B has the forwarding right. 
         [0079]    The following six methods exist for setting the forwarding receiver in the access rights document: 
         [0080]    &lt;I&gt; Add a sub-element &lt;receipt&gt; under the forwarding operation &lt;allow-forwarding&gt; element in the action &lt;actions&gt; element to represent an allowed receiver of the forwarding. 
         [0081]    For example: &lt;document-rule path=“/group1”&gt; 
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                 &lt;is-member/&gt; 
               
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                 &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;allow-forwarding attribute=“true”&gt; 
               
               
                   
                  &lt;receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“sip:bob@example”/&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“sip:alice@example”/&gt; 
               
               
                   
                  &lt;/ identity&gt; 
               
             
          
           
               
                   
                  &lt;/receipt&gt; 
               
             
          
           
               
                   
                 &lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
               
                   
                   
               
             
          
         
       
     
         [0082]    &lt;II&gt; Add a sub-element &lt;non-receipt&gt; under the forwarding operation &lt;allow-forwarding&gt; element in the action &lt;actions&gt; element to represent a prohibited receiver. 
         [0083]    For example: &lt;document-rule path=“/group1”&gt; 
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
             
           
               
                   
                   
               
             
             
               
                   
                 &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                 &lt;is-member/&gt; 
               
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                 &lt;/paths&gt; 
               
             
          
           
               
                   
                 &lt;/cp:conditions&gt; 
               
               
                   
                 &lt;cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;allow-forwarding attribute=“true”&gt; 
               
               
                   
                  &lt;non-receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“sip:david@example”/&gt; 
               
               
                   
                  &lt;one uri=“sip:tom@example”/&gt; 
               
             
          
           
               
                   
                 &lt;/ identity&gt; 
               
             
          
           
               
                   
                  &lt;/non-receipt&gt; 
               
             
          
           
               
                   
                 &lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                 &lt;/cp:ruleset&gt; 
               
               
                 &lt;/document-rule&gt; 
               
               
                   
               
             
          
         
       
     
         [0084]    &lt;III&gt; Define the forwarding receiver and the forwarding sender under the condition &lt;conditions&gt; element, that is, under the &lt;conditions&gt; element, define two sub-elements &lt;sender&gt; and &lt;receipt&gt; to describe the forwarding sender and the forwarding receiver respectively. 
         [0085]    For example, 
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 &lt;document-rule path=“/group1”&gt; 
               
               
                   
                  &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                  &lt;sender&gt; 
               
               
                   
                 &lt;is-member/&gt; 
               
             
          
           
               
                   
                 &lt;/sender&gt; 
               
               
                   
                 &lt;receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“bob@example.com”/&gt; 
               
               
                   
                 &lt;one uri=“alice@example.com”/&gt; 
               
             
          
           
               
                   
                 &lt;/identity&gt; 
               
             
          
           
               
                   
                 &lt;/receipt&gt; 
               
             
          
           
               
                   
                  &lt;paths&gt; 
               
               
                   
                  &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                  &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
               
                   
                   
               
             
          
         
       
     
         [0086]    &lt;IV&gt; Define the prohibited receiver and an allowed sender under the condition &lt;conditions&gt; element, that is, under the &lt;conditions&gt; element, define two sub-elements &lt;sender&gt; and &lt;receipt&gt; to describe the allowed sender and the prohibited receiver. 
         [0087]    For example, 
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 &lt;document-rule path=“/group1”&gt; 
               
               
                   
                  &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                 &lt;sender&gt; 
               
             
          
           
               
                   
                   &lt;is-member/&gt; 
               
             
          
           
               
                   
                 &lt;/sender&gt; 
               
               
                   
                 &lt;non-receipt&gt; 
               
             
          
           
               
                   
                   &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“david@example.com”/&gt; 
               
               
                   
                 &lt;one uri=“tom@example.com”/&gt; 
               
             
          
           
               
                   
                   &lt;/identity&gt; 
               
             
          
           
               
                   
                 &lt;/non-receipt&gt; 
               
             
          
           
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                 &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
             
          
           
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
               
                   
                   
               
             
          
         
       
     
         [0088]    &lt;V&gt; Define the forwarding receiver and the forwarding sender under different &lt;conditions&gt; elements, and associate the forwarding sender with the forwarding receiver. That is, define &lt;sender&gt; under one &lt;conditions&gt;, and define &lt;receipt&gt; under another &lt;conditions&gt;. Two methods exist for associating the forwarding sender with the forwarding receiver: One method is performing the association by using an attribute value id of &lt;rule&gt;, and if id values are the same, it is proved that the forwarding sender and the forwarding receiver are under the same forwarding operation; the other method is associating the forwarding receiver when defining the forwarding sender under the &lt;conditions&gt; element. 
       Example 1 
       [0089]      
         [0000]    
       
         
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
           
               
                   
               
             
             
               
                 &lt;document-rule path=“/group1”&gt; 
               
             
          
           
               
                   
                 &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                  &lt;sender&gt; 
               
               
                   
                 &lt;is-member/&gt; 
               
             
          
           
               
                   
                 &lt;/sender&gt; 
               
             
          
           
               
                   
                  &lt;paths&gt; 
               
               
                   
                  &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                  &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
               
                   
                 &lt; receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“david@example.com”/&gt; 
               
               
                   
                 &lt;one uri=“tom@example.com”/&gt; 
               
             
          
           
               
                   
                 &lt;/identity&gt; 
               
             
          
           
               
                   
                 &lt;/receipt&gt; 
               
             
          
           
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                 &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                  &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
             
          
           
               
                   
                 Example 2: 
               
               
                   
                 &lt;document-rule path=“/group1”&gt; 
               
             
          
           
               
                   
                  &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                  &lt;sender&gt; 
               
               
                   
                 &lt;is-member/&gt; 
               
             
          
           
               
                   
                 &lt;/sender&gt; 
               
               
                   
                 &lt;external=“/rule@id=a2”/&gt; 
               
             
          
           
               
                   
                  &lt;paths&gt; 
               
               
                   
                  &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                  &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;/cp:rule&gt; 
               
               
                   
                  &lt;cp:rule cp:id=“a2”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
               
                   
                 &lt;receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“bob@example.com”/&gt; 
               
               
                   
                 &lt;one uri=“alice@example.com”/&gt; 
               
             
          
           
               
                   
                 &lt;/identity&gt; 
               
             
          
           
               
                   
                 &lt;/receipt&gt; 
               
             
          
           
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                  &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
               
                   
                   
               
             
          
         
       
     
         [0090]    &lt;VI&gt; Define the forwarding receiver and the forwarding sender under different &lt;conditions&gt; elements, and associate the forwarding sender with the forwarding receiver. That is, define the &lt;sender&gt; under one &lt;conditions&gt;, and define the &lt;non-receipt&gt; (this element is used to represent a principal of prohibited receiving) under another &lt;conditions&gt;. Two methods exist for associating the forwarding sender with the forwarding receiver: One method is performing the association by using an attribute value id of &lt;rule&gt;, and if id values are the same, it is proved that the forwarding sender and the forwarding receiver are under the same forwarding operation; the other method is associating the forwarding receiver when defining the forwarding sender under the &lt;conditions&gt; element. 
       Example 1 
       [0091]      
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 &lt;document-rule path=“/group1”&gt; 
               
               
                   
                  &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                 &lt;sender&gt; 
               
             
          
           
               
                   
                   &lt;is-member/&gt; 
               
               
                   
                 &lt;/sender&gt; 
               
             
          
           
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                 &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
             
          
           
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                  &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                   &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
               
                   
                 &lt;non-receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“david@example.com”/&gt; 
               
               
                   
                 &lt;one uri=“tom@example.com”/&gt; 
               
             
          
           
               
                   
                 &lt;/identity&gt; 
               
             
          
           
               
                   
                 &lt;/non-receipt&gt; 
               
             
          
           
               
                   
                  &lt;paths&gt; 
               
               
                   
                  &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                  &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
             
          
           
               
                   
                 Example 2: 
               
               
                   
                 &lt;document-rule path=“/group1”&gt; 
               
             
          
           
               
                   
                  &lt; cp:ruleset&gt; 
               
             
          
           
               
                   
                 &lt;cp:rule cp:id=“a1”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
             
          
           
               
                   
                 &lt;sender&gt; 
               
             
          
           
               
                   
                   &lt;is-member/&gt; 
               
               
                   
                 &lt;/sender&gt; 
               
               
                   
                 &lt;non-receipt external=“/rule@id=a2”/&gt; 
               
             
          
           
               
                   
                 &lt;paths&gt; 
               
               
                   
                  &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                  &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                  &lt;/paths&gt; 
               
             
          
           
               
                   
                   &lt;/cp:conditions&gt; 
               
               
                   
                   &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                  &lt;cp:rule cp:id=“a2”&gt; 
               
             
          
           
               
                   
                 &lt;cp:conditions&gt; 
               
               
                   
                 &lt;non-receipt&gt; 
               
             
          
           
               
                   
                 &lt;identity&gt; 
               
             
          
           
               
                   
                 &lt;one uri=“david@example.com”/&gt; 
               
               
                   
                 &lt;one uri=“tom@example.com”/&gt; 
               
             
          
           
               
                   
                 &lt;/identity&gt; 
               
             
          
           
               
                   
                 &lt;/non-receipt&gt; 
               
             
          
           
               
                   
                 &lt;paths&gt; 
               
               
                   
                 &lt;path id=“group/listservice/list”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/subject”/&gt; 
               
               
                   
                 &lt;path id=“group/listservice/schedule”/&gt; 
               
               
                   
                 &lt;/paths&gt; 
               
             
          
           
               
                   
                  &lt;/cp:conditions&gt; 
               
               
                   
                  &lt;cp:actions&gt; 
               
             
          
           
               
                   
                   &lt;allow-forwarding&gt;true&lt;/allow-forwarding&gt; 
               
               
                   
                 &lt;/cp:actions&gt; 
               
             
          
           
               
                   
                 &lt;/cp:rule&gt; 
               
             
          
           
               
                   
                 &lt;/cp:ruleset&gt; 
               
               
                   
                 &lt;/document-rule&gt; 
               
               
                   
                   
               
             
          
         
       
     
         [0092]    (2) The forwarding right for the user B is set in the rights document of the user A, but the forwarding receiver is not individually set for the user B; however, as the document content in the XDM is forwarded in the XDMS, when the user B sends a forwarding request, the XDMS may acquire, in the rights document, whether the user C has a right to access the document content, that is, the forwarding receiver is considered as an acquiring party of the document; if the user C has the right to access the document content, the document content is forwarded to the user C; if the user C does not have the right to access the document content, the XDMS returns a 409 error response to the user B; if the forwarding sender list in the rights document of the user A does not include the user C, the XDMS performs step  203 ; if the forwarding sender list in the rights document of the user A includes the user C, the XDMS performs step  204 . 
         [0093]      203 : The XDMS returns a 409 user Conflict error response to the user B. 
         [0094]      204 : The XDMS returns a 200 OK response to the user B and allows the user B to forward a part of the document content of the user A to the user C, and performs step  205 . 
         [0095]      205 : The XDMS forwards the content, to which the user B has the right to forward to the user C, in the document of the user A to the path of the user C in the XDMS. 
         [0096]    In the foregoing processing procedure, the access right content of the user B may also be set to include the forwarding content and the access right content of the user C, that is, the user B has the forwarding right to the document, but may have the forwarding right of only a part of the content of the document, so that the user B can forward only the part of the content to which the user B has the forwarding right. If the document content to which the user B has the forwarding right in the rights document of the user A is different from the document content to which the user C has the access right in the rights document of the user A, the XDMS sends the document content to which the user B has the forwarding right and the user C has the access right in the rights document of the user A to the user C. 
         [0097]    In the method according to this embodiment of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time sets the forwarding receiver to which the forwarding sender can forward the document content, or the XDMS first acquires, in the rights document, whether the forwarding receiver has the right to access the document content when receiving the forwarding request sent by the forwarding sender, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to the rights setting in the access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring the confidentiality of the document for the document creator. 
       Embodiment 3 
       [0098]    In order to enable a forwarding sender to selectively forward document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has a forwarding right, and ensure confidentiality of the document for a document creator, this embodiment of the present invention provides a method for forwarding document content in XDM. The specific content is as follows: 
         [0099]    In this embodiment of the present invention, that a user A is a document management user, a user B is the forwarding sender, and a user C is the forwarding receiver is taken as an example. The user B forwards document content to which the user B has the forwarding right in a rights document of the user A (where the document content is stored in the XDMS) to the user C (where forwarding content is stored in the XDMS), so the user B located at an XDMC sends a request to the XDMS, and judges whether the user C is allowed to access the document according to the forwarding receiver set in a rights document of the user A, and if the user C has the right, the XDMS forwards the content to the user C. Referring to  FIG. 3 , the specific procedure is as follows: 
         [0100]      301 : The user B located at the XDMC sends a GET request to the XDMS to request for forwarding the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0101]    The user B sends the GET request to the XDMS, and the GET request herein merely represents an action of acquiring, which is a parallel operation of modification, deletion, and creation, but not includes a procedure of processing the content. 
         [0102]    The user B is located at the XDMC, and the document content of the user A is stored in the XDMS; as the document management user, the user A may be the creator of an XML document, and may also be a special user that is authorized and can modify an access right to the document, so that another user may access the whole document or a part of the content of the document in the XDMS according to the access right set by the user A. 
         [0103]    In the request sent by the user B to the XDMS, it is requested to forward the document content to which the user B has the forwarding right in the document of the user A to a directory of the user C in the XDMS, and when the user B has a right of forwarding the whole document content, it may be requested to the user A to forward the whole document content to the user C; additionally, the user B may also forward a part of the content in the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0104]      302 : After receiving the request sent by the user B, the XDMS acquires the access right of the user B in the rights document of the user A, and judges whether the user B has the forwarding right. If the user B has the forwarding right, step  303  is performed; if the user B does not have the forwarding right, step  306  is performed. 
         [0105]      303 : The XDMS judges, in the rights document of the user A, whether the user C is in a forwarding receiver list of the user B. If the user C is in the forwarding receiver list of the user B, step  304  is performed; if the user C is not in the forwarding receiver list of the user B, step  306  is performed. 
         [0106]    In this embodiment of the present invention, in the rights document of the user A, if a user is allowed to has the forwarding right to forward the document content, a corresponding forwarding receiver needs to be set, a forwarding receiver list is established, and all users to which the document content can be forwarded are listed in the list. 
         [0107]      304 : The XDMS returns a 200 OK response to the user B to notify that the user A allows the user B to forward the document content to which the user B has the right in the document of the user A to the user C, and then performs step  305 . 
         [0108]      305 : The XDMS forwards the document content to which the user B has the forwarding right in the rights document of the user A to the user C. 
         [0109]      306 : The XDMS returns a 409 user Conflict response to the user B to notify that the user A does not allow forwarding the document content to the user C. 
         [0110]    Additionally, when the forwarding receiver to which the user B can forward the document content is set, forwarding times of the user B may also be set to limit the user B; in the foregoing processing procedure, the access right content of the user B may also be set to include the forwarding content and the access right content of the user C, that is, the user B has the forwarding right to the document, but may have the forwarding right of only a part of the content of the document, so that the user B can forward only the part of the content to which the user B has the forwarding right. If the document content to which the user B has the forwarding right in the rights document of the user A is different from the document content to which the user C has the access right in the forwarding receiver list of the user B, the XDMS sends the document content to which the user B has the forwarding right and the user C has the access right in the rights document of the user A to the user C. 
         [0111]    In the method according to this embodiment of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time sets the access right of the forwarding receiver to which the forwarding sender can forward the document content so that the forwarding sender can selectively forward the document content to the forwarding receiver according to the rights setting in the access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring the confidentiality of the document for the document creator. 
       Embodiment 4 
       [0112]    In order to enable a forwarding sender to selectively forward document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has a forwarding right, and ensure confidentiality of the document for a document creator, this embodiment of the present invention provides a method for forwarding document content in XDM. The specific content is as follows: 
         [0113]    In this embodiment of the present invention, that a user A is a document management user, a user B is the forwarding sender, and a user C is the forwarding receiver is taken as an example. The user B forwards document content to which the user B has the forwarding right in a rights document of the user A (where the document content is stored in the XDMS) to the user C (where the forwarding content is stored in the XDMS), so the user B located at an XDMC sends a request to the XDMS. In this embodiment of the present invention, a right of the forwarding receiver is not set in the rights document of the user A, but an original forwarding sender list in the rights document is used to judge whether the user C has a right to access the document, so as to judge whether the user B can forward the document to the user C. Referring to  FIG. 4 , the specific procedure is as follows: 
         [0114]      401 : The user B located at the XDMC sends a GET request to the XDMS to request the user A about whether the user B has the forwarding right and whether the user C has the right to access the document content. 
         [0115]    The user B located at the XDMC sends the GET request to the XDMS, and the GET request herein merely represents an action of acquiring, which is a parallel operation of modification, deletion, and creation, but not includes a procedure of processing the content. 
         [0116]    The document content of the user A is stored in the XDMS; as the document management user, the user A may be the creator of an XML document, and may also be a special user that is authorized and can modify an access right to the document, so that another user may access the whole document or a part of the content of the document in the XDMS according to the access right set by the user A. 
         [0117]    In the request sent by the user B to the XDMS, it is requested to forward the document content to which the user B has the forwarding right in the document of the user A to a directory of the user C in the XDMS, and when the user B has a right of forwarding the whole document content, it may be requested to the user A to forward the whole document content to the user C; additionally, the user B may also forward a part of the content in the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0118]      402 : After receiving the GET request of the user B, the XDMS acquires the forwarding right of the user B and the access right of the user C in the rights document of the user A. 
         [0119]    After receiving the request sent by the user B, the XDMS acquires the rights document of the user A, and judges, according to the rights document of the user A, whether the user B has the forwarding right. When the user B has the forwarding right, as the right of the forwarding receiver of a user having the forwarding right is not set in the rights document, as for the right of the forwarding receiver, the right of the forwarding sender is referenced to judge whether the document content can be forwarded to the forwarding receiver. That is, if an authorized forwarding sender includes a URI of the forwarding receiver C, the forwarding can be performed; however, if the authorized forwarding sender does not include the URI of the forwarding receiver C, the forwarding cannot be performed. 
         [0120]    The XDMS acquires the rights document of the user A, and determines, in the rights document, that the user B does not have the forwarding right or the authorized forwarding sender does not include the URI of the forwarding receiver C, returns a 409 user conflict response to the user B to notify that the user A does not allow forwarding the document content to the user C. 
         [0121]      403 : When determining that the user B has the forwarding right and the user C has the right to access the document, the XDMS returns a 200 OK response to the XDMC. 
         [0122]    The user C has the right to access the document, that is, has a right of being forwarded to, and the XDMS returns a 200 OK response to the XDMC, where the response may include the document content forwarded. 
         [0123]      404 : The user B sends a GET request to the XDMS to request for forwarding a part of the document content to the user C. 
         [0124]      405 : After receiving the request, the XDMS continuously judges, according to the rights document of the user A, whether the document content can be forwarded to the user C, and a judgment result is that the document can be forwarded. 
         [0125]    After receiving the request, the XDMS continuously judges, according to the rights document of the user A, whether the user C has the access right in the rights document of the user A, that is, whether the authorized forwarding sender includes the URI of the forwarding receiver C, and the judgment result is that the forwarding can be performed. 
         [0126]      406 : The XDMS forwards the document content to which the user B has the forwarding right in the rights document of the user A to the user C. 
         [0127]    Additionally, when the forwarding right of the user B is set, forwarding times of the user B may also be set to limit the user B. 
         [0128]    In the foregoing processing procedure, the access right content of the user B may also be set to include the forwarding content and the access right content of the user C, that is, the user B has the forwarding right to the document, but may have the forwarding right of only a part of the content of the document, so that the user B can forward only the part of the content to which the user B has the forwarding right. If the document content to which the user B has the forwarding right in the rights document of the user A is different from the document content to which the user C has the access right in the rights document of the user A located at the XDMS, the XDMS sends the document content to which the user B has the forwarding right and the user C has the access right in the rights document of the user A to the user C. 
         [0129]    For example, the document content includes three parts, namely, document content  1 , document content  2  and document content  3 . The document content to which the user B has the forwarding right in the rights document of the user A is the document content  1  and the document content  2 , and the document content to which the user C has the access right in the rights document of the user A is the document content  1 . After determining, according to the rights document of the user A, that the user B has the forwarding right and the user C has the access right, the XDMS forwards the document content  1  to the user C; although the document content to which the user B has the forwarding right is the document content  1  and the document content  2 , as the document content to which the user C has the access right in the rights document of the user A is only the document content  1 , the XDMS can forward only the document content  1  to the user C. 
         [0130]    Further, for example, the document content includes three parts, namely, document content  1 , document content  2  and document content  3 . The document content to which the user B has the forwarding right in the rights document of the user A is the document content  2 , and the document content to which the user C has the access right in the rights document of the user A is the document content  2  and the document content  3 . After determining, according to the rights document of the user A, that the user B has the forwarding right and the user C has the access right, the XDMS forwards the document content  2  to the user C; although the document content to which the user C has the access right is the document content  2  and the document content  3 , as the document content to which the user B has the forwarding right is only the document content  2 , the XDMS can forward only the document content  2  to the user C. 
         [0131]    Further, for example, the document content includes three parts, namely, document content  1 , document content  2  and document content  3 . The document content to which the user B has the forwarding right in the rights document of the user A is the document content  1 , the document content  2  and the document content  3 , and the document content to which the user C has the access right in the rights document of the user A is the document content  3 . After determining, according to the rights document of the user A, that the user B has the forwarding right and the user C has the access right, the XDMS forwards the document content  3  to the user C; although the document content to which the user B has the forwarding right is the document content  1 , the document content  2  and the document content  3 , as the document content to which the user C has the access right in the rights document of the user A is only the document content  3 , the XDMS can forward only the document content  3  to the user C. 
         [0132]    In the method according to this embodiment of the present invention, the XDMS acquires whether the forwarding sender has the forwarding right in the rights document and acquires whether the forwarding receiver has the right to access the document content when receiving a forwarding request sent by the forwarding sender, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to the rights setting in the access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring the confidentiality of the document for the document creator. 
       Embodiment 5 
       [0133]    In order to enable a forwarding sender to selectively forward the document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has the forwarding right, and ensure confidentiality of the document for a document creator, this embodiment of the present invention provides a method for forwarding document content in XDM. The specific content is as follows: 
         [0134]    In this embodiment of the present invention, that a user A is a document management user, a user B is the forwarding sender, and a user C is the forwarding receiver is taken as an example. The user B forwards document content to which the user B has the forwarding right in a rights document of the user A (where the document content is stored in the XDMS) to the user C (where the forwarding content is all or a part of the document content and is stored in the XDMS), so the user B located at an XDMC sends a request to the XDMS. In this embodiment of the present invention, a right of the forwarding receiver is not set in the rights document of the user A, but the XDMS requires that when intending to forward the document content, a user having the forwarding right needs to ask the document management user A whether the forwarding receiver has a right to receive the document content. If the forwarding receiver has the right, the document content is sent; if the forwarding receiver does not have the right, an error is returned to the forwarding sender B and it is not allowed to send the document content. Referring to  FIG. 5 , the specific procedure is as follows: 
         [0135]      501 : The user B located at the XDMC sends a GET request to the XDMS to ask the user A whether the user B can forward the document content to the user C. 
         [0136]    The user B located at the XDMC sends the GET request to the XDMS, and the GET request herein merely represents an action of acquiring, which is a parallel operation of modification, deletion, and creation, but not includes a procedure of processing the content. 
         [0137]    The document content of the user A is stored in the XDMS; as the document management user, the user A may be the creator of an XML document, and may also be a special user that is authorized and can modify an access right to the document, so that another user can access the whole document or a part of the content of the document in the XDMS according to the access right set by the user A. 
         [0138]    In the request by the user B sent to the XDMS, it is requested to forward the document content to which the user B has the forwarding right in the document of the user A to a directory of the user C in the XDMS, and when the user B has a right of forwarding the whole document content, it may be requested to the user A to forward the whole document content to the user C; additionally, the user B may also forward a part of the content in the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0139]      502 : After receiving the GET request of the user B, the XDMS acquires the forwarding right of the user B in the rights document of the user A. 
         [0140]    After receiving the request sent by the user B, the XDMS acquires the rights document of the user A, judges, according to the rights document of the user A, whether the user B has the forwarding right, and when the user B has the forwarding right, performs step  503 . 
         [0141]    The XDMS acquires the rights document of the user A, if it is determined that the user B does not have the forwarding right in the rights document, returns a 409 user conflict response to the user B to notify that the user A does not allow forwarding the document content to the user C. 
         [0142]      503 : When the user B has the forwarding right in the rights document of the user A, the XDMS asks the user A located at the XDMC whether the document content to which the user B has the forwarding right can be forwarded to the user C. 
         [0143]    The right of the forwarding receiver is not set in the rights document of the user A, but the XDMS requires that when intending to forward the document content, the user having the forwarding right needs to ask the document management user A whether the forwarding receiver C has the right to receive the document content. 
         [0144]      504 : The user A of the XDMC determines that the document can be forwarded, and returns the result to the XDMS. 
         [0145]    When receiving an asking request sent by the XDMC, the user A of the XDMC judges whether the document content to which the user B has the forwarding right in the rights document of the user A can be forwarded to the user C, and if the user C has the right to receive the document content, the document content can be forwarded; if the user C does not have the right to receive the document content, an error is returned to the forwarding sender B and it is not allowed to send the document content. 
         [0146]      505 : The XDMS returns a 200 OK to the user B to notify the user B that the document content to which the user B has the forwarding right can be forwarded to the user C. 
         [0147]      506 : The XDMS forwards the document content to which the user B has the forwarding right to the user C. 
         [0148]    Additionally, when the forwarding right of the user B is set, forwarding times of the user B may also be set to limit the user B. 
         [0149]    In the foregoing processing procedure, the access right content of the user B may also be set to include the forwarding content and the access right content of the user C in the rights document of the user A located at the XDMC, that is, the user B has the forwarding right to the document, but may have the forwarding right of only a part of the content of the document, so that the user B can forward only the part of the content to which the user B has the forwarding right. If the document content to which the user B has the forwarding right in the rights document of the user A is different from the document content to which the user C has the access right in the user A located at the XDMC, the XDMS sends the document content to which the user B has the forwarding right in the rights document of the user A located at the XDMS and the user C has the access right in the user A located at the XDMC to the user C. 
         [0150]    For example, the document content includes three parts, namely, document content  1 , document content  2  and document content  3 . The document content to which the user B has the forwarding right in the rights document of the user A is the document content  1  and the document content  2 , and the document content to which the user C has the access right in the user A located at the XDMC is the document content  1 . After determining, according to the rights document of the user A, that the user B has the forwarding right and the user C has the access right in the user A located at the XDMC, the XDMS forwards the document content  1  to the user C; although the document content to which the user B has the forwarding right is the document content  1  and the document content  2 , as the document content to which the user C has the access right in the user A located at the XDMC is only the document content  1 , the XDMS can forward only the document content  1  to the user C. 
         [0151]    Further, for example, the document content includes three parts, namely, document content  1 , document content  2  and document content  3 . The document content to which the user B has the forwarding right in the rights document of the user A is the document content  2 , and the document content to which the user C has the access right in the user A located at the XDMC is the document content  2  and the document content  3 . After determining, according to the rights document of the user A, that the user B has the forwarding right and the user C has the access right in the user A located at the XDMC, the XDMS forwards the document content  2  to the user C; although the document content to which the user C has the access right in the user A located at the XDMC is the document content  2  and the document content  3 , as the document content to which the user B has the forwarding right is only the document content  2 , the XDMS can forward only the document content  2  to the user C. 
         [0152]    Further, for example, the document content includes three parts, namely, document content  1 , document content  2  and document content  3 . The document content to which the user B has the forwarding right in the rights document of the user A is the document content  1 , the document content  2  and the document content  3 , and the document content to which the user C has the access right in the user A located at the XDMC is the document content  3 . After determining, according to the rights document of the user A, the user B has the forwarding right and the user C has the access right in the user A located at the XDMC, the XDMS forwards the document content  3  to the user C; although the document content to which the user B has the forwarding right is the document content  1 , the document content  2  and the document content  3 , as the document content to which the user C has the access right in the user A located at the XDMC is only the document content  3 , the XDMS can forward only the document content  3  to the user C. 
         [0153]    In the method according to this embodiment of the present invention, the XDMS acquires the forwarding right of the forwarding sender and asks the document administrator whether the forwarding receiver has the right to access the document content when receiving a forwarding request sent by the forwarding sender, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to the rights setting in the access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring the confidentiality of the document for the document creator. 
       Embodiment 6 
       [0154]    In order to enable a forwarding sender to selectively forward document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has a forwarding right, and ensure confidentiality of the document for a document creator, this embodiment of the present invention provides a method for forwarding document content in XDM. The specific content is as follows: 
         [0155]    In this embodiment of the present invention, that a user A is a document management user, a user B is the forwarding sender, and a user C is the forwarding receiver is taken as an example. The user B forwards document content to which the user B has the forwarding right in a rights document of the user A (where the document content is stored in the XDMS) to the user C (where the forwarding content is stored in the XDMS), so the user B located at an XDMC sends a request to the XDMS, and judges, according to a prohibited receiver that is set in the rights document of the user A, whether the user C is not allowed to access the document content. If the user C is not allowed to access the document content, the XDMS does not forward the document content to the user C, and returns an error response to the user B. In this embodiment, in the rights document of the user A, if a user is allowed to forward the document content, a prohibited forwarding receiver, forwarding times, and the forwarding content need to be set. Referring to  FIG. 6 , the specific procedure is as follows: 
         [0156]      601 : The user B located at the XDMC sends a GET request to the XDMS to request for forwarding the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0157]    The user B sends the GET request to the XDMS, and the GET request herein merely represents an action of acquiring, which is a parallel operation of modification, deletion, and creation, but not includes a procedure of processing the content. 
         [0158]    The user B is located at the XDMC, and the document content of the user A is stored in the XDMS; as the document management user, the user A may be the creator of an XML document, and may also be a special user that is authorized and can modify an access right to the document, so that another user may access the whole document or a part of the content of the document in the XDMS according to the access right set by the user A. 
         [0159]    In the request sent by the user B to the XDMS, it is requested to forward the document content to which the user B has the forwarding right in the document of the user A to a directory of the user C in the XDMS, and when the user B has a right of forwarding the whole document content, it may be requested to the user A to forward the whole document content to the user C; additionally, the user B may also forward a part of the content in the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0160]      602 : After receiving the request sent by the user B, the XDMS acquires the access right of the user B in the rights document of the user A, and judges whether the user B has the forwarding right. 
         [0161]    When the XDMS determines that the user B does not have the forwarding right in the rights document of the user A, the XDMS returns a 409 user conflict response to the user B to notify that the user A does not allow forwarding the document content to the user C. 
         [0162]      603 : When the user B has the forwarding right, the XDMS judges, in the rights document of the user A, whether the user C is in a prohibited forwarding receiver list of the user B. 
         [0163]    In this embodiment of the present invention, in the rights document of the user A, if a user is allowed to has the forwarding right to forward the document content, a corresponding prohibited forwarding receiver needs to be set, a prohibited forwarding receiver list is established, and all users to which it is not allowed to forward the document content are listed in the list. 
         [0164]    When the XDMS determines, in the rights document of the user A, that the user C is in the prohibited forwarding receiver list of the user B, the XDMS returns a 409 user conflict response to the user B to notify that the user A does not allow forwarding the document content to the user C. 
         [0165]      604 : When the XDMS determines, in the rights document of the user A, that the user C is not in the prohibited forwarding receiver list of the user B, the XDMS returns a 200 OK response to the user B to notify that the user A allow the user B to forward the document content to which the user B has the right in the document of the user A to the user C. 
         [0166]      605 : The XDMS forwards the document content to which the user B has the forwarding right in the rights document of the user A to the user C. 
         [0167]    When a forwarding receiver to which the user B is not allowed to forward the document content is set, forwarding times of the user B may also be set to limit the user B. In the foregoing processing procedure, the access right content of the user B may also be set to include the forwarding content, that is, that the user B has the forwarding right to the document. 
         [0168]    In the method according to this embodiment of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time sets the prohibited forwarding receiver to which the forwarding sender is not allowed to forward the document content, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to the rights setting in the access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring the confidentiality of the document for the document creator. 
       Embodiment 7 
       [0169]    In order to enable a forwarding sender to selectively forward document content to a forwarding receiver according to a rights setting in an access rights document stored in an XDMS, so as to avoid arbitrary forwarding of a document after the forwarding sender has a forwarding right, and ensure confidentiality of the document for a document creator, this embodiment of the present invention provides a method for forwarding document content in XDM. The specific content is as follows: 
         [0170]    In this embodiment of the present invention, that a user A is a document management user, a user B is the forwarding sender, and a user C is the forwarding receiver is taken as an example. The user B forwards document content to which the user B has the forwarding right in a rights document of the user A (where the document content is stored in the XDMS) to the user C (where the forwarding content is stored in the XDMS), so the user B located at an XDMC sends a request to the XDMS. In this embodiment, in the rights document of the user A, a right of the forwarding sender is not set, nor a right of the forwarding receiver. However, when a user sends a request to the XDMS to request for forwarding a part of the document content, the user needs to ask the document creator or the document administrator whether the forwarding sender can forward the part of the document content and whether the forwarding receiver has a right to receive the document content, and if the forwarding sender and the forwarding receiver both have the rights, the document content can be sent; if the forwarding sender or the forwarding receiver does not have the right, an error is returned to a document acquiring party and it is not allowed to send the document content. Referring to  FIG. 7 , the specific procedure is as follows: 
         [0171]      701 : The user B located at the XDMC sends a GET request to the XDMS to ask the user A whether the user B can forward the document content to the user C. 
         [0172]    The user B located at the XDMC sends the GET request to the XDMS, and the GET request herein merely represents an action of acquiring, which is a parallel operation of modification, deletion, and creation, but not includes a procedure of processing the content. 
         [0173]    The document content of the user A is stored in the XDMS; as the document management user, the user A may be the creator of an XML document, and may also be a special user that is authorized and can modify an access right to the document, so that another user may access the whole document or a part of the content of the document in the XDMS according to the access right set by the user A. 
         [0174]    In the request sent by the user B to the XDMS, it is requested to forward the document content to which the user B has the forwarding right in the document of the user A to a directory of the user C in the XDMS, and when the user B has a right of forwarding the whole document content, it may be requested to the user A to forward the whole document content to the user C; additionally, the user B may also forward a part of the content in the document content to which the user B has the forwarding right in the document of the user A to the user C. 
         [0175]      702 : After receiving the GET request of the user B, the XDMS acquires, in the rights document of the user A, the forwarding right of the user B and a receiving right of the user C. If neither the forwarding sending right nor the forwarding receiving right is set in the rights document, step  703  is performed. 
         [0176]    After receiving the request sent by the user B, the XDMS acquires the rights document of the user A, and judges whether the rights document of the user A has the forwarding right of the user B and the receiving right of the user C. If neither the forwarding sending right nor the forwarding receiving right is set in the rights document, step  703  is performed. 
         [0177]      703 : The XDMS asks the user A located at the XDMC whether the user B has the forwarding sending right and whether the user C has the forwarding receiving right. 
         [0178]    Neither the right of the forwarding sender nor the right of the forwarding receiver is set in the rights document of the user A; therefore, the XDMS needs to ask the document management user A whether the user B has the forwarding right and whether the forwarding receiver C has the right to receive the document content. 
         [0179]      704 : When the user A determines that the user B can forward the document content and the user C can receive the document content to which the user B has the forwarding right, a judgment result is returned to the XDMS. 
         [0180]    When the user A determines that the user B cannot forward the document content, or the user C cannot receive the document content to which the user B has the forwarding right, a determination result is also returned to the XDMS. After receiving the determination result, the XDMS returns a 409 user conflict response to the user B to notify that the user A does not allow forwarding the document content to the user C. 
         [0181]      705 : The XDMS returns a 200 OK to the user B, that is, indicates that the user B can forward the document content to which the user B has the forwarding right to the user C. 
         [0182]      706 : The XDMS forwards the document content to which the user B has the forwarding right to the user C. 
         [0183]    In the foregoing processing procedure, the access right content of the user B may also be set to include the forwarding content, that is, the user B has the forwarding right to the document, but may have the forwarding right of only a part of the content of the document, so that the user B can forward only the part of the content to which the user B has the forwarding right. 
         [0184]    In the method according to this embodiment of the present invention, after receiving a forwarding request of the forwarding sender, the XDMS sends an asking request to the document administrator to ask whether the forwarding sender has the forwarding right and whether the forwarding receiver has the access right, so that the forwarding sender can selectively forward the document content to the forwarding receiver, thereby avoiding arbitrary forwarding of the document after the forwarding sender has the forwarding right, and ensuring the confidentiality of the document for the document creator. 
       Embodiment 8 
       [0185]    This embodiment of the present invention provides an XDMS device. Referring to  FIG. 8 , the device includes: 
         [0186]    a receiving module  801 , configured to receive a forwarding request sent by a forwarding sender, where the forwarding request is used to forward the document content to a forwarding receiver; 
         [0187]    a judging module  802 , configured to judge, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content; and 
         [0188]    a forwarding module  803 , configured to forward the document content to the forwarding receiver when the forwarding sender has the forwarding right and the forwarding receiver has the access right. 
         [0189]    The device further includes at least any one of the following modules: 
         [0190]    a first setting module, configured to set, in the rights document, the forwarding right of the forwarding sender, and set a forwarding receiver list for the forwarding sender; 
         [0191]    a second setting module, configured to set, in the rights document, the forwarding right of the forwarding sender, and set, in the rights document, the access right of the forwarding receiver; 
         [0192]    a third setting module, configured to set, in the rights document, the forwarding right of the forwarding sender; and 
         [0193]    a fourth setting module, configured to set, in the rights document, the forwarding right of the forwarding sender, and set a prohibited forwarding receiver list of the forwarding sender. 
         [0194]    Furthermore, if the device includes the first setting module, the first setting module further includes: 
         [0195]    a first setting unit, configured to set the document content to which the forwarding sender has the forwarding right and set received document content of the forwarding receiver, where the received document content is a part of the document content or the whole document content to which the forwarding sender has the forwarding right, and the forwarding module  803  forwards the received document content to the forwarding receiver. 
         [0196]    Accordingly, the judging module  802  specifically includes: 
         [0197]    a first judging forwarding unit, configured to acquire, from the rights document, the access right of the forwarding sender to the document content, and judge whether the forwarding sender has the forwarding right to the document content; 
         [0198]    a first judging access unit, configured to judge whether the forwarding receiver is in the forwarding receiver list of the forwarding sender when the forwarding sender has the forwarding right, and if the forwarding receiver is in the forwarding receiver list, forward the access right of the forwarding receiver to the document content. 
         [0199]    If the device includes the second setting module, the second setting module further includes: 
         [0200]    a second setting unit, configured to set the document content to which the forwarding sender has the forwarding right and set the document content to which the forwarding receiver has the access right, so that the forwarding module  803  forwards the document content to which the forwarding sender has the forwarding right and the forwarding receiver has the access right to the forwarding receiver. 
         [0201]    Accordingly, the judging module  802  specifically includes: 
         [0202]    a second judging forwarding unit, configured to acquire, from the rights document, the access right of the forwarding sender to the document content, and judge whether the forwarding sender has the forwarding right to the document content; and 
         [0203]    a second judging access unit, configured to judge, when the forwarding sender has the forwarding right, whether the access right of the forwarding receiver is set in the rights document, and if the access right of the forwarding receiver is set in the rights document, forward the access right of the forwarding receiver to the document content. 
         [0204]    If the device includes the third setting module, the third setting module further includes: 
         [0205]    a third setting unit, configured to set the document content to which the forwarding sender has the forwarding right, so that the forwarding module  803  forwards the document content to which the forwarding sender has the forwarding right to the forwarding receiver. 
         [0206]    Accordingly, the judging module  802  specifically includes: 
         [0207]    a third judging forwarding unit, configured to acquire, from the rights document, the access right of the forwarding sender to the document content, and judge whether the forwarding sender has the forwarding right to the document content; and 
         [0208]    a third judging access unit, configured to send, when the forwarding sender has the forwarding right, an asking request to an XDMC of a document management user to ask whether the forwarding receiver has the access right to the document content; receive an asking result returned by the XDMC of the document management user, where when the asking result is yes, the forwarding receiver has the access right to the document content. 
         [0209]    If the device includes the fourth setting module, the fourth setting module further includes: 
         [0210]    a fourth setting unit, configured to set the document content to which the forwarding sender has the forwarding right, so that the forwarding module  803  forwards the document content to which the forwarding sender has the forwarding right to the forwarding receiver. 
         [0211]    The judging module  802  further includes: 
         [0212]    a judging unit, configured to acquire, in the rights document, the forwarding right of the forwarding sender after receiving the forwarding request sent by the receiving module  801 , if the forwarding right of the forwarding sender does not exit in the rights document, send an asking request to the XDMC of the document management user to ask whether the forwarding sender has the forwarding right to the document content and whether the forwarding receiver has the access right to the document content; and receive an asking result returned by the XDMC of the document management user. 
         [0213]    Accordingly, the forwarding module  803  further includes: 
         [0214]    a forwarding unit, configured to forward the document content to which the forwarding sender has the forwarding right to the forwarding receiver when the asking result returned by the judging unit is that the forwarding sender has the forwarding right to the document content and the forwarding receiver has the access right to the document content. 
         [0215]    In the device according to this embodiment of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time sets the access right of the forwarding receiver, or the XDMS asks the document management user the forwarding right of the forwarding sender and the access right of the forwarding receiver after receiving the forwarding request sent by the forwarding sender, so that the forwarding sender can selectively forward the document content to the forwarding receiver, thereby avoiding arbitrary forwarding of a document after the forwarding sender has the forwarding right, and ensuring confidentiality of the document for a document creator. 
       Embodiment 9 
       [0216]    This embodiment of the present invention provides a system for forwarding document content in XDM. Referring to  FIG. 7 , the system includes an XDMS  901  and an XDMC  902 . 
         [0217]    The XDMS  901  is configured to receive a forwarding request sent by a forwarding sender, where the forwarding request is used to forward the document content to a forwarding receiver; judge, according to a rights document, whether the forwarding sender has a forwarding right to the document content and whether the forwarding receiver has an access right to the document content; and when the forwarding sender has the forwarding right and the forwarding receiver has the access right, forward the document content to the forwarding receiver. 
         [0218]    The XDMC  902  is configured to send the forwarding request to the XDMS  901 , where the forwarding request is used to forward the document content to the forwarding receiver. 
         [0219]    The XDMS  901  is further configured to set the forwarding right for the forwarding sender in the rights document, and set a forwarding receiver list for the forwarding sender, where the forwarding receiver list includes all users that can receive the document content forwarded by the forwarding sender. 
         [0220]    Furthermore, the XDMS  901  is specifically configured to: 
         [0221]    Acquire, from the rights document, the access right of the forwarding sender to the document content, and judge whether the forwarding sender has the forwarding right to the document content; and 
         [0222]    judge whether the forwarding receiver is in the forwarding receiver list of the forwarding sender when the forwarding sender has the forwarding right, and if the forwarding receiver is in the forwarding receiver list, forward the access right of the forwarding receiver to the document content. 
         [0223]    Furthermore, the XDMS  901  is further configured to set the document content to which the forwarding sender has the forwarding right and the received document content of the forwarding receiver, where the received document content is a part of the document content or the whole document content to which the forwarding sender has the forwarding right. 
         [0224]    Furthermore, the XDMS  901  is configured to forward the received document content to the forwarding receiver. 
         [0225]    The XDMS  901  is further configured to set, in the rights document, the forwarding right for the forwarding sender, and set, in the rights document, the access right for the forwarding receiver. 
         [0226]    Furthermore, the XDMS  901  is specifically configured to: 
         [0227]    acquire, from the rights document, the access right of the forwarding sender to the document content, and judge whether the forwarding sender has the forwarding right to the document content; and 
         [0228]    judge whether the access right of the forwarding receiver is set in the rights document when the forwarding sender has the forwarding right, and if the access right of the forwarding receiver is set in the rights document, forward the access right of the forwarding receiver to the document content. 
         [0229]    Furthermore, the XDMS  901  is further configured to set the document content to which the forwarding sender has the forwarding right and the document content to which the forwarding receiver has the access right. 
         [0230]    Furthermore, the XDMS  901  is configured to forward the document content to which the forwarding sender has the forwarding right and the forwarding receiver has the access right to the forwarding receiver. 
         [0231]    The XDMS  901  is further configured to set, in the rights document, the forwarding right for the forwarding sender. 
         [0232]    Furthermore, the XDMS  901  is specifically configured to: 
         [0233]    acquire, in the rights document, the access right of the forwarding sender to the document content, and judge whether the forwarding sender has the forwarding right to the document content; 
         [0234]    when the forwarding sender has the forwarding right, send an asking request to the XDMC  902  of a document management user to ask whether the forwarding receiver has the access right to the document content; and 
         [0235]    receive an asking result returned by the XDMC  902  of the document management user, where when the asking result is yes, the forwarding receiver has the access right to the document content. 
         [0236]    Furthermore, the XDMS  901  is further configured to set the document content to which the forwarding sender has the forwarding right. 
         [0237]    Furthermore, the XDMS  901  is configured to forward the document content to which the forwarding sender has the forwarding right to the forwarding receiver. 
         [0238]    The XDMS  901  is further configured to set, in the rights document, the forwarding right of the forwarding sender, and set a prohibited forwarding receiver list of the forwarding sender. 
         [0239]    Furthermore, the XDMS  901  is further configured to set the document content to which the forwarding sender has the forwarding right, and forward the document content to which the forwarding sender has the forwarding right to the forwarding receiver. 
         [0240]    The XDMS  901  is further configured to send, after receiving the forwarding request sent by a receiving module, an asking request to the XDMC of the document management user to ask whether the forwarding sender has the forwarding right to the document content and whether the forwarding receiver has the access right to the document content; receive an asking result returned by the XDMC of the document management user; and when the asking result returned by a judging unit is that the forwarding sender has the forwarding right to the document content and the forwarding receiver has the access right to the document content, the forwarding sender forwards the document content to which the forwarding sender has the forwarding right to the forwarding receiver. 
         [0241]    In the system according to this embodiment of the present invention, the XDMS sets the forwarding right of the forwarding sender and at the same time sets the access right of the forwarding receiver, or the XDMS acquires whether the forwarding receiver has the right to access the document content when receiving the forwarding request sent by the forwarding sender, so that the forwarding sender can selectively forward the document content to the forwarding receiver according to a rights setting in an access rights document stored in the XDMS, thereby avoiding arbitrary forwarding of a document after the forwarding sender has the forwarding right, and ensuring confidentiality of the document for a document creator. 
         [0242]    Persons of ordinary skill in the art should understand that all or a part of the steps of the methods according to the embodiments of the present invention may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program is run, the steps of the methods according to the embodiments of the present invention are performed. The storage medium includes any medium that is capable of storing a program code, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and a Compact Disk-Read Only Memory (CD-ROM). 
         [0243]    The preceding descriptions are merely embodiments of the present invention, but not intended to limit the present invention. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the present invention should fall within the protection scope of the present invention.