WO2012083735A1 - 一种文档模板管理方法和系统 - Google Patents

一种文档模板管理方法和系统 Download PDF

Info

Publication number
WO2012083735A1
WO2012083735A1 PCT/CN2011/079670 CN2011079670W WO2012083735A1 WO 2012083735 A1 WO2012083735 A1 WO 2012083735A1 CN 2011079670 W CN2011079670 W CN 2011079670W WO 2012083735 A1 WO2012083735 A1 WO 2012083735A1
Authority
WO
WIPO (PCT)
Prior art keywords
document template
document
navigation
template
tree
Prior art date
Application number
PCT/CN2011/079670
Other languages
English (en)
French (fr)
Inventor
程海涛
梁秋霞
邹建青
赵黎阳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN2011800022448A priority Critical patent/CN102439598A/zh
Priority to PCT/CN2011/079670 priority patent/WO2012083735A1/zh
Publication of WO2012083735A1 publication Critical patent/WO2012083735A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • G06F16/322Trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems

Definitions

  • the present invention relates to the field of information design, and in particular, to a document template management method and system. Background technique
  • the aforementioned document template is usually managed in the form of a folder, that is, the aforementioned document template is archived in the form of a folder on the local or server.
  • an embodiment of the present invention provides a document template management method, where the method includes:
  • an embodiment of the present invention provides a document template management system, where the system includes:
  • a navigation tree construction module configured to construct a navigation structure tree, the navigation structure tree includes a plurality of nodes; and a management module, configured to establish a correspondence between a node of the navigation structure tree and the document template constructed by the navigation structure tree building module And managing the document template according to the correspondence relationship.
  • the beneficial effects brought by the technical solutions provided by the embodiments of the present invention are:
  • the embodiment of the present invention constructs a navigation tree, establishes a correspondence between a node of the navigation tree and a document template, and classifies and manages the document template according to the correspondence relationship, because the structure of the navigation tree is unified for different projects and different fields. Therefore, the staff does not need to adapt to the document template management structure in various fields, and can perform unified document template classification management, which effectively reduces the workload of the staff, reduces the management and design costs, and avoids the staff due to the large workload. An error occurred.
  • the navigation tree is used to classify and manage the document template, the visual operation can be performed when searching and referring to the document template, which is convenient and quick, thereby significantly improving work efficiency.
  • FIG. 1 is a flowchart of a document template management method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a document template management method according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a rights verification process according to Embodiment 2 of the present invention.
  • FIG. 4 is a flow chart showing a copy verification process of Embodiment 2 of the present invention.
  • FIG. 5 is a structural block diagram of a document template management system according to Embodiment 3 of the present invention.
  • FIG. 6 is a structural block diagram of a document template management system according to Embodiment 4 of the present invention. detailed description
  • this embodiment provides a document template management method, which includes the following steps:
  • each node may correspond to multiple types of document templates, or may only correspond to one type of document template, and each type of document template may have multiple, that is, one node may correspond to multiple document templates. .
  • the document template may be divided according to a predetermined condition according to actual needs, and the predetermined condition may be a product. Line, area, etc.
  • the document templates corresponding to the same node meet the same predetermined condition, so that the classification management of the document template can be realized.
  • the document template can be found according to the foregoing predetermined conditions.
  • the foregoing node may be a primary node or a descendant node, and if not distinguished below, it is the same as here.
  • the document template may be a template in a DITA (Darwin Information Typing Architecture) architecture, that is, a Topic template and a Map for describing a logical level and a sequence relationship between multiple Topic templates.
  • (Outline) Template can also be a normal Word template.
  • This embodiment does not limit the document templates, and specific functions can be implemented by setting custom attributes for these document templates.
  • the navigation tree is constructed, the correspondence between the node of the navigation tree and the document template is established, and the document template is classified and managed according to the correspondence relationship, because the structure of the navigation tree is different for different projects and different fields. They are all unified, so that the staff does not need to adapt to the document template management structure in various fields, and can perform unified document template classification management, which effectively reduces the workload of the staff, reduces the management and design costs, and avoids the work of the staff. A large amount of errors.
  • the navigation tree is used to classify and manage the document template, the visual operation can be performed when searching and referring to the document template, which is convenient and quick, thereby significantly improving work efficiency.
  • This embodiment provides a document template management method, which uses the document template in the DITA shown in FIG. 2 as an example to describe a document template management method provided by an embodiment of the present invention. That is to say, in this embodiment, the document template includes a Topic template and a Map template for describing a logical hierarchy and an order relationship between the plurality of Topic templates.
  • the document template management method provided in this embodiment includes:
  • the step can be divided into the following two steps:
  • Step 1 Build the basic navigation tree.
  • the basic navigation tree can include only the first-level node.
  • Step 2 Operate the basic navigation tree according to user requirements.
  • Operations on the underlying navigation tree include: adding nodes, editing nodes, deleting nodes, and adjusting tree structures. This step can be done according to the settings of different administrators.
  • the administrator's settings are implemented on the basis of the operation rights, and the administrator operation rights are preset. In general, you can set the system administrator to have all the operation rights, and complete the basic navigation tree when the system is initialized.
  • the creation for example, only builds to the first-level node, and then assigns the operation rights of other nodes to different administrators, which are maintained by different administrators. That is to say, the method in this embodiment further includes: setting an operation authority, which is usually performed after the establishment of the basic navigation structure tree, and may be performed throughout the entire document template management process.
  • operation rights include but are not limited to the following types:
  • Adding a node, editing a node, deleting a node, and adjusting a tree structure belong to an operation of a navigation tree; adding a document template, editing a document template (including modifying a document template's attributes, structure, etc.), deleting a document template, viewing a document template, and importing Document templates are operations on document templates.
  • the foregoing operation obviously involves the operation of the correspondence between the node of the navigation structure tree and the document template.
  • each node may correspond to multiple types of document templates, for example, one node may correspond to a Topic template and a Map template at the same time; or may only correspond to one type of document template, for example, only a Topic template, or only a Map template. There can be more than one type of document template for each type, that is, one node can correspond to multiple document templates.
  • the document template may be divided according to a predetermined condition according to actual needs, and the predetermined condition may be a product line, a region, or the like, and the document template corresponding to the same node meets the same predetermined condition, thereby realizing classification management of the document template.
  • the document template can be found according to the foregoing predetermined conditions.
  • This step and the operation of the infrastructure tree in step 201 can be performed simultaneously.
  • control of the user's operation authority can follow the model of "user-role-permission", that is, one user can hold multiple roles, and each role corresponds to a group of rights.
  • each node of the navigation tree corresponds to a list of operational permissions, and for each role there is a list of operational permissions for the nodes of all navigation trees.
  • the verification of the operation authority can be performed according to the flow shown in FIG. 3 to ensure that the operation is performed within the scope of the operation authority.
  • the operation 0P is performed for the navigation tree node N, and the rights allocation is based on the aforementioned "user-role-permission" model, the authorization verification process is as follows:
  • P. 1 Obtain the list of roles held by the user after logging in to the system. Roles ;
  • P. 2 Get the next role of Roles R: If there is a next role R, then go to P. 3; if you have traversed Roles, Then turn to P. 5;
  • P. 5 Failed verification, prompting no permission to perform the operation.
  • the operation authority can include two parts, namely the manually configured permissions and the permissions inherited from the ancestor nodes. For the combination of these two permissions, the principle of "different overlay, same coverage" is followed; The operation permission of the node may not inherit the privilege of the ancestor node, and only the manually configured privilege is used, which is not limited in this embodiment.
  • the navigation tree includes but is not limited to the following nodes: product l ine 1, product 1. 1, product 1. 2, product l ine 2, product 2. 1.
  • product l ine 1 is the ancestor node of product 1. 1, product 1. 2, product l ine 2 % product 2.
  • product 1. 1, product 1. 2 is the descendant node of product l ine 1
  • product 2. 1 is the descendant node of product l ine 2.
  • Product l ine 1 The configured permissions are to edit the node, adjust the tree structure, and add a document template.
  • the manually configured permissions are: Add node, adjust tree structure, add document template, edit document template, delete document template; inherit from ancestor node "product l ine 1 "
  • the permissions are: Edit node, adjust tree structure, add document template.
  • the operation rights of the node are: adding nodes, adjusting the tree structure, adding document templates, editing document templates, and deleting document templates.
  • References in this step include, but are not limited to, copying the contents of the document template, and copying the custom attributes of the document template (if the document template is set with custom attributes).
  • the method of the embodiment may further include: adding a custom attribute to the document template, where the custom attribute includes a template (source identifier) field, where the field is used to indicate whether a document is a copy generated after the document template is referenced (
  • the process of generating a copy is described in the following steps.
  • the template field functions as shown in Table 1.
  • the other documents refer to documents other than the source document template and copy, such as a new one created during the information design process. Empty files, etc., through the template field to see if a document is a copy generated after referencing a document template, can be added for various types of document templates.
  • the method in this embodiment may further include: adding a custom attribute to the document template, and the added custom attribute includes a lock_attribute field.
  • lock_structure structure lock
  • lock- attribute field indicates whether the attribute of the generated document template is referenced, whether the attribute of the generated copy is modifiable
  • lock-structure field indicates that the structured document template is referenced and generated accordingly Whether the structure of the copy can be modified, these two fields are only for structured templates.
  • the attribute lock field and the structure lock field are added to the Map template or its child nodes.
  • the lock- attribute field indicates whether the attribute of the corresponding generated copy can be modified after the Map template is referenced; and the lock_structure field indicates whether the structure of the corresponding copy generated after the Map template is referenced can be modified.
  • custom attributes are not limited to the foregoing fields, and different custom attributes may be designed for different templates to support special applications.
  • the steps to add a custom attribute are made after the document template is formed and can be used throughout the document template management process.
  • Topic template When the Topic template is referenced, a corresponding copy of the Topic template is generated, as described below, and its template word The segment points to the referenced Topic template being referenced.
  • the generated copy can be saved locally or elsewhere, so that when the application involving the copy is used, it is possible to flexibly determine the attributes of the source Topic template or copy, so that the staff can make secondary references.
  • Map template When a Map template is referenced, a corresponding copy is also generated.
  • the custom attributes in this step include a lock- attribute field and/or a lock-structure field.
  • the corresponding copy of the document template is verified according to the meaning of the value of the custom attribute of the document template (see Table 2).
  • the following uses the Map template as an example to describe the verification process in detail.
  • T the corresponding copy of the Map template or its child nodes.
  • step 201 can be interspersed in steps 202 and 203.
  • the foregoing sequence is merely for convenience of explanation and does not limit the order.
  • the navigation tree is constructed, the correspondence between the node of the navigation tree and the document template is established, and the document template is classified and managed according to the correspondence relationship, because the structure of the navigation tree is different for different projects and different fields. They are all unified, so that the staff does not need to adapt to the document template management structure in various fields, and can perform unified document template classification management, which effectively reduces the workload of the staff, reduces the management and design costs, and avoids the work of the staff. A large amount of errors.
  • the navigation tree is used to classify and manage the document template, the visual operation can be performed when searching and referring to the document template, which is convenient and quick, thereby significantly improving work efficiency.
  • the classification management of document templates is refined. Different staff can only operate within the scope of operation authority, which can effectively support the cross-team and cross-version information design process.
  • an embodiment of the present invention provides a document template management system, where the system includes:
  • a navigation tree building module 501 configured to construct a navigation structure tree
  • the management module 502 is configured to establish a correspondence between the node of the navigation tree constructed by the navigation tree construction module 501 and the document template, and classify the management document template according to the correspondence relationship.
  • the navigation tree is constructed, the correspondence between the node of the navigation tree and the document template is established, and the document template is classified and managed according to the correspondence relationship, because the structure of the navigation tree is different for Different fields are unified, so that the staff does not need to adapt to the document template management structure in various fields, and can perform unified document template classification management, which effectively reduces the workload of the staff, reduces the management and design costs, and avoids the staff. Wrong due to heavy workload.
  • the navigation tree is used to classify and manage the document template, the visual operation can be performed when searching and referring to the document template, which is convenient and quick, thereby significantly improving work efficiency.
  • an embodiment of the present invention provides a document template management system, where the system includes:
  • a navigation tree building module 601, configured to construct a navigation structure tree
  • the management module 602 is configured to establish a correspondence between the node of the navigation tree constructed by the navigation tree construction module 601 and the document template, and classify the management document template according to the correspondence relationship;
  • the rights management module 603 is configured to verify, according to the preset operation authority, the operation of the document module, the navigation tree, and the correspondence between the node of the navigation tree and the document template by the management module 602. .
  • the rights management module 603 can also be used to set operational rights.
  • system further includes a reference module 604, configured to reference the document template according to the correspondence between the node of the navigation tree established by the management module 602 and the document template.
  • the system further includes a copy generation module 605 for generating a copy corresponding to the document template referenced by the referenced module 604.
  • the system further includes a first attribute setting module 606, configured to add a custom attribute to the document template, where the custom attribute includes a source identifier field, where the source identifier field is used to indicate whether a document is generated after referring to the document template. A copy.
  • the system further includes a second attribute setting module 607, configured to add a custom attribute to the document template, the custom attribute including an attribute lock field and/or a structure lock field, the attribute lock The field indicates whether the attribute of the generated copy is revable after the structured document template is referenced; the structure lock field indicates whether the structure of the corresponding generated copy is revable after the structured document template is referenced.
  • system further includes a verification module 608 for verifying a copy corresponding to the document template according to the custom attribute added by the second attribute setting module 607 for the document template.
  • the navigation tree is constructed, the correspondence between the node of the navigation tree and the document template is established, and the document template is classified and managed according to the correspondence relationship, because the structure of the navigation tree is different for different projects and different fields. They are all unified, so that the staff does not need to adapt to the document template management structure in various fields, and can perform unified document template classification management, which effectively reduces the workload of the staff, reduces the management and design costs, and at the same time To avoid staff mistakes due to heavy workload.
  • the navigation tree is used to classify and manage the document template, the visual operation can be performed when searching and referring to the document template, which is convenient and quick, thereby significantly improving work efficiency.
  • the classification management of document templates is refined, and different users can only operate within the scope of operation authority, thereby effectively supporting the cross-team and cross-version information design process.
  • the document template management system provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules when managing the document template. In actual applications, the function distribution may be completed by different functional modules as needed. , the internal structure of the system is divided into different functional modules to complete all or part of the functions described above.
  • the document template management system and the method embodiment of the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

一种文档模板管理方法和系统 技术领域
本发明涉及信息设计领域, 特别涉及一种文档模板管理方法和系统。 背景技术
在信息设计过程中, 有一类文档说, 它们的结构或内容相似, 为了减少重复开发带来的 工作量增加, 这类文档逐渐被抽象为文档模板。 后续开发类似文档时, 就可以直接把相关 模板拷贝下来, 再根据具体应用作相应的适配即可。 为了在后续开发类似文档时, 便于查 找相关模板, 需要对文档模板进行管理。
现有技术中, 通常通过文件夹的形式来管理前述文档模板, 即在本地或服务器上以文 件夹的形式将前述文档模板归档。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题:
在涉及到多个领域的项目中, 各个领域间用于管理文档模板的特定文件夹结构可能千 差万别,在这种情况下,该项目组成员在应用文档模板前需要熟悉各个领域的文件夹结构, 查找文档模板工作量大、 效率低, 且容易出错。 发明内容
为了克服现有技术中文档模板管理工作量大、 效率低且易出错的缺陷, 本发明实施例 提供了一种文档模板管理方法及系统。 所述技术方案如下:
一方面, 本发明实施例提供了一种文档模板管理方法, 所述方法包括:
构建导航结构树, 所述导航结构树包括多个节点; 及
建立所述导航结构树的节点与文档模板的对应关系, 根据所述对应关系分类管理所述 文档模板。
另一方面, 本发明实施例提供了一种文档模板管理系统, 所述系统包括:
导航结构树构建模块, 用于构建导航结构树, 所述导航结构树包括多个节点; 及 管理模块, 用于建立所述导航结构树构建模块构建的导航结构树的节点与文档模板的 对应关系, 根据所述对应关系分类管理所述文档模板。
本发明实施例提供的技术方案带来的有益效果是: 本发明实施例通过构建导航结构树、 建立导航结构树的节点与文档模板的对应关系, 根据该对应关系来对文档模板进行分类管理, 由于导航结构树的结构对于不同项目、 不同 领域都是统一的, 这样工作人员无需适应各个领域的文档模板管理结构, 可以进行统一的 文档模板分类管理, 有效降低了工作人员的工作量, 降低了管理和设计成本, 同时可以避 免工作人员因工作量大而出错。 此外, 由于采用导航结构树对文档模板进行分类管理, 查 找和引用文档模板时可以进行可视化操作, 方便快捷, 从而可以显著提高工作效率。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例 1提供的文档模板管理方法的流程图;
图 2是本发明实施例 2提供的文档模板管理方法的流程图;
图 3是本发明实施例 2的权限验证过程的流程图;
图 4是本发明实施例 2的副本验证过程的流程图;
图 5是本发明实施例 3提供的文档模板管理系统的结构框图;
图 6是本发明实施例 4提供的文档模板管理系统的结构框图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
实施例 1
如图 1所示, 本实施例提供了一种文档模板管理方法, 其包括以下步骤:
101: 构建导航结构树, 该导航结构树具有多个节点。
102: 建立导航结构树的节点与文档模板的对应关系, 根据该对应关系分类管理文档模 板。
具体地, 每个节点可以和多个类型的文档模板相对应, 也可以只对应一个类型的文档 模板, 每种类型的文档模板可以有多个, 也就是说, 一个节点可以对应多个文档模板。
其中, 文档模板可以根据实际需要, 按照预定条件进行划分, 该预定条件可以为产品 线、 地区等。 对应于同一个节点的文档模板符合同一个预定条件, 从而可以实现对文档模 板的分类管理。 当使用者需要使用某一文档模板时, 根据前述预定条件即可查找到该文档 模板。
前述节点可以是一级节点, 也可以是其子孙节点, 下文中若未加区分, 均与此处相同。 具体地, 该文档模板可以为 DITA (Darwin Information Typing Architecture, 达尔 文信息类型化体系架构)架构中的模板, 即 Topic (主题)模板和用于描述多个 Topic模板 之间逻辑层级和顺序关系的 Map (大纲) 模板; 也可以是普通的 Word模板等。 本实施例不 对文档模板进行限定, 可以通过为这些文档模板设置自定义属性来实现特定的功能。
在本发明实施例中, 通过构建导航结构树、 建立导航结构树的节点与文档模板的对应 关系,根据该对应关系来对文档模板进行分类管理, 由于导航结构树的结构对于不同项目、 不同领域都是统一的, 这样工作人员无需适应各个领域的文档模板管理结构, 可以进行统 一的文档模板分类管理, 有效降低了工作人员的工作量, 降低了管理和设计成本, 同时可 以避免工作人员因工作量大而出错。此外, 由于采用导航结构树对文档模板进行分类管理, 查找和引用文档模板时可以进行可视化操作, 方便快捷, 从而可以显著提高工作效率。 实施例 2
本实施例提供了一种文档模板管理方法, 该方法以图 2所示的 DITA中的文档模板为例 说明本发明实施例提供的文档模板管理方法。 也就是说, 在本实施例中, 该文档模板包括 Topic模板和用于描述多个 Topic模板之间逻辑层级和顺序关系的 Map模板。 参见图 2, 本 实施例提供的文档模板管理方法包括:
201: 构建导航结构树, 该导航结构树具有多个节点。
具体地, 该步骤可以分为如下两步:
第一步: 构建基础导航结构树。
该步骤通常是在初始化系统时,根据用户需求创建, 比如根据系统管理员的设置创建, 该基础导航结构树可以仅包括一级节点。
第二步: 根据用户需求, 对该基础导航结构树进行操作。
对该基础导航结构树的操作包括: 增加节点、 编辑节点、 删除节点、 和调整树结构。 该步骤可以根据不同的管理员的设置完成。
管理员的设置是在符合操作权限的基础上实现的, 而管理员操作权限是预先设置的。 通常, 可以设置系统管理员具有所有的操作权限, 在初始化系统时, 完成基础导航结构树 的创建, 比如只构建到一级节点, 然后将其他节点的操作权限分配给不同的管理员, 由不 同的管理员来负责维护。 也就是说, 本实施例的方法还包括: 设置操作权限, 该步骤通常 在基础导航结构树建立之后进行, 可以贯穿于整个文档模板管理过程中。
进一步地, 操作权限包括但不限于以下类型:
增加节点、 编辑节点、 删除节点、 调整树结构、 增加文档模板、 编辑文档模板 (包括 修改文档模板的属性、 结构等)、 删除文档模板、 查看文档模板、 导入文档模板等。 其中, 增加节点、 编辑节点、 删除节点、 调整树结构属于对导航结构树的操作; 增加文档模板、 编辑文档模板 (包括修改文档模板的属性、 结构等)、 删除文档模板、 查看文档模板、 导入 文档模板属于对文档模板的操作。 当进行操作的节点和文档模板之间存在对应关系时, 前 述操作显然会涉及到对导航结构树的节点和文档模板的对应关系的操作。
202: 建立导航结构树的节点与文档模板的对应关系, 根据该对应关系分类管理文档模 板。
具体地, 每个节点可以和多个类型的文档模板相对应, 如一个节点可以同时对应 Topic 模板和 Map模板; 也可以只对应一个类型的文档模板, 比如只对应 Topic模板, 或只对应 Map模板, 每种类型的文档模板可以有多个, 也就是说, 一个节点可以对应多个文档模板。
其中, 文档模板可以根据实际需要, 按照预定条件进行划分, 该预定条件可以为产品 线、 地区等, 对应于同一个节点的文档模板符合同一个预定条件, 从而可以实现对文档模 板的分类管理。 当使用者需要使用某一文档模板时, 根据前述预定条件即可查找到该文档 模板。
该步骤与步骤 201中的对基础结构树进行操作, 可以同时进行。
203: 根据预先设置的操作权限, 对文档模板、 导航结构树、 以及导航结构树的节点和 文档模板的对应关系的操作进行权限验证。
进一步地, 对用户操作权限的控制可以遵循 "用户-角色-权限" 的模型, 即一个用户 可持有多种角色, 而每一个角色对应一组权限。 这样, 每个导航结构树的节点都对应有一 份操作权限列表, 而对每个角色都有一份针对所有导航结构树的节点的操作权限列表。
具体地, 可以按照图 3 所示的流程, 来进行操作权限的验证, 以确保操作是在操作权 限范围内进行。 假设针对导航结构树节点 N执行操作 0P, 权限分配采用前述 "用户-角色- 权限" 的模型, 则权限验证过程如下:
P. 1: 获取用户登录系统后持有的角色列表 Roles ;
P. 2:获取 Roles的下一个角色 R:若存在下一个角色 R,则转 P. 3;若已遍历完 Roles , 则转 P. 5;
P. 3: 该角色关联的导航结构树节点是否涉及到了 N?
若是, 则转 P. 4;
若否, 则转 P. 2;
P. 4: 判断节点 N上是否配置了 0P的操作权限:
若是, 通过验证, 结束;
若否, 则转 P. 2;
P. 5 : 未通过验证, 提示无权限执行该操作。
对于导航结构树的节点, 其操作权限可以包含两部分, 即手工配置的权限和继承自祖 先节点的权限, 对于这两部分权限的合并遵循 "不同叠加、 同则覆盖" 的原则; 导航结构 树的节点的操作权限也可以不继承祖先节点的权限, 仅使用手工配置的权限, 本实施例对 此不进行限定。
下面对前述操作权限的合并原则进行举例说明。
假定导航结构树包括但不限于以下节点: product l ine 1, product 1. 1, product 1. 2, product l ine 2, product 2. 1。 其中, product l ine 1为 product 1. 1, product 1. 2的 祖先节点, product l ine 2 % product 2. 1的祖先节点。 反过来, product 1. 1, product 1. 2 为 product l ine 1的子孙节点, product 2. 1为 product l ine 2的子孙节点。 Product l ine 1已配置的权限为编辑节点、 调整树结构、 增加文档模板。
以导航结构树节点 "product 1. 2 "为例, 其手工配置的权限有: 增加节点、 调整树结 构、 增加文档模板、 编辑文档模板、 删除文档模板; 从祖先节点 "product l ine 1 "继承 的权限有: 编辑节点、 调整树结构、 增加文档模板。 根据前述原则进行权限合并以后, 该 节点的操作权限为: 增加节点、 调整树结构、 增加文档模板、 编辑文档模板、 删除文档模 板。
204: 根据导航结构树的节点与文档模板的对应关系引用文档模板。
该步骤中的引用包括但不限于对文档模板的内容进行拷贝、 对文档模板的自定义属性 进行拷贝 (若该文档模板设置有自定义属性)。
在步骤 204之前, 本实施例的方法还可以包括: 为文档模板添加自定义属性, 自定义 属性包括 template (源标识) 字段, 该字段用于表示某文档是否为引用文档模板后生成的 副本(生成副本的过程详见后续步骤); 更进一步地, template字段的作用如表一所示, 其 中的其他文档是指除了源文档模板和副本以外的文档, 比如在信息设计过程中新建的一个 空文件等等, 通过该 template字段查看某文档是否是引用文档模板后生成的副本, 可以为 各种类型的文档模板添加。
表一
Figure imgf000008_0002
进一步地, 若文档模板为有结构的文档模板, 则在步骤 204之前, 本实施例的方法还 可以包括:为文档模板添加自定义属性,添加的自定义属性包括 lock— attribute (属性锁) 字段和 /或 lock— structure (结构锁) 字段, lock— attribute 字段表示有结构的文档模板 被引用后对应生成的副本的属性是否可修改; lock— structure字段表示有结构的文档模板 被引用后对应生成的副本的结构是否可修改, 这两个字段只针对有结构的模板。
在本实施例中, Map模板为有结构的模板, 则对 Map模板或其子节点添加属性锁字段和 结构锁字段。 lock— attribute字段表示 Map模板被引用后对应生成的副本的属性是否可以 修改; 而 lock— structure字段表示 Map模板被引用后对应生成的副本的结构是否可以修 改。
更进一步地, lock— attribute字段和 lock structure字段的含义如表二所示。
Figure imgf000008_0001
Figure imgf000008_0003
需要说明的是, 自定义属性不限于前述字段, 可以为不同的模板设计不同的自定义属 性来支撑特殊的应用。
添加自定义属性的步骤在文档模板形成之后即可进行, 可贯穿整个文档模板管理的过 程中。
205: 生成与被引用的文档模板相对应的副本。
当引用 Topic模板时, 生成该 Topic模板相对应的副本, 如下文所述, 其 template字 段指向被引用的源 Topic 模板。 生成的副本可以保存在本地或其它地方, 这样在涉及该副 本的应用时,可以灵活确定使用源 Topic模板或副本的属性,便于工作人员进行二次引用。 当引用 Map模板时, 同样生成相应的副本。
206: 根据文档模板的自定义属性对文档模板相对应的副本进行验证, 该步骤中的自定 义属性包括 lock— attribute字段和 /或 lock— structure字段。
具体地, 根据文档模板的自定义属性的取值的含义(见表 2 )对文档模板相对应的副本 进行验证。 下面以 Map模板为例来对验证过程进行详细说明。 现定义 T为 Map模板相应的副本或 其子节点, 当用户要对 τ进行修改时, 分别有以下情况。
A) 当用户修改 T的属性时, 触发以下验证过程 (图未示):
T的 lock— attribute值是否为 true ? 即是否加了属性锁?
若是, 则提示不允许修改, 结束;
否则, 允许修改, 结束。
B) 当用户修改 T的结构时, 如图 4所示, 触发以下验证过程:
增加 T的子节点触发以下验证过程:
2072a: T是否加了结构锁? 即判断 T的 lock— structure是否为 true ?
若是, 转 2072c;
若否, 转 2072b;
2072b: T的祖先节点中是否有加了结构锁的节点? 即考察 Τ的祖先节点, 判断其中是 否有 lock— structure为 true的节点 7
若是, 转 2072c;
若否, 则允许增加 T的子节点, 结束。
2072c: 禁止增加 T的子节点, 还可提示 T带有结构锁, 结束。 上下左右移动 T时触发以下验证过程:
2073a: T的祖先节点中是否有加了结构锁的节点? 即考察 T的祖先节点, 判断其中是 否有 lock— structure为 true的节点 7
若是, 转 2073b; 若否, 则允许移动 τ, 即允许上下左右移动 τ, 结束。
2073b : 禁止移动 T, 即禁止上下左右移动 Τ, 还可提示 Τ带有结构锁, 结束。 删除 τ时触发以下验证过程:
2074a: T是否加了结构锁? 即 T的 lock— structure是否为 true ?
若是, 转 2074c ;
若否, 转 2074b ;
2074b : T的祖先节点和子孙节点中是否有加了结构锁的节点? 即考察 Τ的祖先节点和 子孙节点, 判断其中是否有 lock— structure为 true的节点?
若是, 转 2074c ;
若否, 则允许删除 T, 结束。
2074c : 禁止删除 T, 还可提示 Τ带有结构锁, 结束。
需要说明的是, 步骤 201可以穿插在步骤 202和 203之中进行, 前述顺序仅为便于说 明, 并不限制其先后顺序。
在本发明实施例中, 通过构建导航结构树、 建立导航结构树的节点与文档模板的对应 关系,根据该对应关系来对文档模板进行分类管理, 由于导航结构树的结构对于不同项目、 不同领域都是统一的, 这样工作人员无需适应各个领域的文档模板管理结构, 可以进行统 一的文档模板分类管理, 有效降低了工作人员的工作量, 降低了管理和设计成本, 同时可 以避免工作人员因工作量大而出错。此外, 由于采用导航结构树对文档模板进行分类管理, 查找和引用文档模板时可以进行可视化操作, 方便快捷, 从而可以显著提高工作效率。 另 夕卜, 通过权限分配, 对文档模板的分类管理进行了细化, 不同的工作人员仅能在操作权限 范围内进行操作, 从而可以高效支撑跨团队、 跨版本的信息设计过程。 实施例 3
如图 5所示, 本发明实施例提供了一种文档模板管理系统, 该系统包括:
导航结构树构建模块 501, 用于构建导航结构树;
管理模块 502,用于建立导航结构树构建模块 501构建的导航结构树的节点与文档模板 的对应关系, 根据该对应关系分类管理文档模板。
在本发明实施例中, 通过构建导航结构树、 建立导航结构树的节点与文档模板的对应 关系,根据该对应关系来对文档模板进行分类管理, 由于导航结构树的结构对于不同项目、 不同领域都是统一的, 这样工作人员无需适应各个领域的文档模板管理结构, 可以进行统 一的文档模板分类管理, 有效降低了工作人员的工作量, 降低了管理和设计成本, 同时可 以避免工作人员因工作量大而出错。此外, 由于采用导航结构树对文档模板进行分类管理, 查找和引用文档模板时可以进行可视化操作, 方便快捷, 从而可以显著提高工作效率。 实施例 4
如图 6所示, 本发明实施例提供了一种文档模板管理系统, 该系统包括:
导航结构树构建模块 601, 用于构建导航结构树;
管理模块 602,用于建立导航结构树构建模块 601构建的导航结构树的节点与文档模板 的对应关系, 根据该对应关系分类管理文档模板;
权限管理模块 603, 用于根据预先设置的操作权限, 对管理模块 602对所述文档模板、 所述导航结构树、 以及所述导航结构树的节点和所述文档模板的对应关系的操作进行验证。
容易知道, 该权限管理模块 603还可以用于设置操作权限。
进一步地, 该系统还包括引用模块 604, 用于根据管理模块 602建立的导航结构树的节 点与文档模板的对应关系引用文档模板。
优选地, 该系统还包括副本生成模块 605, 用于生成与被引用模块 604引用的文档模板 相对应的副本。
进一步地, 该系统还包括第一属性设置模块 606, 用于为文档模板添加自定义属性, 该 自定义属性包括源标识字段, 该源标识字段用于表示某文档是否为引用文档模板后生成的 副本。
若文档模板为有结构的文档模板, 则该系统还包括第二属性设置模块 607, 用于为文档 模板添加自定义属性, 该自定义属性包括属性锁字段和 /或结构锁字段, 该属性锁字段表示 所述有结构的文档模板被引用后对应生成的副本的属性是否可修改; 该结构锁字段表示所 述有结构的文档模板被引用后对应生成的副本的结构是否可修改。
相应地, 该系统还包括验证模块 608, 用于根据第二属性设置模块 607为文档模板添加 的自定义属性对文档模板相对应的副本进行验证。
在本发明实施例中, 通过构建导航结构树、 建立导航结构树的节点与文档模板的对应 关系,根据该对应关系来对文档模板进行分类管理, 由于导航结构树的结构对于不同项目、 不同领域都是统一的, 这样工作人员无需适应各个领域的文档模板管理结构, 可以进行统 一的文档模板分类管理, 有效降低了工作人员的工作量, 降低了管理和设计成本, 同时可 以避免工作人员因工作量大而出错。此外, 由于采用导航结构树对文档模板进行分类管理, 查找和引用文档模板时可以进行可视化操作, 方便快捷, 从而可以显著提高工作效率。 另 夕卜, 通过权限分配, 对文档模板的分类管理进行了细化, 不同的用户仅能在操作权限范围 内进行操作, 从而可以高效支撑跨团队、 跨版本的信息设计过程。 需要说明的是: 上述实施例提供的文档模板管理系统在管理文档模板时, 仅以上述各 功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功 能模块完成, 即将系统的内部结构划分成不同的功能模块, 以完成以上描述的全部或者部 分功能。 另外, 上述实施例涉及的文档模板管理系统与方法实施例属于同一构思, 其具体 实现过程详见方法实施例, 这里不再赘述。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质 中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种文档模板管理方法, 其特征在于, 所述方法包括:
构建导航结构树, 所述导航结构树包括多个节点; 及
建立所述导航结构树的节点与文档模板的对应关系,根据所述对应关系分类管理所述文 档模板。
2、 根据权利要求 1所述的文档模板管理方法, 其特征在于, 还包括:
根据预先设置的操作权限, 对文档模板、 导航结构树、 以及导航结构树的节点和文档模 板的对应关系的操作进行权限验证。
3、 根据权利要求 1所述的文档模板管理方法, 其特征在于, 在所述建立所述导航结构 树的节点与文档模板的对应关系, 根据所述对应关系分类管理所述文档模板之后, 所述方法 还包括:
根据所述导航结构树的节点与所述文档模板的对应关系引用所述文档模板。
4、 根据权利要求 3所述的文档模板管理方法, 其特征在于, 在所述根据所述导航结构 树的节点与所述文档模板的对应关系引用所述文档模板之后, 还包括:
生成与所述被引用的文档模板相对应的副本。
5、 根据权利要求 4所述的文档模板管理方法, 其特征在于, 在根据所述导航结构树的 节点与所述文档模板的对应关系引用所述文档模板之前, 还包括:
为所述文档模板添加自定义属性, 所述自定义属性包括源标识字段, 所述源标识字段用 于表示某文档是否为引用文档模板后生成的副本。
6、 根据权利要求 4所述的文档模板管理方法, 其特征在于, 所述文档模板为有结构的 文档模板,在根据所述导航结构树的节点与所述文档模板的对应关系引用所述文档模板之前, 还包括:
为所述文档模板添加自定义属性, 所述自定义属性包括属性锁字段和 /或结构锁字段, 所述属性锁字段表示所述有结构的文档模板被引用后对应生成的副本的属性是否可修改; 所述结构锁字段表示所述有结构的文档模板被引用后对应生成的副本的结构是否可修 改;
则在所述生成与被引用的所述文档模板相对应的副本之后, 还包括:
根据文档模板的自定义属性对所述文档模板对应的副本进行验证。
7、 一种文档模板管理系统, 其特征在于, 所述系统包括:
导航结构树构建模块, 用于构建导航结构树, 所述导航结构树包括多个节点; 及 管理模块,用于建立所述导航结构树构建模块构建的导航结构树的节点与文档模板的对 应关系, 根据所述对应关系分类管理所述文档模板。
8、 根据权利要求 7所述的文档模板管理系统, 其特征在于, 所述系统还包括: 权限管理模块, 用于根据预先设置的操作权限, 对所述管理模块对所述文档模板、 所述 导航结构树、 以及所述导航结构树的节点和所述文档模板的对应关系的操作进行验证。
9、 根据权利要求 7所述的文档模板管理系统, 其特征在于, 还包括:
引用模块,用于根据所述管理模块建立的导航结构树的节点与所述文档模板的对应关系 引用所述文档模板。
10、 根据权利要求 9所述的文档模板管理系统, 其特征在于, 还包括:
副本生成模块, 用于生成与被所述引用模块引用的文档模板相对应的副本。
11、 根据权利要求 10所述的文档模板管理系统, 其特征在于, 还包括:
第一属性设置模块, 用于为所述文档模板添加自定义属性, 所述自定义属性包括源标识 字段, 所述源标识字段用于表示某文档是否为引用文档模板后生成的副本。
12、 根据权利要求 10所述的文档模板管理系统, 其特征在于, 所述文档模板为有结构 的文档模板, 则所述系统还包括:
第二属性设置模块, 为所述文档模板添加自定义属性, 所述自定义属性包括属性锁字段 和 /或结构锁字段, 所述属性锁字段表示所述有结构的文档模板被引用后对应生成的副本的 属性是否可修改;所述结构锁字段表示所述有结构的文档模板被引用后对应生成的副本的结 构是否可修改;
验证模块,用于根据所述第二属性设置模块为所述文档模板添加的自定义属性对所述文 档模板相对应的副本进行验证。
PCT/CN2011/079670 2011-09-15 2011-09-15 一种文档模板管理方法和系统 WO2012083735A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011800022448A CN102439598A (zh) 2011-09-15 2011-09-15 一种文档模板管理方法和系统
PCT/CN2011/079670 WO2012083735A1 (zh) 2011-09-15 2011-09-15 一种文档模板管理方法和系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079670 WO2012083735A1 (zh) 2011-09-15 2011-09-15 一种文档模板管理方法和系统

Publications (1)

Publication Number Publication Date
WO2012083735A1 true WO2012083735A1 (zh) 2012-06-28

Family

ID=45986244

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079670 WO2012083735A1 (zh) 2011-09-15 2011-09-15 一种文档模板管理方法和系统

Country Status (2)

Country Link
CN (1) CN102439598A (zh)
WO (1) WO2012083735A1 (zh)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517062A (zh) * 2013-09-26 2015-04-15 中兴通讯股份有限公司 一种基于文档对象模型的分权限文档管理的方法及装置
CN105740217B (zh) * 2014-12-08 2019-08-30 珠海金山办公软件有限公司 一种基于文档模板的文档生成方法及装置
CN104657419B (zh) * 2014-12-26 2018-12-07 论客科技(广州)有限公司 一种定制信纸模板的处理方法和系统
CN105404513A (zh) * 2015-11-25 2016-03-16 浪潮通用软件有限公司 一种编辑xbrl公式的方法和装置
CN105630293A (zh) * 2015-12-29 2016-06-01 黄邦宏 企业识别系统生成方法
CN105760554A (zh) * 2016-03-31 2016-07-13 华律网络科技(武汉)有限公司 一种用于法律诉讼电子文件的自动化归档系统及归档方法
CN108280363A (zh) * 2017-01-05 2018-07-13 珠海金山办公软件有限公司 一种文档权限计算方法及装置
CN108280359A (zh) * 2017-01-05 2018-07-13 珠海金山办公软件有限公司 一种安全文档的管理方法及服务器
CN107885712A (zh) * 2017-11-20 2018-04-06 浪潮金融信息技术有限公司 对接文档生成方法及装置、计算机存储介质和终端
CN109948010A (zh) * 2018-12-29 2019-06-28 航天信息股份有限公司 一种文档管理组件的实现方法及装置
CN110532366A (zh) * 2019-09-03 2019-12-03 出门问问(武汉)信息科技有限公司 一种模板规则管理方法、语言生成方法、装置及存储设备
CN111191417A (zh) * 2019-12-10 2020-05-22 中国航空工业集团公司西安航空计算技术研究所 一种基于pbs结构化的ima平台文档结构树的生成方法
CN111444697B (zh) * 2020-03-27 2022-04-26 中南大学 一种基于动态模板获取规范化文档的方法及装置
CN113591209B (zh) * 2021-07-14 2024-02-13 中国舰船研究设计中心 一种大型船舶产品结构树快速创建和导出方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855091A (zh) * 2005-04-27 2006-11-01 华为技术有限公司 一种以导航树方式来组织通信设备命令集的方法
CN1955958A (zh) * 2005-10-26 2007-05-02 腾讯科技(深圳)有限公司 一种基于目录树的分类数据存储及分类目录查询方法
CN101350020A (zh) * 2008-07-29 2009-01-21 北京中星微电子有限公司 一种嵌入式文件系统的验证方法、装置和系统
CN101369268A (zh) * 2007-08-15 2009-02-18 北京书生国际信息技术有限公司 一种文档库系统中文档数据的存储方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226573B (zh) * 2007-01-16 2011-01-12 北京书生国际信息技术有限公司 一种控制电子文档的访问权限的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855091A (zh) * 2005-04-27 2006-11-01 华为技术有限公司 一种以导航树方式来组织通信设备命令集的方法
CN1955958A (zh) * 2005-10-26 2007-05-02 腾讯科技(深圳)有限公司 一种基于目录树的分类数据存储及分类目录查询方法
CN101369268A (zh) * 2007-08-15 2009-02-18 北京书生国际信息技术有限公司 一种文档库系统中文档数据的存储方法
CN101350020A (zh) * 2008-07-29 2009-01-21 北京中星微电子有限公司 一种嵌入式文件系统的验证方法、装置和系统

Also Published As

Publication number Publication date
CN102439598A (zh) 2012-05-02

Similar Documents

Publication Publication Date Title
WO2012083735A1 (zh) 一种文档模板管理方法和系统
JP7212040B2 (ja) コンテンツ管理クライアント同期サービス
US8950009B2 (en) Information management of data associated with multiple cloud services
US6308181B1 (en) Access control with delayed binding of object identifiers
US11616785B2 (en) Management of collaborative content item modification
WO2018036324A1 (zh) 一种智慧城市信息共享的方法和装置
US20190384895A1 (en) System for document and certificate management using directed acyclic graph based tagging
US20200285763A1 (en) Referenced access control list
US11711375B2 (en) Team member transfer tool
WO2015070674A1 (zh) 一种操作数据的方法和系统
Bertino et al. An approach to authorization modeling in object-oriented database systems
JP5868149B2 (ja) データ移行装置
WO2009024037A1 (fr) Procédé pour générer et ajuster des données de relation de limite d'autorité et son système de gestion
CN113986545A (zh) 用户与角色关联方法及装置
Smeele et al. Using iRODS to manage, share and publish research data: Yoda
WO2021055078A1 (en) Applying rules to client updates on shared records to trigger system-generated updates
Moore et al. Reproducible research within the DataNet federation consortium
TWI476709B (zh) Work flow management system and method
CN112131434B (zh) 基于匹配树的可扩展访问控制标记语言策略搜索方法
Mu et al. Enterprise Rights Management System Based on RBAC Model
Che et al. Research on the dynamic management of cloud simulation derived data
CN117056067A (zh) 一种资源管理方法及服务器
CN118154188A (zh) 基于区块链的日志处理方法、装置和设备
Liu et al. Role-Based Access Control in Geological Database Web System
McKee et al. The OSiRIS Project White Paper

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180002244.8

Country of ref document: CN

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

Ref document number: 11851833

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11851833

Country of ref document: EP

Kind code of ref document: A1