Content management method, system, electronic device and storage medium

Generate new sub-stations and new columns in the content management system through the sub-site model and classification management tree, which solves the problems of complex CMS functions and difficult operation, realizes rapid website building and personalized configuration, reduces costs and improves productivity. Suitable for professional fields such as the education industry.

CN111459477BActive Publication Date: 2024-08-23BEIJING CHINESE EDUCATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202010119622.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-26
Publication Date
2024-08-23
Estimated Expiration
2040-02-26

AI Technical Summary

Technical Problem

The existing content management system (CMS) has complex functions, difficult operation, and high professional requirements. It cannot be effectively supported in fields such as the education industry with strong personalized needs, short development cycles, and rapid content changes.

Method used

Using the sub-station model and classification management tree, new sub-stations and columns are generated through the information received on the front-end page, supporting rapid website building and personalized configuration, and using multi-threaded concurrency technology to update caches and static pages, providing permission control and statistical functions .

Benefits of technology

It reduces development and maintenance costs, improves productivity, adapts to the needs of professional fields, especially the education industry, realizes rapid generation of sub-sites and personalized configuration, and supports efficient management of large-scale sites.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111459477B
    Figure CN111459477B
Patent Text Reader

Abstract

The present application discloses a content management method, system, electronic device and storage medium. The method uses a substation model to create a new substation corresponding to a substation creation request, responds to a column creation request of the new substation, creates a column model as a submodel in the substation model, loads new column information received through a front-end page into the column model, generates a new column under the new substation, and publishes the new substation containing the new column. It can be personalized according to different requirements, and can realize rapid generation of substations and rapid website construction, greatly reducing development costs and maintenance costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a content management method, system, electronic device and storage medium. Background Art

[0002] A content management system (CMS) is a software system located between the WEB front end (Web server) and the back end office system or process (content creation, editing). Content creators, editors, and publishers use the content management system to submit, modify, approve, and publish content. Currently, the CMS released on the market generally has problems such as complex functions, difficult operation, and high professional requirements. Summary of the invention

[0003] In view of the above problems, the present application is proposed to provide a content management method, system, electronic device and storage medium that overcome the above problems or at least partially solve the above problems.

[0004] According to one aspect of the present application, a content management method is provided, the method comprising:

[0005] Using the substation model to create a new substation corresponding to the substation creation request;

[0006] In response to a column creation request of a new sub-station, the new column information received through the front-end page is loaded into the column model to generate a new column under the new sub-station; the column model is a sub-model of the sub-station model;

[0007] A new sub-station containing new columns will be released.

[0008] Optionally, the creating a new substation corresponding to the substation creation request by using the substation model includes:

[0009] If the substation creation request is a basic site creation request, the new substation information received through the front-end page is loaded into the substation model to generate a new substation;

[0010] If the sub-station creation request is a quick site creation request, the existing sub-station selected through the front-end page will be copied using the sub-station model to generate a new sub-station.

[0011] Optionally, the method further comprises:

[0012] Use the classification management tree to bind the specified column with the specified classification;

[0013] In response to the information release request of the designated column, the information information received by the front-end page is loaded into the information model to generate new information under the designated category; the information model is a sub-model of the column model.

[0014] Optionally, the information model includes an editable information template, wherein the information template includes preset tags and code blocks to load the information;

[0015] The information template is developed based on the image cutting technology.

[0016] Optionally, the method further comprises:

[0017] When the columns and / or information of the sub-site are updated, and / or when a data update request is received, the cache and / or static pages of the entire site are updated using multi-threaded concurrent technology. The entire site cache is implemented in the form of file-based cache.

[0018] Optionally, the method further comprises:

[0019] In response to the permission control request, the management role model is called to generate an administrator account with corresponding permissions.

[0020] Optionally, the method further comprises:

[0021] Statistics are collected on the contents of the entire site, and the statistics involve at least one of the following dimensions: site information dimension, column dimension, sub-site dimension, and workload dimension.

[0022] According to another aspect of the present application, a content management system is provided, the system comprising:

[0023] A substation unit, used for creating a new substation corresponding to a substation creation request by using a substation model;

[0024] A column unit, which is used to respond to a column creation request of a new sub-station, load the new column information received through the front-end page into the column model, and generate a new column under the new sub-station; the column model is a sub-model of the sub-station model;

[0025] The publishing unit is used to publish a new sub-station containing a new column.

[0026] Optionally, the substation unit is specifically used to load the 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 basic site building request; if the substation creation request is a quick site building request, the existing substation selected through the front-end page will be copied using the substation model to generate a new substation.

[0027] Optionally, the system further comprises an information unit for binding a designated column with a designated category using a category management tree;

[0028] In response to the information release request of the designated column, the information information received by the front-end page is loaded into the information model to generate new information under the designated category; the information model is a sub-model of the column model.

[0029] Optionally, the information unit includes an information template creation module for developing an information template based on the image cutting technology;

[0030] The information template includes preset tags and code blocks to load the information;

[0031] The information model includes editable information templates.

[0032] Optionally, the system also includes a data update unit, which is used to update the cache and / or static pages of the entire site using multi-threaded concurrency technology when the columns and / or information of the sub-site are updated and / or when a data update request is received. The entire site cache is implemented in the form of file-based cache.

[0033] Optionally, the system further comprises a user management unit, which is used to call the management role model to generate an administrator account with corresponding permissions in response to a permission control request.

[0034] Optionally, the system further comprises a statistics management unit for collecting statistics on the contents of the entire site, wherein the statistics involve at least one of the following dimensions: site information dimension, column dimension, sub-site dimension, and workload dimension.

[0035] According to another aspect of the present application, an electronic device is provided, wherein the electronic device comprises: a processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to execute any of the methods described above.

[0036] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method described in any one of the above items is implemented.

[0037] As can be seen from the above, the technical solution of the present application uses the substation model to create a new substation corresponding to the substation creation request, and 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 column model is a submodel of the substation model, and a new column under the new substation is generated, and the new substation containing the new column is published. Personalized configuration can be performed according to the requirements of different portals, and rapid generation of substations and rapid website construction can be achieved, which greatly reduces development costs and maintenance costs.

[0038] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0040] Figure 1 A schematic diagram showing a flow chart of a content management method according to an embodiment of the present application is shown;

[0041] Figure 2 A schematic diagram of the structure of a content management system according to an embodiment of the present application is shown;

[0042] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown;

[0043] Figure 4 A schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0044] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0045] There are many types of CMS systems on the market with various functions. In addition to meeting the basic requirements for website construction, a lot of time is spent on building other auxiliary functions. For example, a well-known domestic open source website management system focuses on the construction of personal websites or small and medium-sized portals, and is also used by corporate users and schools. However, the existing CMS systems still have shortcomings such as complex functions, difficult operation, and high requirements for specialization.

[0046] Taking the education industry as an example, the education industry portal has the characteristics of strong personalization, short development cycle, fast changes in the later stage, and strong content professionalism. This requires that the CMS should be sufficiently focused on the needs of website building for the education industry. Although the existing CMS can meet certain requirements, it cannot achieve the most efficient use of support for professional fields. The CMS of this application is different from the traditional CMS. It is more suitable for professional fields, especially the education field, and greatly improves productivity.

[0047] Figure 1 This is a flow chart of a content management method according to an embodiment of the present application. Figure 1 , the content management method comprises the following steps:

[0048] Step S110: creating a new substation corresponding to the substation creation request using the substation model.

[0049] In an embodiment of the present application, a pre-set substation model is saved and managed, a substation model is selected according to a substation creation request, and the substation model is configured according to the substation configuration information carried in the substation creation request to create a new substation. The substation creation request may include substation configuration information, such as substation name, parent site, title image, site display format, column display format, corresponding classification, and other information.

[0050] Step S120, in response to the column creation request of the new sub-station, the new column information received through the front-end page is loaded into the column model to generate a new column under the new sub-station. The column model is a sub-model of the sub-station model.

[0051] In this embodiment, a column model is created as a sub-model in the sub-station model. The column model may include attributes such as the column name, alias, parent column, directory name, introduction, title image, display format, template, corresponding category, sub-station domain name, etc. The attributes of the column model are set through the new column information received by the front-end page to generate a new column under the new sub-station.

[0052] The column model in this embodiment is concise and practical. By setting the column model, the website can meet the customization and personalization requirements for the home page, column home page, column list page, etc. The CI framework (PHP open source framework: CodeIgniter) can be used in the model implementation, and the characteristics of the CI framework can be used to form a unique structure. In terms of distributed demand processing of columns, different from the traditional use of CDN (Content Delivery Network), this solution uses the lower-level column to deploy the home page template, combined with the adjustment of the Nginx entrance, to achieve the normal use of the business while saving the use and deployment costs.

[0053] Step S130, publishing the new sub-station containing the new column.

[0054] When publishing to a new sub-station, select the category content bound to the current column for publishing for portal display.

[0055] In summary, Figure 1 The method shown uses a substation model to create a new substation corresponding to a substation creation request, creates a column model as a submodel in the substation model in response to a column creation request of the new substation, loads the new column information received through the front-end page into the column model, generates a new column under the new substation, and publishes the new substation containing the new column. It can be personalized according to different requirements, and can realize rapid generation of substations and rapid website construction, greatly reducing development costs and maintenance costs.

[0056] 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 site creation request, loading the 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 fast site creation request, copying the existing substation selected through the front-end page using the substation model to generate a new substation.

[0057] The embodiments of the present application provide two methods for establishing a substation, one is rapid site building, which is suitable for scenarios where the content of the substation to be established is similar to that of an existing substation, and the other is basic site building, that is, establishing a new substation. Rapid site building quickly creates substations of the same type by copying the columns and basic attributes of the columns in the existing substations, and can configure the sites separately after copying. When creating multiple substations, the rapid site building method can be used, which not only ensures the rapid reuse of system data, but also supports the personalized settings of different substations, while reducing the complexity of rapid site building.

[0058] Basic site construction selects a substation model according to the substation creation request, configures the substation model according to the substation configuration information carried in the substation creation request, and establishes a new substation. When there is no substation with similar content to the substation to be established in the existing substations, the basic site construction method can be used to ensure the personalized configuration of the substation.

[0059] It can be understood that when implementing the embodiments of the present application, the website establishment method can be selected according to actual conditions, or the two methods can be used in combination, and the embodiments of the present invention are not limited to this.

[0060] In one embodiment of the present application, the method further includes: using a classification management tree to bind a designated column to a designated category. In response to an information release request of the designated column, the information information received by the front-end page is loaded into the information model to generate new information under the designated category, wherein the information model is a sub-model of the column model.

[0061] In this embodiment, an information model is created as a sub-model in the column model. Each column contains several pieces of information. The designated column is bound to the designated category using the classification management tree to manage the column and information. The information model mainly includes attributes such as title, subtitle, release time, title image, content introduction, text, attachment management, author, source, external links, etc. The attributes of the information model are set according to the information information received by the front-end page, and new information under the designated category is generated. A new column is generated by generating new information. This embodiment uses the classification management tree to perform unlimited-level classification management, and combines asynchronous loading technology to ensure the stability of the system while ensuring support for unlimited-level classification.

[0062] In this embodiment, in the generation of new information, other templates can also be combined to add and publish sub-text content such as video, audio, PDF documents, and provide online viewing or listening.

[0063] In one embodiment of the present application, in the above method, the information model includes an editable information template, the information template includes preset tags and code blocks to load information information, and the information template is developed based on the cutting graph technology.

[0064] Cutting pictures means cutting the design into pictures that are easy to make into pages, and completing the static page with HTML+CSS layout, which is conducive to interaction and forms a good visual sense. In layman's terms, use the slicing tool to cut a design into small pictures as needed, and then use DIV+CSS to complete the static page writing and CSS layout.

[0065] In the embodiment of the present application, different information templates are developed using the image cutting technology. After different templates are applied to different columns and different information, sub-sites can be quickly published.

[0066] PHP (Hypertext Preprocessor) has the characteristics of open source and free, fast, wide database connection, process-oriented and object-oriented, etc. The code block in this embodiment adopts PHP code, and the characteristics of PHP code are used to embed preset tags and PHP statements in the information template. When loading the information received from the front-end page, the corresponding identifier is replaced to realize the setting of the information model.

[0067] In this embodiment, the unique structure of sub-stations and columns: common structures such as home page, picture list, text list, content page, etc., are utilized to abstractly summarize a set of models for the combination of various templates, specifically including: selecting a home page template, picture template, text template and content template, filling in other descriptive information of the template group, combining the above templates to form a template model, and applying it to sub-station and column information, thereby expanding the usage scenarios of the template group.

[0068] In one embodiment of the present application, the above method also includes: when the columns and / or information of the sub-site are updated, and / or when a data update request is received, the cache and / or static pages of the entire site are updated using multi-threaded concurrency technology, and the cache of the entire site is implemented in the form of file-based cache.

[0069] PHP's CURL_MULTI technology can use multi-threading to process http requests, which can improve the efficiency of the request interface. In this embodiment, when the column and / or information of the sub-station is updated, and / or when a data update request is received, PHP's CURL_MULTI technology is used to update the site cache, so as to update the cache and / or static pages of the entire station, wherein the cache of the entire station is implemented in the form of file-based cache. In addition, manual updating can also be used.

[0070] The technical solution of this embodiment meets the generation requirements of large-scale sites. When the data volume reaches 100,000, different from the traditional generation mode, multi-threading can be used for generation to speed up the generation efficiency of the entire site.

[0071] In one embodiment of the present application, the above method further includes: in response to a permission control request, calling a management role model to generate an administrator account with corresponding permissions.

[0072] The management role model in this embodiment can assign different functions and data ranges to users of different roles according to different usage scenarios. The functions can be controlled to the button level under the menu, and the data range can be controlled to the column level. Through the combination of two permission dimensions, an administrator account with corresponding permissions is generated. The management role model in this embodiment can be used in various different usage scenarios.

[0073] In one embodiment of the present application, the above method also includes: performing statistics on the content of the entire site, and the statistics involve at least one of the following dimensions: site information dimension, column dimension, sub-site dimension, and workload dimension.

[0074] In this embodiment, all-round data statistics are performed on the content of the entire site, so as to facilitate a comprehensive understanding of the site situation and the work status of managers during the later maintenance process, and provide data support for the optimization of work efficiency.

[0075] The following is an example of how to manage a school website to illustrate the technical solution of this application. In this embodiment, the school website creates a new talent training sub-station, including the following steps:

[0076] Step 1: Use the substation model to create a new substation corresponding to the substation creation request.

[0077] In this embodiment, for example, a talent cultivation subsite is created in the school website, and the information contained in the subsite creation request is: the subsite name is talent cultivation, the parent site is the homepage of the school website, the title picture uses a pure gray background picture, the site display form is a comprehensive page, the column display form is a shared column, and the corresponding category is a subsite. The corresponding subsite model is selected according to the information contained in the subsite creation request. If there are similar subsites in the existing subsites, a new subsite can be established by using the fast site establishment method, that is, by copying the columns and column attributes of similar subsites, and after copying, the site is personalized according to the information in the creation request to establish a new subsite. If there are no similar subsites in the existing subsites, a new subsite can be established by using the basic site establishment method, that is, a subsite model is selected according to the information carried in the subsite creation request, and the subsite model is configured to create the new subsite.

[0078] Among them, the display forms of the site include comprehensive page, list page, detail page, function page, and process page.

[0079] Comprehensive page is a page that displays the contents of multiple columns in a centralized manner, and each column selectively displays a partial content list. List page is a page that briefly describes the page columns and displays them in the form of a list. Detail page is a page that displays the specific information of a content item. Function page is a page that aims to realize the interactive function of demand. Process page is a page with multiple groups, each of which can complete a specific function.

[0080] Column display formats include shared columns, exclusive columns, and semi-public and semi-exclusive columns.

[0081] Shared columns, also called information sharing columns, are columns in which all the contents of the columns can be viewed by all the audiences who log in to the website or webpage. Shared columns can be arranged according to different sections, themes or contents. For example, news columns can be arranged according to domestic, international, military, sports, economy, culture, society, etc.

[0082] Exclusive columns are columns where all resources and services are not fully public and are only disseminated within a small range. For example, some people in a company or department can browse certain resources or use certain services.

[0083] A semi-public and semi-exclusive column means that the website editor sets general and popular information or news as open, while the more special information or news that the audience cannot obtain through general channels can be enjoyed through registration, payment, etc.

[0084] Step 2: In response to the column creation request of the new sub-station, the new column information received through the front-end page is loaded into the column model to generate a new column under the new sub-station. The column model is a sub-model of the sub-station model.

[0085] Continuing with the previous example, for example, an undergraduate training column needs to be established in the above-mentioned talent training sub-site. The name of the column is undergraduate training, the parent column is the talent training sub-site, the display form is a shared column, and the corresponding category is a column. According to the above information in the column creation request, the corresponding column model is selected, and the column information received through the front-end page is loaded into the column model to generate a new column under the new sub-site.

[0086] The CI framework has the characteristics of rich standard libraries, simple interfaces and logical structures. This embodiment uses the characteristics of the CI framework to create a sub-station model and a column model. Among them, the column model is a sub-model of the sub-station model. The column model can include the column name, alias, parent column, directory name, introduction, title picture, display form, template, corresponding category, sub-station domain name and other attributes. The corresponding column model is selected according to the information in the column creation request.

[0087] In this embodiment, Nginx is used to connect the column model and its sub-station model. The deployment of the sub-station model is achieved through the deployment of the column model. This makes the column different from the traditional CDN implementation in terms of distributed demand processing. While ensuring the normal use of the business, it saves usage and deployment costs.

[0088] Step three, the talent training sub-station containing the undergraduate training column will be published.

[0089] In this embodiment, if another organization setting sub-station is built, if the organization setting sub-station is similar to the talent training sub-station, the rapid website building method can be used to copy the columns and basic column attributes in the talent training sub-station, and after copying, the organization setting site can be individually configured for personalization. By using the rapid website building method, the same type of sub-stations can be quickly created, which not only ensures the rapid reuse of system data, but also supports the personalized settings of different sub-stations, while reducing the complexity of website building.

[0090] In this embodiment, the management of the school website also includes: using the classification management tree to bind the designated column to the designated category. In response to the information release request of the designated column, the information information received by the front-end page is loaded into the information model to generate new information under the designated category, wherein the information model is a sub-model of the column model.

[0091] A website often contains multiple sub-stations, each of which contains multiple columns, and each column contains several pieces of information. In this embodiment, the sub-stations, columns and information in the website are managed in a tree-like manner through a classification management tree to achieve unlimited levels of classification. The designated column is bound to the designated sub-station, and the designated information is bound to the designated column. When new information needs to be released, it is only necessary to judge the column described by the information content to determine the information model to be used, and the release of new information is achieved through the deployment of the information model, and the release of new columns is achieved through the release of new information, and the release of new sub-stations is achieved through the release of new columns. Taking the above-mentioned talent training sub-station as an example, the talent training sub-station is the first layer of the classification management tree, undergraduate training is a column of the talent training sub-station, located at the second layer of the classification management tree, and the information related to undergraduate training under the undergraduate training column is the information under the undergraduate training column, which is located at the third layer of the classification management tree. Bind the undergraduate training column in the classification management tree to the talent training sub-station, bind the information related to undergraduate training to the undergraduate training column, and use the same information model for information under the same column. When there are many sub-stations, classify and manage them in the same way.

[0092] If you need to publish a piece of information about the undergraduate winter vacation notice, based on the content of the information, you can judge that the information belongs to the undergraduate training column. In this case, the deployment of the information should adopt the information model under the undergraduate training column, and load the information received by the front-end page into the information model to generate new information.

[0093] In this embodiment, the information model may include attributes such as title, subtitle, release time, title image, content introduction, text, attachment management, author, source, external links, etc. In the generation of new information, other templates may also be combined to add and release subtext content such as video, audio, PDF documents, and provide online viewing or listening. The information model is a submodel of the column model. In this embodiment, the information model is loaded into the column model using asynchronous loading technology, which ensures the stability of the system while ensuring support for unlimited levels of classification.

[0094] It should be noted that users can also use other classification methods to construct a classification management tree to manage columns and information according to actual needs.

[0095] The information model in this embodiment includes an editable information template, which includes preset tags and code blocks. When loading the information information received by the data front-end page, the corresponding identifier is replaced to implement the setting of the information model.

[0096] In this embodiment, different information templates are developed using the cutting technology. Different columns and different information use different templates to quickly establish sub-stations. Users can also use other existing technologies to build information templates according to actual needs.

[0097] In this embodiment, the management of the school website also includes: using the unique structure combination of the sub-sites to form a template model.

[0098] Generally, sub-sites or columns have common structures such as home page, picture list, text list, content page, etc. Select the home page template, picture template, text template and content template, fill in other description information of the template group, combine the above templates to form a template model, and apply it to sub-sites and columns, which expands the usage scenarios of the template group.

[0099] In this embodiment, the management of the school website also includes: when the columns and / or information of the sub-site are updated, and / or when a data update request is received, the cache and / or static pages of the entire site are updated using multi-threaded concurrent technology, and the entire site cache is implemented in the form of file-based cache.

[0100] For example, when the above-mentioned new information about the winter vacation notice for undergraduates is released, the sub-site information is updated, and the PHP CURL_MULTI technology is used to update the cache and / or static pages of the entire site in a multi-threaded concurrent manner. When there is a problem with the update, such as a sub-site not being updated, the user can also manually update the sub-site that has not been updated.

[0101] The technical solution of updating by using multi-thread concurrent technology in this embodiment meets the generation requirements of large-scale sites. After the data volume reaches 100,000, different from the traditional generation mode, multi-threading can be used for generation to speed up the generation efficiency of the entire site.

[0102] In this embodiment, the management of the school website further includes: in response to a permission control request, calling a management role model to generate an administrator account with corresponding permissions.

[0103] The management role model in this embodiment can allocate different functions and data ranges to users of different roles according to different usage scenarios.

[0104] To manage the school website in this embodiment, not everyone can create new sub-sites, new columns, publish new information, etc. for the website. Set corresponding permissions for different operations, and establish corresponding administrator accounts to manage the website. For example, for teachers, they can be assigned access to the teaching system and the functions of modifying, adding and deleting information; for principals, they can be assigned access to the management system and provide the functions of modifying, adding and deleting sub-sites, etc. Corresponding administrator accounts are established for different roles. By logging into the account, you can obtain the corresponding permissions and manage the website accordingly.

[0105] Functions can be controlled to the button level under the menu, and the data range can be controlled to the column level. Through the combination of the two permission dimensions, an administrator account with corresponding permissions is generated. The management role model in this embodiment can be used in various usage scenarios.

[0106] In this embodiment, the management of the school website also includes: statistics on the content of the entire site, and the statistics involve at least one of the following dimensions: site information dimension, column dimension, sub-site dimension, and workload dimension.

[0107] For example, for the school website in this embodiment, all-round data statistics are collected and updated in real time, including the website information, the information of the columns contained in the website, the information of the sub-sites contained in the website, and the division of labor and workload information of each management role that manages the website. This facilitates a comprehensive understanding of the site situation and the work status of the management personnel in the later maintenance process, and provides data support for the optimization of work efficiency.

[0108] The above steps introduce the technical solution of the present application from various functional dimensions. It can be understood that when implementing the embodiments of the present application, one or some of the functions can be selected according to actual conditions, and the embodiments of the present invention are not limited to this.

[0109] Figure 2 This is a schematic diagram of the structure of a content management system according to an embodiment of the present application. Figure 2 , the content management system 200 comprises:

[0110] A substation unit 210, used to create a new substation corresponding to the substation creation request using the substation model;

[0111] The column unit 220 is used to respond to the column creation request of the new sub-station, load the new column information received through the front-end page into the column model, and generate a new column under the new sub-station; the column model is a sub-model of the sub-station model;

[0112] The publishing unit 230 is used to publish the new sub-station containing the new column.

[0113] In summary, Figure 2 The system shown creates a new substation corresponding to the substation creation request by using the substation model, creates a column model as a submodel in the substation model in response to the column creation request of the new substation, loads the new column information received through the front-end page into the column model, generates a new column under the new substation, and publishes the new substation containing the new column. It can be personalized according to different requirements, and can realize rapid generation of substations and rapid website construction, which greatly reduces development and maintenance costs.

[0114] In one embodiment of the present application, the substation unit 210 is specifically used to, if the substation creation request is a basic site building request, load the 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 fast site building request, the existing substation selected through the front-end page is copied using the substation model to generate a new substation.

[0115] When creating multiple sub-sites, you can use the fast site building method to copy the columns and basic attributes of the columns in the sub-site model to quickly create sub-sites of the same type, and configure the site separately after copying. This not only ensures the rapid reuse of system data, but also supports the personalized settings of different sub-sites, while reducing the complexity of fast site building.

[0116] In one embodiment of the present application, the system 200 further includes an information unit, which is used to bind a specified column to a specified category using a category management tree. In response to an information release request of a specified column, the information received by the front-end page is loaded into an information model to generate new information under the specified category, wherein the information model is a sub-model of the column model.

[0117] In this embodiment, an information model is created as a sub-model in the column model. Each column contains several pieces of information. The designated column is bound to the designated category using the classification management tree to manage the column and information. The information model mainly includes attributes such as title, subtitle, release time, title image, content introduction, text, attachment management, author, source, external links, etc. The attributes of the information model are set according to the information information received by the front-end page, and new information under the designated category is generated. A new column is generated by generating new information. This embodiment uses the classification management tree to perform unlimited-level classification management, and combines asynchronous loading technology to ensure the stability of the system while ensuring support for unlimited-level classification.

[0118] In this embodiment, in the generation of new information, other templates can also be combined to add and publish sub-text content such as video, audio, PDF documents, and provide online viewing or listening.

[0119] In one embodiment of the present application, the above-mentioned information unit includes an information template creation module 2401, which is used to develop information templates using cutting technology. The information model includes an editable information template, and the information template includes preset tags and code blocks to load information information.

[0120] Cutting pictures means cutting the design into pictures that are easy to make into pages, and completing the static page with HTML+CSS layout, which is conducive to interaction and forms a good visual sense. In layman's terms, use the slicing tool to cut a design into small pictures as needed, and then use DIV+CSS to complete the static page writing and CSS layout.

[0121] In the embodiment of the present application, different information templates are developed using the image cutting technology. After different templates are applied to different columns and different information, sub-sites can be quickly published.

[0122] PHP (Hypertext Preprocessor) has the characteristics of open source and free, fast, wide database connection, process-oriented and object-oriented, etc. The code block in this embodiment adopts PHP code, and the characteristics of PHP code are used to embed preset tags and PHP statements in the information template. When loading the information received from the front-end page, the corresponding identifier is replaced to realize the setting of the information model.

[0123] In one embodiment of the present application, the above-mentioned system 200 also includes a model management unit, which is used to utilize the unique structure of sub-sites and columns: common structures such as home page, picture list, text list, content page, etc., to abstractly summarize a set of models for use in combination of various templates, specifically including: selecting a home page template, picture template, text template and content template, filling in other descriptive information of the template group, combining the above-mentioned templates to form a template model, and applying it to sub-site and column information, thereby expanding the usage scenarios of the template group.

[0124] In one embodiment of the present application, the above-mentioned system 200 also includes a data update unit, which is used to update the cache and / or static pages of the entire site using multi-threaded concurrency technology when the columns and / or information of the sub-site are updated and / or when a data update request is received. The cache of the entire site is implemented in the form of file-based cache.

[0125] PHP's CURL_MULTI technology can use multi-threading to process http requests, which can improve the efficiency of the request interface. In this embodiment, when the column and / or information of the sub-station is updated, and / or when a data update request is received, PHP's CURL_MULTI technology is used to update the site cache, so as to update the cache and / or static pages of the entire station, wherein the cache of the entire station is implemented in the form of file-based cache. In addition, manual updating can also be used.

[0126] The technical solution of this embodiment meets the generation requirements of large-scale sites. When the data volume reaches 100,000, different from the traditional generation mode, multi-threading can be used for generation to speed up the generation efficiency of the entire site.

[0127] In one embodiment of the present application, the system 200 further includes a user management unit for invoking a management role model to generate an administrator account with corresponding permissions in response to a permission control request.

[0128] The management role model in this embodiment can assign different functions and data ranges to users of different roles according to different usage scenarios. The functions can be controlled to the button level under the menu, and the data range can be controlled to the column level. Through the combination of two permission dimensions, an administrator account with corresponding permissions is generated. The management role model in this embodiment can be used in various different usage scenarios.

[0129] In one embodiment of the present application, the above system 200 also includes a statistical management unit for performing statistics on the content of the entire site, and the statistics involve at least one of the following dimensions: site information dimension, column dimension, sub-site dimension, and workload dimension.

[0130] In this embodiment, all-round data statistics are performed on the content of the entire site, so as to facilitate a comprehensive understanding of the site situation and the work status of managers during the later maintenance process, and provide data support for the optimization of work efficiency.

[0131] In one embodiment of the present application, the system 200 further includes a system setting unit for configuring key system attributes, including configuring the system name, domain name, logo, etc., and generating content management systems for different usage scenarios according to actual needs. It is also possible to query and trace the key operation logs of the system, and provide log support for the cause of the erroneous operation when abnormal usage occurs.

[0132] It should be noted that:

[0133] The algorithm and display provided herein are not inherently related to any particular computer, virtual device or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the application described herein, and the description of the specific language above is for the purpose of disclosing the best mode of implementation of the application.

[0134] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0135] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0136] Those skilled in the art will appreciate that the units in the system in the embodiment may be adaptively changed and arranged in one or more systems different from the embodiment. The modules or units or components in the embodiment may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device so disclosed may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0137] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0138] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the content management system according to the embodiment of the present application. The present application can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0139] For example, Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. The electronic device 300 includes a processor 310 and a memory 320 arranged to store computer executable instructions (computer readable program code). The memory 320 can 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 storage space 330 for storing a computer readable program code 331 for executing any method step in the above method. For example, the storage space 330 for storing computer readable program code may include individual computer readable program codes 331 for implementing various 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 include program code carriers such as a hard disk, a compact disk (CD), a memory card or a floppy disk. Such a computer program product is usually, for example Figure 4 The computer-readable storage medium. Figure 4 A schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 400 stores a computer-readable program code 331 for executing the method steps according to the present application, which can be read by the processor 310 of the electronic device 300. When the computer-readable program code 331 is executed by the electronic device 300, the electronic device 300 executes the various steps in the method described above. Specifically, the computer-readable program code 331 stored in the computer-readable storage medium can execute the method shown in any of the above embodiments. The computer-readable program code 331 can be compressed in an appropriate form.

[0140] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.

Claims

1. A content management method, characterized in that: The method includes: Using the substation model to create a new substation corresponding to the substation creation request; In response to a column creation request of a new sub-station, the new column information received through the front-end page is loaded into the column model to generate a new column under the new sub-station; the column model is a sub-model of the sub-station model; Publish a new sub-station containing new columns; The column model and its sub-station model are connected by using Nginx, and the sub-station model is deployed by deploying the column model; The creating a new substation corresponding to the substation creation request by using the substation model comprises: If the substation creation request is a basic site creation request, the new substation information received through the front-end page is loaded into the substation model to generate a new substation; If the sub-station creation request is a quick site creation request, the existing sub-station selected through the front-end page is copied using the sub-station model to generate a new sub-station; The fast site creation request includes a request for creating multiple subsites of the same type; The method further comprises: Using the unique structure of the sub-station and the column to generate a template corresponding to the unique structure, the template corresponding to the unique structure includes at least one of a homepage template, a picture template, a text template and a content template; Select templates corresponding to multiple unique structures and combine them to form a template model; The method further includes: When the columns and / or information of the sub-station are updated, and / or when a data update request is received, the cache and / or static pages of the entire station are updated using multi-threaded concurrent technology, and the cache of the entire station is implemented in the form of file-based cache; The method further includes: In response to the permission control request, calling the management role model to generate an administrator account with corresponding permissions; The management role model is used to allocate different functions and data ranges to users of different roles according to different usage scenarios. The functions can be controlled to the button level under the menu, and the data range can be controlled to the column level.

2. The method according to claim 1, characterized in that The method further includes: Use the classification management tree to bind the specified column with the specified classification; In response to the information release request of the designated column, the information information received by the front-end page is loaded into the information model to generate new information under the designated category; the information model is a sub-model of the column model.

3. The method according to claim 2, characterized in that The information model includes an editable information template, and the information template includes preset tags and code blocks to load the information; The information template is developed based on the image cutting technology.

4. The method according to claim 1, characterized in that The method further includes: Statistics are collected on the contents of the entire site, and the statistics involve at least one of the following dimensions: site information dimension, column dimension, sub-site dimension, and workload dimension.

5. A content management system, characterized in that: The system includes: A substation unit, used for creating a new substation corresponding to a substation creation request by using a substation model; A column unit, which is used to respond to a column creation request of a new sub-station, load the new column information received through the front-end page into the column model, and generate a new column under the new sub-station; the column model is a sub-model of the sub-station model; A publishing unit is used to publish a new sub-station containing a new column; The column model and its sub-station model are connected by using Nginx, and the sub-station model is deployed by deploying the column model; The substation unit is used for: If the substation creation request is a basic site creation request, the new substation information received through the front-end page is loaded into the substation model to generate a new substation; If the sub-station creation request is a quick site creation request, the existing sub-station selected through the front-end page is copied using the sub-station model to generate a new sub-station; The fast site creation request includes a request for creating multiple subsites of the same type; The system further comprises a model management unit, configured to: Using the unique structure of the sub-station and the column to generate a template corresponding to the unique structure, the template corresponding to the unique structure includes at least one of a homepage template, a picture template, a text template and a content template; Select templates corresponding to multiple unique structures and combine them to form a template model; The content management system is also used to: When the columns and / or information of the sub-station are updated, and / or when a data update request is received, the cache and / or static pages of the entire station are updated using multi-threaded concurrent technology, and the cache of the entire station is implemented in the form of file-based cache; The content management system is also used to: In response to the permission control request, calling the management role model to generate an administrator account with corresponding permissions; The management role model is used to allocate different functions and data ranges to users of different roles according to different usage scenarios. The functions can be controlled to the button level under the menu, and the data range can be controlled to the column level.

6. An electronic device, wherein: The electronic device comprises: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor is caused to perform the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Dynamically adjustable template and using method thereof

    CN101908044A

  • Website establishing method, device and computing equipment

    CN106547750A

  • Modular cloud computing intelligent website construction system

    CN107819767A

  • Content management method and device and storage medium

    CN109271385A

  • Website page generation method and device and electronic device

    CN109815435A