WO2012106922A1 - Method and device for generating topic attribute information - Google Patents

Method and device for generating topic attribute information Download PDF

Info

Publication number
WO2012106922A1
WO2012106922A1 PCT/CN2011/077530 CN2011077530W WO2012106922A1 WO 2012106922 A1 WO2012106922 A1 WO 2012106922A1 CN 2011077530 W CN2011077530 W CN 2011077530W WO 2012106922 A1 WO2012106922 A1 WO 2012106922A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
topic
task
attribute
identifier
Prior art date
Application number
PCT/CN2011/077530
Other languages
French (fr)
Chinese (zh)
Inventor
程海涛
梁秋霞
邹建青
赵黎阳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/077530 priority Critical patent/WO2012106922A1/en
Priority to CN201180001173XA priority patent/CN102317942B/en
Publication of WO2012106922A1 publication Critical patent/WO2012106922A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification

Definitions

  • the embodiments of the present invention relate to information processing technologies, and in particular, to a method and device for generating topic attribute information. Background technique
  • DITA M ⁇ Darwin Information Typing Architecture
  • OASIS Advanced Technology Standards
  • XML Extensible Markup Language
  • PDF Portable Document Format
  • HTML Hyper Text Markup Language
  • DITA is an XML architecture for designing, writing, publishing, and managing content.
  • Topic and Outline are two basic types of XML files.
  • Topic is a basic, manageable writing and reuse unit with several features: A Topic consists of two parts, title and content; each Topic describes only one topic or answers a question; and each Topic can complete the topic. Or answer this question, it is a self-contained unit of information.
  • Map is an XML file type defined in DITA. It is used to describe the logical hierarchy and order relationship between Topic to form a data delivery. Maps can be used to connect various pieces of Topic for output of various forms of data delivery, such as manuals, online help, etc.
  • a designer directly maps an input material (Information Requirement (IR)) that is stored in various files (for example, a Word file or an Excel file) into a data delivery component, for example, directly An IR information is mapped into the user operation guide.
  • IR Information Requirement
  • the designer designs the Map of the data delivery piece according to his own experience, and divides each Topic in the Map.
  • the data delivery parts generated by directly mapping the IR information are often lack of pertinence, can not be correctly applied to the actual task, and the flexibility in use is poor, which is not conducive to the user. Summary of the invention
  • the embodiment of the invention provides a method and a device for generating topic attribute information, which improves the pertinence, correctness and flexibility of the data delivery component, and is convenient for the user to use.
  • An embodiment of the present invention provides a method for generating a Topic attribute information, including:
  • An embodiment of the present invention provides a topic Topic attribute information generating apparatus, including:
  • a first mapping generating module configured to generate information mapping requirements of the product to a mapping relationship of tasks to be performed using the product
  • a dividing module configured to divide a Topic corresponding to the task according to the task
  • the attribute generating module is configured to map the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
  • the method and device for generating help information of the theme of the embodiment of the present invention firstly generate a mapping relationship between the IR information of the product and the task to be executed by using the product, and then divide the required Topic based on the task to be performed by using the product, and use the IR information to
  • the mapping relationship of the task maps the IR information to the attribute information of the divided Topic, so that the Topic has attributes of different dimensions, and manages the Topic based on the attribute information of the generated Topic, thereby improving the pertinence of the Topic and improving on the other hand.
  • the convenience of managing the Topic improves the pertinence, correctness, and flexibility of the help information achieved by each Topic assembly.
  • FIG. 1 is a flowchart of a method for generating help information according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for generating help information according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a Topic attribute information generating apparatus according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a Topic attribute information generating apparatus according to another embodiment of the present invention
  • Schematic diagram of the structure of the Topic attribute information generating device
  • FIG. 1 is a flowchart of a method for generating Topic attribute information according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
  • Step 101 Generate a mapping relationship between the IR information of the product and the tasks to be executed by using the product.
  • the product may be any computer hardware or software, a communication product, etc.; the task to be performed by using the product refers to what the user wants to accomplish using the product.
  • the tasks corresponding to each product can be obtained in advance, and can be obtained according to the development purpose or by researching the user. For example: Assume that the product of this embodiment refers to text editing software, and the user plans to use the text editing software to write a document, and the task corresponding to the text editing software is to write a document.
  • each task has a unique identifier, for example: a task identifier ( identifier; referred to as: id ), used to distinguish The same task.
  • identifier referred to as: id
  • the identification of each task is mainly automatically allocated in advance by the Topic attribute information generating device (hereinafter simply referred to as a generating device).
  • IR information refers to some information about the product, such as the original requirements of the product (Original Requirement; referred to as: OR), the design requirements of the product (Design Requirement; referred to as: DR), the characteristics of the product (Feature), the role of the user (Role) Wait.
  • OR Original requirements of the product
  • DR Design Requirement
  • Feature characteristics of the product
  • Role role of the user
  • IR information can be obtained in advance, for example, by researching the user.
  • the manner of acquiring the IR information is not limited.
  • the relationship between the IR information and the task is a many-to-many relationship, that is, one IR information can correspond to multiple tasks, and one task can also correspond to multiple pieces of IR information.
  • the generating device automatically configures an identifier for the task and the IR information in advance, and generates a mapping relationship between the IR information and the task by associating the identifier of the IR information with the identifier of the task.
  • the generating device simultaneously stores the generated mapping relationship of the IR information to the task into the mapping relationship table of the IR to the task. The above operation can also be manually performed by the designer.
  • Step 102 Divide a Topic corresponding to the task according to the content of the task.
  • Each task may need to refer to some help information during the execution process, and the help information is concatenated by Topic. Therefore, the generating apparatus of this embodiment divides the Topic required for each task according to the task, that is, the Topic corresponding to the task, that is, the help required by the user in completing the task. For example, if a user writes a document using text editing software, the Topic corresponding to the task refers to the help that the user needs in writing the document using the text editing software, for example: "How to adjust the format of the font in the document", “How to adjust The page format of the document, "How to link a hyperlink to a document” and so on.
  • Topic in various embodiments of the present invention conforms to the DITA standard.
  • Topic is an XML file that includes both attributes and content. When Topic's attribute information is set, it will be assigned the corresponding content.
  • Each Topic can be used in multiple tasks, such as the Topic of the login system. Each task needs to log in to the system first, so the Topic of the login system may be used in multiple tasks, that is, each Topic is reusable. From the meaning expressed by each Topic, each Topic is short enough, only Describe a topic or answer a question, and each topic is long enough to fully describe the topic or answer the question.
  • each Topic is also a self-contained information unit, that is, the information related to each Topic is reflected in this Topic, and there is no need to browse other Topics.
  • the generating device allocates an identifier for each topic to distinguish different Topics, and then associates the identifier of the task with the identifier of the divided Topic to generate a task.
  • Topic's mapping relationship, and the task-to-Topic mapping relationship is stored in the mapping relationship between the task and the Topic, so as to manage the mapping relationship between the task and its corresponding Topic.
  • Step 103 Map the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
  • the generating device may obtain the identifier of the IR information corresponding to the task according to the mapping relationship between the IR information and the task; and then, according to the mapping relationship between the task and the Topic, obtain the identifier of the Topic corresponding to the task; and then obtain the corresponding information according to the identifier of the IR information.
  • the IR information is obtained, and the corresponding Topic is obtained according to the identifier of the Topic, and then the acquired IR information is mapped to the attribute information of the obtained Topic.
  • Each Topic includes two parts: attribute and content. Topic's attribute information can include: Topic's logo (id), title (title), comment (note), owner (owner), and so on.
  • Topic's title is the name of Topic, similar to Topic's logo, and is also used to identify Topic, which is usually an overview of the content; for example, "How to text" is the Topic title; and the specific step of texting is the content.
  • the responsible person mainly refers to the developer of the Topic, and the remarks are the explanation information of the topic.
  • mapping the IR information to the attribute information of the Topic corresponding to the task includes: generating various attribute fields of the Topic according to the attribute field of the IR information; and then using the IR information as the corresponding attribute field of the Topic.
  • the Topic is given according to the attribute information. /Fill the corresponding content to form a complete Topic.
  • the content is given/filled in the Topic according to the attribute information of the Topic, depending on different products, and the operation belongs to common knowledge of those skilled in the art, and will not be described in detail herein.
  • steps based on the Topic design outline are also included.
  • the main steps of the design outline are to search the related Topic through the properties of Topic, and then string the related Topics as an outline. After that, you can filter out the Topic that meets the publishing conditions by using the condition attribute of Topic.
  • the Topic attribute information generating method in this embodiment divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic, so that the Topic has multi-dimensional attribute information, based on the
  • the attribute information manages the Topic, which improves the pertinence of the Topic, and on the other hand improves the convenience of managing the Topic, thereby improving the pertinence, correctness and use of the help information realized by each Topic assembly. flexibility.
  • FIG. 2 is a flowchart of a method for generating help information according to another embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
  • Step 201 Obtain a task to be performed by the product.
  • the generating device pre-assigns an identifier to each task, which is the task identifier (task_id).
  • Step 202 Generate a mapping relationship between the IR information of the product and the task to be performed using the product.
  • the IR information of the various products is stored in the IR information table in advance in the embodiment, and the IR information table allows the generating device to conveniently perform the access operation.
  • the generating device also pre-allocates an identifier for each IR information, which is an identifier of the IR.
  • an IR message includes demand information, a feature description, and user role information.
  • the demand information includes original demand information and design demand information.
  • identifiers are assigned to the demand information, the feature description, and the user role information, namely, the requirement identifier (dr_id), the feature description identifier (feature_id), and the role identifier (role_id).
  • a mapping relationship between IR information and tasks includes: mapping of demand information to tasks Department, feature description to task mapping relationship and user role to task mapping relationship.
  • the generating device associates the requirement identifier with the task identifier, the feature description identifier, the task identifier, the role identifier, and the identifier of the task, respectively, and generates the mapping relationship between the requirement information and the task, the mapping relationship between the feature description and the task, and the user.
  • the mapping relationship between roles and tasks forms the mapping relationship between IR information and tasks.
  • the generating device stores the generated mapping information of the required information to the task, the mapping relationship between the feature description to the task, and the mapping relationship between the user role and the task, respectively, into the mapping relationship table of the IR to the task.
  • Step 203 Divide a Topic corresponding to the task according to the content of the task.
  • Each task may correspond to multiple Topic.
  • the generating device assigns an identifier to each Topic, that is, the Topic ID (Topic_id).
  • Step 204 Generate a mapping relationship between the task and the Topic.
  • the generating device associates the identifier of each Topic with the identifier of the task, generates a mapping relationship between the task and the Topic, and then stores the mapping relationship of the task to the Topic to the mapping relationship table of the task to the Topic.
  • Step 205 Acquire IR information and Topic corresponding to the same task according to the mapping relationship between the IR information and the task and the mapping relationship between the task and the Topic.
  • the IR-to-task mapping relationship table and the task-to-topic mapping relationship table are respectively queried according to the identifier of the task, and the IR identifier and the Topic identifier corresponding to the identifier of the task are obtained, and then the IR information and the Topic are obtained.
  • Step 206 The IR information is used as a corresponding attribute field of the Topic to implement mapping of the IR information to the Topic.
  • the attribute information of the Topic includes a basic attribute, a condition attribute, and a metadata (Metadata) attribute.
  • the basic attributes are used to describe the information of Topic, including the following attribute fields: Topic's logo, title, information type (infotype), comment (comment), status (status), and so on.
  • the attribute field information of the basic attributes of Topic is shown in Table 1.
  • Topic's metadata attributes mainly include the mapping of IR information to Topic.
  • the metadata attributes include the following attribute fields: Topic's identifier, name (name) field, and name value (value) field.
  • the attribute field information included in the metadata attribute is shown in Table 2.
  • Topic's conditional attributes are mainly used to filter and publish Topic.
  • the condition attribute mainly includes the following attribute fields: the identifier of the Topic, the name (name) field, the name value (value) field, and so on.
  • the attribute field information included in the condition attribute is as shown in Table 3.
  • the requirement information of the IR information mainly includes the following attribute fields: a requirement identifier, a title, a description, a user, and the like, wherein the requirement identifier is used to uniquely identify a piece of demand information; the title is the demand information.
  • the name is usually named after generalizing the specific requirements; the description field is a detailed description of the requirement.
  • the attribute field information included in the demand information is shown in Table 4 in Table 4.
  • the feature description of the IR information mainly includes the following attribute fields: attribute description identifier (feature_id), name (name), type (type), subtype (subtype), description (description), and user (owner).
  • feature_id attribute description identifier
  • name name
  • type type
  • subtype subtype
  • description description
  • owner owner
  • the feature identifier is used to uniquely identify a characterization information. Characteristic
  • Characteristic The attribute field information included in the description is shown in Table 5.
  • the user role information of the IR information mainly includes the following attribute fields: a role identifier (role_id), a name (name), a description (description), a job (job), an experience (experience), and a user (owner); wherein, the role identifier It is used to uniquely identify a user role information; the popular name is what the user role is called; the description is mainly about the introduction of some information about the user role; the work is mainly used to describe the working nature of the user role; the experience is mainly used to describe the user role related experience.
  • the attribute field information included in the user role information is shown in Table 6.
  • the generating device specifically names the attribute field of the requirement information (ie, dr_id, title, description , owner ) , the name of the attribute field of the attribute description (ie, feature_id, name, type, subtype, description ⁇ owner ), attribute field of the user role information (name) ( role_id, name, description, job, experience, owner
  • the value of the name field in the metadata attribute of the Topic is divided into the name field in the metadata attribute as the value of the name field, as shown in Table 7.
  • the generating device sets the value of the attribute field of the demand information (dr_a, ax, ay, az), the value of the attribute field of the attribute description (feature_a, as, ad, af, ag, ah), user role information
  • the values of the attribute fields ( role — a, aq, aw, ae, ar, at ) are inserted into the name value field of the metadata attribute and are associated with the name of the attribute field as the value of the name field of the metadata attribute. Corresponding, as shown in Table 7.
  • Table 7 above gives only an example for more clearly describing the mapping process of IR information to Topic attributes, but is not limited to this type of mapping.
  • the Topic When the IR information includes more attribute fields, you need to map the names and values of more attribute fields to the corresponding attribute fields of the Topic. For another example: When the metadata attribute of Topic also includes other attribute fields, other attribute fields need to be mapped according to the IR information. For example, when the Topic corresponds to multiple pieces of IR information, it is also required to map the name of the corresponding attribute field and the attribute field of the requirement information, the feature description and the user role information in the other IR information to the corresponding field of the metadata attribute. in.
  • the publishing condition is usually preset, and is often selected from a plurality of pieces of IR information.
  • the generating device is based on a preset publishing condition (ie, Set the attribute word corresponding to the filter condition in the demand information, feature description and/or user role information.
  • the name of the segment is used as the value of the name field of the condition attribute, and the value of the attribute field corresponding to the filter condition is inserted into the name value field of the condition attribute and corresponds to the name of the attribute field of the value of the name field as the condition attribute.
  • the generating device copies the name of the demand identification field of the demand information (ie dr_id) into the name field of the condition attribute, and copies the value of the requirement identification field to The condition attribute has a name in the value field, as shown in Table 8.
  • the generating device copies the name of the name field of the characterization (ie, name) into the name field of the condition attribute, and copies the value of the name field to the name of the condition attribute. In the value field, as shown in Table 8.
  • the generating device can automatically fill in the basic attributes of the Topic, for example, automatically fill in the Topic's logo, theme, status, etc. to the corresponding attribute field.
  • the generating device can directly insert the description information of the task into the memo field as the value (or content) of the memo field.
  • Each task has its description information, mainly describing the function and nature of the task.
  • Topic's remarks mainly describe the function and nature of Topic. It can be seen that the two have the same effect, so they will directly
  • the description of the task as the value of the memo field and the insertion of the description information of the task into the memo field has the advantage of being simple and easy to implement.
  • a specific implementation manner of using the name of each attribute field of the IR information or the value of each attribute field as the corresponding attribute field of the Topic is directly copying the name of each attribute field of the IR information or the value of each attribute field directly.
  • the corresponding attribute field of Topic as the value of the corresponding field, but not limited to This. For example: When you need to modify the name of the attribute field of the IR information, you can first modify the name of the attribute field of the IR information, and then insert the name of the attribute field of the modified IR information into the corresponding Topic. In the attribute field.
  • the above-mentioned IR information table and each mapping relationship table can be stored in the same database, so that the generating device can more easily perform access operations and improve the efficiency of generating Topic attribute information.
  • the generating device divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic so that the Topic has attributes of different dimensions, based on the generated Topic's attribute information manages Topic, which improves the pertinence of Topic. On the other hand, it improves the convenience of managing Topic, and improves the relevance, correctness and use of help information generated by Topic. The flexibility to enable users to complete tasks more efficiently.
  • the IR information table and the mapping relationship table are used to manage various information, which has the advantages of convenient management, and each table can be stored in the same database, which facilitates management of various information, and can also solve existing problems. In the technology, the IR information, the mapping relationship between IR and Topic, etc. are scattered and stored in various files, which is inconvenient to use.
  • the help information generating method of this embodiment further includes: automatically updating the operation of the Topic according to the addition, deletion, or tampering of the IR information.
  • the generating device when the IR information is added to the IR information corresponding to the task, the generating device generates a mapping relationship between the newly added IR information and the task; and then, according to the identifier of the task corresponding to the newly added IR information, the task is searched to the Topic.
  • the mapping relationship table is configured to obtain the identifier of the Topic corresponding to the identifier of the task. Then, the new IR information is mapped to the attribute information of the Topic corresponding to the identifier of the obtained Topic, and the state change identifier is set for the Topic to identify The Topic has been updated.
  • the generating device may set the status identifier corresponding to the Topic to 1 to identify that the Topic is modified, so that the user can trace the modification process of the Topic to improve the completion efficiency of the task. Further, the generating device further stores the generated mapping relationship of the newly added IR information to the task into the mapping relationship table of the IR to the task, so as to facilitate subsequent query and use.
  • the mapping relationship between the task and the Topic is obtained according to the identifier of the task corresponding to the deleted IR information, and the identifier of the Topic corresponding to the identifier of the task is obtained;
  • the attribute information of the corresponding Topic the attribute information corresponding to the deleted IR information is deleted, and the state change identifier is set for the Topic; then, the generating device deletes the mapping relationship of the IR information to the task from the IR to the task mapping table. Deleted.
  • the generating device may set the status identifier of the Topic to 1 to identify that the Topic has been modified, so that the user can trace the modification process of the Topic to improve the efficiency of task completion.
  • the mapping of the task to the Topic is performed according to the identifier of the task corresponding to the modified IR information, and the identifier of the Topic corresponding to the identifier of the task is obtained;
  • the attribute information of the Topic is modified, and the status change identifier is set for the Topic.
  • the generating device may set the status identifier of the Topic to 1 to identify that the Topic has been modified, so that the user can trace back to the modification process of the Topic, and improve the efficiency of task completion.
  • the generating device when the IR information changes, the generating device automatically updates the attribute information of the Topic according to the change of the IR information, thereby overcoming the problem that the manual updating of the Topic attribute information in the prior art is inefficient, and the problem is improved.
  • the efficiency of the Topic is updated, and the various mapping tables stored before can reduce the probability of update errors, which lays a foundation for improving the efficiency of the user to complete the task.
  • FIG. 3 is a schematic structural diagram of a Topic attribute information generating apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus of this embodiment includes: a first mapping generating module 31, a dividing module 32, and an attribute generating module 33.
  • the first mapping generating module 31 is configured to generate a mapping relationship between the IR information of the product and the task to be executed by using the product.
  • the dividing module 32 is configured to divide a Topic corresponding to the task according to the task.
  • the attribute generation module 33 is connected to the first mapping generation module 31 and the division module 32, and is configured to map the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
  • Each functional module of the Topic attribute information generating apparatus of this embodiment can be used to perform the function shown in FIG.
  • the Topic attribute information generating apparatus of the present embodiment divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic, so that the Topic has multi-dimensional attribute information, based on the
  • the attribute information manages the Topic, which improves the pertinence of the Topic, and on the other hand improves the convenience of managing the Topic, thereby improving the pertinence, correctness and use of the help information realized by each Topic assembly. flexibility.
  • FIG. 4 is a schematic structural diagram of a Topic attribute information generating apparatus according to another embodiment of the present invention. The embodiment is implemented based on the embodiment shown in FIG. 3. As shown in FIG. 4, the apparatus of this embodiment further includes: a storage module 41.
  • the storage module 41 is configured to store the IR information of the product in the IR information table before the first mapping generation module 31 uses the IR information, and uniformly manage the IR information of the product through the IR information table, thereby improving the subsequent use of the IR information. Convenience when information is available.
  • the first mapping generating module 31 of this embodiment includes: a first mapping generating unit 311 and a first storage unit 312.
  • the task and the IR information are respectively assigned a unique identifier.
  • the first mapping generating unit 311 is configured to associate the predefined identifier of the IR information with the predefined identifier of the task to generate a mapping relationship of the IR information to the task.
  • the first storage unit 312 is connected to the first mapping generating unit 311, and is configured to store the mapping relationship of the IR information to the task into the mapping relationship table of the IR to the task.
  • the dividing module 32 of this embodiment includes: a second mapping generating unit 321 and a second storage unit 322.
  • a task may correspond to multiple Topics.
  • Topic is assigned a unique identifier.
  • the second mapping generating unit 321 is configured to divide the Topic according to the task, allocate an identifier to the divided Topic, associate the predefined identifier of the task with the identifier of the divided Topic, and generate a mapping relationship between the task and the Topic.
  • the second storage unit 322 is connected to the second mapping generating unit 321 and configured to store the mapping relationship of the task to the Topic into the mapping relationship table of the task to the Topic.
  • the attribute generation module 33 of the present embodiment includes: a first acquisition unit 331, a second acquisition unit 332, and an attribute generation unit 333.
  • the first obtaining unit 331 is connected to the first mapping generating unit 311, and is configured to obtain a predefined identifier of the IR information corresponding to the task according to the mapping relationship between the IR information generated by the first mapping generating unit 311 and the task.
  • the second obtaining unit 332 is connected to the second mapping generating unit 321 and configured to acquire the identifier of the Topic corresponding to the task according to the mapping relationship between the task and the Topic generated by the second mapping generating unit 321.
  • the attribute generating unit 333 is connected to the first obtaining unit 331 and the second obtaining unit 332, and is configured to map the IR information corresponding to the identifier of the acquired IR information to the attribute information of the Topic corresponding to the identifier of the acquired Topic.
  • the attribute information of the Topic is presented in the form of an attribute field. Therefore, the attribute generating unit 333 is specifically configured to copy the IR information into a corresponding attribute field of the Topic.
  • the foregoing functional units may be used to execute the process of the method for generating the Topic attribute information shown in FIG. 1.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the attribute generating unit 333 is specifically configured to: describe the feature information in the IR information, and describe the user role.
  • the name of the attribute field of the information is respectively used as the value of the name field of the metadata attribute of the Topic, and the values of the attribute information of the requirement information, the attribute description, and the user role information are respectively inserted into the name value field of the metadata attribute of the Topic, And the value of each attribute field corresponds to the name of the attribute field that is the value of the name field.
  • the attribute generating unit 333 is further configured to respectively use the name of the attribute field corresponding to the filter condition in the requirement information, the attribute description, and/or the user role information as the value of the name field of the condition attribute of the Topic according to the preset filter condition, and The value of the attribute field corresponding to the filter condition is inserted into the name value field of the condition attribute, and the value of each attribute field corresponds to the name of the attribute field as the value of the name field.
  • the attribute information of the Topic includes: a basic attribute, which is used to describe the information of the Topic.
  • the attribute generating unit is further configured to use the description information of the task corresponding to the Topic as the value of the memo field of the basic attribute information for describing the Topic.
  • the attribute generating unit is specifically used in the process of step 206 in the Topic attribute information generating method shown in FIG. 2, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the Topic attribute information generating apparatus of the present embodiment divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic, so that the Topic has multi-dimensional attribute information, based on the
  • the attribute information manages the Topic, which improves the pertinence of the Topic, and on the other hand improves the convenience of managing the Topic, thereby improving the pertinence, correctness and use of the help information realized by each Topic assembly. flexibility.
  • FIG. 5 is a schematic structural diagram of a Topic attribute information generating apparatus according to another embodiment of the present invention. The embodiment may be implemented based on the embodiment shown in FIG. 4. As shown in FIG. 5, the apparatus of this embodiment further includes: a second mapping generating module 51, a first query obtaining module 52, and a first attribute updating module 53.
  • the second mapping generating module 51 is configured to generate a mapping relationship between the newly added IR information and the task when the IR information is added to the IR information corresponding to the task.
  • the first query obtaining module 52 is connected to the second mapping generating module 51, and is configured to query the mapping relationship of the task to the topic according to the identifier of the task corresponding to the newly added IR information, and obtain the identifier of the Topic corresponding to the identifier of the task.
  • the first attribute update module 53 is connected to the first query obtaining module 52, and is configured to map the newly added IR information to the attribute information of the Topic corresponding to the acquired Topic identifier, and set the state change identifier for the Topic.
  • the foregoing functional modules may be used to perform the operation flow of updating the Topic attribute information when the IR information is added, which is provided in the foregoing method embodiment, and the specific working principle is not described herein.
  • the apparatus of this embodiment further includes: a second query obtaining module 54, a second attribute updating module 55, and a deleting module 56.
  • the second query obtaining module 54 is configured to: when the IR information is deleted in the IR information corresponding to the task, query the mapping relationship table of the task to the Topic according to the identifier of the task corresponding to the deleted IR information, and obtain the mapping corresponding to the identifier of the task. Topic logo.
  • the second attribute update module 55 is connected to the second query obtaining module 54 for deleting the attribute information corresponding to the deleted IR information in the attribute information of the Topic corresponding to the acquired Topic identifier, and setting the status change for the Topic. Logo.
  • the deleting module 56 is connected to the second query obtaining module 54 for identifying the task according to the deleted IR information.
  • the mapping relationship between the deleted IR information and the task is deleted from the mapping information of the IR information to the task.
  • Each of the foregoing functional modules may be used to perform the update provided when the IR information is deleted, which is provided by the foregoing method embodiment.
  • the apparatus of this embodiment further includes: a third query obtaining module 57 and a third attribute updating module 58.
  • the third query obtaining module 57 is configured to query the mapping relationship between the task and the Topic according to the identifier of the task corresponding to the modified IR information, and obtain the identifier of the Topic corresponding to the identifier of the task.
  • the third attribute update module 58 is connected to the third query obtaining module 57, and is configured to modify the acquired attribute information of the Topic corresponding to the Topic identifier, and set a state change identifier for the Topic.
  • the foregoing functional modules may be used to perform the operation flow of updating the Topic attribute information when modifying the IR information provided by the foregoing method embodiment, and the specific working principle is not described herein.
  • the Topic attribute information generating apparatus of the present embodiment automatically updates the attribute information of the Topic according to the change of the IR information when the IR information changes, thereby overcoming the problem of low efficiency of manually updating the Topic attribute information in the prior art. , improve the efficiency of updating Topic, and based on the various mapping tables stored before, can reduce the probability of update errors, and lay a foundation for improving the efficiency of users to complete tasks.

Abstract

Provided in the embodiment of the present invention are a method and device for generating topic attribute information. The method comprises: generating a mapping relation from product IR information to tasks; classifying topics by said tasks; based on the mapping relation from IR information to tasks, mapping IR information to topic attributes corresponding to tasks, thus providing management for the topics. The embodiment of the present invention improves pertinence and management convenience of the topics, thus improving pertinence, correctness, and use flexibility of help information assembled by the topics.

Description

主题属性信息生成方法及装置  Theme attribute information generating method and device
技术领域 Technical field
本发明实施例涉及信息处理技术, 尤其涉及一种主题属性信息生成方法 及装置。 背景技术  The embodiments of the present invention relate to information processing technologies, and in particular, to a method and device for generating topic attribute information. Background technique
达尔文信息类型化体系结构 ( Darwin Information Typing Architecture; 简 称为: DITA M乍为结构信息标准化促进组织( Organization for the Advancement of Structured Information Standards; 简称为: OASIS )的一个开放标准定义了 用于设计、 写作、 出版和管理内容的可扩展标记语言 (Extensible Markup Language; 简称为: XML ) 架构, 使得各种技术文档可以基于该标准来开发 并能够容易的按照用户的需求发布为便捷文件格式 ( Portable Document Format; 简称为: PDF ) 、 联机帮助、 超文本标记语言 ( Hyper Text Mark-up Language; 简称为: HTML ) 或其他形式的资料交付件。  Darwin Information Typing Architecture (abbreviated as: DITA M乍 is an open standard for Organization for the Advancement of Structured Information Standards (OASIS) defined for design, writing The Extensible Markup Language (XML) architecture for publishing and managing content enables various technical documents to be developed based on the standard and easily published as a convenient file format according to the user's needs ( Portable Document Format) Abbreviated as: PDF), online help, Hyper Text Markup Language (HTML) or other forms of data delivery.
DITA是一种用于设计、 写作、 出版和管理内容的 XML架构, 在 DITA 架构下, Topic和大纲 (Map )是两种基本的 XML文件类型。 Topic是基本 的、 可管理的写作和重用单元, 具有几个特点: 一个 Topic包含标题和内容 两个部分; 每个 Topic只描述一个题目或者回答一个问题; 并且, 每个 Topic 能完成表述这个题目或者回答这个问题, 是一个自我包含的信息单元。 Map 是 DITA中定义的一种 XML文件类型,它用来描述 Topic之间的逻辑层级和 顺序关系, 形成资料交付件。 通过 Map可以把一个个的 Topic串接起来, 用 于输出各种形式的资料交付件, 如手册、 联机帮助等。  DITA is an XML architecture for designing, writing, publishing, and managing content. Under the DITA architecture, Topic and Outline are two basic types of XML files. Topic is a basic, manageable writing and reuse unit with several features: A Topic consists of two parts, title and content; each Topic describes only one topic or answers a question; and each Topic can complete the topic. Or answer this question, it is a self-contained unit of information. Map is an XML file type defined in DITA. It is used to describe the logical hierarchy and order relationship between Topic to form a data delivery. Maps can be used to connect various pieces of Topic for output of various forms of data delivery, such as manuals, online help, etc.
现有技术中, 设计人员直接将散落存储于各种文件 (例如 Word文件、 Excel文件 ) 中的输入材料(即信息需求( Information Requirement; 简称为: IR ) )映射为资料交付件, 例如直接将某 IR信息映射到用户操作指南中。 然 后, 设计人员根据自身经验设计资料交付件的 Map, 并在 Map 中划分出各 Topic。 其中, 直接将 IR信息映射生成的资料交付件往往缺乏针对性, 不能 被正确应用于实际任务, 使用时的灵活性较差, 不利于用户使用。 发明内容 In the prior art, a designer directly maps an input material (Information Requirement (IR)) that is stored in various files (for example, a Word file or an Excel file) into a data delivery component, for example, directly An IR information is mapped into the user operation guide. Of course After that, the designer designs the Map of the data delivery piece according to his own experience, and divides each Topic in the Map. Among them, the data delivery parts generated by directly mapping the IR information are often lack of pertinence, can not be correctly applied to the actual task, and the flexibility in use is poor, which is not conducive to the user. Summary of the invention
本发明实施例提供一种主题属性信息生成方法及装置, 提高资料交付件的 针对性、 正确性和使用灵活性, 便于用户使用。  The embodiment of the invention provides a method and a device for generating topic attribute information, which improves the pertinence, correctness and flexibility of the data delivery component, and is convenient for the user to use.
本发明实施例提供一种主题 Topic属性信息生成方法, 包括:  An embodiment of the present invention provides a method for generating a Topic attribute information, including:
生成产品的信息需求 IR信息到使用所述产品所要执行的任务的映射关系; 根据所述任务划分出与所述任务对应的 Topic;  Generating information requirements of the product IR information to a mapping relationship of tasks to be performed using the product; dividing a Topic corresponding to the task according to the task;
根据所述 IR信息到所述任务的映射关系, 将所述 IR信息映射为与所述任务 对应的 Topic的属性信息 , 以对所述 Topic进行管理。  And mapping the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
本发明实施例提供一种主题 Topic属性信息生成装置, 包括:  An embodiment of the present invention provides a topic Topic attribute information generating apparatus, including:
第一映射生成模块, 用于生成产品的信息需求 IR信息到使用所述产品所要 执行的任务的映射关系;  a first mapping generating module, configured to generate information mapping requirements of the product to a mapping relationship of tasks to be performed using the product;
划分模块, 用于根据所述任务划分出与所述任务对应的 Topic;  a dividing module, configured to divide a Topic corresponding to the task according to the task;
属性生成模块, 用于根据所述 IR信息到所述任务的映射关系, 将所述 IR 信息映射为所述任务对应的 Topic的属性信息, 以对所述 Topic进行管理。  The attribute generating module is configured to map the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
本发明实施例的主题帮助信息生成方法及装置,首先生成产品的 IR信息 到使用产品所要执行的任务的映射关系, 然后以使用产品所要执行的任务为 基准划分出所需要的 Topic, 通过 IR信息到任务的映射关系将 IR信息映射 为划分出的 Topic的属性信息, 使 Topic具有不同维度的属性, 基于生成的 Topic的属性信息对 Topic进行管理, 一方面提高了 Topic的针对性, 另一方 面提高了对 Topic进行管理的便利性, 进而提高了通过各 Topic组装实现的 帮助信息的针对性、 正确性和使用时的灵活性。 附图说明 The method and device for generating help information of the theme of the embodiment of the present invention firstly generate a mapping relationship between the IR information of the product and the task to be executed by using the product, and then divide the required Topic based on the task to be performed by using the product, and use the IR information to The mapping relationship of the task maps the IR information to the attribute information of the divided Topic, so that the Topic has attributes of different dimensions, and manages the Topic based on the attribute information of the generated Topic, thereby improving the pertinence of the Topic and improving on the other hand. The convenience of managing the Topic improves the pertinence, correctness, and flexibility of the help information achieved by each Topic assembly. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前 提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1为本发明一实施例提供的帮助信息生成方法的流程图;  FIG. 1 is a flowchart of a method for generating help information according to an embodiment of the present invention;
图 2为本发明另一实施例提供的帮助信息生成方法的流程图;  2 is a flowchart of a method for generating help information according to another embodiment of the present invention;
图 3为本发明一实施例提供的 Topic属性信息生成装置的结构示意图; 图 4为本发明另一实施例提供的 Topic属性信息生成装置的结构示意图; 图 5为本发明又一实施例提供的 Topic属性信息生成装置的结构示意图。 具体实施方式  FIG. 3 is a schematic structural diagram of a Topic attribute information generating apparatus according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of a Topic attribute information generating apparatus according to another embodiment of the present invention; Schematic diagram of the structure of the Topic attribute information generating device. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中 的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1 为本发明一实施例提供的 Topic属性信息生成方法的流程图。 如图 1 所示, 本实施例的方法包括:  FIG. 1 is a flowchart of a method for generating Topic attribute information according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
步骤 101、 生成产品的 IR信息到使用产品所要执行的任务间的映射关系。 其中, 所述的产品可以是任何计算机硬件或软件、 通信产品等; 使用产品 所要执行的任务是指用户使用该产品所要完成的事情。 每个产品对应的任务可 以预先获取, 具体可以根据开发目的或者通过向用户调研等方式获取。 例如: 假设本实施例的产品是指文本编辑软件, 用户计划使用该文本编辑软件写一篇 文档, 则该文本编辑软件对应的任务即为写一篇文档。 在本实施例中, 每个任 务都有唯——个标识, 例如: 任务标识( identifier; 简称为: id ) , 用于区分不 同的任务。在本实施例中,每个任务的标识主要是由 Topic属性信息生成装置(后 续简称为生成装置)预先自动分配的。 Step 101: Generate a mapping relationship between the IR information of the product and the tasks to be executed by using the product. Wherein, the product may be any computer hardware or software, a communication product, etc.; the task to be performed by using the product refers to what the user wants to accomplish using the product. The tasks corresponding to each product can be obtained in advance, and can be obtained according to the development purpose or by researching the user. For example: Assume that the product of this embodiment refers to text editing software, and the user plans to use the text editing software to write a document, and the task corresponding to the text editing software is to write a document. In this embodiment, each task has a unique identifier, for example: a task identifier ( identifier; referred to as: id ), used to distinguish The same task. In this embodiment, the identification of each task is mainly automatically allocated in advance by the Topic attribute information generating device (hereinafter simply referred to as a generating device).
其中, 每个任务都有对应的 IR信息。 IR信息是指产品的一些信息, 例如产 品的原始需求(Original Requirement; 简称为: OR )、 产品的设计需求( Design Requirement; 简称为: DR ) 、 产品的特性(Feature ) 、 用户角色 (Role )等。 这些 IR信息可以预先获取, 例如通过对用户进行调研来获取。 在本发明各实施 例中, 对 IR信息的获取方式不做限定。  Among them, each task has corresponding IR information. IR information refers to some information about the product, such as the original requirements of the product (Original Requirement; referred to as: OR), the design requirements of the product (Design Requirement; referred to as: DR), the characteristics of the product (Feature), the role of the user (Role) Wait. These IR information can be obtained in advance, for example, by researching the user. In the embodiments of the present invention, the manner of acquiring the IR information is not limited.
其中, IR信息与任务之间是一种多对多的关系, 即一条 IR信息可以对应多 个任务, 一个任务也可以对应多条 IR信息。  Among them, the relationship between the IR information and the task is a many-to-many relationship, that is, one IR information can correspond to multiple tasks, and one task can also correspond to multiple pieces of IR information.
在本实施例中, 生成装置预先为任务和 IR信息自动配置标识, 并通过将 IR 信息的标识与任务的标识相关联, 生成 IR信息到任务的映射关系。 为便于对 IR 信息到不同任务的映射关系进行管理, 生成装置同时将所生成的 IR信息到任务 的映射关系存储到 IR到任务的映射关系表中。 其中, 上述操作也可以由设计人 员手动来完成。  In this embodiment, the generating device automatically configures an identifier for the task and the IR information in advance, and generates a mapping relationship between the IR information and the task by associating the identifier of the IR information with the identifier of the task. In order to facilitate the management of the mapping relationship between the IR information and the different tasks, the generating device simultaneously stores the generated mapping relationship of the IR information to the task into the mapping relationship table of the IR to the task. The above operation can also be manually performed by the designer.
步骤 102、 根据所述任务的内容划分出与所述任务对应的 Topic。  Step 102: Divide a Topic corresponding to the task according to the content of the task.
每个任务在执行过程中都可能需要参考一些帮助信息 , 而这些帮助信息是 由 Topic 串接而成的。 故本实施例的生成装置根据任务划分出每个任务所需的 Topic, 即与任务对应的 Topic, 也就是用户在完成任务过程中所需要的帮助。 仍 以用户使用文本编辑软件写一篇文档为例,该任务对应的 Topic是指用户在使用 文本编辑软件写文档过程中需要的帮助,例如: "如何调整文档中字体的格式"、 "如何调整文档的页面格式" 、 "如何在文档中链入超链接" 等等。  Each task may need to refer to some help information during the execution process, and the help information is concatenated by Topic. Therefore, the generating apparatus of this embodiment divides the Topic required for each task according to the task, that is, the Topic corresponding to the task, that is, the help required by the user in completing the task. For example, if a user writes a document using text editing software, the Topic corresponding to the task refers to the help that the user needs in writing the document using the text editing software, for example: "How to adjust the format of the font in the document", "How to adjust The page format of the document, "How to link a hyperlink to a document" and so on.
在本发明各实施例中的 Topic符合 DITA标准。 Topic是一个 XML文件, 包括属性和内容两部分; 当 Topic的属性信息被设置好后,将会被赋予对应的内 容; 每个 Topic可以在多个任务中被使用, 例如登录系统的 Topic, 通常每个任 务都需要先登录系统,故该登录系统的 Topic可能会在多个任务中被使用, 即每 个 Topic是可重用的。 从每个 Topic所表达的意思来看, 每个 Topic足够短, 只 描述一个题目或者回答一个问题, 而每个 Topic又足够长, 能够完整的表述这个 题目或回答这个问题。 同时, 每个 Topic还是一个自我包含的信息单元, 即与每 个 Topic相关的信息都在本 Topic中体现, 不用再浏览其他 Topic。 The Topic in various embodiments of the present invention conforms to the DITA standard. Topic is an XML file that includes both attributes and content. When Topic's attribute information is set, it will be assigned the corresponding content. Each Topic can be used in multiple tasks, such as the Topic of the login system. Each task needs to log in to the system first, so the Topic of the login system may be used in multiple tasks, that is, each Topic is reusable. From the meaning expressed by each Topic, each Topic is short enough, only Describe a topic or answer a question, and each topic is long enough to fully describe the topic or answer the question. At the same time, each Topic is also a self-contained information unit, that is, the information related to each Topic is reflected in this Topic, and there is no need to browse other Topics.
其中, 不同的任务对应不同的 Topic。 例如: 用户使用文本编辑软件写一篇 文档和使用文本编辑软件绘制一个表格所用到的帮助并不相同, 则帮助对应的 Topic也就不同。  Among them, different tasks correspond to different Topic. For example: When a user writes a document using text editing software and the help used to draw a table using text editing software is not the same, the corresponding Topic is different.
具体的, 生成装置在根据任务划分出对应的 Topic之后, 会为每个 Topic分 配一个标识, 用于区分不同的 Topic , 然后, 将任务的标识和划分出的 Topic的 标识进行关联, 生成任务到 Topic的映射关系, 并将任务到 Topic的映射关系存 储到任务到 Topic的映射关系表中, 以便于对任务与其对应的 Topic的映射关系 进行管理。  Specifically, after the corresponding device is divided according to the task, the generating device allocates an identifier for each topic to distinguish different Topics, and then associates the identifier of the task with the identifier of the divided Topic to generate a task. Topic's mapping relationship, and the task-to-Topic mapping relationship is stored in the mapping relationship between the task and the Topic, so as to manage the mapping relationship between the task and its corresponding Topic.
步骤 103、根据所述 IR信息到所述任务的映射关系, 将所述 IR信息映射为 与所述任务对应的所述 Topic的属性信息, 以对所述 Topic进行管理。  Step 103: Map the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
具体的, 生成装置可以根据 IR信息到任务的映射关系获取任务对应的 IR 信息的标识; 然后, 根据任务到 Topic的映射关系, 获取任务对应的 Topic的标 识; 之后, 根据 IR信息的标识获取对应的 IR信息, 并根据 Topic的标识获取相 应的 Topic,接着将获取的 IR信息映射为获取的 Topic的属性信息。 其中, 每个 Topic均包括属性和内容两部分, Topic的属性信息可以包括: Topic的标识( id )、 标题 ( title )、 备注 ( comment ) 、 责任人 ( owner )等等。 Topic的标题是 Topic 的名称, 与 Topic的标识相类似, 也用于标识 Topic, 该名称通常是对内容的概 括描述; 例如 "如何发短信" 就是 Topic标题; 而具体发短信的步骤就是内容。 责任人主要是指该 Topic的开发者, 备注是该 topic的说明信息。  Specifically, the generating device may obtain the identifier of the IR information corresponding to the task according to the mapping relationship between the IR information and the task; and then, according to the mapping relationship between the task and the Topic, obtain the identifier of the Topic corresponding to the task; and then obtain the corresponding information according to the identifier of the IR information. The IR information is obtained, and the corresponding Topic is obtained according to the identifier of the Topic, and then the acquired IR information is mapped to the attribute information of the obtained Topic. Each Topic includes two parts: attribute and content. Topic's attribute information can include: Topic's logo (id), title (title), comment (note), owner (owner), and so on. Topic's title is the name of Topic, similar to Topic's logo, and is also used to identify Topic, which is usually an overview of the content; for example, "How to text" is the Topic title; and the specific step of texting is the content. The responsible person mainly refers to the developer of the Topic, and the remarks are the explanation information of the topic.
在本实施例中, 将 IR信息映射为与任务对应的 Topic的属性信息包括: 根 据 IR信息的属性字段生成 Topic的各种属性字段; 然后, 将 IR信息作为 Topic 的相应属性字段。  In this embodiment, mapping the IR information to the attribute information of the Topic corresponding to the task includes: generating various attribute fields of the Topic according to the attribute field of the IR information; and then using the IR information as the corresponding attribute field of the Topic.
进一步, 当 Topic的属性信息确定后, 根据属性信息将所述的 Topic内赋予 /填充相应的内容, 从而构成完整的 Topic。 其中, 如何根据 Topic的属性信息在 Topic内赋予 /填充内容,视不同的产品而定,且该操作属于本领域技术人员的公 知常识, 在此不做详述。 Further, after the attribute information of the Topic is determined, the Topic is given according to the attribute information. /Fill the corresponding content to form a complete Topic. The content is given/filled in the Topic according to the attribute information of the Topic, depending on different products, and the operation belongs to common knowledge of those skilled in the art, and will not be described in detail herein.
更进一步, 在 Topic生成之后, 还包括基于 Topic设计大纲的步骤。 设计大 纲的步骤主要是指通过 Topic的属性搜索相关 Topic, 然后将相关 Topic串起来 作为大纲。 之后, 可以通过 Topic的条件属性过滤出满足发布条件的 Topic。  Further, after the Topic is generated, steps based on the Topic design outline are also included. The main steps of the design outline are to search the related Topic through the properties of Topic, and then string the related Topics as an outline. After that, you can filter out the Topic that meets the publishing conditions by using the condition attribute of Topic.
本实施例的 Topic属性信息生成方法,以使用产品所要执行的任务为依据划 分出 Topic, 并将任务所需的 IR信息映射为 Topic的属性信息, 使 Topic具有多 维度的属性信息, 基于该些属性信息对 Topic进行管理, 一方面提高了 Topic的 针对性, 另一方面提高了对 Topic进行管理的便利性, 进而提高了通过各 Topic 组装实现的帮助信息的针对性、 正确性和使用时的灵活性。  The Topic attribute information generating method in this embodiment divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic, so that the Topic has multi-dimensional attribute information, based on the The attribute information manages the Topic, which improves the pertinence of the Topic, and on the other hand improves the convenience of managing the Topic, thereby improving the pertinence, correctness and use of the help information realized by each Topic assembly. flexibility.
图 2为本发明另一实施例提供的帮助信息生成方法的流程图。 如图 2所示, 本实施例的方法包括:  FIG. 2 is a flowchart of a method for generating help information according to another embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
步骤 201、 获取产品所要执行的任务。  Step 201: Obtain a task to be performed by the product.
为了便于区分不同的任务, 生成装置为每个任务预先分配一个标识, 即为 任务的标识(task— id ) 。  In order to facilitate the differentiation of different tasks, the generating device pre-assigns an identifier to each task, which is the task identifier (task_id).
步骤 202、 生成所述产品的 IR信息到使用所述产品所要执行的任务的映射 关系。  Step 202: Generate a mapping relationship between the IR information of the product and the task to be performed using the product.
其中, 为了更加方便的获取 IR信息, 在本实施例中预先将各种产品的 IR 信息存储到 IR信息表中, 且该 IR信息表允许生成装置方便地进行存取操作。 为了区分不同的 IR信息, 生成装置为每条 IR信息也预先分配了一个标识, 即 为 IR的标识。 在本实施例中, 一条 IR信息包括需求信息、 特性描述和用户角 色信息。 其中, 需求信息又包括原始需求信息和设计需求信息。 为便于区分不 同的信息, 分别为需求信息、 特性描述和用户角色信息分配了标识, 即需求标 识(dr_id ) 、 特性描述标识(feature_id )和角色标识(role_id ) 。  In order to obtain the IR information more conveniently, the IR information of the various products is stored in the IR information table in advance in the embodiment, and the IR information table allows the generating device to conveniently perform the access operation. In order to distinguish different IR information, the generating device also pre-allocates an identifier for each IR information, which is an identifier of the IR. In this embodiment, an IR message includes demand information, a feature description, and user role information. The demand information includes original demand information and design demand information. To facilitate distinguishing different information, identifiers are assigned to the demand information, the feature description, and the user role information, namely, the requirement identifier (dr_id), the feature description identifier (feature_id), and the role identifier (role_id).
基于上述, 一条 IR信息到任务的映射关系包括: 需求信息到任务的映射关 系、 特性描述到任务的映射关系和用户角色到任务的映射关系。 Based on the above, a mapping relationship between IR information and tasks includes: mapping of demand information to tasks Department, feature description to task mapping relationship and user role to task mapping relationship.
具体的, 生成装置分别将需求标识与任务的标识、 特性描述标识与任务的 标识、 角色标识与任务的标识进行关联, 分别生成需求信息到任务的映射关系、 特性描述到任务的映射关系和用户角色到任务的映射关系, 也就形成了 IR信息 到任务的映射关系。 然后, 生成装置将生成的需求信息到任务的映射关系、 特 性描述到任务的映射关系和用户角色到任务的映射关系分别存储到 IR到任务的 映射关系表中。  Specifically, the generating device associates the requirement identifier with the task identifier, the feature description identifier, the task identifier, the role identifier, and the identifier of the task, respectively, and generates the mapping relationship between the requirement information and the task, the mapping relationship between the feature description and the task, and the user. The mapping relationship between roles and tasks forms the mapping relationship between IR information and tasks. Then, the generating device stores the generated mapping information of the required information to the task, the mapping relationship between the feature description to the task, and the mapping relationship between the user role and the task, respectively, into the mapping relationship table of the IR to the task.
步骤 203、 根据所述任务的内容划分出与所述任务对应的 Topic。  Step 203: Divide a Topic corresponding to the task according to the content of the task.
其中, 每个任务可能对应多个 Topic, 为了便于区分不同的 Topic, 生成装 置为每个 Topic分配一个标识, 即 Topic的标识( Topic— id ) 。  Each task may correspond to multiple Topic. To facilitate distinguishing between different Topic, the generating device assigns an identifier to each Topic, that is, the Topic ID (Topic_id).
步骤 204、 生成所述任务到所述 Topic的映射关系。  Step 204: Generate a mapping relationship between the task and the Topic.
具体的, 生成装置将每个 Topic的标识与任务的标识进行关联, 生成任务到 Topic的映射关系, 然后将任务到 Topic的映射关系存储到任务到 Topic的映射 关系表中。  Specifically, the generating device associates the identifier of each Topic with the identifier of the task, generates a mapping relationship between the task and the Topic, and then stores the mapping relationship of the task to the Topic to the mapping relationship table of the task to the Topic.
步骤 205、根据所述 IR信息到所述任务的映射关系和所述任务到所述 Topic 的映射关系, 获取对应于同一任务的 IR信息和 Topic。  Step 205: Acquire IR information and Topic corresponding to the same task according to the mapping relationship between the IR information and the task and the mapping relationship between the task and the Topic.
具体的,根据任务的标识,分别查询 IR到任务的映射关系表和任务到 Topic 的映射关系表, 获取与任务的标识对应的 IR的标识和 Topic的标识, 进而获取 IR信息和 Topic。  Specifically, the IR-to-task mapping relationship table and the task-to-topic mapping relationship table are respectively queried according to the identifier of the task, and the IR identifier and the Topic identifier corresponding to the identifier of the task are obtained, and then the IR information and the Topic are obtained.
步骤 206、 将 IR信息作为 Topic的相应属性字段, 以实现 IR信息到 Topic 的映射。  Step 206: The IR information is used as a corresponding attribute field of the Topic to implement mapping of the IR information to the Topic.
在本实施例中, Topic的属性信息包括基本属性、 条件(condition )属性和 元数据(Metadata )属性。 其中, 基本属性用于对 Topic进行信息描述, 主要包 括以下属性字段: Topic的标识、标题、信息类型( infotype )、备注( comment ) 、 状态 ( status )等。 Topic的基本属性的属性字段信息如表 1所示。  In this embodiment, the attribute information of the Topic includes a basic attribute, a condition attribute, and a metadata (Metadata) attribute. The basic attributes are used to describe the information of Topic, including the following attribute fields: Topic's logo, title, information type (infotype), comment (comment), status (status), and so on. The attribute field information of the basic attributes of Topic is shown in Table 1.
表 1 topic— id title infotype comment status topic— a Table 1 Topic— id title infotype comment status topic— a
Topic的元数据属性中主要包括 IR信息到 Topic的映射,元数据属性包括以 下属性字段: Topic的标识、 名称(name )字段、 名称值(value )字段等。 其中, 元数据属性包括的属性字段信息如表 2所示。  Topic's metadata attributes mainly include the mapping of IR information to Topic. The metadata attributes include the following attribute fields: Topic's identifier, name (name) field, and name value (value) field. The attribute field information included in the metadata attribute is shown in Table 2.
表 2
Figure imgf000010_0001
Table 2
Figure imgf000010_0001
Topic的条件属性主要用于对 Topic进行筛选发布。 条件属性主要包括以下 属性字段: Topic的标识、 名称 (name )字段、 名称值(value )字段等。 其中, 条件属性包括的属性字段信息如表 3所示。 Topic's conditional attributes are mainly used to filter and publish Topic. The condition attribute mainly includes the following attribute fields: the identifier of the Topic, the name (name) field, the name value (value) field, and so on. The attribute field information included in the condition attribute is as shown in Table 3.
表 3
Figure imgf000010_0002
table 3
Figure imgf000010_0002
在本实施例中, IR信息的需求信息主要包括以下属性字段: 需求标识、 标 题、 描述( description ) 、 用户 (owner )等, 其中, 需求标识用于唯一标识一 条需求信息; 标题是该需求信息的名称, 通常是对具体需求进行概括来命名的; 描述字段是对该需求的一个详细说明。 需求信息包括的属性字段信息如表 4所 表 4
Figure imgf000010_0003
In this embodiment, the requirement information of the IR information mainly includes the following attribute fields: a requirement identifier, a title, a description, a user, and the like, wherein the requirement identifier is used to uniquely identify a piece of demand information; the title is the demand information. The name is usually named after generalizing the specific requirements; the description field is a detailed description of the requirement. The attribute field information included in the demand information is shown in Table 4 in Table 4.
Figure imgf000010_0003
IR 信息的特性(Feature)描述主要包括以下属性字段: 特性描述标识 ( feature— id )、名称 ( name )、类型 ( type )、子类型 ( subtype )、描述 ( description ) 和用户 (owner )等。 其中, 特性标识用于唯一标识一个特性描述信息, 。 特性 描述包括的属性字段信息如表 5所示, The feature description of the IR information mainly includes the following attribute fields: attribute description identifier (feature_id), name (name), type (type), subtype (subtype), description (description), and user (owner). The feature identifier is used to uniquely identify a characterization information. Characteristic The attribute field information included in the description is shown in Table 5.
表 5
Figure imgf000011_0001
table 5
Figure imgf000011_0001
IR信息的用户角色信息主要包括以下属性字段: 角色标识(role— id ) 、 名 称 ( name )、描述 ( description )、工作 ( job )、经验 ( experience )和用户 ( owner ) 等; 其中, 角色标识用于唯一标识一条用户角色信息; 通俗的说名称就是该用 户角色叫什么; 描述主要是对用户角色一些信息的介绍; 工作主要用于描述用 户角色的工作性质; 经验主要用于描述用户角色的相关经验。 用户角色信息包 括的属性字段信息如表 6所示。  The user role information of the IR information mainly includes the following attribute fields: a role identifier (role_id), a name (name), a description (description), a job (job), an experience (experience), and a user (owner); wherein, the role identifier It is used to uniquely identify a user role information; the popular name is what the user role is called; the description is mainly about the introduction of some information about the user role; the work is mainly used to describe the working nature of the user role; the experience is mainly used to describe the user role related experience. The attribute field information included in the user role information is shown in Table 6.
表 6
Figure imgf000011_0002
Table 6
Figure imgf000011_0002
基于上述, 当找到与 Topic对应的 IR信息, 也就是找到与 Topic对应的需 求信息、 特性描述和用户角色信息时, 生成装置具体将需求信息的属性字段的 名称 (即 dr— id、 title, description, owner ) 、 特性描述的属性字段的名称 (即 feature— id、 name、 type、 subtype、 description ^ owner ) 、 用户角色信息的属性 字段 ό 名称 ( role— id、 name、 description、 job、 experience 、 owner )分另 ll作 为 Topic的元数据属性中的名称字段的值,即将上述各属性字段的名称拷贝到元 数据属性中的名称字段中, 作为名称字段的值, 如表 7所示。 同时, 生成装置 将需求信息的属性字段的值(dr— a、 ax、 ay、 az ) 、 特性描述的属性字段的值 ( feature— a、 as、 ad、 af、 ag、 ah )、 用户角色信息的属性字段的值( role— a、 aq、 aw、 ae、 ar、 at ) , 分别插入到元数据属性的名称值字段中, 并与作为元数据属 性的名称字段的值的属性字段的名称相对应, 如表 7所示。  Based on the above, when the IR information corresponding to the Topic is found, that is, the requirement information, the feature description, and the user role information corresponding to the Topic are found, the generating device specifically names the attribute field of the requirement information (ie, dr_id, title, description , owner ) , the name of the attribute field of the attribute description (ie, feature_id, name, type, subtype, description ^ owner ), attribute field of the user role information (name) ( role_id, name, description, job, experience, owner The value of the name field in the metadata attribute of the Topic is divided into the name field in the metadata attribute as the value of the name field, as shown in Table 7. At the same time, the generating device sets the value of the attribute field of the demand information (dr_a, ax, ay, az), the value of the attribute field of the attribute description (feature_a, as, ad, af, ag, ah), user role information The values of the attribute fields ( role — a, aq, aw, ae, ar, at ) are inserted into the name value field of the metadata attribute and are associated with the name of the attribute field as the value of the name field of the metadata attribute. Corresponding, as shown in Table 7.
表 7  Table 7
topic— id name value topic— a dr id dr— a topic— a dr— title ax topic— a dr— description ay topic— a dr— owner az topic— a feature— id feature— a topic— a feature name as topic— a feature— type ad topic— a feature— subtype af topic— a feature— description ag topic— a feature— owner ah topic— a role— id role— a topic— a role name aq topic— a role description aw topic— a role」ob ae topic— a role experience ar topic— a role owner at 在此说明, 上述表 7仅给出了一种示例, 用于更加清楚的描述 IR信息到 Topic属性的映射过程, 但并不限于这一种映射关系。 例如: 当 IR信息包括更 多属性字段时,还需要将更多属性字段的名称和值分别映射为 Topic的相应属性 字段中。 又例如: 当 Topic的元数据属性还包括其他属性字段时, 需要根据 IR 信息对其他属性字段进行相应映射。 再例如: 当该 Topic对应多条 IR信息时, 还需要将其他 IR信息中的需求信息、 特性描述和用户角色信息的相应属性字段 的名称和属性字段的值也映射到元数据属性的相应字段中。 Topic— id name value Top_ a dr id dr — a topic — a dr — title ax topic — a dr — description ay topic — a dr — owner az topic — a feature — id feature — a topic — a feature name as topic — a feature— type Ad topic— a feature— subtype af topic— a feature— description ag topic— a feature—owner ah topic— a role— id role— a topic— a role name aq topic— a role description aw topic— a role”ob ae Top_a role experience ar topic—a role owner at Here, Table 7 above gives only an example for more clearly describing the mapping process of IR information to Topic attributes, but is not limited to this type of mapping. relationship. For example: When the IR information includes more attribute fields, you need to map the names and values of more attribute fields to the corresponding attribute fields of the Topic. For another example: When the metadata attribute of Topic also includes other attribute fields, other attribute fields need to be mapped according to the IR information. For example, when the Topic corresponds to multiple pieces of IR information, it is also required to map the name of the corresponding attribute field and the attribute field of the requirement information, the feature description and the user role information in the other IR information to the corresponding field of the metadata attribute. in.
进一步, 在对 Topic进行发布时, 需要基于 Topic的条件属性中的信息。 其 中, 对应 Topic来说, 其发布条件通常是预先设定好的, 往往是从众多 IR信息 中选出的一些信息, 则在本实施例中, 生成装置根据预先设定的发布条件(即 预设策略)将需求信息、 特性描述和 /或用户角色信息中与筛选条件对应属性字 段的名称作为条件属性的名称字段的值, 并将与筛选条件对应属性字段的值插 入到条件属性的名称值字段中, 并与作为条件属性的名称字段的值的属性字段 的名称相对应。 Further, when publishing the Topic, information based on the condition attribute of the Topic is required. In the case of the Topic, the publishing condition is usually preset, and is often selected from a plurality of pieces of IR information. In this embodiment, the generating device is based on a preset publishing condition (ie, Set the attribute word corresponding to the filter condition in the demand information, feature description and/or user role information. The name of the segment is used as the value of the name field of the condition attribute, and the value of the attribute field corresponding to the filter condition is inserted into the name value field of the condition attribute and corresponds to the name of the attribute field of the value of the name field as the condition attribute.
例如: 当根据需求信息的需求标识对 Topic进行发布时, 生成装置将需求信 息的需求标识字段的名称(即 dr— id )拷贝到条件属性的名称字段中, 并将需求 标识字段的值拷贝到条件属性的名称值字段中, 如表 8 所示。 又例如: 当根据 特性描述的名称对 Topic进行发布时, 生成装置将特性描述的名称字段的名称 (即 name )拷贝到条件属性的名称字段中, 并将名称字段的值拷贝到条件属性 的名称值字段中, 如表 8所示。  For example: When the Topic is published according to the requirement identifier of the demand information, the generating device copies the name of the demand identification field of the demand information (ie dr_id) into the name field of the condition attribute, and copies the value of the requirement identification field to The condition attribute has a name in the value field, as shown in Table 8. For another example: When the Topic is published according to the name of the characterization, the generating device copies the name of the name field of the characterization (ie, name) into the name field of the condition attribute, and copies the value of the name field to the name of the condition attribute. In the value field, as shown in Table 8.
表 8  Table 8
Figure imgf000013_0001
Figure imgf000013_0001
在此说明, 上述表 8仅给出了一种示例, 用于更加清楚的描述 IR信息 Topic属性的映射过程, 但并不限于表 8所示。  Here, the above Table 8 only gives an example for more clearly describing the mapping process of the IR information Topic attribute, but is not limited to the one shown in Table 8.
进一步, 为了更加全面的生成 Topic 的属性信息, 生成装置可以自动填写 Topic的基本属性, 例如分别将 Topic的标识、 主题、 状态等自动填写到相应属 性字段下。 对于基本属性中的备注(comment )字段, 生成装置可以直接将任务 的描述信息插入到备注字段中, 作为备注字段的值(或内容) 。 其中, 每个任 务都有其描述信息, 主要是对任务的功能、 性质等进行描述, 而 Topic的备注主 要是对 Topic的功能、 性质等的描述, 可见两者具有相同的作用, 故直接将任务 的描述信息作为备注字段的值而将任务的描述信息插入到备注字段中具有简单 易于实现的优势。  Further, in order to generate the attribute information of the Topic more comprehensively, the generating device can automatically fill in the basic attributes of the Topic, for example, automatically fill in the Topic's logo, theme, status, etc. to the corresponding attribute field. For the comment field in the basic attribute, the generating device can directly insert the description information of the task into the memo field as the value (or content) of the memo field. Each task has its description information, mainly describing the function and nature of the task. Topic's remarks mainly describe the function and nature of Topic. It can be seen that the two have the same effect, so they will directly The description of the task as the value of the memo field and the insertion of the description information of the task into the memo field has the advantage of being simple and easy to implement.
在上所述将 IR信息的各属性字段的名称或各属性字段的值作为 Topic的相 应属性字段的一种具体实现方式是直接将 IR信息的各属性字段的名称或各属性 字段的值直接拷贝到 Topic的相应属性字段中,作为相应字段的值,但并不限于 此。 例如: 当需要对 IR信息的属性字段的名称作适应性修改时, 可以先对 IR 信息的属性字段的名称做适应性修改, 然后将修改后的 IR信息的属性字段的名 称插入到 Topic的相应属性字段中。 In the above, a specific implementation manner of using the name of each attribute field of the IR information or the value of each attribute field as the corresponding attribute field of the Topic is directly copying the name of each attribute field of the IR information or the value of each attribute field directly. In the corresponding attribute field of Topic, as the value of the corresponding field, but not limited to This. For example: When you need to modify the name of the attribute field of the IR information, you can first modify the name of the attribute field of the IR information, and then insert the name of the attribute field of the modified IR information into the corresponding Topic. In the attribute field.
更进一步, 上述 IR信息表以及各映射关系表可存储在同一数据库中, 以便 于生成装置更加方便的进行存取操作, 提高生成 Topic属性信息的效率。  Furthermore, the above-mentioned IR information table and each mapping relationship table can be stored in the same database, so that the generating device can more easily perform access operations and improve the efficiency of generating Topic attribute information.
本实施例的 Topic属性信息生成方法,生成装置以使用产品所要执行的任务 为依据划分出 Topic,并将任务所需的 IR信息映射为 Topic的属性信息使得 Topic 具有不同维度的属性, 基于生成的 Topic的属性信息对 Topic进行管理, 一方面 提高了 Topic的针对性, 另一方面提高了对 Topic进行管理时的便利性, 进而提 高了基于 Topic生成的帮助信息的针对性、正确性和使用时的灵活性, 能够使用 户更加高效的完成任务。 另外, 在本实施例中通过 IR信息表、 映射关系表管理 各种信息, 具有管理方便的优点, 同时可以将各个表存放在同一数据库中, 便 于对各种信息进行管理, 还能解决现有技术中 IR信息、 IR到 Topic的映射关系 等分散存放在各种文件中不便于使用的问题。  In the Topic attribute information generating method of the embodiment, the generating device divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic so that the Topic has attributes of different dimensions, based on the generated Topic's attribute information manages Topic, which improves the pertinence of Topic. On the other hand, it improves the convenience of managing Topic, and improves the relevance, correctness and use of help information generated by Topic. The flexibility to enable users to complete tasks more efficiently. In addition, in the embodiment, the IR information table and the mapping relationship table are used to manage various information, which has the advantages of convenient management, and each table can be stored in the same database, which facilitates management of various information, and can also solve existing problems. In the technology, the IR information, the mapping relationship between IR and Topic, etc. are scattered and stored in various files, which is inconvenient to use.
基于上述各实施例, 本实施例的帮助信息生成方法还包括: 根据 IR信息的 增加、 删除或爹改而自动更新 Topic的操作。  Based on the foregoing embodiments, the help information generating method of this embodiment further includes: automatically updating the operation of the Topic according to the addition, deletion, or tampering of the IR information.
具体的, 当某个任务对应的 IR信息中又新增 IR信息时, 生成装置生成新 增 IR信息到任务的映射关系; 然后, 根据与新增 IR信息对应的任务的标识, 查询任务到 Topic的映射关系表, 获取与该任务的标识对应的 Topic的标识; 然 后, 将新增 IR信息映射到获取的 Topic的标识对应的 Topic的属性信息中, 并 为该 Topic设置状态变更标识, 以标识该 Topic被更新过。 其中, 将新增 IR映 射到 Topic的属性信息中的具体过程可参见图 2所示实施例中步骤 206中的相应 描述,在此不再赘述。其中,生成装置可以将该 Topic对应的状态标识设置为 1 , 以标识该 Topic被修改过, 从而使用户能够追溯该 Topic的修改过程, 以提高任 务的完成效率。 更进一步, 生成装置还会将所生成的新增 IR信息到任务的映射 关系存储到 IR到任务的映射关系表中, 以便于后续查询和使用。 当任务对应的 IR信息中删除 IR信息时, 根据与被删除 IR信息对应的任务 的标识, 查询任务到 Topic的映射关系表, 获取与任务的标识对应的 Topic的标 识; 将获取的 Topic的标识对应的 Topic的属性信息中, 与被删除的 IR信息对 应的属性信息删除, 并为 Topic设置状态变更标识; 然后,生成装置将被删除 IR 信息到任务的映射关系从 IR到任务的映射关系表中删除。 其中, 生成装置可以 将该 Topic的状态标识设置为 1 , 以标识该 Topic被修改过, 使用户可以追溯该 Topic的修改过程, 以提高任务完成的效率。 Specifically, when the IR information is added to the IR information corresponding to the task, the generating device generates a mapping relationship between the newly added IR information and the task; and then, according to the identifier of the task corresponding to the newly added IR information, the task is searched to the Topic. The mapping relationship table is configured to obtain the identifier of the Topic corresponding to the identifier of the task. Then, the new IR information is mapped to the attribute information of the Topic corresponding to the identifier of the obtained Topic, and the state change identifier is set for the Topic to identify The Topic has been updated. For a specific process of mapping the newly added IR to the attribute information of the Topic, refer to the corresponding description in the step 206 in the embodiment shown in FIG. 2, and details are not described herein again. The generating device may set the status identifier corresponding to the Topic to 1 to identify that the Topic is modified, so that the user can trace the modification process of the Topic to improve the completion efficiency of the task. Further, the generating device further stores the generated mapping relationship of the newly added IR information to the task into the mapping relationship table of the IR to the task, so as to facilitate subsequent query and use. When the IR information is deleted from the IR information corresponding to the task, the mapping relationship between the task and the Topic is obtained according to the identifier of the task corresponding to the deleted IR information, and the identifier of the Topic corresponding to the identifier of the task is obtained; In the attribute information of the corresponding Topic, the attribute information corresponding to the deleted IR information is deleted, and the state change identifier is set for the Topic; then, the generating device deletes the mapping relationship of the IR information to the task from the IR to the task mapping table. Deleted. The generating device may set the status identifier of the Topic to 1 to identify that the Topic has been modified, so that the user can trace the modification process of the Topic to improve the efficiency of task completion.
当修改任务对应的 IR信息时, 根据与被修改的 IR信息对应的任务的标识, 查询任务到 Topic的映射关系表, 获取与该任务的标识对应的 Topic的标识; 将 获取的 Topic的标识对应的 Topic的属性信息进行修改, 并为该 Topic设置状态 变更标识。其中,生成装置可以将该 Topic的状态标识设置为 1 , 以标识该 Topic 被修改过, 使得用户能够追溯到该 Topic的修改过程, 提高任务完成的效率。  When the IR information corresponding to the task is modified, the mapping of the task to the Topic is performed according to the identifier of the task corresponding to the modified IR information, and the identifier of the Topic corresponding to the identifier of the task is obtained; The attribute information of the Topic is modified, and the status change identifier is set for the Topic. The generating device may set the status identifier of the Topic to 1 to identify that the Topic has been modified, so that the user can trace back to the modification process of the Topic, and improve the efficiency of task completion.
本实施例的 Topic属性信息生成方法, 在 IR信息发生变化时, 生成装置自 动根据 IR信息的变化更新 Topic的属性信息,克服了现有技术中手动更新 Topic 属性信息效率较低的问题,提高了更新 Topic的效率,且基于之前存储的各种映 射关系表可以降低更新出错的概率, 为提高用户完成任务的效率打下了基础。  In the Topic attribute information generating method of the embodiment, when the IR information changes, the generating device automatically updates the attribute information of the Topic according to the change of the IR information, thereby overcoming the problem that the manual updating of the Topic attribute information in the prior art is inefficient, and the problem is improved. The efficiency of the Topic is updated, and the various mapping tables stored before can reduce the probability of update errors, which lays a foundation for improving the efficiency of the user to complete the task.
图 3为本发明一实施例提供的 Topic属性信息生成装置的结构示意图。如图 3所示, 本实施例的装置包括: 第一映射生成模块 31、 划分模块 32和属性生成 模块 33。  FIG. 3 is a schematic structural diagram of a Topic attribute information generating apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus of this embodiment includes: a first mapping generating module 31, a dividing module 32, and an attribute generating module 33.
其中, 第一映射生成模块 31 , 用于生成产品的 IR信息到使用产品所要执行 的任务的映射关系。 划分模块 32, 用于根据任务划分出与任务对应的 Topic。 属 性生成模块 33 , 与第一映射生成模块 31和划分模块 32连接, 用于根据 IR信息 到任务的映射关系,将 IR信息映射为任务对应的 Topic的属性信息, 以对 Topic 进行管理。  The first mapping generating module 31 is configured to generate a mapping relationship between the IR information of the product and the task to be executed by using the product. The dividing module 32 is configured to divide a Topic corresponding to the task according to the task. The attribute generation module 33 is connected to the first mapping generation module 31 and the division module 32, and is configured to map the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
本实施例的 Topic 属性信息生成装置的各功能模块可用于执行图 1 所示 Each functional module of the Topic attribute information generating apparatus of this embodiment can be used to perform the function shown in FIG.
Topic属性信息生成方法的流程, 其具体工作原理不再赘述, 详见方式实施例的 描述。 The flow of the Topic attribute information generation method, and the specific working principle thereof is not described again. For details, refer to the method embodiment. Description.
本实施例的 Topic属性信息生成装置,以使用产品所要执行的任务为依据划 分出 Topic, 并将任务所需的 IR信息映射为 Topic的属性信息, 使 Topic具有多 维度的属性信息, 基于该些属性信息对 Topic进行管理, 一方面提高了 Topic的 针对性, 另一方面提高了对 Topic进行管理的便利性, 进而提高了通过各 Topic 组装实现的帮助信息的针对性、 正确性和使用时的灵活性。  The Topic attribute information generating apparatus of the present embodiment divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic, so that the Topic has multi-dimensional attribute information, based on the The attribute information manages the Topic, which improves the pertinence of the Topic, and on the other hand improves the convenience of managing the Topic, thereby improving the pertinence, correctness and use of the help information realized by each Topic assembly. flexibility.
图 4为本发明另一实施例提供的 Topic属性信息生成装置的结构示意图。本 实施例基于图 3所示实施例实现, 如图 4所示, 本实施例的装置还包括: 存储 模块 41。  FIG. 4 is a schematic structural diagram of a Topic attribute information generating apparatus according to another embodiment of the present invention. The embodiment is implemented based on the embodiment shown in FIG. 3. As shown in FIG. 4, the apparatus of this embodiment further includes: a storage module 41.
其中, 存储模块 41 , 用于在第一映射生成模块 31使用 IR信息之前, 将产 品的 IR信息存储到 IR信息表中, 通过 IR信息表对产品的 IR信息进行统一管 理, 提高了后续使用 IR信息时的便利性。  The storage module 41 is configured to store the IR information of the product in the IR information table before the first mapping generation module 31 uses the IR information, and uniformly manage the IR information of the product through the IR information table, thereby improving the subsequent use of the IR information. Convenience when information is available.
本实施例的第一映射生成模块 31包括: 第一映射生成单元 311和第一存储 单元 312。  The first mapping generating module 31 of this embodiment includes: a first mapping generating unit 311 and a first storage unit 312.
在具体实施过程中, 为便于区分任务和 IR信息, 预先为任务和 IR信息分 别分配了具有唯一性的标识。 第一映射生成单元 311用于将 IR信息的预定义标 识与任务的预定义标识进行关联, 生成 IR信息到任务的映射关系。 第一存储单 元 312, 与第一映射生成单元 311连接, 用于将 IR信息到任务的映射关系存储 到 IR到任务的映射关系表中。  In the specific implementation process, in order to distinguish between the task and the IR information, the task and the IR information are respectively assigned a unique identifier. The first mapping generating unit 311 is configured to associate the predefined identifier of the IR information with the predefined identifier of the task to generate a mapping relationship of the IR information to the task. The first storage unit 312 is connected to the first mapping generating unit 311, and is configured to store the mapping relationship of the IR information to the task into the mapping relationship table of the IR to the task.
本实施例的划分模块 32包括:第二映射生成单元 321和第二存储单元 322。 在具体实施过程中, 一个任务可能对应多个 Topic, 为了便于对 Topic进行 区分, 为 Topic分配了具有唯一性的标识。 第二映射生成单元 321 , 用于根据任 务划分 Topic, 并为划分出的 Topic分配标识, 将任务的预定义标识与划分出的 Topic的标识进行关联, 生成任务到 Topic的映射关系。 第二存储单元 322, 与 第二映射生成单元 321连接,用于将任务到 Topic的映射关系存储到任务到 Topic 的映射关系表中。 基于上述, 本实施例的属性生成模块 33包括: 第一获取单元 331、 第二获 取单元 332和属性生成单元 333。 The dividing module 32 of this embodiment includes: a second mapping generating unit 321 and a second storage unit 322. In a specific implementation process, a task may correspond to multiple Topics. To facilitate distinguishing between Topics, Topic is assigned a unique identifier. The second mapping generating unit 321 is configured to divide the Topic according to the task, allocate an identifier to the divided Topic, associate the predefined identifier of the task with the identifier of the divided Topic, and generate a mapping relationship between the task and the Topic. The second storage unit 322 is connected to the second mapping generating unit 321 and configured to store the mapping relationship of the task to the Topic into the mapping relationship table of the task to the Topic. Based on the above, the attribute generation module 33 of the present embodiment includes: a first acquisition unit 331, a second acquisition unit 332, and an attribute generation unit 333.
其中, 第一获取单元 331 , 与第一映射生成单元 311连接, 用于根据第一映 射生成单元 311生成的 IR信息到任务的映射关系, 获取任务对应的 IR信息的 预定义标识。 第二获取单元 332, 与第二映射生成单元 321连接, 用于根据第二 映射生成单元 321生成的任务到 Topic的映射关系,获取任务对应的 Topic的标 识。 属性生成单元 333 , 与第一获取单元 331和第二获取单元 332连接, 用于将 与获取的 IR信息的标识对应的 IR信息映射为与获取的 Topic 的标识对应的 Topic的属性信息。  The first obtaining unit 331 is connected to the first mapping generating unit 311, and is configured to obtain a predefined identifier of the IR information corresponding to the task according to the mapping relationship between the IR information generated by the first mapping generating unit 311 and the task. The second obtaining unit 332 is connected to the second mapping generating unit 321 and configured to acquire the identifier of the Topic corresponding to the task according to the mapping relationship between the task and the Topic generated by the second mapping generating unit 321. The attribute generating unit 333 is connected to the first obtaining unit 331 and the second obtaining unit 332, and is configured to map the IR information corresponding to the identifier of the acquired IR information to the attribute information of the Topic corresponding to the identifier of the acquired Topic.
其中, Topic的属性信息是以属性字段的形式呈现的, 故属性生成单元 333 具体用于将 IR信息拷贝为 Topic的相应属性字段。  The attribute information of the Topic is presented in the form of an attribute field. Therefore, the attribute generating unit 333 is specifically configured to copy the IR information into a corresponding attribute field of the Topic.
其中,上述各功能单元可用于执行图 1所示 Topic属性信息生成方法的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The foregoing functional units may be used to execute the process of the method for generating the Topic attribute information shown in FIG. 1. The specific working principle is not described here. For details, refer to the description of the method embodiment.
进一步, 当 IR信息包括需求信息、 特性描述和用户角色信息, Topic的属 性信息包括条件属性和元数据属性时, 属性生成单元 333具体用于将 IR信息中 需求信息的、特性描述的和用户角色信息的属性字段的名称分别作为 Topic的元 数据属性的名称字段的值, 并将需求信息的、 特性描述的和用户角色信息的属 性字段的值分别插入 Topic的元数据属性的名称值字段中,并使各属性字段的值 与作为名称字段的值的属性字段的名称相对应。 属性生成单元 333 还用于根据 预先设定的筛选条件, 分别将需求信息、 特性描述和 /或用户角色信息中与筛选 条件对应属性字段的名称作为 Topic的条件属性的名称字段的值,并将与筛选条 件对应属性字段的值插入条件属性的名称值字段中, 并使各属性字段的值与作 为名称字段的值的属性字段的名称相对应。  Further, when the IR information includes the requirement information, the feature description, and the user role information, and the attribute information of the Topic includes the condition attribute and the metadata attribute, the attribute generating unit 333 is specifically configured to: describe the feature information in the IR information, and describe the user role. The name of the attribute field of the information is respectively used as the value of the name field of the metadata attribute of the Topic, and the values of the attribute information of the requirement information, the attribute description, and the user role information are respectively inserted into the name value field of the metadata attribute of the Topic, And the value of each attribute field corresponds to the name of the attribute field that is the value of the name field. The attribute generating unit 333 is further configured to respectively use the name of the attribute field corresponding to the filter condition in the requirement information, the attribute description, and/or the user role information as the value of the name field of the condition attribute of the Topic according to the preset filter condition, and The value of the attribute field corresponding to the filter condition is inserted into the name value field of the condition attribute, and the value of each attribute field corresponds to the name of the attribute field as the value of the name field.
进一步, Topic的属性信息还包括: 基本属性, 用于对 Topic进行信息描述。 属性生成单元还用于将与 Topic对应的任务的描述信息作为基本属性信息的备 注字段的值, 用于对 Topic进行描述。 其中, 属性生成单元具体可用于图 2所示 Topic属性信息生成方法中步骤 206的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。 Further, the attribute information of the Topic includes: a basic attribute, which is used to describe the information of the Topic. The attribute generating unit is further configured to use the description information of the task corresponding to the Topic as the value of the memo field of the basic attribute information for describing the Topic. The attribute generating unit is specifically used in the process of step 206 in the Topic attribute information generating method shown in FIG. 2, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例的 Topic属性信息生成装置,以使用产品所要执行的任务为依据划 分出 Topic, 并将任务所需的 IR信息映射为 Topic的属性信息, 使 Topic具有多 维度的属性信息, 基于该些属性信息对 Topic进行管理, 一方面提高了 Topic的 针对性, 另一方面提高了对 Topic进行管理的便利性, 进而提高了通过各 Topic 组装实现的帮助信息的针对性、 正确性和使用时的灵活性。  The Topic attribute information generating apparatus of the present embodiment divides the Topic based on the task to be executed by using the product, and maps the IR information required by the task to the attribute information of the Topic, so that the Topic has multi-dimensional attribute information, based on the The attribute information manages the Topic, which improves the pertinence of the Topic, and on the other hand improves the convenience of managing the Topic, thereby improving the pertinence, correctness and use of the help information realized by each Topic assembly. flexibility.
图 5为本发明又一实施例提供的 Topic属性信息生成装置的结构示意图。本 实施例可基于图 4所示实施例实现, 如图 5所示, 本实施例的装置还包括: 第 二映射生成模块 51、 第一查询获取模块 52和第一属性更新模块 53。  FIG. 5 is a schematic structural diagram of a Topic attribute information generating apparatus according to another embodiment of the present invention. The embodiment may be implemented based on the embodiment shown in FIG. 4. As shown in FIG. 5, the apparatus of this embodiment further includes: a second mapping generating module 51, a first query obtaining module 52, and a first attribute updating module 53.
其中, 第二映射生成模块 51 , 用于在任务对应的 IR信息中新增 IR信息时, 生成新增 IR信息到任务的映射关系。 第一查询获取模块 52, 与第二映射生成模 块 51连接, 用于根据与新增 IR信息对应的任务的标识, 查询任务到 Topic的映 射关系表, 获取与任务的标识对应的 Topic的标识。 第一属性更新模块 53 , 与 第一查询获取模块 52连接,用于将新增 IR信息映射到与获取的 Topic的标识对 应的 Topic的属性信息中, 并为 Topic设置状态变更标识。  The second mapping generating module 51 is configured to generate a mapping relationship between the newly added IR information and the task when the IR information is added to the IR information corresponding to the task. The first query obtaining module 52 is connected to the second mapping generating module 51, and is configured to query the mapping relationship of the task to the topic according to the identifier of the task corresponding to the newly added IR information, and obtain the identifier of the Topic corresponding to the identifier of the task. The first attribute update module 53 is connected to the first query obtaining module 52, and is configured to map the newly added IR information to the attribute information of the Topic corresponding to the acquired Topic identifier, and set the state change identifier for the Topic.
上述各功能模块可用于执行上述方法实施例提供的在新增 IR信息时更新 Topic属性信息的操作流程, 其具体工作原理不再赘述。  The foregoing functional modules may be used to perform the operation flow of updating the Topic attribute information when the IR information is added, which is provided in the foregoing method embodiment, and the specific working principle is not described herein.
进一步, 本实施例的装置还包括: 第二查询获取模块 54、 第二属性更新模 块 55和删除模块 56。  Further, the apparatus of this embodiment further includes: a second query obtaining module 54, a second attribute updating module 55, and a deleting module 56.
第二查询获取模块 54, 用于在任务对应的 IR信息中删除 IR信息时, 根据 与被删除的 IR信息对应的任务的标识, 查询任务到 Topic的映射关系表, 获取 与任务的标识对应的 Topic的标识。 第二属性更新模块 55, 与第二查询获取模 块 54连接, 用于将获取的 Topic的标识对应的 Topic的属性信息中, 与被删除 的 IR信息对应的属性信息删除, 并为 Topic设置状态变更标识。 删除模块 56, 与第二查询获取模块 54连接, 用于根据与被删除的 IR信息对应的任务的标识, 将被删除的 IR信息到任务的映射关系从 IR信息到任务的映射关系表中删除。 上述各功能模块可用于执行上述方法实施例提供的在删除 IR信息时更新The second query obtaining module 54 is configured to: when the IR information is deleted in the IR information corresponding to the task, query the mapping relationship table of the task to the Topic according to the identifier of the task corresponding to the deleted IR information, and obtain the mapping corresponding to the identifier of the task. Topic logo. The second attribute update module 55 is connected to the second query obtaining module 54 for deleting the attribute information corresponding to the deleted IR information in the attribute information of the Topic corresponding to the acquired Topic identifier, and setting the status change for the Topic. Logo. The deleting module 56 is connected to the second query obtaining module 54 for identifying the task according to the deleted IR information. The mapping relationship between the deleted IR information and the task is deleted from the mapping information of the IR information to the task. Each of the foregoing functional modules may be used to perform the update provided when the IR information is deleted, which is provided by the foregoing method embodiment.
Topic属性信息的操作流程, 其具体工作原理不再赘述。 The operation flow of Topic attribute information, its specific working principle will not be described.
更进一步, 本实施例的装置还包括: 第三查询获取模块 57和第三属性更新 模块 58。  Further, the apparatus of this embodiment further includes: a third query obtaining module 57 and a third attribute updating module 58.
第三查询获取模块 57,用于在修改任务对应的 IR信息时,根据与被修改 IR 信息对应的任务的标识, 查询任务到 Topic的映射关系表, 获取与任务的标识对 应的 Topic的标识。 第三属性更新模块 58, 与第三查询获取模块 57连接, 用于 将获取的所述 Topic的标识对应的 Topic的属性信息进行修改, 并为所述 Topic 设置状态变更标识。  The third query obtaining module 57 is configured to query the mapping relationship between the task and the Topic according to the identifier of the task corresponding to the modified IR information, and obtain the identifier of the Topic corresponding to the identifier of the task. The third attribute update module 58 is connected to the third query obtaining module 57, and is configured to modify the acquired attribute information of the Topic corresponding to the Topic identifier, and set a state change identifier for the Topic.
上述各功能模块可用于执行上述方法实施例提供的在修改 IR信息时更新 Topic属性信息的操作流程, 其具体工作原理不再赘述。  The foregoing functional modules may be used to perform the operation flow of updating the Topic attribute information when modifying the IR information provided by the foregoing method embodiment, and the specific working principle is not described herein.
本实施例的 Topic属性信息生成装置, 通过上述各功能模块在 IR信息发生 变化时, 自动根据 IR信息的变化更新 Topic的属性信息, 克服了现有技术中手 动更新 Topic属性信息效率较低的问题, 提高了更新 Topic的效率, 且基于之前 存储的各种映射关系表可以降低更新出错的概率, 为提高用户完成任务的效率 打下了基础。  The Topic attribute information generating apparatus of the present embodiment automatically updates the attribute information of the Topic according to the change of the IR information when the IR information changes, thereby overcoming the problem of low efficiency of manually updating the Topic attribute information in the prior art. , improve the efficiency of updating Topic, and based on the various mapping tables stored before, can reduce the probability of update errors, and lay a foundation for improving the efficiency of users to complete tasks.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可 以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存 储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储 介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 Rights request
1、 一种主题 Topic属性信息生成方法, 其特征在于, 包括: 1. A theme Topic attribute information generating method, which is characterized in that:
生成产品的信息需求 IR信息到使用所述产品所要执行的任务的映射关系; 根据所述任务划分出与所述任务对应的 Topic;  Generating information requirements of the product IR information to a mapping relationship of tasks to be performed using the product; dividing a Topic corresponding to the task according to the task;
根据所述 IR信息到所述任务的映射关系, 将所述 IR信息映射为所述任务 对应的 Topic的属性信息 , 以对所述 Topic进行管理。  And mapping the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task, to manage the Topic.
2、 根据权利要求 1所述的 Topic属性信息生成方法, 其特征在于, 所述生 成产品的信息需求 IR信息到使用所述产品所要执行的任务的映射关系包括: IR信息到所述任务的映射关系;  2. The Topic attribute information generating method according to claim 1, wherein the mapping relationship between the information request IR information of the generated product and the task to be executed using the product comprises: mapping of the IR information to the task Relationship
将所述 IR信息到所述任务的映射关系存储到 IR到任务的映射关系表中。 The mapping relationship of the IR information to the task is stored in an IR to task mapping table.
3、 根据权利要求 1所述的 Topic属性信息生成方法, 其特征在于, 根据所 述任务划分出与所述任务对应的 Topic包括: The method for generating a Topic attribute information according to claim 1, wherein the topic corresponding to the task is divided according to the task:
根据所述任务划分 Topic, 并为划分出的 Topic分配标识;  Dividing Topic according to the task, and assigning an identifier to the divided Topic;
将所述任务的预定义标识和划分出的所述 Topic的标识进行关联, 生成所 述任务到所述 Topic的映射关系;  Correlating the predefined identifier of the task with the identified identifier of the Topic, and generating a mapping relationship between the task and the Topic;
将所述任务到所述 Topic的映射关系存储到任务到 Topic的映射关系表中。  The mapping relationship between the task and the Topic is stored in the mapping relationship table of the task to the Topic.
4、 根据权利要求 3所述的 Topic属性信息生成方法, 其特征在于, 所述 根据所述 IR信息到所述任务的映射关系, 将所述 IR信息映射为所述任务对应 的 Topic的属性信息, 以对所述 Topic进行管理包括: The method for generating a Topic attribute information according to claim 3, wherein the mapping the IR information to the attribute information of the Topic corresponding to the task according to the mapping relationship between the IR information and the task To manage the Topic includes:
根据所述 IR信息到所述任务的映射关系, 获取所述任务对应的 IR信息的 预定义标识;  Acquiring a predefined identifier of the IR information corresponding to the task according to the mapping relationship between the IR information and the task;
根据所述任务到所述 Topic的映射关系, 获取所述任务对应的 Topic的标 识;  Acquiring the identifier of the Topic corresponding to the task according to the mapping relationship between the task and the Topic;
将与获取的所述 IR信息的标识对应的 IR信息映射为与获取的所述 Topic 的标识对应的 Topic的属性信息。 The IR information corresponding to the acquired identifier of the IR information is mapped to the attribute information of the Topic corresponding to the acquired identifier of the Topic.
5、 根据权利要求 4所述的 Topic属性信息生成方法, 其特征在于, 所述将 与获取的所述 IR信息的标识对应的 IR信息映射为与获取的所述 Topic的标识 对应的 Topic的属性信息包括: The method for generating a Topic attribute information according to claim 4, wherein the mapping of the IR information corresponding to the acquired identifier of the IR information to the attribute of the Topic corresponding to the acquired identifier of the Topic Information includes:
将所述 IR信息作为所述 Topic的相应属性字段。  The IR information is used as a corresponding attribute field of the Topic.
6、 根据权利要求 1或 2或 3或 4或 5所述的 Topic属性信息生成方法, 其 特征在于,所述生成产品的信息需求 IR信息到使用所述产品所要执行的任务的 映射关系之前包括:  The method for generating Topic attribute information according to claim 1 or 2 or 3 or 4 or 5, wherein the information request IR information of the generated product is included before the mapping relationship of the task to be executed using the product. :
将所述产品的 IR信息存储到 IR信息表中。  The IR information of the product is stored in an IR information table.
7、根据权利要求 5所述的 Topic属性信息生成方法, 其特征在于, 所述 IR 信息包括: 需求信息、 特性描述和用户角色信息;  The method of generating the Topic attribute information according to claim 5, wherein the IR information comprises: requirement information, a feature description, and user role information;
所述 Topic的属性信息包括: 基本属性、 条件属性和元数据属性; 所述将所述 IR信息作为所述 Topic的相应属性字段包括:  The attribute information of the Topic includes: a basic attribute, a condition attribute, and a metadata attribute; and the using the IR information as the corresponding attribute field of the Topic includes:
将所述 IR信息中需求信息的、特性描述的和用户角色信息的属性字段的名 称分别作为所述 Topic的元数据属性的名称字段的值, 并将所述需求信息的、 特性描述的和用户角色信息的属性字段的值分别插入到所述 Topic的元数据属 性的名称值字段中,并与作为所述名称字段的值的所述属性字段的名称相对应; 根据预先设定的筛选条件, 分别将所述需求信息、 特性描述和 /或用户角色信息 中与所述筛选条件对应属性字段的名称作为所述条件属性的名称字段的值, 并 将与所述筛选条件对应属性字段的值插入到所述条件属性的名称值字段中, 并 与作为所述名称字段的值的所述属性字段的名称相对应。  Determining, in the IR information, the name of the attribute information of the requirement information, the characterization, and the attribute of the user role as the value of the name field of the metadata attribute of the Topic, and describing the trait, the characterization, and the user The values of the attribute fields of the role information are respectively inserted into the name value field of the metadata attribute of the Topic, and correspond to the name of the attribute field as the value of the name field; according to a preset filtering condition, Determining, in the requirement information, the feature description, and/or the user role information, a name of the attribute field corresponding to the filter condition as a value of a name field of the condition attribute, and inserting a value of the attribute field corresponding to the filter condition Go to the name value field of the condition attribute and correspond to the name of the attribute field that is the value of the name field.
8、 根据权利要求 7所述的 Topic属性信息生成方法, 其特征在于, 所述 Topic的属性信息还包括: 基本属性, 用于对所述 Topic进行信息描述;  The topic attribute information generating method according to claim 7, wherein the attribute information of the Topic further includes: a basic attribute, configured to describe information about the Topic;
所述 Topic属性信息生成方法还包括:  The method for generating the Topic attribute information further includes:
将与所述 Topic对应的任务的描述信息作为所述基本属性信息的备注字段 的值。  The description information of the task corresponding to the Topic is used as the value of the memo field of the basic attribute information.
9、 根据权利要求 4或 5或 7或 8所述的 Topic属性信息生成方法, 其特征 在于, 还包括: 9. The Topic attribute information generating method according to claim 4 or 5 or 7 or 8, characterized in that It also includes:
当所述任务对应的 IR信息中新增 IR信息时,生成新增 IR信息到所述任务 的映射关系;  When the IR information is added to the IR information corresponding to the task, a mapping relationship between the newly added IR information and the task is generated.
根据与所述新增 IR信息对应的任务的标识,查询所述任务到所述 Topic的 映射关系表, 获取与所述任务的标识对应的 Topic的标识;  And querying the mapping relationship between the task and the Topic according to the identifier of the task corresponding to the newly added IR information, and acquiring the identifier of the Topic corresponding to the identifier of the task;
将所述新增 IR信息映射到与获取的所述 Topic的标识对应的所述 Topic的 属性信息中, 并为所述 Topic设置状态变更标识。  And mapping the newly added IR information to the attribute information of the Topic corresponding to the acquired identifier of the Topic, and setting a state change identifier for the Topic.
10、 根据权利要求 4或 5或 7或 8所述的 Topic属性信息生成方法, 其特 征在于, 还包括:  The method for generating a Topic attribute information according to claim 4 or 5 or 7 or 8, wherein the method further comprises:
当所述任务对应的 IR信息中删除 IR信息时,根据与被删除的 IR信息对应 的所述任务的标识, 查询所述任务到 Topic的映射关系表, 获取与所述任务的 标 f †应的 Topic的标 K;  When the IR information is deleted from the IR information corresponding to the task, the mapping relationship between the task and the Topic is queried according to the identifier of the task corresponding to the deleted IR information, and the target f of the task is obtained. The subject of the Topic;
将获取的所述 Topic的标识对应的 Topic的属性信息中, 与所述被删除的 The obtained Topic identifier corresponding to the Topic attribute information, and the deleted
IR信息对应的属性信息删除, 并为所述 Topic设置状态变更标识; The attribute information corresponding to the IR information is deleted, and a state change identifier is set for the Topic;
将所述被删除的 IR信息到所述任务的映射关系从所述 IR信息到所述任务 的映射关系表中删除。  And deleting the mapping relationship of the deleted IR information to the task from the IR information to the mapping relationship table of the task.
1 1、 根据权利要求 4或 5或 7或 8所述的 Topic属性信息生成方法, 其特 征在于, 还包括:  The method for generating a Topic attribute information according to claim 4 or 5 or 7 or 8, wherein the method further comprises:
当修改所述任务对应的 IR信息时, 根据与被修改 IR信息对应的任务的标 识, 查询所述任务到 Topic的映射关系表, 获取与所述任务的标识对应的 Topic 的标识;  When the IR information corresponding to the task is modified, the mapping to the Topic mapping relationship table is performed according to the identifier of the task corresponding to the modified IR information, and the identifier of the Topic corresponding to the identifier of the task is obtained;
将获取的所述 Topic的标识对应的 Topic的属性信息进行修改, 并为所述 Topic设置状态变更标识。  Modifying the attribute information of the Topic corresponding to the obtained Topic identifier, and setting a state change identifier for the Topic.
12、 一种主题 Topic属性信息生成装置, 其特征在于, 包括:  12. A theme Topic attribute information generating apparatus, comprising:
第一映射生成模块,用于生成产品的信息需求 IR信息到使用所述产品所要 执行的任务的映射关系; 划分模块, 用于根据所述任务划分出与所述任务对应的 Topic; 属性生成模块, 用于根据所述 IR信息到所述任务的映射关系, 将所述 IR 信息映射为所述任务对应的 Topic的属性信息, 以对所述 Topic进行管理。 a first mapping generating module, configured to generate a mapping relationship between the information request IR information of the product and a task to be executed using the product; a partitioning module, configured to divide a Topic corresponding to the task according to the task; an attribute generating module, configured to map the IR information to a corresponding task according to the mapping relationship between the IR information and the task Topic's attribute information to manage the Topic.
13、 根据权利要求 12所述的 Topic属性信息生成装置, 其特征在于, 所述 第一映射生成模块包括:  The device for generating a topic attribute information according to claim 12, wherein the first mapping generating module comprises:
第一映射生成单元,用于将所述 IR信息的预定义标识与所述任务的预定义 标识进行关联, 生成所述 IR信息到所述任务的映射关系;  a first mapping generating unit, configured to associate a predefined identifier of the IR information with a predefined identifier of the task, to generate a mapping relationship between the IR information and the task;
第一存储单元, 用于将所述 IR信息到所述任务的映射关系存储到 IR到任 务的映射关系表中。  And a first storage unit, configured to store the mapping relationship of the IR information to the task into an IR to task mapping table.
14、 根据权利要求 12所述的 Topic属性信息生成装置, 其特征在于, 所述 划分模块包括:  The device for generating a topic attribute information according to claim 12, wherein the dividing module comprises:
第二映射生成单元, 用于根据所述任务划分 Topic, 并为划分出的 Topic分 配标识, 将所述任务的预定义标识和划分出的所述 Topic的标识进行关联, 生 成所述任务到所述 Topic的映射关系;  a second mapping generating unit, configured to divide the Topic according to the task, and assign an identifier to the divided Topic, associate the predefined identifier of the task with the identifier of the divided Topic, and generate the task to the location The mapping relationship of Topic;
第二存储单元, 用于将所述任务到所述 Topic 的映射关系存储到任务到 a second storage unit, configured to store the mapping relationship of the task to the Topic to a task to
Topic的映射关系表中。 Topic's mapping relationship table.
15、 根据权利要求 14所述的 Topic属性信息生成装置, 其特征在于, 所述 属性生成模块包括:  The topic attribute information generating apparatus according to claim 14, wherein the attribute generating module comprises:
第一获取单元, 用于根据所述 IR信息到所述任务的映射关系,获取所述任 务对应的 IR信息的预定义标识;  a first acquiring unit, configured to acquire, according to a mapping relationship between the IR information and the task, a predefined identifier of the IR information corresponding to the task;
第二获取单元, 用于根据所述任务到所述 Topic的映射关系, 获取所述任 务^应的 Topic的标 i只;  a second acquiring unit, configured to acquire, according to the mapping relationship between the task and the Topic, the target of the Topic of the task;
属性生成单元, 用于将与获取的所述 IR信息的标识对应的 IR信息映射为 与获取的所述 Topic的标识对应的 Topic的属性信息。  The attribute generating unit is configured to map the IR information corresponding to the acquired identifier of the IR information to the attribute information of the Topic corresponding to the acquired identifier of the Topic.
16、 根据权利要求 15所述的 Topic属性信息生成装置, 其特征在于, 所述 属性生成单元具体用于将所述 IR信息作为所述 Topic的相应属性字段。 The Topic attribute information generating apparatus according to claim 15, wherein the attribute generating unit is specifically configured to use the IR information as a corresponding attribute field of the Topic.
17、根据权利要求 12或 13或 14或 15或 16所述的 Topic属性信息生成装 置, 其特征在于, 还包括: The Topic attribute information generating apparatus according to claim 12 or 13 or 14 or 15 or 16, further comprising:
存储模块, 用于将所述产品的 IR信息存储到 IR信息表中。  And a storage module, configured to store the IR information of the product into the IR information table.
18、 根据权利要求 16所述的 Topic属性信息生成装置, 其特征在于, 所述 IR信息包括: 需求信息、 特性描述和用户角色信息;  The topic attribute information generating apparatus according to claim 16, wherein the IR information comprises: requirement information, a feature description, and user role information;
所述 Topic的属性信息包括: 条件属性和元数据属性;  The attribute information of the Topic includes: a condition attribute and a metadata attribute;
所述属性生成单元具体用于将所述 IR信息中需求信息的、特性描述的和用 户角色信息的属性字段的名称分别作为所述 Topic的元数据属性的名称字段的 值, 并将所述需求信息的、 特性描述的和用户角色信息的属性字段的值分别插 入到所述 Topic的元数据属性的名称值字段中, 并与作为所述名称字段的值的 所述属性字段的名称相对应; 以及用于根据预先设定的筛选条件, 分别将所述 需求信息、特性描述和 /或用户角色信息中与所述筛选条件对应属性字段的名称 作为所述条件属性的名称字段的值, 并将与所述筛选条件对应属性字段的值插 入到所述条件属性的名称值字段中, 并与作为所述名称字段的值的所述属性字 段的名称相对应。  The attribute generating unit is specifically configured to use, as the value of the name field of the metadata attribute of the Topic, the name of the attribute information of the requirement information and the attribute field of the user role in the IR information, and the requirement The values of the attribute, the attribute description, and the attribute field of the user role information are respectively inserted into the name value field of the metadata attribute of the Topic, and correspond to the name of the attribute field as the value of the name field; And using, as the value of the name field of the condition attribute, the name of the attribute field corresponding to the filter condition in the requirement information, the feature description, and/or the user role information, respectively, according to a preset filter condition, and A value of the attribute field corresponding to the filter condition is inserted into a name value field of the condition attribute and corresponds to a name of the attribute field as a value of the name field.
19、 根据权利要求 18所述的 Topic属性信息生成装置, 其特征在于, 所述 Topic的属性信息还包括: 基本属性, 用于对所述 Topic进行信息描述;  The topic attribute information generating apparatus according to claim 18, wherein the attribute information of the Topic further includes: a basic attribute, configured to describe information about the Topic;
所述属性生成单元还用于将与所述 Topic对应的任务的描述信息作为所述 基本属性信息的备注字段的值。  The attribute generating unit is further configured to use the description information of the task corresponding to the Topic as the value of the memo field of the basic attribute information.
20、 根据权利要求 15或 16或 18或 19所述的 Topic属性信息生成装置, 其特征在于, 还包括:  The Topic attribute information generating apparatus according to claim 15 or 16 or 18 or 19, further comprising:
第二映射生成模块, 用于在所述任务对应的 IR信息中新增 IR信息时, 生 成新增 IR信息到所述任务的映射关系;  a second mapping generating module, configured to generate a mapping relationship between the newly added IR information and the task when the IR information is added to the IR information corresponding to the task;
第一查询获取模块,用于根据与所述新增 IR信息对应的任务的标识, 查询 所述任务到所述 Topic的映射关系表, 获取与所述任务的标识对应的 Topic的 标识; 第一属性更新模块,用于将所述新增 IR信息映射到与获取的所述 Topic的 标识对应的所述 Topic的属性信息中, 并为所述 Topic设置状态变更标识。 a first query obtaining module, configured to query, according to an identifier of the task corresponding to the newly added IR information, a mapping relationship table of the task to the Topic, and obtain an identifier of a Topic corresponding to the identifier of the task; The first attribute update module is configured to map the newly added IR information to the attribute information of the Topic corresponding to the acquired identifier of the Topic, and set a state change identifier for the Topic.
21、 根据权利要求 15或 16或 18或 19所述的 Topic属性信息生成装置, 其特征在于, 还包括:  The apparatus for generating a Topic attribute information according to claim 15 or 16 or 18 or 19, further comprising:
第二查询获取模块, 用于在所述任务对应的 IR信息中删除 IR信息时, 根 据与被删除的 IR信息对应的所述任务的标识,查询所述任务到 Topic的映射关 系表, 获取与所述任务的标识对应的 Topic的标识;  a second query obtaining module, configured to: when the IR information is deleted in the IR information corresponding to the task, query the mapping relationship table of the task to the Topic according to the identifier of the task corresponding to the deleted IR information, and acquire The identifier of the Topic corresponding to the identifier of the task;
第二属性更新模块, 用于将获取的所述 Topic的标识对应的 Topic的属性 信息中, 与所述被删除的 IR信息对应的属性信息删除, 并为所述 Topic设置状 态变更标 i只;  a second attribute updating module, configured to delete the attribute information corresponding to the deleted IR information in the attribute information of the Topic corresponding to the acquired identifier of the Topic, and set a status change flag for the Topic;
删除模块, 用于将所述被删除的 IR信息到所述任务的映射关系从所述 IR 信息到所述任务的映射关系表中删除。  And a deleting module, configured to delete the mapping relationship of the deleted IR information to the task from the IR information to a mapping relationship table of the task.
22、 根据权利要求 15或 16或 18或 19所述的 Topic属性信息生成装置, 其特征在于, 还包括:  The Topic attribute information generating apparatus according to claim 15 or 16, or 18 or 19, further comprising:
第三查询获取模块,用于在修改所述任务对应的 IR信息时,根据与被修改 a third query obtaining module, configured to modify and modify the IR information corresponding to the task
IR信息对应的任务的标识, 查询所述任务到 Topic的映射关系表, 获取与所述 任务的标识对应的 Topic的标识; An identifier of the task corresponding to the IR information, querying the mapping relationship table of the task to the Topic, and acquiring the identifier of the Topic corresponding to the identifier of the task;
第三属性更新模块, 用于将获取的所述 Topic的标识对应的 Topic的属 性信息进行修改, 并为所述 Topic设置状态变更标识。  And a third attribute update module, configured to modify the acquired attribute information of the Topic corresponding to the identifier of the Topic, and set a state change identifier for the Topic.
PCT/CN2011/077530 2011-07-25 2011-07-25 Method and device for generating topic attribute information WO2012106922A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/077530 WO2012106922A1 (en) 2011-07-25 2011-07-25 Method and device for generating topic attribute information
CN201180001173XA CN102317942B (en) 2011-07-25 2011-07-25 Methods and devices for generating theme's properties

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077530 WO2012106922A1 (en) 2011-07-25 2011-07-25 Method and device for generating topic attribute information

Publications (1)

Publication Number Publication Date
WO2012106922A1 true WO2012106922A1 (en) 2012-08-16

Family

ID=45429419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077530 WO2012106922A1 (en) 2011-07-25 2011-07-25 Method and device for generating topic attribute information

Country Status (2)

Country Link
CN (1) CN102317942B (en)
WO (1) WO2012106922A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9535978B2 (en) 2012-03-29 2017-01-03 International Business Machines Corporation Semantic mapping of topic map meta-models identifying assets and events to include weights
US10042915B2 (en) 2015-09-28 2018-08-07 International Business Machines Corporation Semantic mapping of topic map meta-models identifying assets and events to include directionality
US10346747B2 (en) 2013-09-05 2019-07-09 International Business Machines Corporation Method of using graphical index maps to provide automated relationship discovery and impact analyses
US10387476B2 (en) 2015-11-24 2019-08-20 International Business Machines Corporation Semantic mapping of topic map meta-models identifying assets and events to include modeled reactive actions

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327035A (en) * 2015-06-19 2017-01-11 华为技术有限公司 Product information deliverable generation method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1687927A (en) * 2005-05-08 2005-10-26 浙江大学 Method for implementing automatic exchange of information system data
US20070162593A1 (en) * 2006-01-09 2007-07-12 Microsoft Corporation Abstracting help calls using a documentation abstraction layer
US20080208885A1 (en) * 2007-02-23 2008-08-28 Richard Barber Method for creating and tracking external system data via a mind map
US20090210390A1 (en) * 2008-02-20 2009-08-20 International Business Machines Corporation Asset adviser intelligence engine for managing reusable software assets
US20090271711A1 (en) * 2008-04-25 2009-10-29 International Business Machines Corporation Automated relationship management for darwin information typing architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1687927A (en) * 2005-05-08 2005-10-26 浙江大学 Method for implementing automatic exchange of information system data
US20070162593A1 (en) * 2006-01-09 2007-07-12 Microsoft Corporation Abstracting help calls using a documentation abstraction layer
US20080208885A1 (en) * 2007-02-23 2008-08-28 Richard Barber Method for creating and tracking external system data via a mind map
US20090210390A1 (en) * 2008-02-20 2009-08-20 International Business Machines Corporation Asset adviser intelligence engine for managing reusable software assets
US20090271711A1 (en) * 2008-04-25 2009-10-29 International Business Machines Corporation Automated relationship management for darwin information typing architecture

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9535978B2 (en) 2012-03-29 2017-01-03 International Business Machines Corporation Semantic mapping of topic map meta-models identifying assets and events to include weights
US10346747B2 (en) 2013-09-05 2019-07-09 International Business Machines Corporation Method of using graphical index maps to provide automated relationship discovery and impact analyses
US10346745B2 (en) 2013-09-05 2019-07-09 International Business Machines Corporation Method of using graphical index maps to provide automated relationship discovery and impact analyses
US10042915B2 (en) 2015-09-28 2018-08-07 International Business Machines Corporation Semantic mapping of topic map meta-models identifying assets and events to include directionality
US10387476B2 (en) 2015-11-24 2019-08-20 International Business Machines Corporation Semantic mapping of topic map meta-models identifying assets and events to include modeled reactive actions

Also Published As

Publication number Publication date
CN102317942B (en) 2013-10-09
CN102317942A (en) 2012-01-11

Similar Documents

Publication Publication Date Title
US8977646B2 (en) Leveraging graph databases in a federated database system
JP6244592B2 (en) Column-oriented database processing method and processing device
US9235636B2 (en) Presenting data in response to an incomplete query
US10235391B2 (en) Method and apparatus for implementing dynamic database traversal
US20150012529A1 (en) Pivot facets for text mining and search
CN109325158B (en) Automatic electronic file filing method and system
JP2012174096A (en) Computer system and data management method
WO2012106922A1 (en) Method and device for generating topic attribute information
JP2014149564A (en) Information processing apparatus, information processing method and program
CN111177113B (en) Data migration method, device, computer equipment and storage medium
CN103678575A (en) Method and system for achieving unified processing on multiple database data through middleware
CN108776702A (en) A kind of data make a report on page user-defined visual configuration method
JP5194581B2 (en) Document processing apparatus and document processing program
US10140302B2 (en) Autonomic generation of document structure in a content management system
CN111090803A (en) Data processing method and device, electronic equipment and storage medium
WO2017107652A1 (en) Data access method, device and system
CN114443015A (en) Method for generating adding, deleting, modifying and checking service interface based on database metadata
CN111680030A (en) Data fusion method and device, and data processing method and device based on meta information
TWI629602B (en) Method for automatically generating website interactive program
US20110202826A1 (en) Document creation support apparatus and document creation supporting method that create document data by quoting data from other document data, and storage medium
WO2020192663A1 (en) Data management method and related device
KR20130053152A (en) Method of file management based on tag and system of the same
CN102760154A (en) Method supporting distributed transaction management in text information retrieval service
JP6242087B2 (en) Document management server, document management method, computer program
WO2022223038A1 (en) Key name generation method and device, and computer readable storage medium

Legal Events

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

Ref document number: 201180001173.X

Country of ref document: CN

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

Ref document number: 11858023

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: 11858023

Country of ref document: EP

Kind code of ref document: A1