Web page updating method and website page updating system

A website page and update method technology, applied in the field of network replacement, can solve problems such as restarting the server, disconnection of website page sessions, loss of user information, etc., and achieves the effect of good convenience and flexibility

Inactive Publication Date: 2018-06-15
GUANGZHOU PINWEI SOFTWARE
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a website page update method and system, which solves the need to restart the server in the existing website page update method, and will cause all current sessions of the website page to be disconnected, thereby causing the loss of user information and the need for the user to log in to the server again Back to technical issues with the original website page

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web page updating method and website page updating system
  • Web page updating method and website page updating system
  • Web page updating method and website page updating system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0049] The present invention provides a first embodiment of a method for updating a website page, including:

[0050] Step 101: The back-end template engine generates a template file according to a preset template, and the template file stores all information of a website page.

[0051] The template engine is created to separate the user interface from the business data. It can generate documents in a specific format. For example, the template engine used on a website will generate a standard hypertext markup language document.

[0052] Step 102: The backend sends the template file to the frontend, so that when the user accesses the website, the frontend generates a new website page according to the template file.

[0053] In this embodiment, both the front end and the back end are proper nouns in this field, so they will not be detailed here.

[0054] It is understandable that after the front end receives the template file, it will save the template file in the root directory.

[0055] ...

no. 2 example

[0057] The present invention provides a second embodiment of a method for updating a website page, including:

[0058] Step 201: The template engine at the back end generates a template file according to a preset template, and the template file stores all information of the website page.

[0059] In this embodiment, the template file may include one of hypertext markup language code, cascading style sheet code, Java script code, value expressions nested in the template engine, and tags nested in the template engine. Many kinds.

[0060] There are many template engines, and the format of template files generated by different template engines is different.

[0061] For example, the template engine can be FreeMarker, and the corresponding template file is an FTL file.

[0062] The template engine can also be a velocity template engine, which can also achieve hot updates of website pages.

[0063] The number of template files can be at least two, because some website pages are composed of o...

no. 3 example

[0066] The present invention provides a third embodiment of a method for updating a website page, including:

[0067] In step 301, the template engine at the back end generates a template file according to a preset template, and the template file stores all the information of the website page.

[0068] The content of step 301 is the same as the content of step 201 in the second embodiment of the present application. For specific description, please refer to the content of step 201 in the first embodiment, which will not be repeated here.

[0069] Step 302: After receiving the template file, the background management system reads the template file, and then uses key-value pairs to pass parameters to replace the value expression, and finally generates new page content after editing and saves it as a new template file.

[0070] Step 303: The background management system sends the new template file to the front end.

[0071] Send the template file to the back-end management system for editi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a web page updating method and a web page updating system, and the method comprises the following steps: a template engine at a back end generates a template file according toa preset template, wherein all the information of the web page is stored in the template file; the back end sends the template file to a front end, thus, when a user visits a website, the front end generates a new web page according to the template file. The method and the system provided by the invention solve a technical problem that, in the existing web page updating method, a server needs to be restarted, interruption of all the current conversations of the web page is caused, consequently information loss of users is caused and the users need to login to the server again and return to theoriginal web page.

Description

Technical field [0001] The invention relates to the technical field of switching networking, in particular to a method and system for updating a website page. Background technique [0002] With the continuous development of the Internet, people’s requirements for the websites they use are increasing, and it is often necessary to update the published website pages to meet the individual needs and functional requirements of users, while ensuring system stability and users Experience. [0003] The existing website page update method is: developers compile, package and deploy to the server to update the website page. [0004] However, this update method has certain technical problems: each website page update requires the developer to repackage and deploy to the server, and when the website page is updated, the server needs to be restarted, causing all current sessions of the website page to be disconnected, thus causing users The information is lost and the user needs to log in to the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/656G06F17/30
CPCG06F16/958
Inventor 罗剑龙
Owner GUANGZHOU PINWEI SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products