Method and apparatus for generating document index page

By extracting tags from the titles and summaries of enterprise documents and combining them with the ranking by access volume to generate a document index page, the problem of enterprise document integration and display is solved, and efficient document retrieval is achieved.

CN117216182BActive Publication Date: 2026-06-05CCB FINTECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CCB FINTECH CO LTD
Filing Date
2023-09-27
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, enterprise documents are large in scale and have many categories, lacking effective integration and display solutions, which leads to inconvenience in browsing.

Method used

By extracting tags from the titles and/or summaries of knowledge documents, identifying target tags, and sorting them in descending order based on access volume, a document index page is generated to integrate and display knowledge documents.

Benefits of technology

It enables the organized display of enterprise documents, allowing users to quickly access frequently accessed documents and improving browsing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117216182B_ABST
    Figure CN117216182B_ABST
Patent Text Reader

Abstract

The application discloses a kind of generation method and device of document index page, it is related to document processing technical field.The specific embodiment of the method includes: obtaining multiple knowledge documents;For each of the knowledge documents: from the title and / or abstract of the knowledge document, at least one label corresponding to the knowledge document is extracted;Determine the access volume of each of the knowledge documents in the statistical period;From the label corresponding to each of the knowledge documents, determine multiple target labels;For each of the target labels: determine the access volume of each knowledge document corresponding to the target label;According to access volume, each knowledge document corresponding to the target label is sorted in descending order, generates the document sequence corresponding to the target label;According to the document sequence corresponding to each of the target labels, generate the document index page of the multiple knowledge documents.This embodiment can integrate and show numerous enterprise documents in order.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of document processing technology, and in particular to a method and apparatus for generating document index pages. Background Technology

[0002] During their operations, businesses record important events and various types of information, resulting in numerous documents. These documents can include: project requirement documents, design documents, development documents, meeting minutes, operation manuals, and more. These documents are crucial for the company's long-term development and planning. However, business documents are typically large in scale and cover many categories, and current technologies lack solutions for systematically integrating and displaying these numerous documents. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method and apparatus for generating a document index page, which can systematically integrate and display numerous enterprise documents for relevant personnel to consult.

[0004] In a first aspect, embodiments of the present invention provide a method for generating a document index page, comprising:

[0005] Retrieve multiple knowledge documents;

[0006] For each of the knowledge documents: extract at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document;

[0007] Determine the number of visits to each of the aforementioned knowledge documents within the statistical period;

[0008] Multiple target tags are identified from the tags corresponding to each of the aforementioned knowledge documents;

[0009] For each target tag: determine the access volume of each knowledge document corresponding to the target tag; based on the access volume, sort the knowledge documents corresponding to the target tag in descending order to generate a document sequence corresponding to the target tag;

[0010] Based on the document sequence corresponding to each target tag, a document index page for the plurality of knowledge documents is generated.

[0011] Optionally, extracting at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document includes:

[0012] Obtain a keyword library, which includes multiple keywords;

[0013] The title and / or summary of the knowledge document are segmented into words to obtain multiple words of the knowledge document;

[0014] For each of the aforementioned word segments: determine whether the word segment is a keyword in the keyword library; in response to the word segment being a keyword in the keyword library, determine that the word segment is a tag corresponding to the knowledge document.

[0015] Optionally, the step of determining multiple target tags from the tags corresponding to each of the knowledge documents includes:

[0016] Merge the tags corresponding to the various knowledge documents to generate a tag library;

[0017] The current tag is determined from the tag library;

[0018] Determine the access volume of each knowledge document corresponding to the current tag;

[0019] The total number of visits to each knowledge document corresponding to the current tag is determined as the number of visits corresponding to the current tag;

[0020] If the number of visits corresponding to the current tag is greater than the number of visits threshold, the current tag is determined to be the target tag.

[0021] Optionally, the document sequence consists of document identifiers of the knowledge documents;

[0022] The step of generating a document index page for the plurality of knowledge documents based on the document sequence corresponding to each of the target tags includes:

[0023] For each document sequence corresponding to the target tag: generate document nodes corresponding to each document identifier in the document sequence; combine the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag;

[0024] By combining the display units corresponding to each target tag, a document index page for the multiple knowledge documents is generated.

[0025] Optionally, generating the document node corresponding to each document identifier in the document sequence includes:

[0026] The current document identifier is determined from the document sequence;

[0027] Determine the file name and file storage path corresponding to the current document identifier;

[0028] Generate a document node corresponding to the current document identifier; wherein the document node is used to display the file name corresponding to the current document identifier, and the document node is set with a link to the file storage path, so that when the file name displayed by the document node is clicked, the knowledge document corresponding to the current document identifier is opened.

[0029] Optionally, the step of combining the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag includes:

[0030] Identify multiple display document nodes corresponding to the target tag; wherein the sorting sequence number of the knowledge document corresponding to the display document node is less than a sequence number threshold;

[0031] Based on the sorting number of the document sequence, multiple display document nodes corresponding to the target tag are combined to generate a display unit corresponding to the target tag; wherein, the display unit further includes: a collapse button, the collapse button being used to display multiple remaining document nodes in the document sequence whose sorting number is not less than the sorting number threshold.

[0032] Optionally, determining the number of visits to each of the knowledge documents within the statistical period includes:

[0033] Get the page refresh conditions and current system information;

[0034] Determine whether the current system information meets the page refresh conditions;

[0035] In response to the current system information satisfying the page refresh condition, the statistical period is determined based on the current time; the number of visits to each knowledge document during the statistical period is determined.

[0036] Secondly, embodiments of the present invention provide a document index page generation apparatus, comprising:

[0037] The document retrieval module is used to retrieve multiple knowledge documents;

[0038] The tag extraction module is used to extract at least one tag corresponding to each knowledge document from the title and / or summary of the knowledge document.

[0039] The access volume determination module is used to determine the access volume of each knowledge document within the statistical period.

[0040] The tag determination module is used to determine multiple target tags from the tags corresponding to each of the knowledge documents;

[0041] The sequence generation module is used to: determine the access volume of each knowledge document corresponding to each target tag; and sort the knowledge documents corresponding to each target tag in descending order according to the access volume to generate a document sequence corresponding to the target tag.

[0042] The page generation module is used to generate a document index page for the multiple knowledge documents based on the document sequence corresponding to each of the target tags.

[0043] Optionally, the tag extraction module is specifically used for:

[0044] Obtain a keyword library, which includes multiple keywords;

[0045] The title and / or summary of the knowledge document are segmented into words to obtain multiple words of the knowledge document;

[0046] For each of the aforementioned word segments: determine whether the word segment is a keyword in the keyword library; in response to the word segment being a keyword in the keyword library, determine that the word segment is a tag corresponding to the knowledge document.

[0047] Optionally, the label determination module is specifically used for:

[0048] Merge the tags corresponding to the various knowledge documents to generate a tag library;

[0049] The current tag is determined from the tag library;

[0050] Determine the access volume of each knowledge document corresponding to the current tag;

[0051] The total number of visits to each knowledge document corresponding to the current tag is determined as the number of visits corresponding to the current tag;

[0052] If the number of visits corresponding to the current tag is greater than the number of visits threshold, the current tag is determined to be the target tag.

[0053] Optionally, the document sequence consists of document identifiers of the knowledge documents;

[0054] The page generation module is specifically used for:

[0055] For each document sequence corresponding to the target tag: generate document nodes corresponding to each document identifier in the document sequence; combine the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag;

[0056] By combining the display units corresponding to each target tag, a document index page for the multiple knowledge documents is generated.

[0057] Optionally, the page generation module is specifically used for:

[0058] The current document identifier is determined from the document sequence;

[0059] Determine the file name and file storage path corresponding to the current document identifier;

[0060] Generate a document node corresponding to the current document identifier; wherein the document node is used to display the file name corresponding to the current document identifier, and the document node is set with a link to the file storage path, so that when the file name displayed by the document node is clicked, the knowledge document corresponding to the current document identifier is opened.

[0061] Thirdly, embodiments of the present invention provide an electronic device, including:

[0062] One or more processors;

[0063] Storage device for storing one or more programs.

[0064] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0065] Fourthly, embodiments of the present invention provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the methods described in any of the above embodiments.

[0066] Fifthly, embodiments of the present invention provide a computer program product, including a computer program that, when executed by a processor, implements the methods described in any of the above embodiments.

[0067] One embodiment of the above invention has the following advantages or beneficial effects: At least one tag corresponding to the knowledge document is extracted from the title and / or summary of the knowledge document. The tag can be used to characterize the knowledge document's category, domain, keywords, etc. A document sequence corresponding to the target tag is generated, and then, based on the document sequence corresponding to each target tag, a document index page for multiple knowledge documents is generated.

[0068] The document index page integrates and displays multiple documents based on target tags. Knowledge documents are displayed under their corresponding target tags, making it easy for users to find the documents they need. Furthermore, the document sequence corresponding to each target tag is sorted in descending order of access volume, allowing users to quickly identify highly accessed knowledge documents. Therefore, the document index page effectively integrates and displays numerous enterprise documents in a structured manner for relevant personnel to consult.

[0069] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0070] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:

[0071] Figure 1This is a flowchart illustrating a method for generating a document index page according to the first embodiment of the present invention;

[0072] Figure 2 This is a flowchart illustrating a method for generating a document index page according to a second embodiment of the present invention;

[0073] Figure 3 This is a schematic diagram illustrating the display effect of the document index page provided in the second embodiment of the present invention;

[0074] Figure 4 This is a flowchart illustrating a method for generating a document index page according to the third embodiment of the present invention;

[0075] Figure 5 This is a schematic diagram of the structure of a document index page generation device provided in an embodiment of the present invention;

[0076] Figure 6 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation

[0077] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0078] It should be noted that the collection, analysis, use, transmission, and storage of user personal information involved in the technical solution of this invention all comply with relevant laws and regulations, are used for legitimate and reasonable purposes, and are not shared, disclosed, or sold outside of these legitimate uses, and are subject to supervision and management by regulatory authorities. Necessary measures should be taken to prevent unauthorized access to such personal information data, ensure that personnel authorized to access personal information data comply with relevant laws and regulations, and ensure the security of user personal information. Once this user personal information data is no longer needed, the risk should be minimized by restricting or even prohibiting data collection and / or deleting the data.

[0079] Figure 1 This is a flowchart illustrating a method for generating a document index page according to the first embodiment of the present invention, as shown below. Figure 1 As shown, the method includes:

[0080] Step 101: Obtain multiple knowledge documents.

[0081] Knowledge documents can be documents related to a target company, target project, or target scope. Knowledge documents may include: requirements documents, design documents, development documents, meeting minutes, operation manuals, promotional materials, etc., for various projects. Knowledge documents can be stored on different servers and on different systems within different companies.

[0082] Step 102: For each knowledge document: Extract at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document.

[0083] Tags can be used to represent the category, domain, keywords, etc., of knowledge documents. Tags are used to integrate numerous knowledge documents, making it easier for users to find and read the documents they need. Keywords corresponding to a knowledge document can be extracted from its title, abstract, and body, and these keywords can be used as tags for the knowledge document.

[0084] In one embodiment of the present invention, extracting at least one tag corresponding to a knowledge document from the title and / or summary of the knowledge document includes: obtaining a keyword library, which includes multiple keywords; performing word segmentation on the title and / or summary of the knowledge document to obtain multiple word segments of the knowledge document; for each word segment: determining whether the word segment is a keyword in the keyword library; and in response to the word segment being a keyword in the keyword library, determining the word segment as a tag corresponding to the knowledge document.

[0085] Multiple keywords can be set and a keyword library can be built according to specific needs. After segmenting the title and / or summary of the knowledge document to obtain multiple word segments, the process also includes cleaning these word segments, which may include removing auxiliary words and correcting typos. If the title and / or summary of the knowledge document includes keywords from the keyword library, then those included keywords will be identified as the tags corresponding to the knowledge document.

[0086] Step 103: Determine the number of visits to each knowledge document within the statistical period.

[0087] The statistical period can be set according to specific needs. For example, the statistical period can be the most recent week, ten days, or one month. The number of visits refers to the number of searches and views of the knowledge document within the statistical period.

[0088] Step 104: Identify multiple target tags from the tags corresponding to each knowledge document.

[0089] The system can merge tags from various knowledge documents to obtain multiple target tags. Alternatively, it can merge tags from various knowledge documents to generate a tag library; from this library, tags with access counts exceeding a certain threshold, or the top N tags with the highest access counts, are selected as target tags. Here, N is a positive integer. Users can also directly specify multiple target tags.

[0090] In one embodiment of the present invention, determining multiple target tags from the tags corresponding to each knowledge document includes: merging the tags corresponding to each knowledge document to generate a tag library; determining the current tag from the tag library; determining the access volume of each knowledge document corresponding to the current tag; determining the total access volume of each knowledge document corresponding to the current tag as the access volume corresponding to the current tag; and determining the current tag as a target tag in response to the access volume corresponding to the current tag being greater than the access volume threshold.

[0091] The total number of views for each knowledge document corresponding to a tag is determined as the view count for that tag. Tags with view counts exceeding a threshold are selected as target tags. Target tags are those that users are currently interested in and that are popular. Displaying multiple knowledge documents through target tags better meets users' document browsing needs.

[0092] Step 105: For each target tag: Determine the access volume of each knowledge document corresponding to the target tag; based on the access volume, sort the knowledge documents corresponding to the target tag in descending order to generate a document sequence corresponding to the target tag.

[0093] The document sequence includes document nodes for each knowledge document corresponding to the target tag. Based on access volume, the knowledge documents corresponding to the target tag are sorted in descending order, placing document nodes with higher access volume at the beginning and those with lower access volume at the end, conforming to the browsing habits of ordinary users.

[0094] Step 106: Generate a document index page for multiple knowledge documents based on the document sequence corresponding to each target tag.

[0095] The document index page consists of a sequence of documents corresponding to each target tag. Document nodes within the document sequence display document information, which may include the document name, number of views, etc. Users can open the corresponding document content by clicking the document title displayed on the document node. By browsing and clicking on document nodes in the document sequence, users can learn about the document information of the target document and view its specific content.

[0096] In one embodiment of the present invention, the method further includes: receiving a page update command sent by a user, or periodically polling the target storage path to determine whether there are any new knowledge documents in the target storage path, setting a document identifier for the new knowledge document, and generating a document record for the new knowledge document. The document record includes: the identifier, title, storage path, author, and creation time of the new knowledge document. Finally, based on the document record of the new knowledge document, the existing document index page is updated.

[0097] In this embodiment of the invention, at least one tag corresponding to the knowledge document is extracted from the title and / or summary of the knowledge document. A document sequence corresponding to the target tag is generated, and then a document index page for multiple knowledge documents is generated based on the document sequence corresponding to each target tag.

[0098] The document index page integrates multiple documents based on target tags, displaying each knowledge document under its corresponding target tag for easy user access. Furthermore, the document sequence corresponding to each target tag is sorted in descending order of access volume, allowing users to quickly identify frequently accessed documents. Therefore, the document index page effectively organizes and displays numerous enterprise documents for relevant personnel to consult.

[0099] Figure 2 This is a flowchart illustrating a method for generating a document index page according to a second embodiment of the present invention, as shown below. Figure 2 As shown, the method includes:

[0100] Step 201: Obtain multiple knowledge documents.

[0101] Step 202: For each knowledge document: Extract at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document.

[0102] Step 203: Determine the number of visits to each knowledge document within the statistical period.

[0103] Step 204: Identify multiple target tags from the tags corresponding to each knowledge document.

[0104] Step 205: For each target tag: Determine the access volume of each knowledge document corresponding to the target tag; based on the access volume, sort the knowledge documents corresponding to the target tag in descending order to generate a document sequence corresponding to the target tag.

[0105] The document sequence consists of document identifiers for knowledge documents. Step 205 may include: determining the current document identifier from the document sequence; determining the file name and file storage path corresponding to the current document identifier; and generating a document node corresponding to the current document identifier. The document node is used to display the file name corresponding to the current document identifier, and the document node has a link to the file storage path so that clicking the file name displayed on the document node opens the knowledge document corresponding to the current document identifier.

[0106] After acquiring the knowledge documents, a document identifier is set for each knowledge document. This identifier uniquely identifies each knowledge document. A document record is then generated for each knowledge document. This record includes the document's identifier, title, storage path, author, and creation time. The document record can be stored in a database.

[0107] After sorting the knowledge documents corresponding to the target tag in descending order, the document identifiers for each sorted knowledge document are obtained sequentially; the document records corresponding to the document identifiers are then determined. Based on the document records, document nodes corresponding to the document identifiers are generated. The document nodes corresponding to each document identifier are then combined sequentially to generate the document sequence corresponding to the target tag.

[0108] Step 206: For the document sequence corresponding to each target tag: generate the document node corresponding to each document identifier in the document sequence; combine the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag.

[0109] Based on the access volume of document nodes, from high to low, combine the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag.

[0110] If the target tag corresponds to a large number of documents, the document sequence will be too long and inconvenient to display. In one embodiment of the present invention, a collapse button is used to solve this problem. Specifically, multiple display document nodes corresponding to the target tag are determined; wherein, the sorting number of the knowledge document corresponding to the display document node is less than a number threshold; according to the sorting number of the document sequence, the multiple display document nodes corresponding to the target tag are combined to generate a display unit corresponding to the target tag; wherein, the display unit further includes a collapse button, which is used to display multiple remaining document nodes in the document sequence whose sorting number is not less than the number threshold.

[0111] In each display unit on the document index page, only a first preset number of document nodes are shown, with the remaining document nodes hidden using a collapse button. This approach improves the user's visual experience and enhances document browsing efficiency.

[0112] Step 207: Combine the display units corresponding to each target tag to generate a document index page for multiple knowledge documents.

[0113] The system can combine display units corresponding to each target tag, from highest to lowest access volume, to generate multiple document index pages for knowledge documents. If the number of target tags exceeds a second preset number, the document index page will only display display units corresponding to the second preset number of target tags. A hide button is provided on the document index page; clicking the hide button will display the display units corresponding to the remaining tags.

[0114] Figure 3 This is a schematic diagram illustrating the display effect of the document index page provided in the second embodiment of the present invention, as shown below. Figure 3As shown, there are 5 target tags, namely tag 1, tag 2, ..., tag 5. Only 5 document nodes are displayed under each tag. Document nodes display the corresponding file name and include a link to the file storage path. When a user clicks on the file name displayed by a document node, the corresponding knowledge document is opened. The document nodes displayed under each tag are arranged in descending order of their access volume. Therefore, the solution of this embodiment can integrate multiple documents based on target tags, with all knowledge documents displayed under their corresponding target tags, facilitating user access to the documents they need.

[0115] It should be noted that the number of target tags and the number of document nodes displayed under each target tag can be set according to specific needs and user reading habits. After the user enters the number of target tags and the number of document nodes displayed under each target tag, the system generates a personalized document index page based on the user's input.

[0116] Figure 4 This is a flowchart illustrating a method for generating a document index page according to the third embodiment of the present invention, as shown below. Figure 4 As shown, the method includes:

[0117] Step 401: Obtain multiple knowledge documents.

[0118] Step 402: For each knowledge document: Extract at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document.

[0119] Step 403: Obtain page refresh conditions and current system information; determine whether the current system information meets the page refresh conditions.

[0120] Page refresh conditions can be set according to needs, such as whether the current time is the preset time, whether a page refresh command has been received, or whether new knowledge documents have been added to the database.

[0121] The current system information corresponds to the page refresh conditions. Current system information may include: current time, received instructions, knowledge document entry information, etc.

[0122] If the current system information meets the page refresh conditions, proceed to step 404 to generate or update the document index pages for multiple knowledge documents. If the current system information does not meet the page refresh conditions, exit.

[0123] Step 404: In response to the current system information meeting the page refresh conditions, determine the statistical period based on the current time; determine the number of visits to each knowledge document within the statistical period.

[0124] Step 405: Identify multiple target tags from the tags corresponding to each knowledge document.

[0125] Step 406: For each target tag: Determine the access volume of each knowledge document corresponding to the target tag; based on the access volume, sort the knowledge documents corresponding to the target tag in descending order to generate a document sequence corresponding to the target tag.

[0126] Step 407: Generate a document index page for multiple knowledge documents based on the document sequence corresponding to each target tag.

[0127] In the solution of this embodiment of the invention, since the access status of each knowledge document is dynamically changing, a page refresh condition is set, and when the page refresh condition is met, the document index page is regenerated according to the access status of each knowledge document, so that the document index page can reflect the access status of knowledge documents in a timely and accurate manner, thereby improving the user's browsing experience.

[0128] To make the solutions of the embodiments of the present invention easier to understand, the following provides a method for generating a document index page, taking multiple knowledge documents of a target enterprise as the integration object, including the following steps:

[0129] Step 1: Knowledge Document Extraction. The knowledge documents cover multiple areas for the target enterprise, including project management, production control, business continuity, disaster recovery consulting, financial cloud, cloud migration, artificial intelligence, and application integration. These knowledge documents include various design documents, deployment documents, management documents, inspection documents, and solution documents. During the archiving of these knowledge documents in the project knowledge base, the document's tag attributes are identified. Each knowledge document can be tagged multiple times and stored in the knowledge management database.

[0130] By connecting servers storing various knowledge documents through an enterprise network, a data-sharing knowledge document system can be built by establishing a cluster. Each knowledge document can then be synchronized to the knowledge management database using either synchronous or asynchronous synchronization methods.

[0131] Step Two: Document Arrangement. For the data in the knowledge management database, retrieve the tags corresponding to each knowledge document. From these tags, identify multiple target tags. Use SQL (Structured Query Language) scripts to periodically scan, summarize, and deduplicate, creating data tables corresponding to each target tag. These target tag data tables store document node information within the document sequence corresponding to that target tag.

[0132] In the knowledge data of each project instance, a field parameter with document access counts is created to record the click-through rate of various knowledge documents in real time. The document access count is also synchronized to the knowledge management database, serving as an important indicator for document visualization.

[0133] SQL scripts are used to sort the access counts of knowledge documents under each target tag. Documents are arranged in descending order of access count. Simultaneously, the document name field is automatically added to the newly built document index page using SQL scripts, and the file names are used to associate and map knowledge documents with the document index pages.

[0134] Step 3: Visual Search. The summarized access information for knowledge documents is displayed in a visual panel on the document index page. The document index page also includes a search box. Users enter keywords in the search box, and the system returns knowledge documents containing those keywords. Users can access these documents directly by clicking on the file name or the search bar on the document index page.

[0135] Figure 5 This is a schematic diagram of the structure of a document index page generation device provided in one embodiment of the present invention, as shown below. Figure 5 As shown, the device includes:

[0136] Document acquisition module 501 is used to acquire multiple knowledge documents;

[0137] The tag extraction module 502 is used to extract at least one tag corresponding to each knowledge document from the title and / or summary of the knowledge document.

[0138] The access volume determination module 503 is used to determine the access volume of each knowledge document within the statistical period.

[0139] The tag determination module 504 is used to determine multiple target tags from the tags corresponding to each knowledge document;

[0140] The sequence generation module 505 is used to: determine the access volume of each knowledge document corresponding to each target tag; and sort the knowledge documents corresponding to the target tag in descending order according to the access volume to generate a document sequence corresponding to the target tag.

[0141] Page generation module 506 is used to generate document index pages for multiple knowledge documents based on the document sequence corresponding to each target tag.

[0142] Optionally, the tag extraction module 502 is specifically used for:

[0143] Obtain the keyword database, which includes multiple keywords;

[0144] The title and / or summary of a knowledge document are segmented into words to obtain multiple words for the knowledge document;

[0145] For each word segment: determine whether the word segment is a keyword in the keyword library; in response to the word segment being a keyword in the keyword library, determine whether the word segment is a tag corresponding to the knowledge document.

[0146] Optionally, the label determination module 502 is specifically used for:

[0147] Merge the tags corresponding to various knowledge documents to generate a tag library;

[0148] Determine the current tag from the tag library;

[0149] Determine the access volume of each knowledge document corresponding to the current tag;

[0150] The total number of views for all knowledge documents corresponding to the current tag is determined as the number of views for the current tag.

[0151] If the number of visits corresponding to the current tag exceeds the visit threshold, the current tag is determined to be the target tag.

[0152] Optionally, the document sequence consists of document identifiers of knowledge documents;

[0153] Page generation module 506 is specifically used for:

[0154] For each target tag corresponding to a document sequence: generate document nodes corresponding to each document identifier in the document sequence; combine the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag;

[0155] Combine the display units corresponding to each target tag to generate a document index page for multiple knowledge documents.

[0156] Optionally, the page generation module 506 is specifically used for:

[0157] Determine the current document identifier from the document sequence;

[0158] Determine the file name and file storage path corresponding to the current document identifier;

[0159] Generate a document node corresponding to the current document identifier; the document node is used to display the file name corresponding to the current document identifier, and the document node is set with a link to the file storage path so that when the file name displayed by the document node is clicked, the knowledge document corresponding to the current document identifier is opened.

[0160] Optionally, the page generation module 506 is specifically used for:

[0161] Identify multiple display document nodes corresponding to the target tag; wherein, the sorting sequence number of the knowledge document corresponding to the display document node is less than the sequence number threshold;

[0162] Based on the sorting number of the document sequence, multiple display document nodes corresponding to the target tag are combined to generate a display unit corresponding to the target tag; the display unit also includes a collapse button, which is used to display multiple other document nodes in the document sequence whose sorting number is not less than the number threshold.

[0163] Optionally, the access volume determination module 503 is specifically used for:

[0164] Get the page refresh conditions and current system information;

[0165] Determine if the current system information meets the page refresh conditions;

[0166] In response to the current system information meeting the page refresh conditions, determine the statistical period based on the current time; determine the number of visits to each knowledge document within the statistical period.

[0167] This invention provides an electronic device, comprising:

[0168] One or more processors;

[0169] Storage device for storing one or more programs.

[0170] When one or more programs are executed by one or more processors, the one or more processors implement the methods of any of the above embodiments.

[0171] This invention provides a computer program product, including a computer program that, when executed by a processor, implements the method of any of the above embodiments.

[0172] The following is for reference. Figure 6 It shows a schematic diagram of the structure of a computer system 600 suitable for implementing a terminal device of the present invention. Figure 6 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0173] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage section 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the system 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0174] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.

[0175] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined above in the system of this invention.

[0176] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0177] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0178] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor, and for example, can be described as: a document acquisition module, a tag extraction module, a visit volume determination module, a tag determination module, a sequence generation module, and a page generation module. The names of these modules do not necessarily limit the module itself; for example, the document acquisition module can also be described as "a module for acquiring multiple knowledge documents".

[0179] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, which, when executed by the device, cause the device to include:

[0180] Retrieve multiple knowledge documents;

[0181] For each of the knowledge documents: extract at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document;

[0182] Determine the number of visits to each of the aforementioned knowledge documents within the statistical period;

[0183] Multiple target tags are identified from the tags corresponding to each of the aforementioned knowledge documents;

[0184] For each target tag: determine the access volume of each knowledge document corresponding to the target tag; based on the access volume, sort the knowledge documents corresponding to the target tag in descending order to generate a document sequence corresponding to the target tag;

[0185] Based on the document sequence corresponding to each target tag, a document index page for the plurality of knowledge documents is generated.

[0186] According to the technical solution of this invention, at least one tag corresponding to a knowledge document is extracted from the title and / or summary of the knowledge document. The tag can be used to characterize the category, domain, keywords, etc., of the knowledge document. A document sequence corresponding to the target tag is generated, and then a document index page for multiple knowledge documents is generated based on the document sequence corresponding to each target tag.

[0187] The document index page integrates multiple documents based on target tags, displaying each knowledge document under its corresponding target tag for easy user access. Furthermore, the document sequence corresponding to each target tag is sorted in descending order of access volume, allowing users to quickly identify frequently accessed documents. Therefore, the document index page effectively organizes and displays numerous enterprise documents for relevant personnel to consult.

[0188] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for generating a document index page, characterized in that, include: Retrieve multiple knowledge documents; For each of the knowledge documents: extract at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document; Determine the number of visits to each of the aforementioned knowledge documents within the statistical period; Multiple target tags are identified from the tags corresponding to each of the aforementioned knowledge documents; For each target tag: determine the access volume of each knowledge document corresponding to the target tag; based on the access volume, sort the knowledge documents corresponding to the target tag in descending order to generate a document sequence corresponding to the target tag; Based on the document sequence corresponding to each of the target tags, generate a document index page for the multiple knowledge documents; The step of determining multiple target tags from the tags corresponding to each of the knowledge documents includes: merging the tags corresponding to each of the knowledge documents to generate a tag library; determining the current tag from the tag library; determining the access volume of each knowledge document corresponding to the current tag; determining the total access volume of each knowledge document corresponding to the current tag as the access volume of the current tag; and determining the current tag as a target tag in response to the access volume of the current tag being greater than an access volume threshold. The document sequence is composed of document identifiers of the knowledge documents; generating a document index page for the plurality of knowledge documents based on the document sequence corresponding to each target tag includes: for the document sequence corresponding to each target tag: generating a document node corresponding to each document identifier in the document sequence; combining the document nodes corresponding to the document sequence to generate a display unit corresponding to the target tag; and combining the display units corresponding to each target tag to generate a document index page for the plurality of knowledge documents.

2. The method according to claim 1, characterized in that, Extracting at least one tag corresponding to the knowledge document from the title and / or summary of the knowledge document includes: Obtain a keyword library, which includes multiple keywords; The title and / or summary of the knowledge document are segmented into words to obtain multiple words of the knowledge document; For each of the aforementioned word segments: determine whether the word segment is a keyword in the keyword library; in response to the word segment being a keyword in the keyword library, determine that the word segment is a tag corresponding to the knowledge document.

3. The method according to claim 1, characterized in that, The process of generating document nodes corresponding to each document identifier in the document sequence includes: The current document identifier is determined from the document sequence; Determine the file name and file storage path corresponding to the current document identifier; Generate a document node corresponding to the current document identifier; wherein the document node is used to display the file name corresponding to the current document identifier, and the document node is set with a link to the file storage path, so that when the file name displayed by the document node is clicked, the knowledge document corresponding to the current document identifier is opened.

4. The method according to claim 1, characterized in that, The step of combining the document nodes corresponding to the document sequence to generate the display unit corresponding to the target tag includes: Identify multiple display document nodes corresponding to the target tag; wherein the sorting sequence number of the knowledge document corresponding to the display document node is less than a sequence number threshold; Based on the sorting number of the document sequence, multiple display document nodes corresponding to the target tag are combined to generate a display unit corresponding to the target tag; wherein, the display unit further includes: a collapse button, the collapse button being used to display multiple remaining document nodes in the document sequence whose sorting number is not less than the sorting number threshold.

5. The method according to claim 1, characterized in that, Determining the access volume of each knowledge document within the statistical period includes: Get the page refresh conditions and current system information; Determine whether the current system information meets the page refresh conditions; In response to the current system information satisfying the page refresh condition, the statistical period is determined based on the current time; the number of visits to each knowledge document during the statistical period is determined.

6. A device for generating a document index page, characterized in that, include: The document retrieval module is used to retrieve multiple knowledge documents; The tag extraction module is used to extract at least one tag corresponding to each knowledge document from the title and / or summary of the knowledge document. The access volume determination module is used to determine the access volume of each knowledge document within the statistical period. The tag determination module is used to determine multiple target tags from the tags corresponding to each of the knowledge documents; The sequence generation module is used to: determine the access volume of each knowledge document corresponding to each target tag; and sort the knowledge documents corresponding to each target tag in descending order according to the access volume to generate a document sequence corresponding to the target tag. The page generation module is used to generate a document index page for the multiple knowledge documents based on the document sequence corresponding to each of the target tags. The tag determination module is specifically used for: merging the tags corresponding to each of the knowledge documents to generate a tag library; determining the current tag from the tag library; and determining the access volume of each knowledge document corresponding to the current tag. The total number of visits to all knowledge documents corresponding to the current tag is determined as the number of visits to the current tag; if the number of visits to the current tag is greater than the number of visits threshold, the current tag is determined as the target tag. The document sequence is composed of document identifiers of the knowledge documents; the page generation module is specifically used to: generate document nodes corresponding to each document identifier in the document sequence for each target tag; combine the document nodes corresponding to the document sequence to generate display units corresponding to the target tags; and combine the display units corresponding to each target tag to generate document index pages for the multiple knowledge documents.

7. The apparatus according to claim 6, characterized in that, The tag extraction module is specifically used for: Obtain a keyword library, which includes multiple keywords; The title and / or summary of the knowledge document are segmented into words to obtain multiple words of the knowledge document; For each of the aforementioned word segments: determine whether the word segment is a keyword in the keyword library; in response to the word segment being a keyword in the keyword library, determine that the word segment is a tag corresponding to the knowledge document.

8. The apparatus according to claim 6, characterized in that, The page generation module is specifically used for: The current document identifier is determined from the document sequence; Determine the file name and file storage path corresponding to the current document identifier; Generate a document node corresponding to the current document identifier; wherein the document node is used to display the file name corresponding to the current document identifier, and the document node is set with a link to the file storage path, so that when the file name displayed by the document node is clicked, the knowledge document corresponding to the current document identifier is opened.

9. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-5.

10. A computer-readable medium having a computer program stored thereon, characterized in that... When the program is executed by the processor, it implements the method as described in any one of claims 1-5.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-5.