CN113377729A - MongoDB-based knowledge sharing platform system - Google Patents

MongoDB-based knowledge sharing platform system Download PDF

Info

Publication number
CN113377729A
CN113377729A CN202110662038.5A CN202110662038A CN113377729A CN 113377729 A CN113377729 A CN 113377729A CN 202110662038 A CN202110662038 A CN 202110662038A CN 113377729 A CN113377729 A CN 113377729A
Authority
CN
China
Prior art keywords
mongodb
sharing platform
knowledge sharing
layer
platform system
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
CN202110662038.5A
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.)
Harbin University of Science and Technology
Original Assignee
Harbin University of Science and Technology
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 Harbin University of Science and Technology filed Critical Harbin University of Science and Technology
Priority to CN202110662038.5A priority Critical patent/CN113377729A/en
Publication of CN113377729A publication Critical patent/CN113377729A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a MongoDB-based knowledge sharing platform system, and belongs to the technical field of computer science. The system comprises: the system comprises a login module, a storage module of mass document data, a query and check module of the mass document data, a management module of user information and a monitoring module of platform information. The MongoDB database is used as a database storage system of a knowledge sharing platform, the document-oriented storage mode of the MongoDB database is suitable for storing file data of the platform, and the unique file storage mechanism solves the problem of large file storage and provides convenience for relation query. The knowledge sharing platform is improved in performance on the basis of meeting the use function.

Description

MongoDB-based knowledge sharing platform system
Technical Field
The invention discloses a knowledge sharing platform system based on MongoDB, and belongs to the technical field of computer science. The knowledge experience is accumulated through the knowledge sharing platform, intangible knowledge wealth is accumulated through the tangible sharing platform, and a centralized, convenient and effective way for acquiring knowledge is provided for enterprises.
Background
NoSQL (not Only SQL), generally refers to a non-relational database. In the period of rise and wide popularity of internet application and big data processing service, the traditional SQL relational database system can not meet higher requirements far and expose a lot of bottleneck problems when dealing with big data and highly concurrent Web network applications, so that the non-relational database technology comes up. Aiming at solving the problem of diversification of mass data and data types, the NoSQL technology is researched and is specially used for solving the problem of big data application. Through analysis of various non-relational databases, a MongoDB database is finally adopted as a database storage system of a knowledge sharing platform, the document-oriented storage mode of the system is suitable for storing file data of the platform, the problem of large file storage is solved through a unique file storage mechanism, and the mode of storing values by key values provides convenience for relational query. The knowledge sharing platform is improved in performance on the basis of meeting the use function.
Disclosure of Invention
The invention provides a system architecture model based on MongoDB non-relational database technology, and a knowledge sharing platform is designed and realized based on the architecture model to solve the functional problem and the performance problem of mass data storage and management.
Drawings
Fig. 1 is a diagram of functional blocks.
FIG. 2 is a document storage module class diagram.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
In FIG. 1, the storage of the voluminous documentation includes the uploading and downloading of documentation that the user may share at the knowledge sharing platform. When uploading document data, setting some attributes such as classification, label, description and the like for the shared document data; when downloading the document material, the attribute state is checked to judge whether the document material can be downloaded. In the query and the check of massive document data, the knowledge sharing platform can query and sort the documents by establishing indexes, such as document names, labels, descriptions, classifications and the like, so that the query is faster and more accurate. The platform can also realize online reading of the document, and the platform can convert document data into a document format (such as HTML) supported by a WEB browser, so that a user can conveniently read online. In the management module of the mass document data, an administrator can manage and maintain the document authority and the document data and classify, edit and delete the document data. The knowledge sharing platform in the user information management module can manage information of each user, including user names, passwords and the like, the user can edit and store personal information on the platform, and an administrator can modify user permissions through the platform. A user in the monitoring module of the platform information can check records such as files uploaded and downloaded by the user through the platform; in addition, the user can view information such as browsing and downloading of the document through the platform.
The storage of the document data is the most critical part of the knowledge sharing platform, and the uploading and downloading functions of the document data need to be realized. The user can use the local file as a shared file to perform the file sharing operation. After login verification is carried out, the user enters a file uploading module, the user can Upload files, and before the Uload button is clicked, classification of the files needs to be selected, labels and descriptions of the files need to be edited, and the like. In fig. 2, a Controller class provides an interface for the knowledge sharing platform, performs preprocessing operation on a request sent by a presentation layer, and then transfers the request to a corresponding service logic class to perform service processing, wherein FileService is responsible for processing document information, CategoryService is responsible for processing document classification, and AuthService is responsible for processing rights.

Claims (9)

1. A knowledge sharing platform system based on MongoDB is characterized by comprising a foreground browser end and a background server end, wherein the background server end is divided into a presentation layer, a logic layer and a data layer.
2. The MongoDB-based knowledge sharing platform system according to claim 1, wherein: the Web browser end mainly adopts HTML5, CSS3.0 and Ajax technology of jQuery, wherein the former is mainly used for realizing page design of a knowledge sharing platform, and the latter is mainly used for realizing asynchronous communication work of a foreground and a background.
3. The MongoDB-based knowledge sharing platform system according to claim 1, wherein: java language, J2EE technology and a classic three-layer architecture model are adopted to carry out development and implementation of a knowledge sharing platform. The presentation layer generates a page through HTML, a page style is generated through CSS, JSP performs page function binding, the Ajax item Controller class is used for sending a request, the Controller class calls corresponding service logic again, an execution result is returned to a foreground page, and the result is displayed. The logic layer realizes specific Service logic for each interface through a plurality of Service logic classes. And storing the Service classes in a springIOC container for unified management by using an injection mechanism of a Spring technical framework. And the data layer is used for realizing interface logic of data access. And accessing data by utilizing a built-in MongoDB interface in the Springboot technology.
4. The MongoDB-based knowledge sharing platform system according to claim 1, wherein: and (3) adopting an embedded mode for storing basic information of the file, and adopting a reference mode for metadata of the file to design the database. For the File base data, only one collection File can be used for storage, and other collections Auth, User will be embedded in the File collection in the form of Object.
5. The MongoDB-based knowledge sharing platform system according to claim 4, wherein: the GridFs file storage mechanism is a special file storage mode of MongoDB and is specially used for storing large files, and the files are stored in fs.files and fs.junks by adopting a binary file storage mechanism.
6. The MongoDB-based knowledge sharing platform system according to claim 5, wherein: the downloading of the file is realized by means of the static resource handling of the SpringMVC mechanism.
7. The MongoDB-based knowledge sharing platform system according to claim 3, wherein: a classic MVC three-layer architecture is adopted, a view layer and a service logic layer realize request communication (Http/Http) through a Controller, and the service logic layer and a data layer carry out data communication through a Dao (data access object). The access control layer is mainly responsible for requesting communication work, and performing operations such as analysis, authentication, request distribution and the like on a request transmitted from a foreground. The foreground sends a request through Ajax and realizes information interaction through the corresponding function of the Controller. The Service logic layer mainly refers to that Service corresponding to the Controller of each functional module is used for realizing the specific function of each module, and the Service needs an API interface as a communication channel.
8. The MongoDB-based knowledge sharing platform system according to claim 3, wherein: in the implementation of the database, a Maven framework is adopted, codes are written in a configuration file pom.
9. The MongoDB-based knowledge sharing platform system according to claim 3, wherein: in the Java language, the unified interface JDBC is used for connecting the relational database, and is used as an access interface for Java execution of SQL statements, which brings great convenience to connecting and using the relational database. Similarly, there is an easy-to-connect and use access interface for non-relational databases, and the Java connection MongoDB Driver is MongoDB Java Driver, which provides both synchronous and asynchronous interaction with MongoDB.
CN202110662038.5A 2021-06-15 2021-06-15 MongoDB-based knowledge sharing platform system Pending CN113377729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110662038.5A CN113377729A (en) 2021-06-15 2021-06-15 MongoDB-based knowledge sharing platform system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110662038.5A CN113377729A (en) 2021-06-15 2021-06-15 MongoDB-based knowledge sharing platform system

Publications (1)

Publication Number Publication Date
CN113377729A true CN113377729A (en) 2021-09-10

Family

ID=77574350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110662038.5A Pending CN113377729A (en) 2021-06-15 2021-06-15 MongoDB-based knowledge sharing platform system

Country Status (1)

Country Link
CN (1) CN113377729A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775680A (en) * 2023-05-31 2023-09-19 北京龙软科技股份有限公司 SQL-based method for operating MongoDB database

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775680A (en) * 2023-05-31 2023-09-19 北京龙软科技股份有限公司 SQL-based method for operating MongoDB database

Similar Documents

Publication Publication Date Title
US11741057B2 (en) Unified data object management system and the method
US10545981B2 (en) Virtual repository management
Vaish Getting started with NoSQL
Lublinsky et al. Professional hadoop solutions
US8555018B1 (en) Techniques for storing data
US10268645B2 (en) In-database provisioning of data
CN103646077B (en) The Efficient software data management method that a kind of Local work space is combined with remote data server
US20170185621A1 (en) Reconstructing distributed cached data for retrieval
CN112364223B (en) Digital archive system
Chavan et al. Survey paper on big data
US10120915B2 (en) Integrated framework for secured data provisioning and management
JP2012098934A (en) Document management system, method for controlling document management system and program
CN112199433A (en) Data management system for city-level data middling station
CN111611266A (en) Knowledge-driven joint big data query and analysis platform
CN111611304A (en) Knowledge-driven joint big data query and analysis platform
CN111611448A (en) Knowledge-driven joint big data query and analysis platform
US20140310262A1 (en) Multiple schema repository and modular database procedures
CN113377729A (en) MongoDB-based knowledge sharing platform system
CN110019440B (en) Data processing method and device
Lee et al. Implementation and performance of distributed text processing system using hadoop for e-discovery cloud service
Haelen et al. Delta Lake: Up and Running
Martin Advanced database techniques
Bui et al. ROARS: a scalable repository for data intensive scientific computing
Taori et al. Big Data Management
Peng Kylo Data Lakes Configuration deployed in Public Cloud environments in Single Node Mode

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