CN103226612B - A kind of Content Management System based on memory database - Google Patents
A kind of Content Management System based on memory database Download PDFInfo
- Publication number
- CN103226612B CN103226612B CN201310166138.4A CN201310166138A CN103226612B CN 103226612 B CN103226612 B CN 103226612B CN 201310166138 A CN201310166138 A CN 201310166138A CN 103226612 B CN103226612 B CN 103226612B
- Authority
- CN
- China
- Prior art keywords
- memory database
- data
- data storage
- website
- file
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention discloses a kind of Content Management System based on memory database, comprises operational management module, site contents administration module and Data Storage.Three modules provide system level, website rank and other management function of storage data level respectively.Being packaged with in described Data Storage can the main memory database engine of independent startup and closedown; The operation controlling functions in development data storehouse in Data Storage, realizes management function and the memory database synchronous operation of system.Supported the Content Management of multi-site simultaneously by site contents administration module, in safety management, by all authorities of operational management module unified management, and website is authorized.Content Management System based on memory database is safeguarded simple, reading and writing data and handling property good.
Description
Technical field
Invention relates to a kind of Content Management System, is specifically related to a kind of Content Management System based on memory database, belongs to technical field of information management.
Background technology
Along with the development of social informatization and becoming increasingly abundant of internet, applications, Content Management System (CMS) becomes the efficient tool of Website construction, content maintenance gradually, and effectively can solve the problems such as web site contents is mixed and disorderly, difficult in maintenance.Domestic more existing Content Management Systems, generally use independently database software, the information that substantially achieves represent, the separation of Data Integration and Content Management; Or use file to store the Content Management System of (as Access).But there is following problem and shortcoming in foregoing management system:
(1), when adopting independently database software to carry out data storage, database software and Content Management System independent operating, need professional and technical personnel to carry out regularly or unscheduled maintenance management database software; Data message in addition in database software is combined with systemic-function closely, and non-developer is difficult to accomplish careful maintenance management.
(2) use file store Content Management System, reading and writing data and handling property poor, be difficult to meet the requirement of Content Management System to performance.
(3) common Content Management System is generally towards single website, can not support that the content maintenance of multiple website manages simultaneously, be difficult to expand.
Memory database has that read or write speed is faster, handling property more advantages of higher, the domestic Content Management System still not having shaping use memory database.
Summary of the invention
In view of this, the invention provides a kind of Content Management System based on memory database, memory database is in the content management system integrated, the operational management to memory database can be simplified, realize management function and the memory database synchronous operation of system; Reading and writing data and handling property good.
The described Content Management System based on memory database, comprises system cloud gray model administration module, site contents administration module and Data Storage; Being packaged with in described Data Storage can the main memory database engine of independent startup and closedown.
The operation workflow of this system is:
(1) after the program operation audiomonitor in system cloud gray model administration module captures the enabling signal of Content Management System, activation data memory management module.
(2) the DataBase combining configuration parameter file of Data Storage reading system, after the data file preset according to the memory address confirmation of the data file recorded in Parameter File exists, data in read data files are also loaded in the internal memory in Data Storage, complete the loading of memory database thus; Described main memory database engine manages memory database.
(3) memory database loads successfully, and system carries out initialization; If program is run audiomonitor and is captured the failed information of memory database loading, then the startup of termination system.
(4), after system initialization completes, start-up course terminates and enters normal operating condition; Data now in whole system manage by the main memory database engine encapsulated in Data Storage; The result data of interactive operation for providing the inquiry of the every operation configuration parameter of each website in system, operating parameter and running log, amendment or delete function, and is sent to the memory database in Data Storage by described system cloud gray model administration module; Described site contents administration module is used for providing the editor of site contents, examination & verification, release management function to the leading subscriber of each website, and the result data of interactive operation is sent to the memory database in Data Storage.
When needing to back up the data in memory database, first sent the instruction of closing memory database to main memory database engine by Data Storage, main memory database engine performs out code after the data in memory database are written back to data file; Then Data Storage by data file compression be the unloading of zip formatted data bag to backup directory, and be supplied to leading subscriber download.
When needs recover historical data, first sent the instruction of closing memory database to main memory database engine by Data Storage, main memory database engine performs out code after the data in memory database are written back to data file; Packet under the backup data package that Data Storage receiving management user uploads or direct selection system backup directory, after confirming to perform the order of data file access pattern, current data file replaced by Data Storage decompressed data bag, then reloads memory database to complete date restoring.
In system operation, described main memory database engine is regularly by the data write data file in memory database.
(5) after program operation audiomonitor captures system closing signal, calling data memory management module sends the instruction of closing memory database to main memory database engine, main memory database engine performs out code after the data in memory database are written back to data file.
(6), after memory database has been closed, Data Storage runs audiomonitor feedback successful information to program, system closing, whole system end of run.
Described system cloud gray model administration module is that each website in system sets different site information; Described site information is stored in memory database.
Described site contents administration module is when content distributed to each website in system, under first content to be released generation static page file being stored in each website corresponding Web issue catalogue, or static page is sent in the corresponding Web publisher server of each website, to provide Outside Access.
All bookkeeping authorities in described system are all stored in memory database, during certain website in leading subscriber login system, described site contents administration module reads authority information corresponding to this website by main memory database engine from memory database, shows corresponding operating function menu; Simultaneously in described system, each URL request of configurator filtrator to leading subscriber is mated with the user right stored in memory database, if the match is successful, allows to continue operation, it fails to match then prompting have no right operation;
During described leading subscriber visit data memory management module, the first certificate of authority file of upload contents management system root certificate issuance, system reads certificate content and uses root CertPubKey to verify; The operation information of described memory database to leading subscribers all in site contents administration module carries out record.
Beneficial effect:
(1) in the present invention, memory database and Content Management System are integrated, towards the operational management controlling functions of main memory database engine exploitation memory database in Data Storage, comprise SQL operation (additions and deletions change functions such as looking into) of the backup of data file in the online closedown of memory database and startup, memory database, recovery and export function and data-oriented file; Thus realize management function and the memory database synchronous operation of system, simplify the management to memory database, make non-developer also can carry out daily servicing management to database.
(2), compared with storing with traditional file, the present invention adopts memory database, and all data processings all complete in internal memory, reading and writing data and handling property good.
(3) website operational management module is designed with in system of the present invention, can the multiple website of configuration management, and by site contents administration module, each website is managed independently, favorable expandability.
Accompanying drawing explanation
Fig. 1 is the main frame of the internal storage management system based on memory database;
Fig. 2 is for the one provided by Content Management System of the present invention is towards small-scale application of building a station fast;
Fig. 3 is the operational flow diagram of the Content Management System that the present invention is based on memory database.
Embodiment
To develop simultaneously embodiment below in conjunction with accompanying drawing, describe the present invention.
The present embodiment provides a kind of Content Management System based on memory database, this system is in the content management system integrated by memory database, and towards the engine modules development data memory management functions of memory database, simplify the operational management to memory database, realize management function and the memory database synchronous operation of system.
Content Management System in the present embodiment comprises operational management module, site contents administration module and Data Storage.Fig. 1 illustrates the main frame of the internal storage management system based on memory database.In the architecture, memory database is not re-used as an independent system, but in the content management system integrated, realizes synchronous operation with system.The website this system managed is considered as a website; Then in above-mentioned three modules, operational management module provides the management function of system level, realizes the configuration of website and the operation monitoring of each website.Be specially: operational management module faces provides station field signal, authority to configure the function such as (configuring the access rights of each website), Content Advisor (whether the content being about to externally to issue in review database conforms with the regulations), monitor audit to total system.Site contents administration module provides other management function site-level, namely generates and index, user right role and Operation Log audit function site information, column offer, Edition Contains examination & verification issue, website form resource management, the page.Data Storage provides storage data level other management function, namely online database operation management and data base backup recovery, data file version management function.
In this Content Management System, memory database is carried out the data storage management of internal memory level as building blocks of function embedding data memory management module.Be specially: the engine modules of memory database is added in Content Management System, under the data file of memory database and data storage directory are set in security of system catalogue WEB-INF in DataBase combining configuration parameter file.In Data Storage, towards the operation controlling functions of main memory database engine Development of Module memory database, comprise the backup of data file in the online closedown of memory database and startup, memory database, recovery and export function and data-oriented SQL operates (additions and deletions change functions such as looking into).Be specially: (1) closes memory database online: Data Storage reading database connects configuration parameter file creation date storehouse and connects, and perform " Shutdown " order closedown memory database, preserve data to the data file in memory database, change website overall situation operational factor is " service mode " simultaneously, stops the access of other online user to back-stage management.(2) data file backup: system is when backing up or download the data file in memory database, Data Storage reading database connects configuration parameter file acquisition data file storage directory, to be that zip packet is stored in backup directory by data file compression under the data file storage directory of acquisition, and download is provided.(3) data file is recovered: Data Storage is wrapped to each website uploading data file zip in system or selected the backup data file under backup directory, and after confirming to perform the order of data file access pattern, program decompress(ion) zip wraps and replaces current data file.(4) memory database is started online: Data Storage reading database connects configuration parameter, after confirming that data file exists by file command, then memory database is started, and rebuild all DataBase combining, change website overall situation operational factor is " operational mode ", cancels online user to the restrict access of back-stage management.Content Management System is in operational process, and Data Storage realizes controlling the predigested running of memory database by above-mentioned functions.
Configurator runs audiomonitor in the present system simultaneously, when system starts or close, after program runs audiomonitor reading database connection configuration parameter file, building database connects, and synchronously to startup or the closedown of database, realizes the synchronous operation of three zones module and database.Be specially: when Content Management System starts, program runs audiomonitor capture systems enabling signal, and reading database connects configuration parameter file and obtains memory database Connecting quantity; Then calling data memory management module, starts memory database and the initialization internal storage data read in memory database.If memory database starts unsuccessfully, program runs the startup that audiomonitor captures termination system after failure information, and error message is write journal file.Memory database starts successfully, and system continues start and carry out data interaction with memory database, provides web content management function, realizes management function and the memory database synchronous operation of system.When Content Management System is closed, program is run audiomonitor and is caught shutdown signal, calling data memory management module, closes memory database and preserves data to the data file in memory database, then closing Content Management System.
Realized the Content Management of multi-site by site contents administration module in the present invention, native system multi-site management core methed be: (1) for each website set different domain name access, dispose path, template resource file path, page issuing path parameter, and the website number of putting on record, copyright information etc., build complete site information and be stored in memory database.(2) content management function of each website has versatility, and difference is that different website is only accessed and uses the data belonging to our station; User access content management system time access domain name, path or cookie information identification user institute access site according to user, and load the management data of corresponding function module according to site identity.(3), when each website carries out content issue, content is generated static page file and be stored in each website corresponding Web issue catalogue, or static page and resource file are pushed to the Web publisher server of different website, externally provide access.(4) to each site configuration resource domain name and root path parameter; and specify when web site contents staticize generates the page; namely the distributed deployment of site page and resource file be can realize, the request of access and load pressure of alleviating website publisher server effectively shared.
In fig. 2, one is provided towards small-scale application of building a station fast by Content Management System.After a station server deploy Content Management System, build site1, site2, site3 tri-virtual sites, after the function that in utilizing Content Management System to provide three large modules provide completes stencil design and content issue, site contents staticize is generated the html page leave in Web catalogue corresponding to each substation point, provide access towards external user.
Described Content Management System is in operational process, realize the safety management of system by the following method: (1) permissions dataization manages: all bookkeeping authorities are stored in memory database by system, when user logs in website, system reads the corresponding authority information of user from memory database, display operating function menu; (2) strict Authority Verification: in system, each URL request of configurator filtrator to user is mated with user right, if be proved to be successful, allow to continue operation, authentication failed is then redirected to haves no right operation indicating interface, simultaneously by the operation note daily record of user; (3) based on the data storage management of certificate: during user accesses data memory management module, first the certificate of authority file of a Content Management System root certificate issuance must be uploaded, program reads certificate content and uses root CertPubKey to verify, after being verified, generate for current accessed IP in connection session and the term of validity Authorized operation of 30 minutes mark, ensure that only certificate granting validated user just can carry out data storage management; (4) log audit: record is carried out to the operation information of users all in content managing module, and provide temporally, by user, log query function by mode of operation and keyword.
The Content Management System operational scheme based on memory database that the present embodiment provides as shown in Figure 3, is specially:
(1) after the program operation audiomonitor in system cloud gray model administration module captures the enabling signal of Content Management System, activation data memory management module;
(2) the DataBase combining configuration parameter file of Data Storage reading system, after the data file preset according to the memory address confirmation of the data file recorded in Parameter File exists, data in read data files are also loaded in the internal memory in Data Storage, complete the loading of memory database thus; Described main memory database engine manages memory database; Described DataBase combining configuration parameter file can in any one module of system; In the present embodiment, raw data file is arranged in any one hard disk of system, records the memory address of data file in described DataBase combining configuration parameter file.
(3) memory database loads successfully, and system carries out initialization; If program is run audiomonitor and is captured the failed information of memory database loading, then the startup of termination system.
(4), after system initialization completes, start-up course terminates and enters normal operating condition; Data now in whole system manage by the main memory database engine encapsulated in Data Storage; The result data of interactive operation for providing the inquiry of the every operation configuration parameter of each website in system, operating parameter and running log, amendment or delete function, and is sent to the memory database in Data Storage by described system cloud gray model administration module; Described site contents administration module is used for providing the editor of site contents, examination & verification, release management function to the leading subscriber of each website, and the result data of interactive operation is sent to the memory database in Data Storage.
When needing to back up the data in memory database, first to be sent to main memory database engine by Data Storage and close the instruction of memory database, after the data of main memory database engine just in memory database are written back to data file, perform out code; Then Data Storage by data file compression be the unloading of zip formatted data bag to backup directory, and be supplied to leading subscriber download.
When needs recover historical data, first to be sent to main memory database engine by Data Storage and close the instruction of memory database, after the data of main memory database engine just in memory database are written back to data file, perform out code; Packet under the backup data package that Data Storage receiving management user uploads or direct selection system backup directory, after confirming to perform the order of data file access pattern, current data file replaced by Data Storage decompressed data bag, then reloads memory database to complete date restoring.
In system operation, described main memory database engine is regularly by the data write data file in memory database.
(5) after program operation audiomonitor captures system closing signal, calling data memory management module sends to main memory database engine and closes the instruction of memory database, performs out code after the data of main memory database engine just in memory database are written back to data file.
(6), after memory database has been closed, Data Storage runs audiomonitor feedback successful information to program, system closing, whole system end of run.
Content Management System in the present invention has good dirigibility and extendability; memory database is used to carry out storing the maintenance management requirement reduced database; be easy to safeguard; simple Prototype Design, microsite application can either be met; can carry out good expansion again, the website realizing medium-scale or large-scale implements to dispose.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (3)
1. based on a Content Management System for memory database, it is characterized in that, comprise system cloud gray model administration module, site contents administration module and Data Storage; Being packaged with in described Data Storage can the main memory database engine of independent startup and closedown;
The operation workflow of this system is:
(1) after the program operation audiomonitor in system cloud gray model administration module captures the enabling signal of Content Management System, activation data memory management module;
(2) the DataBase combining configuration parameter file of Data Storage reading system, after the data file preset according to the memory address confirmation of the data file recorded in Parameter File exists, data in read data files are also loaded in the internal memory in Data Storage, complete the loading of memory database thus; Described main memory database engine manages memory database;
(3) memory database loads successfully, and system carries out initialization; If program is run audiomonitor and is captured the failed information of memory database loading, then the startup of termination system;
(4), after system initialization completes, start-up course terminates and enters normal operating condition; Data now in whole system manage by the main memory database engine encapsulated in Data Storage; The result data of interactive operation for providing the inquiry of the every operation configuration parameter of each website in system, operating parameter and running log, amendment or delete function, and is sent to the memory database in Data Storage by described system cloud gray model administration module; Described site contents administration module is used for providing the editor of site contents, examination & verification, release management function to the leading subscriber of each website, and the result data of interactive operation is sent to the memory database in Data Storage;
When needing to back up the data in memory database, first sent the instruction of closing memory database to main memory database engine by Data Storage, main memory database engine performs out code after the data in memory database are written back to data file; Then Data Storage by data file compression be the unloading of zip formatted data bag to backup directory, and be supplied to leading subscriber download;
When needs recover historical data, first sent the instruction of closing memory database to main memory database engine by Data Storage, main memory database engine performs out code after the data in memory database are written back to data file; Packet under the backup data package that Data Storage receiving management user uploads or direct selection system backup directory, after confirming to perform the order of data file access pattern, current data file replaced by Data Storage decompressed data bag, then reloads memory database to complete date restoring;
In system operation, described main memory database engine is regularly by the data write data file in memory database;
(5) after program operation audiomonitor captures system closing signal, calling data memory management module sends the instruction of closing memory database to main memory database engine, main memory database engine performs out code after the data in memory database are written back to data file;
(6), after memory database has been closed, Data Storage runs audiomonitor feedback successful information to program, system closing, whole system end of run.
2. a kind of Content Management System based on memory database as claimed in claim 1, it is characterized in that, described system cloud gray model administration module is that each website in system sets different site information; Described site information is stored in memory database;
Described site contents administration module is when content distributed to each website in system, first content to be released is generated static page, static page file is stored in the corresponding Web of each website issue under catalogue or static page be sent in the corresponding Web publisher server of each website, to provide Outside Access.
3. a kind of Content Management System based on memory database as claimed in claim 1, it is characterized in that, all bookkeeping authorities in described system are all stored in memory database, during certain website in leading subscriber login system, described site contents administration module reads authority information corresponding to this website by main memory database engine from memory database, shows corresponding operating function menu; Simultaneously in described system, each URL request of configurator filtrator to leading subscriber is mated with the user right stored in memory database, if the match is successful, allows to continue operation, it fails to match then prompting have no right operation;
During described leading subscriber visit data memory management module, the first certificate of authority file of upload contents management system root certificate issuance, system reads certificate content and uses root CertPubKey to verify; The operation information of described memory database to leading subscribers all in site contents administration module carries out record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310166138.4A CN103226612B (en) | 2013-05-08 | 2013-05-08 | A kind of Content Management System based on memory database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310166138.4A CN103226612B (en) | 2013-05-08 | 2013-05-08 | A kind of Content Management System based on memory database |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103226612A CN103226612A (en) | 2013-07-31 |
CN103226612B true CN103226612B (en) | 2016-01-06 |
Family
ID=48837057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310166138.4A Active CN103226612B (en) | 2013-05-08 | 2013-05-08 | A kind of Content Management System based on memory database |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103226612B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105989049A (en) * | 2015-02-05 | 2016-10-05 | 天脉聚源(北京)科技有限公司 | Data middle layer realizing method and system |
CN105045874B (en) * | 2015-07-17 | 2018-06-12 | 浪潮(北京)电子信息产业有限公司 | A kind of method and device for improving database performance |
CN105183783A (en) * | 2015-08-14 | 2015-12-23 | 广东能龙教育股份有限公司 | Auditing system based on object model |
CN106686050B (en) * | 2016-08-18 | 2020-02-07 | 中国信息通信研究院 | Domain name based classification information issuing method and system |
CN109144760B (en) * | 2018-06-29 | 2019-10-11 | 清华大学 | For obtaining the method, apparatus, system and medium of internal storage state |
CN109040286B (en) * | 2018-08-24 | 2021-01-26 | 重庆金康特智能穿戴技术研究院有限公司 | Client online state maintenance method based on memory database |
CN109151036B (en) * | 2018-09-04 | 2021-05-18 | 江苏龙虎网信息科技股份有限公司 | CMS system-based unified multi-site information distribution method |
CN110022305A (en) * | 2019-03-07 | 2019-07-16 | 北京华安普特网络科技有限公司 | Web portal security guard system and method |
CN111752931B (en) * | 2020-07-01 | 2024-09-20 | 浪潮云信息技术股份公司 | Intelligent storage table implementation method and system for NEWSQL database management system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463396A (en) * | 2001-05-22 | 2003-12-24 | 松下电器产业株式会社 | Content management system with usage rule management server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8244828B2 (en) * | 2003-08-28 | 2012-08-14 | International Business Machines Corporation | Digital guide system |
-
2013
- 2013-05-08 CN CN201310166138.4A patent/CN103226612B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463396A (en) * | 2001-05-22 | 2003-12-24 | 松下电器产业株式会社 | Content management system with usage rule management server |
Non-Patent Citations (2)
Title |
---|
Web Content Management System based on XML Native Database;Mihaela Sokic等;《Information Technology Interfaces》;20030619;全文 * |
集群数据库内容管理系统的设计与实现;张龙 等;《情报杂志》;20120229;第31卷(第2期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103226612A (en) | 2013-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103226612B (en) | A kind of Content Management System based on memory database | |
CN103595730B (en) | A kind of ciphertext cloud storage method and system | |
CN103607469B (en) | Data sharing method of cloud platform for achieving distributed isomerous data sharing | |
CN104580395B (en) | A kind of cloudy collaboration Storage Middleware Applying system based on existing cloud storage platform | |
US10747841B2 (en) | Systems and methods for modifying and restoring website content via a website directory | |
CN104603740B (en) | Filing data identifies | |
CN103176860B (en) | Data back up method and system | |
CN104050248B (en) | A kind of document storage system and storage method | |
CN101854392A (en) | Personal data management method based on cloud computing environment | |
CN104603776A (en) | Archival data storage system | |
CN102202044A (en) | Portable cloud storage method and device | |
CN104252485A (en) | Database management platform | |
CN101547219B (en) | System and method for data storage | |
CN102521114B (en) | File system log storage system under virtualization environment | |
US20140344267A1 (en) | Storing, Accessing and Restoring Website Content via a Website Repository | |
CN102521390B (en) | Database management and monitoring system based on pin function | |
CN102053855B (en) | Software generation system and method | |
CN102932443A (en) | HDFS (hadoop distributed file system) cluster based distributed cloud storage system | |
CN104063294B (en) | A kind of linux system backup and restoration methods | |
CN111031109B (en) | Method for network safety equipment backup and synchronous management | |
CN103714089A (en) | Method and system of rolling back cloud database | |
CN106302473A (en) | The duplication maintaining method of a kind of SQL Server data base and system | |
CN102932468B (en) | Share data access method | |
Yan | Cloud storage services | |
JP2011198325A (en) | Method and system for performing safe bringing-out of file data to outside |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |