CN108415976B - Method for rapidly publishing website file based on CMS system - Google Patents

Method for rapidly publishing website file based on CMS system Download PDF

Info

Publication number
CN108415976B
CN108415976B CN201810131507.9A CN201810131507A CN108415976B CN 108415976 B CN108415976 B CN 108415976B CN 201810131507 A CN201810131507 A CN 201810131507A CN 108415976 B CN108415976 B CN 108415976B
Authority
CN
China
Prior art keywords
file
website
web server
update mark
browser
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
CN201810131507.9A
Other languages
Chinese (zh)
Other versions
CN108415976A (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.)
Xi'an Webber Software Co ltd
Original Assignee
Xi'an Webber Software 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 Xi'an Webber Software Co ltd filed Critical Xi'an Webber Software Co ltd
Priority to CN201810131507.9A priority Critical patent/CN108415976B/en
Publication of CN108415976A publication Critical patent/CN108415976A/en
Application granted granted Critical
Publication of CN108415976B publication Critical patent/CN108415976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The method for rapidly publishing the website file based on the CMS system comprises the following steps: 1) when a user publishes a webpage and a resource file of a website, the management server does not perform real file generation operation, only calculates a file list to be generated and sends a corresponding update mark to the WEB server, and the generation and transmission speed of the update mark is far higher than that of the real file; 2) when a browser accesses a website to request a file, a WEB server firstly judges whether the file has an update mark; 3) if the file exists and does not need to be updated, the file can be directly returned to the browser; if the file does not exist or needs to be updated, the management server is requested to generate the file in real time and transmit the file to the WEB server, and the WEB server stores the file to the local area, cancels the update mark and returns a new file to the browser; the problems of slow release, untimely information update and the like in the static release process are solved.

Description

Method for rapidly publishing website file based on CMS system
Technical Field
The invention belongs to the technical field of CMS system publishing, and particularly relates to a method for quickly publishing a website file based on a CMS system.
Background
The website content management system (CMS system) is mostly used in information construction of CMS mostly used in governments and universities, and the number of websites of such clients is large, and the data volume is hundreds of thousands. The management pressure and access pressure of the whole server is huge. In order to reduce the system pressure and increase the browsing speed, the front website page is purely statically published. Static release is different from dynamic release, wherein dynamic release refers to that a dynamic page is generated through asp \ php \ jsp \ net, the content of a database or a cache is called to generate a webpage when access is performed, static release refers to that a fixed page code is generated and stored in a static webpage, and the static webpage content can be directly returned when access is performed.
In order to improve the access performance of the system, a traditional CMS manufacturer may perform static publishing of a web page, and generate a static page for each page to be published in advance, but because the data volume of a client is huge, a queue may be formed in the publishing process, and the static page is generated page by page, which consumes more time and has low efficiency. Meanwhile, the static page which is statically released cannot update the information in time, and the information which is possibly accessed by the user or is a few hours ago is accessed by the user.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a method for quickly publishing website files based on a CMS system, which solves the problems of slow publishing and untimely information updating in the static publishing process.
In order to achieve the purpose, the invention adopts the technical scheme that: the method for rapidly publishing the website file based on the CMS system comprises the following steps:
step 1, generation and transmission of update mark
When a user publishes a webpage and a resource file of a website, the management server does not perform real file generation operation, only calculates a file list to be generated and sends a corresponding update mark to the WEB server, and the generation and transmission speed of the update mark is far higher than that of the real file;
step 2, checking the file
When a browser accesses a website to request a file, a WEB server firstly judges whether the file has an update mark,
step 3, file recovery
If the file exists and does not need to be updated, the file can be directly returned to the browser; if the file does not exist or needs to be updated, the management server is requested to generate the file in real time and transmit the file to the WEB server, and the WEB server stores the file to the local area, cancels the update mark and returns the new file to the browser.
The management server: a content management service for providing a website internally; the WEB server: and the browsing service is used for providing a webpage externally.
The invention has the beneficial effects that:
compared with the prior art, the method and the system have the advantage that the website publishing speed is accelerated by publishing the update marks of the webpage and the resource file instead of the real file.
The invention has fast publishing speed to the website, and can complete the publishing action without waiting too long time; the release response is fast, and the related page of the website is changed immediately after release; the publication is more complete, and after the article is changed, all relevant pages and lists are not missed and are updated in time.
Drawings
FIG. 1 is a schematic flow chart of a method for quickly publishing website files according to the present invention
Fig. 2 is a schematic diagram of a fast publishing process according to the present invention.
FIG. 3 is a schematic view of a user access flow according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Referring to fig. 1, the method for quickly publishing website files based on the CMS system includes the following steps:
step 1, generation and transmission of update mark
When a user publishes a webpage and a resource file of a website, the management server does not perform real file generation operation, only calculates a file list to be generated and sends a corresponding update mark to the WEB server, and the generation and transmission speed of the update mark is far higher than that of the real file;
step 2, checking the file
When a browser accesses a website to request a file, a WEB server firstly judges whether the file has an update mark,
step 3, file recovery
If the file exists and does not need to be updated, the file can be directly returned to the browser; if the file does not exist or needs to be updated, the management server is requested to generate the file in real time and transmit the file to the WEB server, and the WEB server stores the file to the local area, cancels the update mark and returns the new file to the browser.
The management server: a content management service for providing a website internally; the WEB server: and the browsing service is used for providing a webpage externally.
As shown in fig. 2, the quick publishing method based on CMS system includes the following steps,
the first step is as follows: when a user publishes a webpage and a resource file of a website, a management server does not perform real file generation operation;
the second step is that: only a file list needing to be generated is calculated;
the third step: sending the corresponding update mark to a WEB server, wherein the generation and transmission speed of the update mark is much higher than that of a real file;
example (c): the update flag may be an update time for modifying the published file.
As shown in fig. 3, the user access flow of the present invention,
the first step is as follows: when a browser accesses a website to request a file, the WEB server firstly judges whether the file has an update mark, namely whether the update time of a published file is consistent with file information,
the second step is that: if the file exists and does not need to be updated, the file can be directly returned to the browser; if the file does not exist or needs to be updated, the management server is requested to generate the file in real time and transmit the file to the WEB server, and the WEB server stores the file to the local area, cancels the update mark and returns the new file to the browser.
Example (c): whether the update mark exists or not can be judged by judging whether the mark information of the update mark is consistent with the resource file information or not and whether the update time of the published file of the mark is consistent with the update time of the real resource file or not. If the file is consistent with the file, the WEB server directly returns page information to the browser, and if the file is inconsistent with the file, the WEB server requests the management server to generate the file again in real time and transmits the file to the WEB server, and the WEB server stores the file to the local and cancels the updating mark and returns the new file to the browser.
The present invention speeds up by generating and transmitting an update flag for the file instead of the actual file. The method greatly accelerates the speed of publishing the resource file by the CMS system website.

Claims (2)

1. The method for rapidly publishing the website file based on the CMS system is characterized by comprising the following steps of:
step 1, generation and transmission of an update mark: when a user publishes a webpage and a resource file of a website, the management server does not perform real file generation operation, only calculates a file list to be generated and sends a corresponding update mark to the WEB server, and the generation and transmission speed of the update mark is far higher than that of the real file;
step 2, file checking: when a browser accesses a website to request a file, a WEB server firstly judges whether the file has an update mark;
step 3, file recovery: if the file exists and does not need to be updated, the file can be directly returned to the browser; and if the file does not exist or needs to be updated, the management server is requested to generate the file in real time and transmit the file to the WEB server, and the WEB server stores the file to the local area, cancels the update mark and returns the new file to the browser.
2. The method for rapidly publishing website files based on CMS system as claimed in claim 1, wherein the management server: a content management service for providing a website internally; the WEB server: and the browsing service is used for providing a webpage externally.
CN201810131507.9A 2018-02-09 2018-02-09 Method for rapidly publishing website file based on CMS system Active CN108415976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810131507.9A CN108415976B (en) 2018-02-09 2018-02-09 Method for rapidly publishing website file based on CMS system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810131507.9A CN108415976B (en) 2018-02-09 2018-02-09 Method for rapidly publishing website file based on CMS system

Publications (2)

Publication Number Publication Date
CN108415976A CN108415976A (en) 2018-08-17
CN108415976B true CN108415976B (en) 2021-11-09

Family

ID=63127088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810131507.9A Active CN108415976B (en) 2018-02-09 2018-02-09 Method for rapidly publishing website file based on CMS system

Country Status (1)

Country Link
CN (1) CN108415976B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632633B (en) * 2020-12-17 2021-11-09 西安博达软件股份有限公司 Static resource tamper-proof method based on file watermark in CMS system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996266A1 (en) * 1998-10-21 2000-04-26 Alcatel Method for updating or replacing a web site
CN101154233A (en) * 2006-09-26 2008-04-02 索尼株式会社 Content management apparatus, web server and network system
JP2008108030A (en) * 2006-10-25 2008-05-08 Pioneer Electronic Corp Page difference generation device and program
CN101488135A (en) * 2008-01-14 2009-07-22 盛大计算机(上海)有限公司 Designing and acquiring method for delayed personalized web page
CN101599018A (en) * 2009-07-03 2009-12-09 阿里巴巴集团控股有限公司 Upgrade the method and system of static page in a kind of service integration platform system
CN102109989A (en) * 2009-12-29 2011-06-29 阿里巴巴集团控股有限公司 Method, device and system for controlling browser cache
CN103257973A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for updating browser cache
CN103823872A (en) * 2014-02-27 2014-05-28 北京金山网络科技有限公司 Information pushing method and device
CN104331511A (en) * 2014-11-24 2015-02-04 飞狐信息技术(天津)有限公司 Method and device for updating static pages
CN105630522A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Web application updating method, apparatus and system
CN105893607A (en) * 2016-04-25 2016-08-24 青岛海信传媒网络技术有限公司 Page data management method, device and data server
CN106649518A (en) * 2016-10-17 2017-05-10 腾讯科技(深圳)有限公司 Method and apparatus for processing dynamic information data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7593960B2 (en) * 2000-06-20 2009-09-22 Fatwire Corporation System and method for least work publishing
US7925973B2 (en) * 2005-08-12 2011-04-12 Brightcove, Inc. Distribution of content
CN102882974B (en) * 2012-10-15 2015-04-29 焦点科技股份有限公司 Method for saving website access resource by website identification version number
US9733925B2 (en) * 2013-06-28 2017-08-15 International Business Machines Corporation Web content management using predetermined project templates

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996266A1 (en) * 1998-10-21 2000-04-26 Alcatel Method for updating or replacing a web site
CN101154233A (en) * 2006-09-26 2008-04-02 索尼株式会社 Content management apparatus, web server and network system
JP2008108030A (en) * 2006-10-25 2008-05-08 Pioneer Electronic Corp Page difference generation device and program
CN101488135A (en) * 2008-01-14 2009-07-22 盛大计算机(上海)有限公司 Designing and acquiring method for delayed personalized web page
CN101599018A (en) * 2009-07-03 2009-12-09 阿里巴巴集团控股有限公司 Upgrade the method and system of static page in a kind of service integration platform system
CN102109989A (en) * 2009-12-29 2011-06-29 阿里巴巴集团控股有限公司 Method, device and system for controlling browser cache
CN103257973A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for updating browser cache
CN103823872A (en) * 2014-02-27 2014-05-28 北京金山网络科技有限公司 Information pushing method and device
CN105630522A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Web application updating method, apparatus and system
CN104331511A (en) * 2014-11-24 2015-02-04 飞狐信息技术(天津)有限公司 Method and device for updating static pages
CN105893607A (en) * 2016-04-25 2016-08-24 青岛海信传媒网络技术有限公司 Page data management method, device and data server
CN106649518A (en) * 2016-10-17 2017-05-10 腾讯科技(深圳)有限公司 Method and apparatus for processing dynamic information data

Also Published As

Publication number Publication date
CN108415976A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
EP3229148B1 (en) Website access method and device, and website system
US9742863B2 (en) RDMA-optimized high-performance distributed cache
US9569400B2 (en) RDMA-optimized high-performance distributed cache
US9509748B2 (en) Efficient storage and retrieval of resources for rendering structured documents
US10284666B1 (en) Third-party cross-site data sharing
US20140033019A1 (en) Caching Pagelets of Structured Documents
EP3508985B1 (en) Scalable synchronization with cache and index management
JP6484667B2 (en) Structured document pagelet caching
CN106933614B (en) Single-page application upgrading method and device
US20150142845A1 (en) Smart database caching
CN111010364B (en) System for offline object-based storage and simulation of REST responses
CN104468807A (en) Processing method, cloud end device, local devices and system for webpage cache
CN111367596B (en) Method and device for realizing business data processing and client
CN103338272A (en) Content distribution network and cache implementation method thereof
US20210200767A1 (en) Asynchronous Predictive Caching Of Content Listed In Search Results
WO2021047239A1 (en) Page acquisition method, device and system
CN108415976B (en) Method for rapidly publishing website file based on CMS system
CN106372109A (en) Internet resource file caching method and apparatus
CN109145237A (en) A kind of optimization method of web cache problem
US20190132408A1 (en) Webpage Loading Method and Apparatus
WO2020124720A1 (en) Determining method for a common component of pages, server and storage medium
CN101340463A (en) Method and apparatus for determining network resource type
CN112861030B (en) CDN refreshing method and device, cache server and storage medium
US20210357465A1 (en) Method and System for High Speed Serving of Webpages
CN113778909B (en) Method and device for caching data

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