CN116611515A - Knowledge base platform - Google Patents

Knowledge base platform Download PDF

Info

Publication number
CN116611515A
CN116611515A CN202310387874.6A CN202310387874A CN116611515A CN 116611515 A CN116611515 A CN 116611515A CN 202310387874 A CN202310387874 A CN 202310387874A CN 116611515 A CN116611515 A CN 116611515A
Authority
CN
China
Prior art keywords
data
topic
query
configuration module
theme
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310387874.6A
Other languages
Chinese (zh)
Inventor
苏开亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shuhe Information Technology Co Ltd
Original Assignee
Shanghai Shuhe Information Technology Co Ltd
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 Shanghai Shuhe Information Technology Co Ltd filed Critical Shanghai Shuhe Information Technology Co Ltd
Priority to CN202310387874.6A priority Critical patent/CN116611515A/en
Publication of CN116611515A publication Critical patent/CN116611515A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526Mutual exclusion algorithms

Abstract

The application relates to a knowledge base platform. Comprising the following steps: a theme configuration module; a data configuration module; and a data query module. The document management platform capable of rapidly and efficiently inputting knowledge information is provided, various complex search query conditions in an enterprise are met, other important projects in the enterprise are opened, and the working efficiency of the enterprise is improved. The multi-thread concurrent new/update/delete document function is provided through the distributed locks with different dimensions, and the pressure of the query interface is relieved while the query correctness is ensured through caching the hot spot search.

Description

Knowledge base platform
Technical Field
The application relates to the technical field of computers, in particular to a knowledge base platform and a construction method thereof.
Background
The existing document management platform of the knowledge base has the following defects: the quick customization of the document editing cannot be realized, and a great deal of time is required to write for a specific format; the query condition cannot be customized, and the search can be performed only according to the search function of the product; and the method can not be communicated with other projects to share resources. The main reason for this is that the document management platforms on the market are developed with the requirements of production, and millions of enterprises on the market need to be adapted, so that the functional design is preferentially given priority to universality, which is a double-edged sword, and this also results in that when the enterprises need to customize the functions, these products are difficult or even impossible, and as an open product, resources cannot be communicated with other projects inside the enterprises. Therefore, when a complex document format is needed for managing documents in a company, and the complex document format comprises a series of customized formats such as topics, data, learning information, knowledge points, labels, topics and the like, the workload of knowledge entry personnel can be greatly increased by using a document management platform on the market, and the daily practical use requirements of the company can not be met.
Disclosure of Invention
Based on this, it is necessary to provide a knowledge base platform for the above technical problems. The platform provides a document management function capable of rapidly and efficiently inputting knowledge information, meets various complex search query conditions in an enterprise, opens up other important projects in the enterprise, and improves the working efficiency of the enterprise.
According to the present application there is provided a knowledge base platform comprising:
the theme configuration module is used for configuring a theme, including theme addition, theme editing and theme deletion;
the data configuration module is used for configuring data including newly-built data and edited data, and the contents of the data include: topic classification and material titles, wherein topics in the topic classification are topics in a topic configuration module;
the data query module is used for querying data, and the query conditions comprise: the topic classification and the data title in the data configuration module are used for inquiring data by setting at least one of inquiry conditions during inquiring the data.
In some embodiments, further comprising: the question bank configuration module is used for carrying out the question bank configuration of the data in the data configuration module and comprises the following steps: and adding the title and editing the title.
In some embodiments, in the theme configuration module, the theme content includes: topic code, topic name, upper level topic.
In some embodiments, in the data query module, when the query condition is a topic name of an upper topic, the output result includes a lower topic of the topic name.
In some embodiments, the system further comprises a distributed lock configuration module for implementing the function of multithreading concurrent modification of data/subject matter through the distributed lock; the distributed lock includes two layers of granularity: project dimension and business dimension; the project dimension is subject to project name locking, and the business dimension is subject to subject code locking.
In some embodiments, the distributed lock is a redis distributed lock.
In some embodiments, information in the knowledge base platform is cached in full and updated in real time by Redis caching techniques.
In some embodiments, the profile query module includes: recording the past query conditions, sorting according to the query frequency, and caching at least the query results of the first three of the frequency ranks through Redis.
By implementing the scheme of the application, the following beneficial effects can be obtained:
1. a document management platform capable of rapidly and efficiently inputting knowledge information is constructed, so that labor cost is saved; the method meets various complex search query conditions in enterprises and rapidly locates knowledge information; the knowledge information input by the sponsor is utilized to open other important projects in the enterprise, so that the working efficiency of the enterprise is improved, and the use of personnel in each department is facilitated; real-time/offline inquiry functions are provided for the seat auxiliary items.
2. The multi-thread concurrency new/update/delete document function with smaller granularity is realized based on the distributed lock.
3. The knowledge information is cached in full quantity and updated in real time through a caching technology, millisecond-level query is realized under the condition that an external query middleware is not used, and a good foundation is laid for assisting real-time/offline query by agents.
4. Because of the diversity and complexity of the search conditions and the high qps, hot spot searches are cached, so that the query correctness is ensured, and meanwhile, the pressure of a query interface is also relieved.
Drawings
FIG. 1 is a schematic diagram of some embodiments of a knowledge base platform of the present application;
FIG. 2 is a flow chart of some embodiments of creating/editing data in the data configuration module of the present application;
FIG. 3 is a diagram illustrating an interface of a data configuration module according to some embodiments of the application.
FIG. 4 is a schematic diagram of an interface of a topic configuration module in accordance with some embodiments of the present application.
Fig. 5 is a schematic diagram of some embodiments of subject-related fields in a subject configuration of the present application.
Detailed Description
Embodiments of the present application will now be described more fully hereinafter with reference to the accompanying drawings, in which embodiments of the application are shown. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terms used herein should be construed to have meanings consistent with their meanings in the context of the specification and relevant art and are not to be construed in an idealized or overly formal sense unless expressly so defined herein.
Before describing the specific details of the present application, the meaning of terms that will be used in the present application will be briefly described.
qps: query-per-second (QPS) is a measure of how much traffic a particular query server handles in a specified time.
redis: redis is a key-value store system. Like Memcached, it supports relatively more stored value types, including string, list, set, zset (sorted set-ordered set), and hash (hash type). These data types all support push/pop, add/remove, and pick intersection union and difference and richer operations, and these operations are all atomic. On this basis, redis supports a variety of different ways of ordering. Like memcached, data is cached in memory to ensure efficiency. Except that redis will periodically write updated data to disk or modify operations to additional record files, and master-slave synchronization is implemented on this basis.
Project dimension: refer to item levels, such as: the knowledge base platform is an item, and the item name is the knowledge base platform.
Service dimension: refer to the business layer, for example: specific topics, materials, topics, etc. in the knowledge base platform project.
FIG. 1 illustrates a flow chart of some embodiments of the knowledge base platform of the application.
As shown in fig. 1, includes:
the theme configuration module 100 is configured to perform theme configuration including theme addition, theme editing and theme deletion;
the data configuration module 200 is configured to configure data including creating new data and editing data, where the content of the data includes: topic classification and material titles, wherein topics in the topic classification are topics in a topic configuration module; further preferably, the content of the material may further include: data labels, data visibility, knowledge information, learning information. The knowledge information and the learning information can be set for knowledge visibility and learning visibility, and the setting range is within the data visibility.
FIG. 2 is a flow chart of some embodiments of creating/editing data in a data configuration module according to the present application.
As shown in fig. 2, the new creation and the editing of the material are completed by the new creation of the material [ save ], the new creation of the material [ save and on line ], the editing of the material [ save ] and the editing of the material [ save and on line ], wherein the creation/updating of the draft version is performed by the save and the creation/updating of the formal version is performed by the on line. The draft version and the formal version enable the data configuration to have a traceability function.
FIG. 3 is a schematic diagram illustrating an interface of a data configuration module according to some embodiments of the application.
As shown in fig. 3, the interface content in the data configuration module is divided into three parts, and the basic information part includes: the information part of knowledge includes the title, theme, label and visibility of the information: the learning material part comprises learning visibility, learning accessories and learning content. By the arrangement of the visibility, information seen by different people is different.
The data query module 300 is configured to perform a data query, where query conditions include: the topic classification and the data title in the data configuration module enable the data query to be performed by setting at least one of the query conditions during the data query.
In some embodiments, further comprising: the question bank configuration module is used for carrying out the question bank configuration of the data in the data configuration module and comprises the following steps: and adding the title and editing the title.
FIG. 4 illustrates a schematic diagram of an interface of a topic configuration module in accordance with some embodiments of the present application.
As shown in fig. 4, the contents of the interface of the title configuration module include: the title number, the theme, the data title, the question type, the question stem, the option, the correct answer and the starting state, and the configured title can be conveniently checked by an operator.
In some embodiments, in the theme configuration module, the theme content includes: topic code, topic name, upper level topic. When the query condition is the topic name of the upper topic, the output result comprises the lower topic of the topic name.
Fig. 5 shows a schematic diagram of some embodiments of subject-related fields in a subject configuration of the present application.
As shown in fig. 5, the subject-related fields include: topic code, topic name, superior topic, description, update time, operator, operation. The topic codes and topic names are unique and can not be repeated, the upper level topics are selected through the drop-down menu to form upper and lower level topic relations, and the updating time and operators are automatically updated after the storing operation.
In some embodiments, the system further comprises a distributed lock configuration module for implementing the function of multithreading concurrent modification of data/subject matter through the distributed lock; the distributed lock includes two layers of granularity: project dimension and business dimension; the project dimension is subject to project name locking, and the business dimension is subject to subject code locking. Preferably, the distributed lock is a redis distributed lock.
The distributed locks based on the redis are realized, the redis locks are divided into two layers of granularity, the first layer is project granularity, the redis locks corresponding to project dimension application are needed to be mutually isolated after the application is successful, secondly, the redis locks of each project can be locked in the project by dimension of service, in the functions of adding and editing data, the data names cannot be repeated, and because the data topics are independent of modules outside the data, the deleted topics can be possibly selected, the overall efficiency is greatly reduced if the locking operation is performed on the basis of the concurrency conditions, so that the locking is performed on the condition of project names (such as a knowledge base platform) and topic codes, when a plurality of people operate the same piece of data at the same time, the concurrent operation is excellent as long as the two conditions of the data names and the data topics are not included in the field of the operation, the mode can also provide the performance guarantee under the condition of the simultaneous operation of a plurality of people, and the like is also applied to the modules such as the topics and the topics.
In some embodiments, information in the knowledge base platform is cached in full and updated in real time by Redis caching techniques.
In some embodiments, the profile query module includes: recording the past query conditions, sorting according to the query frequency, and caching at least the query results of the first three of the frequency ranks through Redis.
The functions of the knowledge base platform in the application can be realized by the following modes: based on SpringCloud, realizing a micro-service function; realizing a data storage interaction function based on mybatis; realizing a query interface and an agent auxiliary real-time/offline query cache function based on Redis; realizing a timing update cache function based on XXLJOB; the multithreading concurrent new adding/updating/deleting document function with smaller granularity is realized based on the distributed lock; storing resource information such as pictures/videos in the knowledge information based on the OSS; dynamic configuration parameters are realized based on a configuration center in the company, and dynamic parameters such as page number division/download links and the like are dynamically adjusted; interaction with the vendor interface is achieved based on a gateway system inside the company.
The system design is carried out through a configuration center and a gateway system inside a company, so that the interface efficiency is ensured, and meanwhile, the safety of the interface is greatly improved; the Redis caching technology is utilized to realize the seat auxiliary real-time/offline query.
With reference to the foregoing exemplary description of the application, it will be apparent to those skilled in the art that the application has the following advantages: a document management platform capable of rapidly and efficiently inputting knowledge information is constructed, so that labor cost is saved; the method meets various complex search query conditions in enterprises and rapidly locates knowledge information; the knowledge information input by the sponsor is utilized to open other important projects in the enterprise, so that the working efficiency of the enterprise is improved, and the use of personnel in each department is facilitated; real-time/offline inquiry functions are provided for the seat auxiliary items. The multi-thread concurrency new/update/delete document function with smaller granularity is realized based on the distributed lock. The knowledge information is cached in full quantity and updated in real time through a caching technology, millisecond-level query is realized under the condition that an external query middleware is not used, and a good foundation is laid for assisting real-time/offline query by agents. Because of the diversity and complexity of the search conditions and the high qps, hot spot searches are cached, so that the query correctness is ensured, and meanwhile, the pressure of a query interface is also relieved.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Thus, embodiments of the present application have been described in detail. In order to avoid obscuring the concepts of the application, some details known in the art have not been described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
While certain specific embodiments of the application have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the application. It will be understood by those skilled in the art that the foregoing embodiments may be modified and equivalents substituted for elements thereof without departing from the scope and spirit of the application. The scope of the application is defined by the appended claims.

Claims (8)

1. A knowledge base platform, comprising:
the theme configuration module is used for configuring a theme, including theme addition, theme editing and theme deletion;
the data configuration module is used for configuring data including newly-built data and edited data, and the contents of the data include: topic classification and material titles, wherein topics in the topic classification are topics in the topic configuration module;
the data query module is used for querying data, and the query conditions comprise: the topic classification and the data title in the data configuration module are used for inquiring data by setting at least one of the inquiry conditions during inquiring the data.
2. The knowledgebase platform of claim 1, wherein,
further comprises: the question bank configuration module is used for carrying out the question bank configuration of the data in the data configuration module and comprises the following steps: and adding the title and editing the title.
3. The knowledgebase platform of claim 1, wherein,
in the theme configuration module, the theme content includes: topic code, topic name, upper level topic.
4. The knowledgebase platform of claim 3, wherein,
in the data query module, when the query condition is the topic name of the upper topic, the output result comprises the lower topic of the topic name.
5. The knowledgebase platform of claim 1, wherein,
the distributed lock configuration module is used for realizing the function of concurrently modifying data/theme content in a multithreading way through the distributed lock; the distributed lock includes two layers of granularity: project dimension and business dimension; the project dimension is subject to project name locking, and the business dimension is subject to subject code locking.
6. The knowledgebase platform of claim 5, wherein,
the distributed lock is a redis distributed lock.
7. The knowledgebase platform of claim 1, wherein,
information in the knowledge base platform is cached in full quantity and updated in real time through a Redis caching technology.
8. The knowledgebase platform of claim 1, wherein,
the data query module comprises: recording the past query conditions, sorting according to the query frequency, and caching at least the query results of the first three of the frequency ranks through Redis.
CN202310387874.6A 2023-04-12 2023-04-12 Knowledge base platform Pending CN116611515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310387874.6A CN116611515A (en) 2023-04-12 2023-04-12 Knowledge base platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310387874.6A CN116611515A (en) 2023-04-12 2023-04-12 Knowledge base platform

Publications (1)

Publication Number Publication Date
CN116611515A true CN116611515A (en) 2023-08-18

Family

ID=87684303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310387874.6A Pending CN116611515A (en) 2023-04-12 2023-04-12 Knowledge base platform

Country Status (1)

Country Link
CN (1) CN116611515A (en)

Similar Documents

Publication Publication Date Title
AU2019219824B2 (en) System for synchronization of changes in edited websites and interactive applications
AU2006200226B2 (en) File system represented inside a database
US7130867B2 (en) Information component based data storage and management
US7836080B2 (en) Using an access control list rule to generate an access control list for a document included in a file plan
US9892185B2 (en) Method and system for syncing data structures
US7831576B2 (en) File plan import and sync over multiple systems
US10169389B2 (en) Metadata driven reporting and editing of databases
US7966286B2 (en) Hierarchical management of object schema and behavior
US7627583B2 (en) Methods, apparatus and computer programs for visualization and management of data organisation within a data processing system
US20070282918A1 (en) Methods, Apparatus and Computer Programs for Visualization and Management of Data Organization Within a Data Processing System
US20070073663A1 (en) System and method for providing full-text searching of managed content
US20070050431A1 (en) Deploying content between networks
US11474977B2 (en) Snapshot isolation in a distributed storage system
US10915551B2 (en) Change management for shared objects in multi-tenancy systems
US11068536B2 (en) Method and apparatus for managing a document index
JP2004030221A (en) Method for automatically detecting table to be modified
CN102024207A (en) Knowledge management system seamlessly combined with office software
US20040167905A1 (en) Content management portal and method for managing digital assets
US6701328B1 (en) Database management system
US8903785B2 (en) Baselines over indexed, versioned data
CN113095778A (en) Architecture for managing mass data in communication application through multiple mailboxes
CN116611515A (en) Knowledge base platform
US20050160101A1 (en) Method and apparatus using dynamic SQL for item create, retrieve, update delete operations in a content management application
Leone et al. Concept and architecture of an pervasive document editing and managing system
Litan et al. Achieving the Efficiency for Information Systems Possibilities and Prospects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination