CN111459477B - Content management method, system, electronic device and storage medium - Google Patents

Content management method, system, electronic device and storage medium Download PDF

Info

Publication number
CN111459477B
CN111459477B CN202010119622.1A CN202010119622A CN111459477B CN 111459477 B CN111459477 B CN 111459477B CN 202010119622 A CN202010119622 A CN 202010119622A CN 111459477 B CN111459477 B CN 111459477B
Authority
CN
China
Prior art keywords
substation
model
column
new
information
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
Application number
CN202010119622.1A
Other languages
Chinese (zh)
Other versions
CN111459477A (en
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.)
Beijing Guorentong Education Technology Co ltd
Original Assignee
Beijing Guorentong Education 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 Beijing Guorentong Education Technology Co ltd filed Critical Beijing Guorentong Education Technology Co ltd
Priority to CN202010119622.1A priority Critical patent/CN111459477B/en
Publication of CN111459477A publication Critical patent/CN111459477A/en
Application granted granted Critical
Publication of CN111459477B publication Critical patent/CN111459477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A content management method, system, electronic device, and storage medium are disclosed, the method responding to a column creation request of a new substation by creating the new substation corresponding to the substation creation request using a substation model, creating a column model in the substation model as a sub-model, loading new column information received through a front-end page into the column model, generating a new column under a new substation, and publishing the new substation containing the new column. Personalized configuration can be carried out according to different requirements, and quick generation of substations and quick station establishment can be realized, so that development cost and maintenance cost are greatly reduced.

Description

Content management method, system, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a content management method, a system, an electronic device, and a storage medium.
Background
A Content Management System (CMS) is a software system located between a WEB front-end (WEB server) and a back-end office system or process (content authoring, editing). Content creators, editors, publishers use the content management system to submit, modify, approve, publish content. At present, the CMS published in the market generally has the problems of complex functions, high operation difficulty, high requirements on specialization and the like.
Disclosure of Invention
The present application has been made in view of the above-mentioned problems, and provides a content management method, system, electronic device, and storage medium that overcome or at least partially solve the above-mentioned problems.
According to an aspect of the present application, there is provided a content management method, the method comprising:
Creating a new substation corresponding to the substation creation request by using the substation model;
Responding to a column creation request of a new substation, loading new column information received through a front-end page into a column model, and generating a new column under the new substation; the column model is a sub-model of the substation model;
And releasing the new substation containing the new column.
Optionally, the creating the new substation corresponding to the substation creation request by using the substation model includes:
if the substation creation request is a basic substation creation request, loading new substation information received through a front-end page into a substation model to generate a new substation;
if the substation creation request is a quick substation creation request, the existing substation selected through the front-end page is copied by using a substation model, and a new substation is generated.
Optionally, the method further comprises:
binding the appointed column with the appointed classification by using the classification management tree;
responding to the information release request of the appointed column, loading the information received by the front-end page into an information model, and generating new information under the appointed classification; the information model is a sub-model of the column model.
Optionally, the information model comprises an editable information template, wherein the information template comprises a preset label and a code block to load the information;
the information templates are developed based on a cut-map technique.
Optionally, the method further comprises:
And when the columns and/or the information of the substation are updated and/or when a data update request is received, updating the cache and/or the static pages of the whole substation by utilizing a multi-thread concurrency technology, wherein the cache of the whole substation is realized based on a file cache form.
Optionally, the method further comprises:
In response to the rights control request, the administrative role model is invoked to generate an administrator account having the corresponding rights.
Optionally, the method further comprises:
statistics are performed on the total station content, the statistics relate to at least one dimension as follows: site information dimension, column dimension, substation dimension, workload dimension.
According to another aspect of the present application, there is provided a content management system including:
a substation unit for creating a new substation corresponding to the substation creation request using the substation model;
The column unit is used for responding to a column creation request of the new substation, loading new column information received through the front-end page into the column model and generating a new column under the new substation; the column model is a sub-model of the substation model;
and the release unit is used for releasing the new substation containing the new column.
Optionally, the substation unit is specifically configured to load new substation information received through a front page into a substation model to generate a new substation if the substation creation request is a base station creation request; if the substation creation request is a quick substation creation request, the existing substation selected through the front-end page is copied by using a substation model, and a new substation is generated.
Optionally, the system further comprises an information unit for binding the specified column with the specified category by using the category management tree;
responding to the information release request of the appointed column, loading the information received by the front-end page into an information model, and generating new information under the appointed classification; the information model is a sub-model of the column model.
Optionally, the information unit includes an information template creation module for developing an information template based on a graph cutting technique;
the information template comprises a preset label and a code block so as to load the information;
the information model includes an editable information template.
Optionally, the system further comprises a data updating unit, which is used for updating the cache and/or static pages of the total station when the columns and/or information of the substation are updated and/or when a data updating request is received, by utilizing a multi-thread concurrency technology, wherein the total station cache is realized based on the cache form of the file.
Optionally, the system further comprises a user management unit for invoking the management character model to generate an administrator account with corresponding rights in response to the rights control request.
Optionally, the system further comprises a statistics management unit for making statistics on the total station content, said statistics involving at least one of the following dimensions: site information dimension, column dimension, substation dimension, workload dimension.
According to still another aspect of the present application, there is provided an electronic apparatus, wherein the electronic apparatus includes: a processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any of the preceding claims.
According to a further aspect of the present application, there is provided a computer readable storage medium storing one or more programs which, when executed by a processor, implement a method as claimed in any preceding claim.
From the above, according to the technical scheme of the present application, a new substation corresponding to the substation creation request is created by using the substation model, new column information received through the front-end page is loaded into the column model in response to the column creation request of the new substation, the column model is a sub-model of the substation model, a new column under the new substation is generated, and the new substation containing the new column is released. Personalized configuration can be carried out according to the requirements of different portals, and quick generation of substations and quick station establishment can be realized, so that development cost and maintenance cost are greatly reduced.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a flow diagram of a content management method according to one embodiment of the application;
FIG. 2 shows a schematic diagram of the structure of a content management system according to one embodiment of the application;
FIG. 3 shows a schematic diagram of an electronic device according to one embodiment of the application;
fig. 4 illustrates a schematic structure of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
The CMS systems currently on the market are numerous and complex in variety and function. Besides meeting the basic site building requirements, a great deal of time is spent on building other auxiliary functions, such as a certain well-known open-source website management system in China, the system is functionally focused on building personal websites or small and medium-sized portals, and enterprise users, schools and the like are not spent in use. However, the existing CMS system still has the disadvantages of complex functions, high operation difficulty, high requirements for specialization and the like.
Taking the education industry as an example, the portal of the education industry has the characteristics of strong individuation, short development period requirement, quick later change, strong content specialization and the like, which requires station establishment aiming at the education industry, and the CMS needs to be enough to concentrate on station establishment requirements. The existing CMS can meet certain requirements, but cannot be used with maximum efficiency for supporting the professional field. The CMS is different from the traditional CMS, is more applicable to the professional field, especially the education field, and greatly improves the productivity.
Fig. 1 is a flow chart of a content management method according to an embodiment of the present application, referring to fig. 1, the content management method includes the steps of:
Step S110, creating a new substation corresponding to the substation creation request using the substation model.
In the embodiment of the application, a preset substation model is stored and managed, the substation model is selected according to a substation creation request, the substation model is configured according to substation configuration information carried in the substation creation request, and a new substation is created. The substation creation request may include substation configuration information, such as a substation name, a parent station, a title picture, a station display form, a column display form, and corresponding classification.
Step S120, in response to the column creation request of the new substation, loading the new column information received through the front-end page into the column model to generate a new column under the new substation. The column model is a sub-model of the substation model.
In this embodiment, a column model is created in the substation model as a child model, where the column model may include properties such as a name, an alias, a parent column, a directory name, a brief introduction, a title picture, a display form, a belonging template, a corresponding category, a substation domain name, and the like, and the properties of the column model are set by using new column information received by a front-end page, so as to generate a new column under a new substation.
The column model in the embodiment is simple and practical, meets the customization and individuation requirements of websites on top pages, column list pages and the like through setting the column model, and can use a CI frame (PHP open source frame: codeIgniter) on model realization to form a unique structure by utilizing the characteristics of the CI frame. The columns are different from the traditional CDN (Content Delivery Network, namely a content distribution network) in terms of distributed demand processing, the lower-level columns are used for deploying the home page templates, and the Nginx entrance is combined with the adjustment of the Nginx entrance, so that the normal use of the service is ensured, and the use and deployment cost is saved.
Step S130, the new substation containing the new column is issued.
When the new substation issues, the classified content bound by the current column is selected for issuing, and the classified content is used for displaying portals.
In summary, in the method shown in fig. 1, a new substation corresponding to the substation creation request is created by using the substation model, the column model is created in the substation model as a sub-model in response to the column creation request of the new substation, the new column information received through the front-end page is loaded into the column model, the new column under the new substation is generated, and the new substation containing the new column is released. Personalized configuration can be carried out according to different requirements, and quick generation of substations and quick station establishment can be realized, so that development cost and maintenance cost are greatly reduced.
In one embodiment of the present application, in the above method, creating a new substation corresponding to the substation creation request using the substation model includes: if the substation creation request is a basic substation creation request, loading new substation information received through the front-end page into the substation model to generate a new substation. If the substation creation request is a quick substation creation request, the existing substation selected through the front-end page is copied by using the substation model to generate a new substation.
The embodiment of the application provides two modes of establishing the substation, namely, quick station establishment, and base station establishment, namely, brand new station establishment, which is suitable for scenes that the content of the substation to be established is similar to that of the existing substation. The quick station establishment quickly establishes the same type of substations by mutually copying the columns and the column basic attributes in the existing substations, and can independently configure the stations after copying. When a plurality of substations are created, a quick station building mode can be adopted, so that the quick multiplexing of system data is ensured, the personalized setting of different substations is supported, and meanwhile, the complexity of quick station building is reduced.
The base station building selects a substation model according to the substation building request, configures the substation model according to substation configuration information carried in the substation building request, and completely builds a substation. When the existing substation does not have the substation with similar substation content to be built, a basic substation building mode can be adopted to ensure personalized configuration of the substation.
It will be appreciated that the method of building a station may be selected according to the actual situation when implementing the embodiment of the present application, or may be used in combination with two ways, and the embodiment of the present application is not limited thereto.
In one embodiment of the present application, the method further comprises: and binding the appointed column with the appointed classification by using the classification management tree. Responding to the information release request of the appointed column, loading the information received by the front-end page into an information model, and generating new information under the appointed classification, wherein the information model is a sub-model of the column model.
In this embodiment, an information model is created in a column model as a sub-model, each column contains a plurality of pieces of information, a specified column and a specified class are bound by using a class management tree, and the columns and the pieces of information are managed. The information model mainly comprises attributes such as a title, a subtitle, release time, a title picture, a content brief introduction, a text, attachment management, an author, a source, an external link and the like, the attributes of the information model are set according to information received by a front-end page, new information under specified classification is generated, and new columns are generated in a mode of generating the new information. According to the embodiment, infinite classification management is performed through the classification management tree, and the asynchronous loading technology is combined, so that the stability of the system is ensured under the condition that infinite classification is supported.
In this embodiment, in the generation of new information, the secondary text content such as video, audio, PDF document, etc. may be added and published in combination with other templates, and online viewing or listening may be provided.
In one embodiment of the present application, in the method, the information model includes an editable information template, the information template includes a preset tag and a code block to load information, and the information template is developed based on a graph cutting technique.
The graph cutting refers to cutting a design draft into a picture which is convenient to manufacture into a page, and completing a static page with html+css layout, which is beneficial to interaction and forms good visual sense. In popular terms, a design drawing is used to cut a sheet Zhang Xiaotu required by a slicing tool, and then static page writing is completed by DIV+CSS, so that CSS layout is completed.
In the embodiment of the application, different information templates are developed by using a graph cutting technology, and after different templates are applied to different columns and different information, the substation can be rapidly issued.
PHP (Hypertext Preprocessor) has the characteristics of openness, free property, rapidity, universality of database connection, process-oriented and object-oriented combined use and the like. The code block in the embodiment adopts PHP codes, and the characteristics of the PHP codes are utilized to embed preset labels and PHP sentences in the information template, so that corresponding identifiers are replaced when information received by a front page is loaded, and the information model is set.
In this embodiment, the unique structure of the substation and the column is utilized: the method comprises the steps of abstracting and summarizing a set of models used by each template combination by using common structures such as a home page, a picture list, a text list, a content page and the like, and specifically comprises the following steps: and selecting a home page template, a picture template, a text template and a content template, filling in other description information of a template group, combining the templates to form a template model, and applying the template model to substation and column information, thereby expanding the use scene of the template group.
In one embodiment of the present application, the method further comprises: when the columns and/or information of the substation are updated and/or when a data update request is received, the multi-thread concurrency technology is utilized to update the cache and/or static pages of the whole substation, and the whole-substation cache is realized based on the file cache form.
The CURL_MULTI technology of PHP can process http requests by using multithreading, and the efficiency of a request interface can be improved. In this embodiment, when the columns and/or information of the substation are updated, and/or when a data update request is received, a server cache is updated by adopting a CURL_MULTI technology of PHP, so as to update the cache and/or static pages of the whole substation, wherein the cache of the whole substation is implemented based on a file cache form. Further, the updating may be performed manually.
The technical scheme of the embodiment meets the generation requirement of a large-scale site, and after the data volume reaches 10 ten thousand levels, the generation mode is different from the traditional generation mode, and the generation can be performed by using multithreading, so that the generation efficiency of the whole site is quickened.
In one embodiment of the present application, the method further comprises: in response to the rights control request, the administrative role model is invoked to generate an administrator account having the corresponding rights.
The management role model in this embodiment can allocate different functions and data ranges to users with different roles according to different usage scenarios, the functions can be controlled to button levels under menus, the data ranges can be controlled to column levels, and an administrator account with corresponding rights is generated through the combination of two rights dimensions, so that the management role model in this embodiment can be used for various different usage scenarios.
In one embodiment of the present application, the method further comprises: statistics are made on the total station content, the statistics involving at least one of the following dimensions: site information dimension, column dimension, substation dimension, workload dimension.
In the embodiment, the omnibearing data statistics is carried out on the total station content, so that the condition of the station and the working state of the manager can be comprehensively known in the later maintenance process, and the data support is provided for the optimization of the working efficiency.
The technical scheme of the application is described below by taking management of a certain school website as an example. The school website in this embodiment creates a personal training new substation, comprising the steps of:
Step one, a new substation corresponding to the substation creation request is created by using the substation model.
In this embodiment, for example, a personal station is created in the school website to cultivate the substation, and the information included in the substation creation request is: the substation names are cultured by talents, the father website is a school website top page, the title picture adopts a pure gray background picture, the website display form is a comprehensive hinge, the column display form is a shared column, the substation names are correspondingly classified into the substation, and a corresponding substation model is selected according to the information contained in the substation creation request. If similar substations exist in the existing substations, a quick substation construction mode can be adopted to establish the new substations, namely, the new substations are established by copying columns and column attributes of the similar substations and performing personalized configuration on the sites according to information in a construction request after copying. If there is no similar substation in the existing substation, a new substation can be established by adopting a base station establishment mode, namely, a substation model is selected according to information carried in a substation creation request, and the substation model is configured to create the new substation.
The display form of the site comprises a comprehensive hinge, a list page, a detail page, a function page and a flow page.
The integrated hinge is used for intensively displaying the contents of a plurality of columns, and each column selectively displays pages of part of the content list. The list page is a page which is presented in a list form for briefly describing page columns. A detail page is a page showing specific information of a certain content item. The function page is a page taking the function of realizing the demand interaction as a main point. The flow pages are a plurality of groups, and each group can be pages with a specific function.
The column display forms comprise shared columns, independent columns and semi-public semi-independent columns.
The shared column, also called information shared column, is a column format in which all audiences logging into a website or web page can browse all contents in the column. The shared column form setting can be arranged according to different plates, subjects or contents, for example, news columns can be arranged according to domestic, international, military, sports, economy, culture, society and the like.
The exclusive type column is that all resources and services in the column are not completely disclosed, and the exclusive type column is only limited to small-range transmission. For example, a company, a department, or some other person may browse certain resources or use certain services.
The semi-public and semi-exclusive columns, namely, website editing sets general and popular information or information as open, and can only enjoy the information or information which is special and cannot be acquired by audience through general channels through registration, payment and the like.
And step two, responding to a column creation request of the new substation, loading new column information received through the front-end page into a column model, and generating a new column under the new substation. The column model is a sub-model of the substation model.
For example, the talent culturing substation needs to establish a talent culturing column, the name of the column is a talent culturing substation, the display form is a shared column, the corresponding column is classified into columns, a corresponding column model is selected according to the information in the column creation request, and column information received through a front-end page is loaded into the column model to generate a new column under a new substation.
The CI framework has the characteristics of rich standard libraries and simple interfaces and logic structures, and the embodiment utilizes the characteristics of the CI framework to create substation models and column models. The column model is a sub-model of the substation model. The column model can comprise the attributes of column names, aliases, father columns, directory names, introduction, title pictures, display forms, belonging templates, corresponding classifications, substation domain names and the like, and the corresponding column model is selected according to the information in the column creation request.
In this embodiment, the nginnx is used to connect the column model and the substation model to which the column model belongs, and the deployment of the substation model is realized through the deployment of the column model, so that the column is different from the conventional CDN implementation in terms of distributed demand processing, and the use and deployment costs are saved under the condition of ensuring normal use of the service.
And thirdly, issuing talent culture substations containing the gramineous raw culture columns.
In this embodiment, if a mechanism setting substation is built again, the mechanism setting substation may use a fast station building mode to copy the columns and column basic attributes in the talent culturing substation, and after copying, the mechanism setting station may be individually configured. By means of the method of quickly building the stations, the same type of sub-stations are quickly built, so that quick multiplexing of system data is guaranteed, personalized setting of different sub-stations is supported, and meanwhile complexity of building the stations is reduced.
In this embodiment, the management of the school website further includes: and binding the appointed column with the appointed classification by using the classification management tree. Responding to the information release request of the appointed column, loading the information received by the front-end page into an information model, and generating new information under the appointed classification, wherein the information model is a sub-model of the column model.
A website often includes a plurality of substations, each substation includes a plurality of columns, and each column includes a plurality of pieces of information. In this embodiment, the classification management tree is used to perform tree-like management on the substations, columns and information in the website, so as to implement infinite classification. Binding the appointed column with the appointed substation, and binding the appointed information with the appointed column. When new information needs to be released, the information model to be used can be judged by judging the columns according to the information content, the release of the new information is realized by deploying the information model, the release of the new columns is realized by releasing the new information, and then the release of the new substation is realized by releasing the new columns. Taking the talent culturing substation as an example, the talent culturing substation is a first layer of the classification management tree, the gramineous culturing is a column of the talent culturing substation, the talent culturing is positioned at a second layer of the classification management tree, the information related to the gramineous culturing under the gramineous culturing column is information under the gramineous culturing column, and the information is positioned at a third layer of the classification management tree. The information related to the cultivation of the raw material is bound with the cultivation columns of the raw material, and the information belonging to the same column is the same information model. When there are more substations, classification management is performed according to the same method.
If a piece of information of notification of the false release of the cold of the raw material is required to be released, and the information can be judged to belong to the raw material culture column according to the content of the information, the information is deployed by adopting an information model under the raw material culture column, and the information received by the front page is loaded into the information model to generate new information.
In this embodiment, the information model may include attributes such as title, subtitle, distribution time, title picture, content profile, text, attachment management, author, source, external link, etc. In the generation of new information, auxiliary text contents such as video, audio, PDF documents and the like can be added and released by combining with other templates, and online watching or listening can be provided. The information model is used as a sub-model of the column model, and the asynchronous loading technology is used in the embodiment, so that the information model is loaded in the column model, and the stability of the system is ensured under the condition of supporting infinite classification.
It should be noted that, the user may also construct a classification management tree by using other classification modes according to actual needs to manage columns and information.
The information model in this embodiment includes an editable information template, and the information template includes a preset tag and a code block, and when the information received by the data front page is loaded, the corresponding identifier is replaced, so as to implement setting of the information model.
In this embodiment, the substation can be quickly built after different information templates are developed and different columns and different information are applied by using the graph cutting technology. The user can also construct the information template by adopting other prior technologies according to actual needs.
In this embodiment, the management of the school website further includes: the template model is formed using the unique structural combinations of the substations.
The general substations or columns are provided with common structures such as a home page, a picture list, a text list, a content page and the like, a home page template, a picture template, a text template and a content template are selected, other description information of a template group is filled in, the templates are combined to form a template model, the template model is applied to the substations and columns, and the use scene of the template group is expanded.
In this embodiment, the management of the school website further includes: when the columns and/or information of the substation are updated and/or when a data update request is received, the multi-thread concurrency technology is utilized to update the cache and/or static pages of the whole substation, and the whole-substation cache is realized based on the file cache form.
For example, when the new information of the notification of the false notification of the cold or the false notification of the family is released, the substation information is updated, and the cache and/or the static page of the total station is updated in a multithreaded concurrence manner by utilizing the CURL_MULTI technology of PHP. When a problem arises in updating, for example, a certain substation is not updated, the user can manually update the substation which is not updated.
The technical scheme of updating by utilizing the multithreading concurrency technology in the embodiment meets the generation requirement of a large-scale site, and after the data volume reaches 10 ten thousand levels, the data volume is different from the traditional generation mode, and the multithreading can be used for generating so as to accelerate the generation efficiency of the whole site.
In this embodiment, the management of the school website further includes: in response to the rights control request, the administrative role model is invoked to generate an administrator account having the corresponding rights.
The management character model in the embodiment can allocate different functions and data ranges to users with different characters according to different usage scenes.
The school website in this embodiment is managed, and no person can perform operations such as building new substations, new columns, publishing new information, etc. on the website. Corresponding authorities are set for different operations, and corresponding manager accounts are established to manage websites. For example, for teacher, the teacher can be allocated the functions of accessing educational administration system, modifying and adding and deleting information; for the proofreading, an access management system is allocated to the proofreading, and functions of modifying, adding and deleting the substation are provided. Corresponding manager accounts are established for different roles, corresponding authorities can be obtained through logging in the accounts, and corresponding management is carried out on websites.
The functions can be controlled to button level under the menu, the data range can be controlled to column level, the administrator account with corresponding authority is generated through the combination of two authority dimensions, and the management character model in the embodiment can be used for various different use scenes.
In this embodiment, the management of the school website further includes: statistics are made on the total station content, the statistics involving at least one of the following dimensions: site information dimension, column dimension, substation dimension, workload dimension.
For example, for the school website in this embodiment, the website information, the information of the columns included in the website, the information of the substations included in the website, the separately-distributed information and the workload information of each management character for managing the website, and the like are subjected to comprehensive data statistics and updated in real time. In the process of later maintenance, the condition of the site and the working state of the manager are comprehensively known, and data support is provided for the optimization of the working efficiency.
The steps described above describe the technical solution of the present application from each functional dimension, and it can be understood that when implementing the embodiment of the present application, one or some of the functions may be selected according to actual situations, and the embodiment of the present application is not limited thereto.
Fig. 2 is a schematic structural diagram of a content management system according to an embodiment of the present application, and referring to fig. 2, the content management system 200 includes:
A substation unit 210 for creating a new substation corresponding to the substation creation request using the substation model;
A column unit 220, configured to respond to a column creation request of a new substation, load new column information received through a front-end page into a column model, and generate a new column under the new substation; the column model is a sub-model of the substation model;
and a release unit 230 for releasing the new substation containing the new column.
In summary, in the system shown in fig. 2, a new substation corresponding to the substation creation request is created by using the substation model, the column model is created in the substation model as a sub-model in response to the column creation request of the new substation, the new column information received through the front-end page is loaded into the column model, the new column under the new substation is generated, and the new substation including the new column is released. Personalized configuration can be carried out according to different requirements, and quick generation of substations and quick station establishment can be realized, so that development cost and maintenance cost are greatly reduced.
In one embodiment of the present application, the substation unit 210 is specifically configured to, if the substation creation request is a base station creation request, load new substation information received through the front-end page into the substation model to generate a new substation. If the substation creation request is a quick substation creation request, the existing substation selected through the front-end page is copied by using the substation model to generate a new substation.
When a plurality of substations are created, a mode of quickly building the substations can be adopted to copy the columns and the column basic attributes in the substation model, the substations of the same type can be quickly created, and the sites can be independently configured after copying. The method not only ensures the rapid multiplexing of system data, but also supports the personalized setting of different sub-stations, and simultaneously reduces the complexity of rapid station establishment.
In one embodiment of the present application, the system 200 further includes an information unit for binding the specified columns with the specified categories using a category management tree. Responding to the information release request of the appointed column, loading the information received by the front-end page into an information model, and generating new information under the appointed classification, wherein the information model is a sub-model of the column model.
In this embodiment, an information model is created in a column model as a sub-model, each column contains a plurality of pieces of information, a specified column and a specified class are bound by using a class management tree, and the columns and the pieces of information are managed. The information model mainly comprises attributes such as a title, a subtitle, release time, a title picture, a content brief introduction, a text, attachment management, an author, a source, an external link and the like, the attributes of the information model are set according to information received by a front-end page, new information under specified classification is generated, and new columns are generated in a mode of generating the new information. According to the embodiment, infinite classification management is performed through the classification management tree, and the asynchronous loading technology is combined, so that the stability of the system is ensured under the condition that infinite classification is supported.
In this embodiment, in the generation of new information, the secondary text content such as video, audio, PDF document, etc. may be added and published in combination with other templates, and online viewing or listening may be provided.
In one embodiment of the present application, the information unit includes an information template creation module 2401 for developing an information template using a graph cutting technique, wherein the information template includes an editable information template including a predetermined tag and a code block for loading information.
The graph cutting refers to cutting a design draft into a picture which is convenient to manufacture into a page, and completing a static page with html+css layout, which is beneficial to interaction and forms good visual sense. In popular terms, a design drawing is used to cut a sheet Zhang Xiaotu required by a slicing tool, and then static page writing is completed by DIV+CSS, so that CSS layout is completed.
In the embodiment of the application, different information templates are developed by using a graph cutting technology, and after different templates are applied to different columns and different information, the substation can be rapidly issued.
PHP (Hypertext Preprocessor) has the characteristics of openness, free property, rapidity, universality of database connection, process-oriented and object-oriented combined use and the like. The code block in the embodiment adopts PHP codes, and the characteristics of the PHP codes are utilized to embed preset labels and PHP sentences in the information template, so that corresponding identifiers are replaced when information received by a front page is loaded, and the information model is set.
In one embodiment of the present application, the system 200 further includes a model management unit for utilizing the unique structures of the substations and columns: the method comprises the steps of abstracting and summarizing a set of models used by each template combination by using common structures such as a home page, a picture list, a text list, a content page and the like, and specifically comprises the following steps: and selecting a home page template, a picture template, a text template and a content template, filling in other description information of a template group, combining the templates to form a template model, and applying the template model to substation and column information, thereby expanding the use scene of the template group.
In one embodiment of the present application, the system 200 further includes a data update unit, configured to update the cache and/or the static page of the total station when the column and/or the information of the substation is updated, and/or when the data update request is received, by using a multi-thread concurrency technology, where the total station cache is implemented based on the cache form of the file.
The CURL_MULTI technology of PHP can process http requests by using multithreading, and the efficiency of a request interface can be improved. In this embodiment, when the columns and/or information of the substation are updated, and/or when a data update request is received, a server cache is updated by adopting a CURL_MULTI technology of PHP, so as to update the cache and/or static pages of the whole substation, wherein the cache of the whole substation is implemented based on a file cache form. Further, the updating may be performed manually.
The technical scheme of the embodiment meets the generation requirement of a large-scale site, and after the data volume reaches 10 ten thousand levels, the generation mode is different from the traditional generation mode, and the generation can be performed by using multithreading, so that the generation efficiency of the whole site is quickened.
In one embodiment of the present application, the system 200 further includes a user management unit for invoking the management character model to generate an administrator account having corresponding rights in response to the rights control request.
The management role model in this embodiment can allocate different functions and data ranges to users with different roles according to different usage scenarios, the functions can be controlled to button levels under menus, the data ranges can be controlled to column levels, and an administrator account with corresponding rights is generated through the combination of two rights dimensions, so that the management role model in this embodiment can be used for various different usage scenarios.
In one embodiment of the present application, the system 200 further includes a statistics management unit, configured to perform statistics on the total station content, where the statistics relate to at least one dimension as follows: site information dimension, column dimension, substation dimension, workload dimension.
In the embodiment, the omnibearing data statistics is carried out on the total station content, so that the condition of the station and the working state of the manager can be comprehensively known in the later maintenance process, and the data support is provided for the optimization of the working efficiency.
In an embodiment of the present application, the system 200 further includes a system setting unit, configured to configure key attributes of the system, including configuring a system name, a domain name, a logo map, and the like, so as to generate content management systems under different usage scenarios according to actual needs. The system can also search and trace the key operation log of the system, and can provide log support for error operation reasons when abnormal use conditions occur.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present application is not directed to any particular programming language. It will be appreciated that the teachings of the present application described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed application requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the elements in the system of an embodiment may be adaptively changed and disposed in one or more systems different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in a content management system according to embodiments of the application may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present application can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
For example, fig. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 300 comprises a processor 310 and a memory 320 arranged to store computer executable instructions (computer readable program code). The memory 320 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. The memory 320 has a memory space 330 storing computer readable program code 331 for performing any of the method steps described above. For example, the memory space 330 for storing computer readable program code may include respective computer readable program code 331 for implementing the respective steps in the above method, respectively. The computer readable program code 331 can be read from or written to one or more computer program products. These computer program products comprise a program code carrier such as a hard disk, a Compact Disc (CD), a memory card or a floppy disk. Such a computer program product is typically a computer readable storage medium as described for example in fig. 4. Fig. 4 illustrates a schematic structure of a computer-readable storage medium according to an embodiment of the present application. The computer readable storage medium 400 stores computer readable program code 331 for performing the steps of the method according to the application, which may be read by the processor 310 of the electronic device 300, which computer readable program code 331, when executed by the electronic device 300, causes the electronic device 300 to perform the steps of the method described above, in particular the computer readable program code 331 stored by the computer readable storage medium may perform the method shown in any of the embodiments described above. The computer readable program code 331 may be compressed in a suitable form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (7)

1. A method of content management, the method comprising:
Creating a new substation corresponding to the substation creation request by using the substation model;
Responding to a column creation request of a new substation, loading new column information received through a front-end page into a column model, and generating a new column under the new substation; the column model is a sub-model of the substation model;
Releasing the new substation containing the new column;
The column model and the substation model to which the column model belongs are connected by using Nginx, and the substation model is deployed by deploying the column model;
the creating a new substation corresponding to the substation creation request using the substation model includes:
if the substation creation request is a basic substation creation request, loading new substation information received through a front-end page into a substation model to generate a new substation;
If the substation creation request is a quick substation creation request, copying the existing substation selected through the front-end page by using a substation model to generate a new substation;
the quick setup request includes a request for creating a plurality of substations of the same type;
the method further comprises the steps of:
Generating templates corresponding to the specific structures by using the specific structures of the substations and the columns, wherein the templates corresponding to the specific structures comprise at least one of a home page template, a picture template, a text template and a content template;
selecting templates corresponding to a plurality of specific structures and combining the templates to form a template model;
the method further comprises the steps of:
When columns and/or information of the substation are updated and/or when a data update request is received, updating a cache and/or a static page of the whole substation by utilizing a multi-thread concurrence technology, wherein the cache of the whole substation is realized based on a file cache form;
the method further comprises the steps of:
In response to the permission control request, invoking the management role model to generate an administrator account with corresponding permission;
the management character model is used for distributing different functions and data ranges to users with different characters according to different use scenes, wherein the functions can be controlled to button levels under a menu, and the data ranges can be controlled to column levels.
2. The method of claim 1, wherein the method further comprises:
binding the appointed column with the appointed classification by using the classification management tree;
responding to the information release request of the appointed column, loading the information received by the front-end page into an information model, and generating new information under the appointed classification; the information model is a sub-model of the column model.
3. The method of claim 2, wherein the information model comprises an editable information template comprising a predetermined tag and code block for loading the information;
the information templates are developed based on a cut-map technique.
4. The method of claim 1, wherein the method further comprises:
statistics are performed on the total station content, the statistics relate to at least one dimension as follows: site information dimension, column dimension, substation dimension, workload dimension.
5. A content management system, the system comprising:
a substation unit for creating a new substation corresponding to the substation creation request using the substation model;
The column unit is used for responding to a column creation request of the new substation, loading new column information received through the front-end page into the column model and generating a new column under the new substation; the column model is a sub-model of the substation model;
The issuing unit is used for issuing the new substation containing the new column;
The column model and the substation model to which the column model belongs are connected by using Nginx, and the substation model is deployed by deploying the column model;
The substation unit is used for:
if the substation creation request is a basic substation creation request, loading new substation information received through a front-end page into a substation model to generate a new substation;
If the substation creation request is a quick substation creation request, copying the existing substation selected through the front-end page by using a substation model to generate a new substation;
the quick setup request includes a request for creating a plurality of substations of the same type;
the system further comprises a model management unit for:
Generating templates corresponding to the specific structures by using the specific structures of the substations and the columns, wherein the templates corresponding to the specific structures comprise at least one of a home page template, a picture template, a text template and a content template;
selecting templates corresponding to a plurality of specific structures and combining the templates to form a template model;
the content management system is further configured to:
When columns and/or information of the substation are updated and/or when a data update request is received, updating a cache and/or a static page of the whole substation by utilizing a multi-thread concurrence technology, wherein the cache of the whole substation is realized based on a file cache form;
the content management system is further configured to:
In response to the permission control request, invoking the management role model to generate an administrator account with corresponding permission;
the management character model is used for distributing different functions and data ranges to users with different characters according to different use scenes, wherein the functions can be controlled to button levels under a menu, and the data ranges can be controlled to column levels.
6. An electronic device, wherein the electronic device comprises: a processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any of claims 1-4.
7. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs, which when executed by a processor, implement the method of any of claims 1-4.
CN202010119622.1A 2020-02-26 2020-02-26 Content management method, system, electronic device and storage medium Active CN111459477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010119622.1A CN111459477B (en) 2020-02-26 2020-02-26 Content management method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010119622.1A CN111459477B (en) 2020-02-26 2020-02-26 Content management method, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111459477A CN111459477A (en) 2020-07-28
CN111459477B true CN111459477B (en) 2024-08-23

Family

ID=71683199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010119622.1A Active CN111459477B (en) 2020-02-26 2020-02-26 Content management method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111459477B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819767A (en) * 2017-11-14 2018-03-20 成都钰月科技有限责任公司 Modular cloud computing intelligent website system
CN109815435A (en) * 2019-01-24 2019-05-28 中国人民解放军战略支援部队航天工程大学 A kind of Website page generation method, device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235806A1 (en) * 2009-03-13 2010-09-16 Microsoft Corporation Rich Web Site Authoring And Design
CN101908044A (en) * 2009-06-04 2010-12-08 上海灵慧软件技术有限公司 Dynamically adjustable template and using method thereof
CN106547750B (en) * 2015-09-16 2020-07-24 腾讯科技(深圳)有限公司 Website establishing method and device and computing equipment
US20190340230A1 (en) * 2018-05-07 2019-11-07 Web.Com Group, Inc. System and method for generating websites from predefined templates
CN109271385A (en) * 2018-09-26 2019-01-25 武汉夏宇信息技术有限公司 Contents management method, device and storage medium
CN110083336A (en) * 2019-03-08 2019-08-02 江苏博敏网络科技有限公司 A kind of method that high efficiency creation customizes website

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819767A (en) * 2017-11-14 2018-03-20 成都钰月科技有限责任公司 Modular cloud computing intelligent website system
CN109815435A (en) * 2019-01-24 2019-05-28 中国人民解放军战略支援部队航天工程大学 A kind of Website page generation method, device and electronic equipment

Also Published As

Publication number Publication date
CN111459477A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US8826169B1 (en) Hiding content of a digital content item
US10331756B2 (en) Accessibility tagger for non-accessibility enabled webpages
US20110161847A1 (en) System and method for integrating and publishing pages of content
JP2008537232A (en) Multimedia communication creation and management system and method
CN104317563A (en) Online courseware cooperation development system
US20060107209A1 (en) Systems and methods for establishing an education web page template
US9135234B1 (en) Collaborative generation of digital content with interactive reports
CN102314428A (en) Method for distributively creating webpage
Vrettakis et al. The story maker-an authoring tool for multimedia-rich interactive narratives
CN102314426A (en) System for distributively creating webpage
Guo et al. Exploration on the application of new media interactive art to the protection of traditional culture
CN111459477B (en) Content management method, system, electronic device and storage medium
Whittaker Producing for Web 2.0: A student guide
US20230244848A1 (en) Previews for collaborative documents
KR100931820B1 (en) Method of providing teaching plan through internet and system using same
CN111814090A (en) Government affair information open platform operation and maintenance management system
CN112528204A (en) Method and device for making special topic webpage
EP1146435A2 (en) Content store management
US20100306673A1 (en) Method and device for accessing data in signage systems
Majerova et al. Smart Solution for a Smart City: Using Open Source Maps in Municipal Waste Management
Vista et al. Application of the Object Oriented Analysis Method and Design Web Profile at MA Darussalam Pangkal Pinang
US8640250B2 (en) System and method for managing superior/subordinate interactions
Rasool et al. Improving higher education quality in jordan using mobile technologies for better socio-economic diversity integration of disadvantaged groups using a mobile multimedia/augmented reality workflow
CN110837402B (en) Terminal screen arranging method and system
Saha A study of open source content management system Joomla

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
GR01 Patent grant
GR01 Patent grant