CN110442815B - Page generation method, system, device and computer readable storage medium - Google Patents

Page generation method, system, device and computer readable storage medium Download PDF

Info

Publication number
CN110442815B
CN110442815B CN201910551413.1A CN201910551413A CN110442815B CN 110442815 B CN110442815 B CN 110442815B CN 201910551413 A CN201910551413 A CN 201910551413A CN 110442815 B CN110442815 B CN 110442815B
Authority
CN
China
Prior art keywords
page
html
file
component
source code
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
CN201910551413.1A
Other languages
Chinese (zh)
Other versions
CN110442815A (en
Inventor
李春平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910551413.1A priority Critical patent/CN110442815B/en
Publication of CN110442815A publication Critical patent/CN110442815A/en
Application granted granted Critical
Publication of CN110442815B publication Critical patent/CN110442815B/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
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

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

Abstract

The embodiment of the invention provides a page generation method, a system, a device and a computer readable storage medium. The page generation method comprises the steps of sending a first page access request to a server, receiving a first HTML page source code file sent by the server, obtaining HTML component codes of page components from the first HTML page source code file, rendering the page components for the first time according to the HTML component codes, and generating a first page. Therefore, the problem that a search engine in the prior art is unfriendly is solved, the friendly search engine is provided, the search engine is convenient for a crawler to index the page, no blank is generated during page initialization, and the user experience is greatly improved.

Description

Page generation method, system, device and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a page generation method, system, apparatus, and computer-readable storage medium.
Background
With the continuous development and progress of computer technology and internet technology, various websites bring great convenience to the life of people. The page is used as a medium for interaction between a user and a website, and the quality of the page directly influences the use experience of the user, so that page generation is an important component of website development.
At present, the scheme adopted for generating pages of a large number of websites is as follows: the client side obtains a HyperText Markup Language (HTML) file containing a JS (JS file is an extension name of a JavaScript Language file) file address and a Cascading Style Sheet (CSS) file address from the server side, obtains the JS file and the CSS file according to the HTML file, loads the JS file and the CSS file, and compiles HTML component codes in the JS file after the JS file and the CSS file are loaded, obtains a virtual component, and further generates a page.
According to the scheme adopted at present, after the JS file and the CSS file are loaded, the subsequent steps can be executed to generate the page, and the JS file and the CSS file are loaded for several seconds, so that the rendered page can be displayed after the JS file and the CSS file are delayed for several seconds, and a blank page can appear during the loading of the JS file and the CSS file.
Disclosure of Invention
The embodiment of the invention provides a page generation method, a system, a device and a computer readable storage medium, which aim to solve the problem that a blank page appears during loading of a JS file and a CSS file in the prior art.
The invention provides a page generation method, which is applied to a system comprising a client and a server; the method comprises the following steps:
the client sends a first page access request to the server, wherein the first page access request comprises attribute information of a first page to be accessed;
the server side responds to the first page access request, and obtains a first hypertext markup language (HTML) page source code file according to attribute information of the first page, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
the server side sends the first HTML page source code file to the client side;
the client receives the first HTML page source code file sent by the server;
and the client acquires the HTML component codes from the first HTML page source code file, and renders the page component for the first time according to the HTML component codes to generate a first page.
In a second aspect of the present invention, a page generating method, executed on a client, includes:
sending a first page access request to a server, wherein the first page access request comprises attribute information of a first page to be accessed;
receiving a first hypertext markup language (HTML) page source code file sent by the server, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
and acquiring the HTML component code from the first HTML page source code file, and rendering the page component for the first time according to the HTML component code to generate a first page.
Optionally, the source code file of the first HTML page further includes a CSS file address of the cascading style sheet of the first page;
the rendering the page component for the first time according to the HTML component code to generate a first page includes:
analyzing the first HTML page source code file to obtain HTML component codes of the page components and the CSS file address;
obtaining a private CSS file of the first page according to the CSS file address, and loading the CSS file;
detecting whether the loading of the CSS file is finished;
and if the CSS file is detected to be completely loaded, rendering the page component for the first time according to the HTML component code of the page component and the CSS file to generate the first page.
Optionally, the source code file of the first HTML page further includes a JS file address of the first page; further comprising:
obtaining the JS file address of the first page from the source code file of the first HTML page;
obtaining the JS file private to the first page according to the JS file address of the first page, and loading the JS file private to the first page;
detecting whether the JS file is loaded completely;
and if the JS file loading is detected to be finished, performing second rendering on the generated first page.
Optionally, the first HTML page source code file further includes a page component identifier and a compiling mode identifier of the page component;
the rendering the generated first page for the second time comprises:
acquiring a page component identifier and a compiling mode identifier of the page component from the first HTML page source code file;
compiling HTML component codes of the page components and component codes included in the JS file private to the first page according to the compiling modes corresponding to the page component identifiers and the compiling mode identifiers to obtain virtual components;
and replacing the page component with the virtual component to render the generated first page for the second time, and generating the first page after the second rendering.
Optionally, after the generating the first page after the second rendering, the method further includes:
sending a page updating request to the server, wherein the page updating request comprises attribute information of a second page to be accessed and a page fragment identifier of the second page;
receiving a second HTML page source code file sent by the server and a page fragment corresponding to the page fragment identifier, wherein the second HTML page source code file is obtained by the server in response to the page updating request and according to attribute information of a second page, and comprises a JS file address and a CSS file address of the second page;
and obtaining the private JS file and the private CSS file of the second page according to the JS file address and the CSS file address of the second page.
Optionally, after obtaining the JS file and the CSS file private to the second page, the method further includes:
loading a page segment corresponding to the page segment identifier, and a JS file and a CSS file which are private to the second page;
detecting whether the page segment, the JS file and the CSS file which are private to the second page are loaded completely;
if the page segment, the JS file and the CSS file which are private to the second page are detected to be completely loaded, compiling the page segment to obtain a virtual component;
replacing the page component of the first page with the virtual component to render the second page.
In a third aspect of the present invention, a page generating method is provided, executed on a server, and includes:
receiving a first page access request sent by a client, wherein the first page access request comprises attribute information of a first page to be accessed;
responding to the first page access request, and acquiring a first hypertext markup language (HTML) page source code file according to the attribute information of the first page;
and sending the first HTML page source code file to the client.
Optionally, before receiving the first page access request sent by the client, the method further includes:
receiving a page template of the first page created by a user and a page component created on the page template;
saving a page component identifier inserted in an original code of the page component by the user and a compiling mode identifier for compiling the page component;
and compiling the original code of the page component to generate a first HTML page source code file, and storing the first HTML page source code file.
Optionally, the method further includes:
receiving a page updating request sent by the client, wherein the page updating request comprises attribute information of a second page to be accessed and a page fragment identifier of the second page;
responding to the page updating request, and obtaining a second HTML page source code file according to the attribute information of the second page, wherein the second HTML page source code file comprises a JS file address and a CSS file address of the second page;
and sending the second HTML page source code file to the client.
In a fourth aspect of the present invention, there is provided a page generation system, including:
the client is used for sending a first page access request to the server, wherein the first page access request comprises attribute information of a first page to be accessed;
the server is used for responding to the first page access request and obtaining a first hypertext markup language (HTML) page source code file according to the attribute information of the first page, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
the server is further used for sending the first HTML page source code file to the client;
the client is used for receiving the first HTML page source code file sent by the server;
the client is further configured to obtain the HTML component code from the first HTML page source code file, and perform first rendering on the page component according to the HTML component code of the page component, so as to generate a first page.
In a fifth aspect of the present invention, a page generating apparatus is provided, which is disposed at a client, and includes:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a first page access request to a server, and the first page access request comprises attribute information of a first page to be accessed;
a receiving module, configured to receive a first HTML page source code file sent by the server, where the first HTML page source code file includes HTML component codes of a page component of the first page;
and the first generation module is used for acquiring the HTML component codes from the first HTML page source code file and rendering the page component for the first time according to the HTML component codes of the page component so as to generate a first page.
Optionally, the source code file of the first HTML page further includes a CSS file address of the cascading style sheet of the first page;
the first generating module is specifically configured to parse the first HTML page source code file to obtain an HTML component code of the page component and the CSS file address; obtaining a private CSS file of the first page according to the CSS file address, and loading the CSS file; detecting whether the loading of the CSS file is finished; and if the CSS file is detected to be completely loaded, rendering the page component for the first time according to the HTML component code of the page component and the CSS file to generate a first page.
Optionally, the source code file of the first HTML page further includes a JS file address of the first page; further comprising:
the obtaining module is used for obtaining the JS file address of the first page from the source code file of the first HTML page;
the loading module is used for obtaining the JS file private to the first page according to the JS file address of the first page and loading the JS file private to the first page;
the detection module is used for detecting whether the JS file is loaded completely;
and the second generation module is used for rendering the generated first page for the second time if the JS file loading is detected to be finished so as to generate the rendered first page for the second time.
Optionally, the first HTML page source code file further includes a page component identifier and a compiling mode identifier of the page component;
the second generating module is specifically configured to obtain a page component identifier and a compiling mode identifier of the page component from the first HTML page source code file; compiling HTML component codes of the page components and component codes included in the JS file private to the first page according to the compiling modes corresponding to the page component identifiers and the compiling mode identifiers to obtain virtual components; and replacing the page component with the virtual component to render the generated first page for the second time, and generating the first page after the second rendering.
Optionally, the sending module is further configured to send a page update request to the server, where the page update request includes attribute information of a second page to be accessed and a page fragment identifier of the second page;
the receiving module is further configured to receive a second HTML page source code file sent by the server and a page fragment corresponding to the page fragment identifier, where the second HTML page source code file is obtained by the server in response to the page update request and according to attribute information of the second page, and the second HTML page source code file includes a JS file address and a CSS file address of the second page;
the obtaining module is further configured to obtain a JS file and a CSS file private to the second page according to the JS file address and the CSS file address of the second page;
the loading module is further configured to load a page segment corresponding to the page segment identifier, a JS file and a CSS file private to the second page;
the detection module is further used for detecting whether the page segment, the JS file and the CSS file which are private to the second page are loaded completely; if the page segment, the JS file and the CSS file which are private to the second page are detected to be completely loaded, compiling the page segment to obtain a virtual component; replacing the page component of the first page with the virtual component to render the second page.
A sixth aspect of the present invention provides a page generating apparatus, disposed at a server, including:
the first receiving module is used for receiving a first page access request sent by a client, wherein the first page access request comprises attribute information of a first page to be accessed;
the obtaining module is used for responding to the first page access request and obtaining a first hypertext markup language (HTML) page source code file according to the attribute information of the first page;
and the sending module is used for sending the first HTML page source code file to the client.
Optionally, the method further includes:
the second receiving module is used for receiving a page template of the first page created by a user and a page assembly created on the page template;
the storage module is used for storing a page component identifier inserted into an original code of the page component by the user and a compiling mode identifier for compiling the page component;
the storage module is further configured to compile an original code of the page component to generate a first HTML page source code file, and store the first HTML page source code file.
Optionally, the first receiving module is further configured to receive a page update request sent by the client, where the page update request includes attribute information of a second page to be accessed and a page fragment identifier of the second page;
the obtaining module is further configured to obtain, in response to the page update request, a second HTML page source code file according to the attribute information of the second page, where the second HTML page source code file includes a JS file address and a CSS file address of the second page;
the sending module is further configured to send the second HTML page source code file to the client.
A seventh aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the page generation method as described above.
Aiming at the prior art, the invention has the following advantages:
according to the page generation method provided by the embodiment of the invention, a first HTML page source code file sent by a server is received by sending a first page access request to the server, the first HTML page source code file comprises HTML component codes of a page component of a first page, the HTML component codes are obtained from the first HTML page source code file, and the page component is rendered for the first time according to the HTML component codes to generate the first page. According to the embodiment of the invention, the client can directly obtain the HTML component code and compile the HTML component code, so that the problem that a blank page appears in the prior art is solved. And the server can directly send the HTML page source code file containing the HTML component codes of the page components to the client, so that the search engine crawler can analyze the HTML component codes conveniently, and the problems that the search engine crawler of the browser cannot analyze the HTML component codes and the search engine is unfriendly because the server cannot directly output the HTML component codes in the prior art are solved. The page generation method provided by the embodiment provides a friendly search engine, and is convenient for the search engine to crawl index pages.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a page generation method according to an embodiment of the present invention;
FIG. 2 is a diagram of a system architecture according to an embodiment of the present invention;
fig. 3 is a flowchart of another page generation method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a page generating apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another page generating apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
It should be understood that the specific embodiments described herein are merely illustrative of the invention, but do not limit the invention to only some, but not all embodiments.
In the prior art, a client obtains an HTML file containing a JS file address and a CSS file address from a server, obtains the JS file and the CSS file from a resource file server according to the JS file address and the CSS file address in the HTML file (developers can upload written JS file and CSS file to the resource file server), loads the JS file and the CSS file, compiles HTML component codes in the JS file after the JS file and the CSS file are loaded, obtains a virtual component, inserts the virtual component into the HTML file to obtain a new component, and renders the new component to obtain a rendered page.
It should be noted that the JS file is an extension of a JavaScript language file, the JavaScript is an transliteration script language, and the JavaScript has been widely used for Web application development, and is often used to add various dynamic functions to a Web page, so as to provide a smoother and more beautiful browsing effect for a user. The CSS provides a style description for the HTML markup language, the CSS file is a text file used for loading CSS codes, and the CSS not only can statically modify the webpage, but also can dynamically format each element of the webpage in cooperation with various script languages.
Because the HTML component code in the scheme adopted at present is contained in the JS file, the HTML file does not contain the HTML component code, and only contains the JS file address and the CSS file address, the HTML component code in the JS file can be compiled only after the completion of loading of the JS file and the CSS file, the subsequent steps are continuously executed to generate the page, and because the JS file and the CSS file need several seconds for loading, the rendered page can be displayed after several seconds of delay, namely, a blank page can appear during loading of the JS file and the CSS file, and the user experience is reduced. Moreover, the problem that a search engine crawler of the client cannot index a page due to the fact that the client cannot acquire an HTML component code of a page component from a HyperText Markup Language (HTML) file provided by the server, that is, the server in the prior art does not directly output an HTML page source file containing the HTML component code to the client, so that the search engine crawler of the browser cannot analyze the HTML page source file, and cannot index the page is caused.
In order to solve the above technical problem, an embodiment of the present invention provides a page generation method, which is applied to a system including a client and a server; the client sends a first page access request to the server, wherein the first page access request comprises attribute information of a first page to be accessed; the server side responds to the first page access request and obtains a first hypertext markup language (HTML) page source code file according to the attribute information of the first page, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page; the server side sends a first HTML page source code file to the client side; the client receives a first HTML page source code file sent by the server; the client side obtains the HTML component codes from the first HTML page source code file, and renders the page component for the first time according to the HTML component codes to generate a first page.
The client can be a browser, and the client can be deployed on terminal equipment such as a desktop computer, a tablet computer, a notebook computer and a smart phone, and the server can be deployed on a server.
The client can analyze the first HTML page source code file, obtain HTML component codes of the page components, and render the page components for the first time according to the HTML component codes of the page components to generate a first page. It should be noted that the first generated page is a static page.
According to the page generation method provided by the embodiment, the page component can be rendered for the first time to generate the first page without waiting for the completion of loading of the JS file and the CSS file, so that the problem that a blank page appears in the prior art is solved, and the user experience is improved. Moreover, the server side can directly send the HTML page source code file containing the HTML component codes of the page components to the client side, so that the crawler of the search engine can conveniently analyze the HTML component codes, and the problems that in the prior art, the crawler of the search engine of the browser cannot analyze the HTML component codes because the server side cannot directly output the HTML component codes, and the search engine is unfriendly are solved. The page generation method provided by the embodiment provides a friendly search engine, and is convenient for the search engine to crawl index pages.
Fig. 1 is a flowchart of a page generation method according to an embodiment of the present invention, where the method is suitable for a situation where a client can obtain an HTML page source file from a server, and perform a first rendering on a page component of a first page included in the page source file to generate the first page. The method of the embodiment comprises the following steps:
s101, sending a first page access request to a server, wherein the first page access request comprises attribute information of a first page to be accessed.
The first page access request may be a Uniform Resource Locator (URL), that is, a web page address. The attribute information of the first page includes, for example, a protocol, a domain name, a path, and a file name under which the first page is based. For example, the first page access request ishttp://www.iqiyi.com/v_ 19rslq5c84.htmlvfrm=pcw_home&vfrmblk=B&vfrmrst=fcs_0_p11(ii) a The Protocol according to the first page is HyperText Transfer Protocol (HTTP), domain name (iqiyi.com), path (path part includes hierarchical path definition, generally, different parts are separated by slashes (/) for indicating storage addresses of HTML page source code files), file name (v _19rslq5c84.HTML), and the like.
S102, receiving a first HTML page source code file sent by a server, wherein the first HTML page source code file comprises HTML component codes of a page component of a first page.
The server stores a first HTML page source code file corresponding to the attribute information of the first page, and can obtain the first HTML page source code file according to the attribute information of the first page and send the first HTML page source code file to the client. The first HTML page source code file includes HTML page source code and page components created on the page template when the developer develops the first page, wherein the number of the created page components may be one or more.
It should be noted that, referring to fig. 2, fig. 2 is a system architecture diagram according to an embodiment of the present invention. The first HTML page source code file is generated by compiling the original code of the page component of the first page through a Web container of a server (the Web container is a service program and provides an environment for the page component therein, so that the page component directly interacts with an environment variable in the Web container), the original code of the page component correspondingly generates the HTML component code of the page component, and the original code of the page component can be written through Java script language or C + + and other languages. The generated first HTML page source code file may be stored in a server deployed by the server 201, or the server 201 pushes the first HTML page source code file to a Content Delivery Network (CDN), and the client 202 may access a CDN cache server 203 in the CDN to obtain the first HTML page source code file. The basic principle of the CDN is to widely adopt various CDN cache servers, distribute the CDN cache servers to a region or a network where user access is relatively concentrated, when a user accesses a website, point access of a client to a CDN cache server that works normally closest to the user by using a global load technique, and directly respond to an access request of the client by the CDN cache server, so that the user can obtain required content nearby, solve the situation of Internet network congestion, and improve the response speed of the user accessing the website. In the embodiment of the present invention, if the CDN cache server 203 is deployed, when the client 202 accesses the first page for the first time, the CDN cache server 203 needs to pass through the first page access request to the server 201, the server 201 obtains the first HTML page source file and sends the first HTML page source file to the CDN cache server 203, the CDN cache server 203 provides the first HTML page source file to the client 202, the CDN cache server 203 stores the first HTML page source file at the same time, and when the client 202 accesses the first page again, the client 202 may directly send the first page access request to the CDN cache server 203 and obtain the first HTML page source file from the CDN cache server 203. When the CDN server 203 is not deployed, the client 203 may directly send the first page access request to the server 201 as shown by a dotted line in fig. 2, and receive the first HTML page source file sent by the server 201.
S103, obtaining HTML component codes from the first HTML page source code file, and rendering the page component for the first time according to the HTML component codes of the page component to generate a first page.
The client can analyze the first HTML page source code file, obtain HTML component codes of the page components, and render the page components for the first time according to the HTML component codes of the page components to generate a first page.
The at least one page component can be rendered for the first time through the Web container, and a first page is generated after the page component is rendered for the first time.
It should be noted that, in this embodiment, the HTML source code file directly output to the client by the server includes the HTML component code of the page component, so that the problem that the search engine of the client (browser) cannot index the page due to the fact that the server does not output the HTML component code in the prior art is solved, optimization of the search engine is achieved, and the search engine crawlers are facilitated to index the page.
In the page generation method provided by this embodiment, a first HTML page source code file sent by a server is received by sending a first page access request to the server, where the first HTML page source code file includes HTML component codes of a page component of a first page, the HTML component codes are obtained from the first HTML page source code file, and the page component is rendered for the first time according to the HTML component codes of the page component to generate the first page. Therefore, the problem that a search engine in the prior art is unfriendly is solved, the friendly search engine is provided, the search engine is convenient for a crawler to index the page, no blank is generated during page initialization, and the user experience is greatly improved.
Fig. 3 is a flowchart of another page generation method provided in the embodiment of the present invention, and as shown in fig. 3, the method may include:
s301, the server receives a page template of a first page created by a user and a page component created on the page template.
The page component is used for displaying data including characters and pictures. A user (i.e., a developer) may create a page template of a first page on a development platform, where the development platform may be a JavaScript language development platform or a C + +, or other language development platform.
S302, the server side stores the page component identification inserted in the original code of the page component by the user and the compiling mode identification for compiling the page component.
The developer can develop the original codes of the page components by adopting JavaScript language aiming at the created page components, and the original codes of the first page comprise the original codes of the page components. When the original code is developed, a page component identifier and a compiling mode identifier for compiling the page component are inserted into the original code of the page component. The page component identification is used for identifying the identity of the page component, and the compiling mode identification is used for identifying the compiling mode of the page component.
It should be noted that, since there may be a plurality of page components, each page component corresponds to one page component identifier and one compiling mode identifier.
S303, the server side compiles the original codes of the page components to generate a first HTML page source code file, and stores the first HTML page source code file.
The server side stores the page component identification inserted into the original code corresponding to the page component by a developer and the compiling mode identification for compiling each page component, compiles the original code of the page component through the Web container to generate a first HTML page source code file, and stores the first HTML page source code file, namely the HTML component code of the page component is generated after the original code of the page component is compiled, if a plurality of page components exist, the first HTML page source code file comprises the HTML codes of the plurality of page components. The first HTML page source code file may be stored in a server deployed by the server, or the server pushes the first HTML page source code file to the CDN and stores the first HTML page source code file in a cache server in the CDN network.
304. The client sends a first page access request to the server, wherein the first page access request comprises attribute information of a first page to be accessed.
Correspondingly, the server receives a first page access request sent by the client.
S305, the server side responds to the first page access request and obtains a first HTML page source code file according to the attribute information of the first page.
The server deployed by the server stores the corresponding relation between the attribute information of the page developed by the developer and the HTML page source code file, so that the server can obtain the first HTML page source code file according to the attribute information of the first page included in the received first page access request and send the first HTML page source code file to the client.
S306, the server sends the first HTML page source code file to the client.
Correspondingly, the client receives the first HTML page source code file sent by the server,
s307, the client acquires HTML component codes from the first HTML page source code file, and renders the page component for the first time according to the HTML component codes to generate a first page.
The first HTML page source code file may further include a CSS file address of the first page.
When the first HTML page source code file includes the CSS file address of the first page, rendering the page component for the first time according to the HTML component code of the page component to generate the first page may be implemented by:
analyzing the first HTML page source code file to obtain HTML component codes and CSS file addresses of the page components; obtaining a private CSS file of the first page according to the CSS file address, and loading the CSS file; detecting whether loading of the CSS file is finished; and if the CSS file is detected to be completely loaded, rendering the page component for the first time according to the HTML component code of the page component and the CSS file to generate a first page.
It should be noted that, the first rendering of the page assembly may be performed without depending on whether the loading of the private CSS file of the first page is completed, and only the generated style of the first page may be disordered. Because the CSS file can not only statically modify the webpage, but also dynamically format each element of the webpage in cooperation with various scripting languages, when the CSS file is detected to be loaded completely, the page assembly is rendered for the first time according to the HTML assembly code of the page assembly and the CSS file, and the generated first page is more attractive.
S308, the client acquires the JS file address of the first page from the source code file of the first HTML page.
The source code file of the first HTML page may further include a JS file address of the first page. When the first HTML page source code file includes the JS file address of the first page, the client can obtain the JS file address of the first page by analyzing the first HTML page source code file.
S309, the client obtains the JS file private to the first page according to the JS file address of the first page, and loads the JS file private to the first page.
The developer uploads the written public JS file, the public CSS file, the private JS file of each page and the CSS file to the resource file server. Therefore, the client can obtain the JS file with the private first page from the resource server according to the JS file address of the first page, and load the JS file with the private first page.
S310, the client detects whether the loading of the JS file is finished.
And S311, if the client detects that the JS file is loaded completely, rendering the generated first page for the second time.
The first HTML page source code file may further include a page component identifier and a compiling mode identifier of the page component, and when the first HTML page source code file includes the page component identifier and the compiling mode identifier of the page component, rendering the generated first page for the second time may be implemented by the following steps:
acquiring a page component identifier and a compiling mode identifier of a page component from a first HTML page source code file; compiling HTML component codes of the page components and component codes included in the first page private JS file according to the compiling modes corresponding to the page component identifiers and the compiling mode identifiers to obtain virtual components; and replacing the page component by using the virtual component to perform second rendering on the generated first page, and generating the first page after the second rendering.
Through S301 to S303, the page component identifier and the compiling mode identifier of the page component are included in the HTML component code of the page component included in the first HTML page source code file, so that the page component identifier and the compiling mode identifier of the page component can be obtained from the first HTML page source code file.
It should be noted that, because the component code included in the JS file mainly describes the logical content of the component, the logical content includes an interactive operation, an event, and the like, the interactive operation includes, for example, movement and sliding of a mouse, and the event includes, for example, a logical judgment, such as a judgment of a screen size and a judgment of a size of the acquired data content (for example, when the acquired data content is larger than the screen size, the data content needs to be reduced or intercepted).
Optionally, the embodiment of the present invention may further include the following step, and the following step is used to implement the jump between the pages of different types. The page type is, for example, the top page, channel page, playing page, etc. of the aviary video website, and if the first page is the top page, the second page is the channel page (tv drama channel page or movie channel page, etc.).
Sending a page updating request to a server, wherein the page updating request comprises attribute information of a second page to be accessed and a page fragment identifier of the second page; receiving a second HTML page source code file and a page fragment corresponding to the page fragment identification, wherein the second HTML page source code file is sent by the server, responds to a page updating request and is obtained according to attribute information of a second page, and the second HTML page source code file comprises a JS file address and a CSS file address of the second page; obtaining a JS file and a CSS file which are private to the second page according to the JS file address and the CSS file address of the second page; loading a page segment corresponding to the page segment identifier, a JS file and a CSS file which are private to the second page; detecting whether the page fragments, the JS file and the CSS file which are private to the second page are loaded completely; if the page segment, the JS file and the CSS file which are private to the second page are detected to be completely loaded, compiling the page segment to obtain a virtual component; and replacing the page component of the first page with the virtual component to render the second page.
It should be noted that the attribute information of the second page is the same as the attribute information of the first page, and the obtaining of the JS file and the CSS file private to the second page is also the same as the obtaining of the JS file and the CSS file private to the first page according to the JS file address and the CSS file address of the second page, and details are not repeated here. When jumping from the first page to the second page, the page segment (the page segment includes the structure codes of all the page components of the second page, and the structure codes include the page component identifier of each page component, the structure of the page component, and the like) can be obtained according to the page segment identifier, and the page segment of the second page is loaded without loading some public resource files (the public resource files are public JS files and CSS files, for example) and invariable page structures, so that the data request amount is greatly reduced, the bandwidth and performance pressure on the server is reduced, and the loading speed of the page is greatly improved.
It should be noted that, if jumping between pages of the same type, only page segments of a new page need to be loaded, for example, the first page is a first episode of a television, the second page is a second episode of a television, and if jumping from the first page to the second page, only page segments of the second page need to be loaded.
Fig. 4 is a schematic structural diagram of a page generation apparatus according to an embodiment of the present invention, where the page generation apparatus provided in this embodiment is generally implemented in the form of software and/or hardware. Referring to fig. 4, a page generating apparatus 400 provided in an embodiment of the present invention may include: a sending module 401, a receiving module 402 and a generating module 403.
The sending module 401 is configured to send a first page access request to a server, where the first page access request includes attribute information of a first page to be accessed; the receiving module 402 is configured to receive a first HTML page source code file sent by a server, where the first HTML page source code file includes HTML component codes of a page component of a first page; the generating module 403 is configured to obtain an HTML component code from the first HTML page source code file, and perform first rendering on the page component according to the HTML component code of the page component to generate a first page.
The page generation device provided in this embodiment receives a first HTML page source code file sent by a server by sending a first page access request to the server, where the first HTML page source code file includes HTML component codes of a page component of a first page, acquires the HTML component codes from the first HTML page source code file, and performs first rendering on the page component according to the HTML component codes to generate a first page. Therefore, the problem that a search engine in the prior art is unfriendly is solved, the friendly search engine is provided, the search engine is convenient for a crawler to index the page, no blank is generated during page initialization, and the user experience is greatly improved.
Optionally, the first HTML page source code file further includes a CSS file address of the cascading style sheet of the first page;
the generating module 403 is specifically configured to parse the first HTML page source code file to obtain an HTML component code and a CSS file address of the page component; obtaining a private CSS file of the first page according to the CSS file address, and loading the CSS file; detecting whether loading of the CSS file is finished; and if the CSS file is detected to be completely loaded, rendering the page component for the first time according to the HTML component code of the page component and the CSS file to generate a first page.
Optionally, the source code file of the first HTML page further includes a JS file address of the first page; the generating module 403 is specifically configured to obtain a JS file address of the first page from the source code file of the first HTML page; obtaining a JS file private to the first page according to the JS file address of the first page, and loading the JS file private to the first page; the JS file loading device is used for detecting whether the JS file is loaded completely; and if the JS file loading is detected to be finished, rendering the first page for the second time.
Optionally, the first HTML page source code file further includes a page component identifier and a compiling mode identifier of the page component;
the generating module 403 is specifically configured to obtain a page component identifier and a compiling mode identifier of a page component from the first HTML page source code file; compiling HTML component codes of the page components and component codes included in the first page private JS file according to the compiling modes corresponding to the page component identifiers and the compiling mode identifiers to obtain virtual components; and replacing the page component by using the virtual component to perform second rendering on the generated first page, and generating the first page after the second rendering.
Optionally, the sending module 401 is further configured to send a page update request to the server, where the page update request includes attribute information of a second page to be accessed and a page fragment identifier of the second page; the receiving module 402 is further configured to receive a second HTML page source code file and a page fragment corresponding to the page fragment identifier, where the second HTML page source code file is obtained by the server in response to the page update request and according to attribute information of a second page, and the second HTML page source code file includes a JS file address and a CSS file address of the second page; the generating module 403 is further configured to obtain a JS file and a CSS file private to the second page according to the JS file address and the CSS file address of the second page; loading a page segment corresponding to the page segment identifier, a JS file and a CSS file which are private to the second page; detecting whether the page fragments, the JS file and the CSS file which are private to the second page are loaded completely; if the page segment, the JS file and the CSS file which are private to the second page are detected to be completely loaded, compiling the page segment to obtain a virtual component; and replacing the page component of the first page with the virtual component to render the second page.
Fig. 5 is a schematic structural diagram of another page generation apparatus provided in an embodiment of the present invention, and the page generation apparatus provided in this embodiment is generally implemented in the form of software and/or hardware. Referring to fig. 5, a page generating apparatus 500 provided in an embodiment of the present invention may include: a receiving module 501, an obtaining module 502 and a sending module 503.
The receiving module 501 is configured to receive a first page access request sent by a client, where the first page access request includes attribute information of a first page to be accessed; the obtaining module 502 is configured to, in response to the first page access request, obtain a first HTML page source code file according to attribute information of the first page; the sending module 503 is configured to send the first HTML page source code file to the client.
The page generation device provided by this embodiment receives a first page access request sent by a client, where the first page access request includes attribute information of a first page to be accessed, responds to the first page access request, obtains a first HTML page source code file according to the attribute information of the first page, and sends the first HTML page source code file to the client, so that the client can render a page component for the first time according to an HTML component code of the page component of the first page included in the first HTML page source code file, and generate the first page. Therefore, the problem that a search engine in the prior art is unfriendly is solved, the friendly search engine is provided, the search engine is convenient for a crawler to index the page, no blank is generated during page initialization, and the user experience is greatly improved.
Optionally, the receiving module 501 is further configured to receive a page template of a first page created by a user and a page component created on the page template; saving a page component identifier inserted in an original code of a page component by a user and a compiling mode identifier for compiling the page component; and compiling the original code of the page component to generate a first HTML page source code file, and storing the first HTML page source code file.
Optionally, the receiving module 501 is further configured to receive a page update request sent by the client, where the page update request includes attribute information of a second page to be accessed and a page fragment identifier of the second page;
the obtaining module 502 is further configured to, in response to the page update request, obtain a second HTML page source code file according to the attribute information of the second page, where the second HTML page source code file includes a JS file address and a CSS file address of the second page;
the sending module 503 is further configured to send the second HTML page source code file to the client.
In addition, an embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned page generation method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned page generation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The page generation methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the page generation method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (14)

1. A page generation method is characterized by being applied to a system comprising a client and a server; the method comprises the following steps:
the client sends a first page access request to the server, wherein the first page access request comprises attribute information of a first page to be accessed;
the server side responds to the first page access request, and obtains a first hypertext markup language (HTML) page source code file according to attribute information of the first page, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
the server side sends the first HTML page source code file to the client side;
the client receives the first HTML page source code file sent by the server;
and the client acquires the HTML component codes from the first HTML page source code file, and renders the page component for the first time according to the HTML component codes to generate a first page.
2. A page generation method is executed on a client side and comprises the following steps:
sending a first page access request to a server, wherein the first page access request comprises attribute information of a first page to be accessed;
receiving a first hypertext markup language (HTML) page source code file sent by the server, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
and acquiring the HTML component code from the first HTML page source code file, and rendering the page component for the first time according to the HTML component code to generate a first page.
3. The method of claim 2, wherein the first HTML page source code file further includes a Cascading Style Sheet (CSS) file address of the first page;
the rendering the page component for the first time according to the HTML component code to generate a first page includes:
analyzing the first HTML page source code file to obtain HTML component codes of the page components and the CSS file address;
obtaining a private CSS file of the first page according to the CSS file address, and loading the CSS file;
detecting whether the loading of the CSS file is finished;
and if the CSS file is detected to be completely loaded, rendering the page component for the first time according to the HTML component code of the page component and the CSS file to generate the first page.
4. The method of claim 3, wherein the first HTML page source code file further comprises a JS file address of the first page; further comprising:
obtaining the JS file address of the first page from the source code file of the first HTML page;
obtaining the JS file private to the first page according to the JS file address of the first page, and loading the JS file private to the first page;
detecting whether the JS file is loaded completely;
and if the JS file loading is detected to be finished, performing second rendering on the generated first page.
5. The method of claim 4, wherein the first HTML page source code file further includes a page component identifier and a compilation mode identifier for the page component;
the rendering the generated first page for the second time comprises:
acquiring a page component identifier and a compiling mode identifier of the page component from the first HTML page source code file;
compiling HTML component codes of the page components and component codes included in the JS file private to the first page according to the compiling modes corresponding to the page component identifiers and the compiling mode identifiers to obtain virtual components;
and replacing the page component with the virtual component to render the generated first page for the second time, and generating the first page after the second rendering.
6. The method of claim 5, after the generating the second rendered first page, further comprising:
sending a page updating request to the server, wherein the page updating request comprises attribute information of a second page to be accessed and a page fragment identifier of the second page;
receiving a second HTML page source code file sent by the server and a page fragment corresponding to the page fragment identifier, wherein the second HTML page source code file is obtained by the server in response to the page updating request and according to attribute information of a second page, and comprises a JS file address and a CSS file address of the second page;
and obtaining the private JS file and the private CSS file of the second page according to the JS file address and the CSS file address of the second page.
7. The method of claim 6, further comprising, after the obtaining the JS file and the CSS file private to the second page:
loading a page segment corresponding to the page segment identifier, and a JS file and a CSS file which are private to the second page;
detecting whether the page segment, the JS file and the CSS file which are private to the second page are loaded completely;
if the page segment, the JS file and the CSS file which are private to the second page are detected to be completely loaded, compiling the page segment to obtain a virtual component;
replacing the page component of the first page with the virtual component to render the second page.
8. A page generation method is executed on a server side and comprises the following steps:
receiving a first page access request sent by a client, wherein the first page access request comprises attribute information of a first page to be accessed;
responding to the first page access request, and obtaining a first hypertext markup language (HTML) page source code file according to the attribute information of the first page, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
and sending the first HTML page source code file to the client so that the client acquires the HTML component codes from the first HTML page source code file, and rendering the page component for the first time according to the HTML component codes so as to generate a first page.
9. The method according to claim 8, further comprising, before the receiving the first page access request sent by the client:
receiving a page template of the first page created by a user and a page component created on the page template;
saving a page component identifier inserted in an original code of the page component by the user and a compiling mode identifier for compiling the page component;
and compiling the original code of the page component to generate a first HTML page source code file, and storing the first HTML page source code file.
10. The method of claim 8 or 9, further comprising:
receiving a page updating request sent by the client, wherein the page updating request comprises attribute information of a second page to be accessed and a page fragment identifier of the second page;
responding to the page updating request, and obtaining a second HTML page source code file according to the attribute information of the second page, wherein the second HTML page source code file comprises a JS file address and a CSS file address of the second page;
and sending the second HTML page source code file to the client.
11. A page generation system, comprising:
the client is used for sending a first page access request to the server, wherein the first page access request comprises attribute information of a first page to be accessed;
the server is used for responding to the first page access request and obtaining a first hypertext markup language (HTML) page source code file according to the attribute information of the first page, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
the server is further used for sending the first HTML page source code file to the client;
the client is used for receiving the first HTML page source code file sent by the server;
the client is further configured to obtain the HTML component code from the first HTML page source code file, and perform first rendering on the page component according to the HTML component code of the page component, so as to generate a first page.
12. The page generation device is arranged at a client and comprises:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a first page access request to a server, and the first page access request comprises attribute information of a first page to be accessed;
the receiving module is used for receiving a first hypertext markup language (HTML) page source code file sent by the server, wherein the first HTML page source code file comprises HTML component codes of a page component of the first page;
and the generating module is used for acquiring the HTML component codes from the first HTML page source code file and rendering the page component for the first time according to the HTML component codes of the page component so as to generate a first page.
13. The page generation device is characterized by being arranged at a server and comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a first page access request sent by a client, and the first page access request comprises attribute information of a first page to be accessed;
an obtaining module, configured to respond to the first page access request, and obtain a first HTML page source code file according to attribute information of the first page, where the first HTML page source code file includes HTML component codes of a page component of the first page;
and the sending module is used for sending the first HTML page source code file to the client so that the client acquires the HTML component codes from the first HTML page source code file and renders the page component for the first time according to the HTML component codes to generate a first page.
14. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the page generation method of any one of claims 1 to 7.
CN201910551413.1A 2019-06-24 2019-06-24 Page generation method, system, device and computer readable storage medium Active CN110442815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910551413.1A CN110442815B (en) 2019-06-24 2019-06-24 Page generation method, system, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910551413.1A CN110442815B (en) 2019-06-24 2019-06-24 Page generation method, system, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110442815A CN110442815A (en) 2019-11-12
CN110442815B true CN110442815B (en) 2022-04-01

Family

ID=68428229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910551413.1A Active CN110442815B (en) 2019-06-24 2019-06-24 Page generation method, system, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110442815B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294395A (en) * 2020-01-20 2020-06-16 广东金赋科技股份有限公司 Terminal page transmission method, device, medium and electronic equipment
CN111783006A (en) * 2020-07-22 2020-10-16 网易(杭州)网络有限公司 Page generation method and device, electronic equipment and computer readable medium
CN111783017A (en) * 2020-07-23 2020-10-16 北京斗米优聘科技发展有限公司 H5 page construction method and device, electronic equipment and computer readable storage medium thereof
CN112115337B (en) * 2020-09-09 2023-12-29 北京奇艺世纪科技有限公司 Method and device for displaying data, electronic equipment and computer readable storage medium
CN113761412A (en) * 2020-09-17 2021-12-07 北京沃东天骏信息技术有限公司 Application page display method and device, electronic equipment, medium and application system
CN113076501A (en) * 2021-04-21 2021-07-06 广州虎牙科技有限公司 Page processing method, storage medium and equipment
CN116304458B (en) * 2023-02-27 2024-04-16 上海硬通网络科技有限公司 Method, device, equipment and medium for web page real-time notification update

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526942A (en) * 2008-03-05 2009-09-09 徐邦勇 Component implementation technology for automatically generating dynamic web page on line in real time
CN102185923A (en) * 2011-05-16 2011-09-14 广州市动景计算机科技有限公司 Webpage browsing method for mobile communication equipment terminal
CN102982113A (en) * 2012-11-08 2013-03-20 山东大学 Page loading method for browser based on content grouping of Android system
CN104933078A (en) * 2014-03-20 2015-09-23 中标软件有限公司 Web application page rendering optimization
CN106126693A (en) * 2016-06-29 2016-11-16 微梦创科网络科技(中国)有限公司 The sending method of the related data of a kind of webpage and device
CN107678820A (en) * 2017-09-29 2018-02-09 北京金山安全软件有限公司 Webpage processing method, device, server, terminal equipment and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202096A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 Customer terminal webpage rendering intent and device
CN106547534B (en) * 2016-09-19 2020-04-14 华为技术有限公司 Device and method for displaying page expansion point
CN106933640B (en) * 2017-04-26 2020-12-25 携程旅游网络技术(上海)有限公司 Method and system for loading Web page in browser of mobile terminal
CN109086114A (en) * 2018-07-26 2018-12-25 郑州云海信息技术有限公司 A kind of method, apparatus and terminal generating web front-end interactive interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526942A (en) * 2008-03-05 2009-09-09 徐邦勇 Component implementation technology for automatically generating dynamic web page on line in real time
CN102185923A (en) * 2011-05-16 2011-09-14 广州市动景计算机科技有限公司 Webpage browsing method for mobile communication equipment terminal
CN102982113A (en) * 2012-11-08 2013-03-20 山东大学 Page loading method for browser based on content grouping of Android system
CN104933078A (en) * 2014-03-20 2015-09-23 中标软件有限公司 Web application page rendering optimization
CN106126693A (en) * 2016-06-29 2016-11-16 微梦创科网络科技(中国)有限公司 The sending method of the related data of a kind of webpage and device
CN107678820A (en) * 2017-09-29 2018-02-09 北京金山安全软件有限公司 Webpage processing method, device, server, terminal equipment and medium

Also Published As

Publication number Publication date
CN110442815A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN110442815B (en) Page generation method, system, device and computer readable storage medium
US9773069B2 (en) Pre-fetching of network page content in a browser application
US20190340205A1 (en) Reducing redirects
CN110442811A (en) A kind of processing method of the page, device, computer equipment and storage medium
US9471701B2 (en) Methods and systems for secure in-network insertion of web content and web services
JP2019032883A (en) Method, apparatus, server and system for implementing web application
CN107807937B (en) Website SEO processing method, device and system
CN106126693B (en) Method and device for sending related data of webpage
US8516041B1 (en) Pre-fetching asynchronously requested content
US8682964B1 (en) Progressively loading network content
CN107040584B (en) Method and device for downloading picture by client
US9865008B2 (en) Determining a configuration of a content item display environment
CN110020329B (en) Method, device and system for generating webpage
US10158691B2 (en) Method and apparatus for providing network resources at intermediary server
CN106033361A (en) Method and device for showing application page, and method and device for updating application page data
CN112637361B (en) Page proxy method, device, electronic equipment and storage medium
US8959426B1 (en) Loading customer-supplied network page generation code
CN103577526A (en) Method and system as well as browser for verifying page modification
CN104881452B (en) Resource address sniffing method, device and system
US11477158B2 (en) Method and apparatus for advertisement anti-blocking
CN111259283A (en) Page resource preloading processing method and device, electronic device and storage device
RU2640635C2 (en) Method, system and server for transmitting personalized message to user electronic device
CN111880789A (en) Page rendering method, device, server and computer-readable storage medium
CN106649792B (en) Page access method and device
CN113297515A (en) Resource information processing method and device, computer storage medium and electronic equipment

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