Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for static page data processing

A static page and data processing technology, applied in the field of network communication, can solve the problems that the comment function cannot be realized, dynamic data update cannot be realized, etc.

Active Publication Date: 2020-04-10
BOE TECH GRP CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for static pages (static web pages actually exist, without being compiled by the server, they are directly loaded into the client's browser and displayed) there is no dynamic loading module of the background server, and most static pages only provide information sharing (such as knowledge Sharing, etc.), each page of a static website is returned directly from the server, and dynamic data cannot be updated, so the comment function cannot be implemented for the static page itself

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
  • Method and device for static page data processing
  • Method and device for static page data processing
  • Method and device for static page data processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 1 It is a flowchart of a method for processing static page data according to an embodiment of the present invention, such as figure 1 As shown, the method of the present embodiment includes the following steps:

[0035] Step 101, receiving a request message from a user device for accessing static page comment data;

[0036] Step 102: Search the storage module for comment data corresponding to the static page according to the request message, and return the comment data to the user equipment.

[0037] Wherein, the request message for accessing the static page comment data includes user information and a URL (Uniform / Universal Resource Locator, Uniform Resource Locator) of the current page being accessed.

[0038] The embodiment of the present invention solves the problem that static pages cannot be commented and loaded dynamically by building an independent comment system. A piece of code is embedded in the static page. When the user requests the static page, h...

Embodiment 2

[0042] figure 2 It is a flowchart of a method for processing static page data according to an embodiment of the present invention, such as figure 2 As shown, the method of the present embodiment includes the following steps:

[0043] Step 201. After receiving the static page, the user triggers an asynchronous request.

[0044] Static pages are directly fed back to the front-end user browser without being compiled by the server, and the front-end user browser triggers an asynchronous request after receiving the returned static page.

[0045] The content of the asynchronous request includes the current user information and the URL of the current page visited, and is sent to the comment system server.

[0046] In this embodiment, after the user visits the static page, an asynchronous request is triggered to obtain the comment module and corresponding comment data from the comment server. During processing by the comment server, the browser continues to load other elements of ...

Embodiment 3

[0052] The difference between this embodiment and the second embodiment is that: when the comment system returns the comment data to the user, it also returns the comment submission module to the user.

[0053] image 3 It is a flowchart of a method for processing static page data according to an embodiment of the present invention, such as image 3 As shown, the method of the present embodiment includes the following steps:

[0054] Step 301 , when the comment system server returns the comment data to the user, it also includes a comment submission module, in which the user can comment on the page.

[0055] Step 302, after the user makes a comment on the page, the user actively triggers a submission command, and sends the comment data to the comment system server.

[0056] Step 303: After the comment system server receives the user comments, it saves the comments in the local comment data file corresponding to the current page after data processing.

[0057] Regarding the ...

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

A method for processing static page data, comprising: receiving a request message from a user device for accessing static page comment data; searching a storage module for comment data corresponding to a static page according to the request message, and returning the comment data to the user equipment. A device for static page data processing. This solution can enable users to view other people's comment information on the page, and can comment on any static page.

Description

technical field [0001] Embodiments of the present invention relate to but are not limited to the technical field of network communication, especially a method and device for processing static page data. Background technique [0002] The development of Internet technology has made the interaction of information between people easier and easier, and web pages are a necessary way to obtain Internet information. In order to further improve the convenience of user information interaction, the comment function of the website has become particularly important. Most web pages are dynamic pages, and the dynamic effect is achieved through the compilation of the page by the server, and the comment function is mostly an important part of most dynamic websites. One of the functions is to save the comment data of front-end users through the background server, and then dynamically load the page through the server to display the comment content on the front-end page. However, for static pa...

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 Patents(China)
IPC IPC(8): G06F16/951G06F16/953G06F16/9535G06F16/958
CPCG06F16/951G06F16/958G06F16/9538G06F40/169G06F3/0482G06F16/986
Inventor 鲁鹏
Owner BOE TECH GRP CO LTD