CN110442815A - 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
CN110442815A
CN110442815A CN201910551413.1A CN201910551413A CN110442815A CN 110442815 A CN110442815 A CN 110442815A CN 201910551413 A CN201910551413 A CN 201910551413A CN 110442815 A CN110442815 A CN 110442815A
Authority
CN
China
Prior art keywords
page
file
html
assembly
sound 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.)
Granted
Application number
CN201910551413.1A
Other languages
Chinese (zh)
Other versions
CN110442815B (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

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 kind of page generation method, system, device and computer readable storage mediums.Page generation method of the present invention, including sending first page access request to server-side, receive the first html page sound code file that server-side is sent, first html page sound code file includes the HTML component code of the page assembly of first page, the HTML component code of page assembly is obtained from the first html page sound code file, and according to HTML component code, first time rendering is carried out to page assembly, generates first page.Without blank when to solve the problems, such as that search engine is disagreeableness in the prior art, providing friendly search engine, facilitate the search for engine crawler index pages, and realizing page initialization, user experience is greatly improved.

Description

Page generation method, system, device and computer readable storage medium
Technical field
The present invention relates to field of computer technology, more particularly to page generation method, system, device and computer-readable Storage medium.
Background technique
With the continuous development and progress of computer technology and Internet technology, all kinds of websites be life bring pole Big convenience.The medium that the page is interacted as user and website, the quality of the page directly affect the usage experience of user, because The generation of this page is the important component of Website development.
Currently, the scheme that the page of a large amount of websites generates use is as follows: client is obtained from server-side contains JS (JS text Part is the extension name of JavaScript language file) file address and cascading style sheets (Cascading Style Sheets, letter Claim CSS) file address Hypertext Markup Language (HyperText Markup Language, abbreviation HTML) file, according to Html file obtains JS file and CSS file, and loads JS file and CSS file, waits JS file and CSS file to load and completes Afterwards, the HTML component code in JS file is compiled, obtains virtual component, and then generate the page.
After the completion of due to currently used scheme needing that JS file and CSS file is waited to load, subsequent step could be executed The page is generated, since JS file and the load of CSS file need several seconds, delay can just show rendering page after several seconds Face, during loading JS file and CSS file, it may appear that blank page.
Summary of the invention
The embodiment of the present invention provides a kind of page generation method, system, device and computer readable storage medium, to solve During loading JS file and CSS file in the prior art, it may appear that the problem of blank page.
The first aspect of the present invention provides a kind of page generation method, applied to including that client and server-side are System;Include:
The client to the server-side send first page access request, the first page access request include to The attribute information of the first page of access;
The server-side is obtained in response to the first page access request according to the attribute information of the first page First Hypertext Markup Language html page sound code file, the first html page sound code file include the first page The HTML component code of page assembly;
The server-side sends the first html page sound code file to the client;
The client receives the first html page sound code file that the server-side is sent;
The client obtains the HTML component code from the first html page sound code file, and according to described HTML component code carries out first time rendering to the page assembly, to generate first page.
The second aspect of the present invention provides a kind of page generation method, is implemented in client, comprising:
First page access request is sent to server-side, the first page access request includes first page to be visited Attribute information;
Receive the first Hypertext Markup Language html page sound code file that the server-side is sent, first HTML page Face sound code file includes the HTML component code of the page assembly of the first page;
The HTML component code is obtained from the first html page sound code file, and according to the HTML component generation Code carries out first time rendering to the page assembly, to generate first page.
Optionally, the first html page sound code file further includes the cascading style sheets CSS file of the first page Address;
It is described that first time rendering is carried out to the page assembly according to the HTML component code, to generate first page, Include:
The first html page sound code file is parsed, to obtain the HTML component code of the page assembly and described The file address CSS;
According to the file address CSS, the privately owned CSS file of the first page is obtained, and loads the CSS file;
Detect the CSS file whether loaded;
If detecting the CSS file loaded, according to the HTML component code and the CSS of the page assembly File carries out first time rendering to the page assembly, to generate the first page.
Optionally, the first html page sound code file further includes the file address JS of the first page;Further include:
The file address JS of the first page is obtained from the first html page sound code file;
The privately owned JS file of the first page is obtained according to the file address JS of the first page, and loads described The privately owned JS file of one page;
Detect the JS file whether loaded;
If detecting the JS file loaded, second is carried out to the first page of generation and is rendered.
Optionally, the first html page sound code file further includes the page assembly mark and compiling of the page assembly Mode identifies;
The first page of described pair of generation carries out second and renders, comprising:
The page assembly mark and compiling mode of the page assembly are obtained from the first html page sound code file Mark;
Corresponding compiling mode is identified according to mode is identified and compiled with the page assembly, to the page assembly The component code for including in HTML component code and the privately owned JS file of the first page is compiled, and obtains virtual component;
The page assembly is replaced using the virtual component, to carry out second of wash with watercolours to the first page of generation Dye generates the first page after rendering second.
Optionally, after the first page after being rendered at second of the generation, further includes:
Renewal of the page request is sent to the server-side, the renewal of the page request includes the category of second page to be visited Property information and the second page page fragments mark;
Receive the second html page sound code file and page corresponding with page fragments mark that the server-side is sent Dough sheet section, the second html page sound code file is that the server-side is requested in response to the renewal of the page, according to described the What the attribute informations of two pages obtained, the second html page sound code file include the second page the file address JS and The file address CSS;
According to the file address JS and the file address CSS of the second page, the privately owned JS text of the second page is obtained Part and CSS file.
Optionally, after the acquisition second page privately owned JS file and CSS file, further includes:
Load identifies the privately owned JS file of corresponding page fragments, the second page and CSS text with the page fragments Part;
Detect the privately owned JS file of the page fragments, the second page and CSS file whether loaded;
If the privately owned JS file of the page fragments, the second page and CSS file loaded are detected, to institute It states page fragments and executes compiling, to obtain virtual component;
The page assembly of the first page is replaced, using the virtual component to render the second page.
The third aspect of the present invention provides a kind of page generation method, is implemented in server-side, comprising:
The first page access request that client is sent is received, the first page access request includes to be visited first The attribute information of the page;
The first hypertext is obtained according to the attribute information of the first page in response to the first page access request Identifiable language's html page sound code file;
The first html page sound code file is sent to the client.
Optionally, before the first page access request that the reception client is sent, further includes:
The page group for receiving the Page Template of the first page of user's creation and being created on the Page Template Part;
The page assembly that the user is inserted into the source code of the page assembly is saved to identify and to the page The compiling mode that component is compiled identifies;
The source code of the page assembly is compiled and generates the first html page sound code file, and saves described the One html page sound code file.
Optionally, further includes:
The renewal of the page request that the client is sent is received, the renewal of the page request includes second page to be visited Attribute information and the second page page fragments mark;
It is requested in response to the renewal of the page, the second html page source code is obtained according to the attribute information of the second page File, the second html page sound code file include the file address JS and the file address CSS of the second page;
The second html page sound code file is sent to the client.
The fourth aspect of the present invention provides a kind of page generation system, comprising:
Client, for sending first page access request to server-side, the first page access request includes wait visit The attribute information for the first page asked;
The server-side, in response to the first page access request, according to the attribute information of the first page, The first Hypertext Markup Language html page sound code file is obtained, the first html page sound code file includes the first page The HTML component code of the page assembly in face;
The server-side is also used to send the first html page sound code file to the client;
The client, the first html page sound code file sent for receiving the server-side;
The client is also used to obtain the HTML component code, and root from the first html page sound code file According to the HTML component code of the page assembly, first time rendering is carried out to the page assembly, to generate first page.
The fifth aspect of the present invention provides a kind of webpage generating device, is set to client, comprising:
Sending module, for server-side send first page access request, the first page access request include to The attribute information of the first page of access;
Receiving module, the first Hypertext Markup Language html page sound code file sent for receiving the server-side, The first html page sound code file includes the HTML component code of the page assembly of the first page;
First generation module, for obtaining the HTML component code, and root from the first html page sound code file According to the HTML component code of the page assembly, first time rendering is carried out to the page assembly, to generate first page.
Optionally, the first html page sound code file further includes the cascading style sheets CSS file of the first page Address;
First generation module is specifically used for parsing the first html page sound code file, to obtain the page The HTML component code of component and the file address CSS;According to the file address CSS, it is privately owned to obtain the first page CSS file, and load the CSS file;Detect the CSS file whether loaded;If detecting, the CSS file adds Load finishes, then according to the HTML component code of the page assembly and the CSS file, carries out for the first time to the page assembly Rendering, to generate first page.
Optionally, the first html page sound code file further includes the file address JS of the first page;Further include:
Module is obtained, for obtaining from the first html page sound code file the JS file of the first page Location;
Loading module obtains the privately owned JS text of the first page for the file address JS according to the first page Part, and load the privately owned JS file of the first page;
Detection module, for detect the JS file whether loaded;
Second generation module, if carrying out the to the first page of generation for detecting the JS file loaded Secondary rendering, to generate the first page after rendering second.
Optionally, the first html page sound code file further includes the page assembly mark and compiling of the page assembly Mode identifies;
Second generation module, specifically for obtaining the page assembly from the first html page sound code file Page assembly mark and compiling mode identify;Corresponding compiling side is identified according to mode is identified and compiled with the page assembly Formula, the component code for including in the privately owned JS file of HTML component code and the first page to the page assembly carry out Compiling obtains virtual component;The page assembly is replaced using the virtual component, to carry out to the first page of the generation Second of rendering generates the first page after rendering second.
Optionally, the sending module is also used to send renewal of the page request to the server-side, and the renewal of the page is asked The attribute information including second page to be visited and the page fragments of the second page is asked to identify;
The receiving module, be also used to receive the second html page sound code file that the server-side is sent and with the page The corresponding page fragments of dough sheet segment identification, the second html page sound code file be the server-side in response to the page more New request, obtains, the second html page sound code file includes described second according to the attribute information of the second page The file address JS and the file address CSS of the page;
The acquisition module, is also used to the file address JS and the file address CSS according to the second page, described in acquisition Second page privately owned JS file and CSS file;
The loading module is also used to load page fragments corresponding with page fragments mark, the second page Privately owned JS file and CSS file;
The detection module is also used to detect the page fragments, the second page privately owned JS file and CSS file Whether loaded;If detecting the privately owned JS file of the page fragments, the second page and CSS file loaded, Compiling then is executed to the page fragments, to obtain virtual component;The page of the first page is replaced using the virtual component Face component, to render the second page.
The sixth aspect of the present invention provides a kind of webpage generating device, is set to server-side, comprising:
First receiving module, for receiving the first page access request of client transmission, the first page access is asked Seek the attribute information including first page to be visited;
Module is obtained, for obtaining in response to the first page access request according to the attribute information of the first page Obtain the first Hypertext Markup Language html page sound code file;
Sending module, for sending the first html page sound code file to the client.
Optionally, further includes:
Second receiving module, for receiving the Page Template of the first page of user's creation and in the page The page assembly created in template;
Preserving module, the page assembly mark being inserted into the source code of the page assembly for saving the user It is identified with the compiling mode being compiled to the page assembly;
The preserving module is also used to be compiled the source code of the page assembly the first html page source that generates Code file, and save the first html page sound code file.
Optionally, first receiving module is also used to receive the renewal of the page request that the client is sent, the page Face updates the page fragments mark of the attribute information that request includes second page to be visited and the second page;
The acquisition module is also used to request in response to the renewal of the page, according to the attribute information of the second page The second html page sound code file is obtained, the second html page sound code file includes the file address JS of the second page With the file address CSS;
The sending module is also used to send the second html page sound code file to the client.
The seventh aspect of the present invention provides a kind of computer readable storage medium, the computer readable storage medium Upper storage computer program, the computer program realize page generation method as described above when being executed by processor.
For first technology, the present invention has following advantage:
Page generation method provided in an embodiment of the present invention is received by sending first page access request to server-side The first html page sound code file that server-side is sent, the first html page sound code file includes the page assembly of first page HTML component code obtains the HTML component code from the first html page sound code file, and according to HTML component generation Code carries out first time rendering to page assembly, generates first page.It does not need to be packet such as HTML component code in the prior art It is contained in JS file, needs to wait JS file and CSS file loaded that could be compiled HTML component code, Jin Ersheng At the page, client can directly obtain HTML component code in the embodiment of the present invention, and then compile to HTML component code It translates, to solve the problems, such as to will appear blank page in the prior art.Also, since server-side can directly be sent out to client It send and contains the html page sound code file of the HTML component code of page assembly, therefore facilitate the search for the analysis of engine crawler and include HTML component code, solves in the prior art that server-side cannot directly export HTML component code, leads to searching for browser Index, which holds up crawler, can not analyze HTML component code, the disagreeableness problem of search engine.Page generation side provided in this embodiment Method provides friendly search engine, facilitates the search for engine crawler index pages.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of page generation method provided by the embodiment of the present invention;
Fig. 2 is a kind of system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another kind page generation method provided by the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of webpage generating device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another webpage generating device provided in an embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It should be appreciated that described herein, specific examples are only used to explain the present invention, and only present invention a part is real Example is applied, instead of all the embodiments, is not intended to limit the present invention.
In the prior art, client is obtained from server-side contains the html file of the file address JS and the file address CSS, According in html file the file address JS and the file address CSS JS file and CSS file are obtained from resource file server (the JS file write and CSS file can be uploaded to resource file server by developer), and load JS file and CSS text Part is compiled the HTML component code in JS file after the completion of waiting JS file and CSS file to load, and obtains virtual component, Then virtual component is inserted into and obtains new component in html file, client carries out rendering to new component and obtains rendering page Face.
It should be noted that JS file is the extension name of JavaScript language file, JavaScript is a kind of literal translation Formula scripting language, JavaScript have been widely used for Web application and development, are commonly used to add miscellaneous dynamic for webpage Function provides the result of browse of more smooth beauty for user.CSS provides a kind of pattern description, CSS text for HTML identifiable language Part is the text file for loading CSS code, CSS not only can statically modified web page, various script languages can also be cooperated Speech is dynamically formatted webpage each element.
Since the HTML component code in currently used scheme is included in JS file, do not include in html file HTML component code only includes the file address JS and the file address CSS, and therefore, it is necessary to wait JS file and CSS file to load Cheng Hou could be compiled the HTML component code in JS file, continue to execute subsequent step and generate the page, due to JS file Need several seconds with the load of CSS file, therefore, delay can just show the rendering page after several seconds, namely load JS file and During CSS file, it may appear that blank page reduces user experience.And since what client cannot be provided from server-side surpasses The HTML component of page assembly is obtained in Text Flag language (HyperText Markup Language, abbreviation HTML) file Code, cause client search engine crawler can not index pages the problem of, namely server-side is not direct in the prior art It include the html page sound code file of HTML component code to client output, the search engine crawler for causing browser can not Analyze html page sound code file, thus can not index pages the problem of.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of page generation method, is applied to include client The system at end and server-side;Client sends first page access request to server-side, and first page access request includes wait visit The attribute information for the first page asked;Server-side is obtained in response to first page access request according to the attribute information of first page The first Hypertext Markup Language html page sound code file is obtained, the first html page sound code file includes the page group of first page The HTML component code of part;Server-side sends the first html page sound code file to client;Client receives server-side and sends The first html page sound code file;Client from the first html page sound code file obtain HTML component code, and according to HTML component code carries out first time rendering to page assembly, to generate first page.
Client can be browser, on the terminal devices such as desktop computer, tablet computer, laptop, smart phone It can be disposed on the server with deploying client, server-side.
Client can parse the first html page sound code file, the HTML component code of page assembly be obtained, according to page The HTML component code of face component carries out first time rendering to page assembly, to generate first page.It should be noted that raw At first page be static page.
Page generation method provided in this embodiment withouts waiting for JS file and CSS file loaded, it can right Page assembly carries out first time rendering, generates first page, therefore solve the problems, such as to will appear blank page in the prior art, To improve user experience.Also, since server-side directly can contain the HTML group of page assembly to client transmission The html page sound code file of part code, therefore the crawler analysis for facilitating the search for engine contains HTML component code, solves Server-side cannot directly export HTML component code in the prior art, cause the crawler of the search engine of browser that can not analyze HTML component code, the disagreeableness problem of search engine.Page generation method provided in this embodiment provides friendly search Engine facilitates the search for engine crawler index pages.
Fig. 1 is a kind of flow chart of page generation method provided by the embodiment of the present invention, and the method for the present embodiment is applicable in Html page sound code file, and the page for the first page for including to page sound code file can be obtained from server-side in client The case where component carries out the first rendering, generates first page, method provided in this embodiment can be implemented in client, client It can be browser, client can be set on the terminal devices such as computer, tablet computer, mobile phone.The method of the present embodiment Include the following steps:
S101, first page access request is sent to server-side, first page access request includes first page to be visited The attribute information in face.
Wherein, first page access request can be a uniform resource locator (Universal Resource Locator, abbreviation URL) namely web page address.The attribute information of first page for example including agreement based on first page, Domain name, path and filename.Such as first page access request ishttp://www.iqiyi.com/v_ 19rslq5c84.html vfrm=pcw_home&vfrmblk=B&vfrmrst=fcs_0_p11;Based on first page Agreement is hypertext transfer protocol (HTTP, HyperText Transfer Protocol), domain name (iqiyi.com), path (path sections include the path definition of hierarchical organization, are separated in general between different piece with oblique line (/), are used to indicate The storage address of html page sound code file), filename (v_19rslq5c84.html) etc., filename is used to indicate HTML page Face sound code file.
S102, the first Hypertext Markup Language html page sound code file that server-side is sent, the first html page are received Sound code file includes the HTML component code of the page assembly of first page.
Server-side preserves the first html page sound code file corresponding with the attribute information of first page, and server-side can be with The first html page sound code file is acquired according to the attribute information of first page, and sends the first html page source to client Code file.In the page mould when first html page sound code file includes html page source code and developer's exploitation first page The page assembly created on plate, wherein the number of the page assembly of creation can be one or more.
It should be noted that Fig. 2 is a kind of system architecture diagram provided in an embodiment of the present invention referring to Fig. 2.First HTML page Face sound code file is that (Web container is a kind of service routine, is mentioned in page assembly therein by the Web container of server-side For environment, make page assembly directly with the environmental variance interaction in Web container) source code to the page assembly of first page It is generated after being compiled, the corresponding HTML component code for generating the page assembly of the source code of page assembly, page assembly Source code can be write by Java script language or the language such as C++ are write, the embodiment of the present invention is to page assembly The language of writing of source code be not limited.The the first html page sound code file generated can be stored in server-side 201 In the server disposed, or by server-side 201 first html page sound code file is pushed to content distributing network (Content Delivery Network, abbreviation CDN), the CDN cache server 203 in the accessible CDN of client 202, To obtain the first html page sound code file.The basic principle of CDN is that various CDN cache servers are widely used, by these CDN Cache server is distributed to user and accesses in area or the network of Relatively centralized, when user accesses website, is loaded using the overall situation The access of client is directed toward on the nearest CDN cache server working properly of distance by technology, direct by CDN cache server The access request at customer in response end makes user that can obtain required content nearby, solves the crowded situation of Internet network, improves The response speed of user's access website.Wherein, in embodiments of the present invention, if being deployed with CDN cache server 203, visitor Family end 202 needs to be passed through first page access request by CDN cache server 203 when first time accessing first page Server-side 201 is obtained the first html page sound code file by server-side 201 and is sent to the first html page sound code file CDN cache server 203, then the first html page sound code file, CDN are provided from CDN cache server 203 to client 202 Cache server 203 saves the first html page sound code file, when client 202 accesses first page again, client simultaneously End 202 directly can send first page access request to the CDN cache server 203, and from the CDN cache server 203 Obtain the first html page sound code file.When not having to dispose CDN server 203, client 203 can be such as dotted line institute in Fig. 2 Show and directly send first page access request to server-side 201, and receives the first Hypertext Markup Language of the transmission of server-side 201 Html page sound code file.
S103, HTML component code is obtained from the first html page sound code file, and according to the HTML component of page assembly Code carries out first time rendering to page assembly, to generate first page.
Client can parse the first html page sound code file, the HTML component code of page assembly be obtained, according to page The HTML component code of face component carries out first time rendering to page assembly, to generate first page.
First time rendering can be carried out at least one page assembly by Web container, page assembly is carried out for the first time First page is generated after rendering.
It should be noted that from directly being wrapped in this present embodiment from server-side into the html source code file of client output The HTML component code of page assembly is included, therefore is solved in the prior art since server-side does not export HTML component code, Cause client (browser) search engine can not index pages the problem of, realize search engine optimization, facilitate the search for drawing Hold up crawler index pages.
Page generation method provided in this embodiment receives service by sending first page access request to server-side The the first html page sound code file sent is held, the first html page sound code file includes the HTML of the page assembly of first page Component code obtains HTML component code from the first html page sound code file, and according to the HTML component code of page assembly, First time rendering is carried out to page assembly, generates first page.To solve, search engine in the prior art is disagreeableness to be asked Topic provides friendly search engine, facilitates the search for engine crawler index pages, and without blank when realizing page initialization, Greatly improve user experience.
Fig. 3 is the flow chart of another kind page generation method provided by the embodiment of the present invention, as shown in figure 3, this method May include:
The page that S301, server-side receive the Page Template of the first page of user's creation and create on Page Template Face component.
Page assembly includes text, image data etc. for showing.User (namely developer) can be in development platform The Page Template of upper creation first page, development platform can be opened for language such as JavaScript language development platform or C++ Send out platform.
S302, server-side save the page assembly mark that user is inserted into the source code of page assembly and to page groups The compiling mode that part is compiled identifies.
Developer, can be using the original generation of JavaScript language exploitation page assembly for the page assembly of creation Code, the source code of first page includes the source code of page assembly.When developing source code, in the original of page assembly It is inserted into page assembly mark in code and the compiling mode that page assembly is compiled is identified.Page assembly mark is used for the page The identity of component, compiling mode are identified for identifying the compiling mode to page assembly.
It should be noted that due to page assembly can be multiple, the corresponding page assembly of each page assembly Mark and a compiling mode identify.
S303, server-side, which are compiled the source code of page assembly, generates the first html page sound code file, and protects Deposit the first html page sound code file.
Since server-side saves the page assembly mark that developer is inserted into the corresponding source code of page assembly It identifies with the compiling mode being compiled to each page assembly, the source code of page assembly is compiled by Web container It translates and generates the first html page sound code file, and save the source code of the first html page sound code file namely page assembly The HTML component code that the page assembly is generated after compiling, if there is multiple page assemblies, then the first html page sound code file HTML code including multiple page assemblies.Wherein, the first html page sound code file can be stored in what server-side was disposed In server, or by server-side the first html page sound code file is pushed to CDN, the caching clothes being stored in CDN network It is engaged in device.
304, client sends first page access request to server-side, and first page access request includes to be visited the The attribute information of one page.
Correspondingly, server-side receives the first page access request that client is sent.
S305, server-side obtain the first HTML according to the attribute information of first page in response to first page access request Page sound code file.
Attribute information and the html page source of the page of developer's exploitation are preserved in the server that server-side is disposed The corresponding relationship of code file, therefore, the first page that server-side can include in first page access request based on the received Attribute information acquires the first html page sound code file, and sends the first html page sound code file to client.
S306, server-side send the first html page sound code file to client.
Correspondingly, client receives the first html page sound code file that server-side is sent,
S307, client obtain HTML component code from the first html page sound code file, and according to HTML component code, First time rendering is carried out to page assembly, to generate first page.
Wherein, the first html page sound code file can also include the file address CSS of first page.
In the case that the first html page sound code file includes the file address CSS of first page, according to page assembly HTML component code, to page assembly carry out first time rendering, can be achieved by the steps of with generating first page:
The first html page sound code file is parsed, to obtain HTML component code and the file address CSS of page assembly;Root According to the file address CSS, the privately owned CSS file of first page is obtained, and loads CSS file;Whether detection CSS file has loaded Finish;If detecting CSS file loaded, according to the HTML component code and CSS file of page assembly, to page assembly into Row renders for the first time, to generate first page.
It should be noted that carrying out first time rendering to page assembly, the privately owned CSS file of first page can not depended on Whether loaded, it can first time rendering is carried out to page assembly, mistake can occur for the pattern of the first page simply generated Disorderly.Due to CSS file not only can statically modified web page, can also cooperate various scripting languages dynamically to webpage each element Be formatted, therefore, in the case where detecting CSS file loaded, according to the HTML component code of page assembly and CSS file carries out first time rendering to page assembly, the first page generated can be made relatively beautiful.
S308, client obtain the file address JS of first page from the first html page sound code file.
Wherein, the first html page sound code file can also include the file address JS of first page.When the first HTML page When face sound code file includes the file address JS of first page, client can be obtained by parsing the first html page sound code file Obtain the file address JS of first page.
S309, client obtain the privately owned JS file of first page according to the file address JS of first page, and load the The privately owned JS file of one page.
Since developer can be literary by the privately owned JS of the publicly-owned JS file write, publicly-owned CSS file, each page Part and CSS file upload to resource file server.Therefore, client, can be from money according to the file address JS of first page The privately owned JS file of first page is obtained in source server, and loads the privately owned JS file of first page.
S310, client detection JS file whether loaded.
If S311, client detect JS file loaded, second is carried out to the first page of generation and is rendered.
First html page sound code file can also include that the page assembly mark of page assembly and compiling mode identify, when The page assembly mark and compiling mode that first html page sound code file includes page assembly are when identifying, to the first page of generation Face, which carries out second of rendering, to be achieved by the steps of:
The page assembly mark and compiling mode that page assembly is obtained from the first html page sound code file identify;According to Mode is identified and compiled with page assembly and identifies corresponding compiling mode, to the HTML component code and first page of page assembly The component code for including in privately owned JS file is compiled, and obtains virtual component;Page assembly is replaced using virtual component, with Second is carried out to the first page of generation to render, and generates the first page after rendering second.
Due to passing through S301 to S303, the HTML component code for the page assembly for making the first html page sound code file include In include that the page assembly mark of page assembly and compiling mode identify, therefore can be obtained from the first html page sound code file The page assembly mark and compiling mode for obtaining page assembly identify.
It should be noted that since the component code for including in JS file mainly describes the logic content of component, in logic Hold including interactive operation and event etc., movement, the sliding etc. of interactive operation such as mouse, event such as logic judgment, for example sentences The size for the data content that disconnected screen size, judgement obtain (for example, when the data content obtained is greater than screen size, then needs Diminution or data intercept content), therefore, wrapped in the JS file privately owned to the HTML component code and first page of page assembly The component code included is compiled, and obtains virtual component, page assembly is replaced using virtual component, thus to the first page of generation Face carries out second and renders, and generates the first page after rendering, the first page mask after making second generated rendering second There is dynamic behaviour picture.
Optionally, the embodiment of the present invention can also include the following steps, be achieved by the steps of the different types of page Between jump.The type of the page is, for example, the types such as the homepage, channel page, broadcast page of iqiyi.com video website, if first The page is homepage, and second page is channel page (series channel page or movie channel page etc.).
To server-side send renewal of the page request, renewal of the page request include second page to be visited attribute information and The page fragments of second page identify;Receive server-side send the second html page sound code file and with page fragments mark pair The page fragments answered, the second html page sound code file is that server-side is requested in response to renewal of the page, according to the category of second page Property acquisition of information, the second html page sound code file includes the file address JS and the file address CSS of second page;According to The file address JS and the file address CSS of two pages obtain second page privately owned JS file and CSS file;Load and the page The corresponding page fragments of fragment identification, second page privately owned JS file and CSS file;It is private to detect page fragments, second page Some JS files and CSS file whether loaded;If detecting the privately owned JS file of page fragments, second page and CSS text Part loaded, then execute compiling to page fragments, to obtain virtual component;Using the page of virtual component replacement first page Component, to render second page.
It should be noted that the attribute information of second page is identical as the attribute information of first page, according to second page The file address JS and the file address CSS, obtain the privately owned JS file and CSS file of second page also with to obtain first page private Some JS files are identical with CSS file, and details are not described herein again.It, can be according to page when jumping to second page from first page Dough sheet segment identification obtains page fragments, and (page fragments include the structural code of all page assemblies of second page, structure generation Code includes the page assembly mark of each page assembly, structure of page assembly etc.), load the page fragments of second page, nothing Some public resource files (public resource file is, for example, publicly-owned JS file and CSS file) and constant page need to be loaded Face structure, substantially reduces data request amount, to mitigate bandwidth and performance pressures to server, also greatly improves the page Loading velocity.
It should be noted that if need to only load the page fragments of new page, example for jumping between the same type page If first page is the first collection TV play page, second page is the second collection TV play page, if jumped to from first page Second page need to only load the page fragments of second page.
Fig. 4 is a kind of structural schematic diagram of webpage generating device provided in an embodiment of the present invention, and it is raw that this implementation provides the page It is realized usually by way of software and/or hardware at device.Referring to Fig. 4, the page provided in an embodiment of the present invention generates dress Setting 400 may include: sending module 401, receiving module 402 and generation module 403.
Sending module 401 is used to send first page access request to server-side, and first page access request includes wait visit The attribute information for the first page asked;Receiving module 402 is used to receive the first Hypertext Markup Language HTML of server-side transmission Page sound code file, the first html page sound code file include the HTML component code of the page assembly of first page;Generate mould Block 403 is used to obtain HTML component code from the first html page sound code file, and according to the HTML component code of page assembly, First time rendering is carried out to page assembly, to generate first page.
Webpage generating device provided in this embodiment receives service by sending first page access request to server-side The the first html page sound code file sent is held, the first html page sound code file includes the HTML of the page assembly of first page Component code obtains HTML component code from the first html page sound code file, and according to HTML component code, to page assembly First time rendering is carried out, first page is generated.To solve the problems, such as that search engine is disagreeableness in the prior art, provides friend Good search engine, facilitates the search for engine crawler index pages, and realizes when the page initializes without blank, greatly improves User experience.
Optionally, the first html page sound code file further includes the file address cascading style sheets CSS of first page;
Generation module 403 is specifically used for the first html page sound code file of parsing, to obtain the HTML component of page assembly Code and the file address CSS;According to the file address CSS, the privately owned CSS file of first page is obtained, and loads CSS file;Inspection Survey CSS file whether loaded;If detecting CSS file loaded, according to the HTML component code of page assembly and CSS file carries out first time rendering to page assembly, to generate first page.
Optionally, the first html page sound code file further includes the file address JS of first page;Generation module 403 is specific For obtaining the file address JS of first page from the first html page sound code file;According to the file address JS of first page The privately owned JS file of first page is obtained, and loads the privately owned JS file of first page;For detecting whether JS file has loaded Finish;If detecting JS file loaded, second is carried out to first page and is rendered.
Optionally, the first html page sound code file further includes the page assembly mark and compiling mode mark of page assembly Know;
Generation module 403 is specifically used for obtaining the page assembly mark of page assembly from the first html page sound code file It is identified with compiling mode;Corresponding compiling mode is identified according to mode is identified and compiled with page assembly, to page assembly The component code for including in HTML component code and the privately owned JS file of first page is compiled, and obtains virtual component;It uses Virtual component replaces page assembly, is rendered with carrying out second to the first page of generation, generates first after rendering second The page.
Optionally, sending module 401 is also used to send renewal of the page request to server-side, and renewal of the page request includes wait visit The attribute information for the second page asked and the page fragments mark of second page;Receiving module 402 is also used to receive server-side hair The the second html page sound code file and page fragments corresponding with page fragments mark, the second html page sound code file sent be Server-side is requested in response to renewal of the page, is obtained according to the attribute information of second page, the second html page sound code file packet Include the file address JS and the file address CSS of second page;Generation module 403 is also used to the file address JS according to second page With the file address CSS, second page privately owned JS file and CSS file are obtained;Load the page corresponding with page fragments mark Segment, second page privately owned JS file and CSS file;Detect page fragments, second page privately owned JS file and CSS file Whether loaded;If the privately owned JS file of page fragments, second page and CSS file loaded are detected, to the page Segment executes compiling, to obtain virtual component;Using the page assembly of virtual component replacement first page, to render second page Face.
Fig. 5 is the structural schematic diagram of another webpage generating device provided in an embodiment of the present invention, this implementation provides the page Generating means are realized usually by way of software and/or hardware.Referring to Fig. 5, the page provided in an embodiment of the present invention is generated Device 500 may include: receiving module 501, obtain module 502 and sending module 503.
Receiving module 501 is used to receive the first page access request of client transmission, and first page access request includes The attribute information of first page to be visited;Module 502 is obtained to be used in response to first page access request, according to first page Attribute information, obtain the first Hypertext Markup Language html page sound code file;Sending module 503 is used to send to client First html page sound code file.
Webpage generating device provided in this embodiment, the first page access request sent by receiving client, first Accessing page request includes the attribute information of first page to be visited, in response to first page access request, according to first page The attribute information in face obtains the first Hypertext Markup Language html page sound code file, sends the first html page to client Sound code file, to enable the client to the page assembly for the first page for including according to the first html page sound code file HTML component code carries out first time rendering to page assembly, generates first page.Draw to solve search in the prior art Disagreeableness problem is held up, friendly search engine is provided, facilitates the search for engine crawler index pages, and realize that the page is initial Without blank when change, user experience is greatly improved.
Optionally, receiving module 501 are also used to receive the Page Template of the first page of user's creation and in the page The page assembly created in template;The page assembly that user is inserted into the source code of page assembly is saved to identify and to the page The compiling mode that component is compiled identifies;Generation the first html page source code text is compiled to the source code of page assembly Part, and save the first html page sound code file.
Optionally, receiving module 501 are also used to receive the renewal of the page request of client transmission, renewal of the page request packet Include the attribute information of second page to be visited and the page fragments mark of second page;
Module 502 is obtained, is also used to request in response to renewal of the page, obtains second according to the attribute information of second page Html page sound code file, the second html page sound code file include the file address JS and the file address CSS of second page;
Sending module 503 is also used to send the second html page sound code file to client.
In addition, the embodiment of the present invention also provides a kind of terminal, including processor, memory, storage is on a memory and can The computer program run in processing, the computer program realize above-mentioned page generation method embodiment when being executed by processor Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned page generation method embodiment when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, Ke Yiwei Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Provided herein page generation method not with any certain computer, virtual system or the intrinsic phase of other equipment It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects, In Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in page generation method according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (14)

1. a kind of page generation method, which is characterized in that applied to the system including client and server-side;Include:
The client sends first page access request to the server-side, and the first page access request includes to be visited First page attribute information;
The server-side obtains first according to the attribute information of the first page in response to the first page access request Hypertext Markup Language html page sound code file, the first html page sound code file include the page of the first page The HTML component code of component;
The server-side sends the first html page sound code file to the client;
The client receives the first html page sound code file that the server-side is sent;
The client obtains the HTML component code from the first html page sound code file, and according to the HTML group Part code carries out first time rendering to the page assembly, to generate first page.
2. a kind of page generation method, which is characterized in that be implemented in client, comprising:
First page access request is sent to server-side, the first page access request includes the category of first page to be visited Property information;
Receive the first Hypertext Markup Language html page sound code file that the server-side is sent, first html page source Code file includes the HTML component code of the page assembly of the first page;
The HTML component code is obtained from the first html page sound code file, and according to the HTML component code, it is right The page assembly carries out first time rendering, to generate first page.
3. according to the method described in claim 2, it is characterized in that, the first html page sound code file further includes described The file address cascading style sheets CSS of one page;
It is described that first time rendering is carried out to the page assembly according to the HTML component code, to generate first page, packet It includes:
The first html page sound code file is parsed, to obtain the HTML component code and CSS text of the page assembly Part address;
According to the file address CSS, the privately owned CSS file of the first page is obtained, and loads the CSS file;
Detect the CSS file whether loaded;
If detecting the CSS file loaded, according to the HTML component code of the page assembly and CSS text Part carries out first time rendering to the page assembly, to generate the first page.
4. according to the method described in claim 3, it is characterized in that, the first html page sound code file further includes described The file address JS of one page;Further include:
The file address JS of the first page is obtained from the first html page sound code file;
The privately owned JS file of the first page is obtained according to the file address JS of the first page, and loads the first page The privately owned JS file in face;
Detect the JS file whether loaded;
If detecting the JS file loaded, second is carried out to the first page of generation and is rendered.
5. according to right want 4 described in method, which is characterized in that the first html page sound code file further includes the page The page assembly of component identifies and compiling mode identifies;
The first page of described pair of generation carries out second and renders, comprising:
The page assembly mark and compiling mode that the page assembly is obtained from the first html page sound code file identify;
Corresponding compiling mode is identified according to mode is identified and compiled with the page assembly, to the HTML group of the page assembly The component code for including in part code and the privately owned JS file of the first page is compiled, and obtains virtual component;
The page assembly is replaced using the virtual component, is rendered with carrying out second to the first page of generation, it is raw First page after being rendered at second.
6. according to the method described in claim 5, it is characterized in that, first page after the generation second renders it Afterwards, further includes:
Renewal of the page request is sent to the server-side, the renewal of the page request includes that the attribute of second page to be visited is believed Breath and the page fragments of the second page identify;
Receive the second html page sound code file and page piece corresponding with page fragments mark that the server-side is sent Section, the second html page sound code file is that the server-side is requested in response to the renewal of the page, according to the second page What the attribute information in face obtained, the second html page sound code file includes the file address JS and the CSS of the second page File address;
According to the file address JS and the file address CSS of the second page, obtain the privately owned JS file of the second page and CSS file.
7. according to right want 6 described in method, which is characterized in that it is described obtain the privately owned JS file of the second page and After CSS file, further includes:
Load identifies the privately owned JS file and CSS file of corresponding page fragments, the second page with the page fragments;
Detect the privately owned JS file of the page fragments, the second page and CSS file whether loaded;
If the privately owned JS file of the page fragments, the second page and CSS file loaded are detected, to the page Dough sheet section executes compiling, to obtain virtual component;
The page assembly of the first page is replaced, using the virtual component to render the second page.
8. a kind of page generation method, which is characterized in that be implemented in server-side, comprising:
The first page access request that client is sent is received, the first page access request includes first page to be visited Attribute information;
The first Hypertext Markup is obtained according to the attribute information of the first page in response to the first page access request Language html page sound code file;
The first html page sound code file is sent to the client.
9. according to the method described in claim 8, it is characterized in that, being asked in the first page access that the reception client is sent Before asking, further includes:
The page assembly for receiving the Page Template of the first page of user's creation and being created on the Page Template;
The page assembly that the user is inserted into the source code of the page assembly is saved to identify and to the page assembly The compiling mode being compiled identifies;
The source code of the page assembly is compiled and generates the first html page sound code file, and saves described first Html page sound code file.
10. method according to claim 8 or claim 9, which is characterized in that further include:
The renewal of the page request that the client is sent is received, the renewal of the page request includes the category of second page to be visited Property information and the second page page fragments mark;
It is requested in response to the renewal of the page, the second html page source code text is obtained according to the attribute information of the second page Part, the second html page sound code file include the file address JS and the file address CSS of the second page;
The second html page sound code file is sent to the client.
11. a kind of page generates system characterized by comprising
Client, for sending first page access request to server-side, the first page access request includes to be visited The attribute information of first page;
The server-side, for being obtained in response to the first page access request according to the attribute information of the first page First Hypertext Markup Language html page sound code file, the first html page sound code file include the first page The HTML component code of page assembly;
The server-side is also used to send the first html page sound code file to the client;
The client, the first html page sound code file sent for receiving the server-side;
The client is also used to obtain the HTML component code from the first html page sound code file, and according to institute The HTML component code for stating page assembly carries out first time rendering to the page assembly, to generate first page.
12. a kind of webpage generating device, which is characterized in that be set to client, comprising:
Sending module, for sending first page access request to server-side, the first page access request includes to be visited First page attribute information;
Receiving module, the first Hypertext Markup Language html page sound code file sent for receiving the server-side are described First html page sound code file includes the HTML component code of the page assembly of the first page;
Generation module, for obtaining the HTML component code from the first html page sound code file, and according to the page The HTML component code of face component carries out first time rendering to the page assembly, to generate first page.
13. a kind of webpage generating device, which is characterized in that be set to server-side, comprising:
Receiving module, for receive client transmission first page access request, the first page access request include to The attribute information of the first page of access;
Module is obtained, in response to the first page access request, according to the attribute information of the first page, obtains the One Hypertext Markup Language html page sound code file;
Sending module, for sending the first html page sound code file to the client.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the page generation method as described in any one of claims 1 to 7 when the computer program is executed by processor.
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 true CN110442815A (en) 2019-11-12
CN110442815B 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)

Cited By (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
CN112115337A (en) * 2020-09-09 2020-12-22 北京奇艺世纪科技有限公司 Method and device for displaying data, electronic equipment and computer readable storage medium
CN113076501A (en) * 2021-04-21 2021-07-06 广州虎牙科技有限公司 Page processing method, storage medium and equipment
CN113761412A (en) * 2020-09-17 2021-12-07 北京沃东天骏信息技术有限公司 Application page display method and device, electronic equipment, medium and application system
CN116304458A (en) * 2023-02-27 2023-06-23 上海硬通网络科技有限公司 Method, device, equipment and medium for web page real-time notification update

Citations (10)

* 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
CN106202096A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 Customer terminal webpage rendering intent and device
CN106547534A (en) * 2016-09-19 2017-03-29 华为技术有限公司 The device and method of displayed page extension point
CN106933640A (en) * 2017-04-26 2017-07-07 携程旅游网络技术(上海)有限公司 The method and system of Web page are loaded in the browser of mobile terminal
CN107678820A (en) * 2017-09-29 2018-02-09 北京金山安全软件有限公司 Webpage processing method, device, server, terminal equipment and medium
CN109086114A (en) * 2018-07-26 2018-12-25 郑州云海信息技术有限公司 A kind of method, apparatus and terminal generating web front-end interactive interface

Patent Citations (10)

* 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
CN106202096A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 Customer terminal webpage rendering intent and device
CN106126693A (en) * 2016-06-29 2016-11-16 微梦创科网络科技(中国)有限公司 The sending method of the related data of a kind of webpage and device
CN106547534A (en) * 2016-09-19 2017-03-29 华为技术有限公司 The device and method of displayed page extension point
CN106933640A (en) * 2017-04-26 2017-07-07 携程旅游网络技术(上海)有限公司 The method and system of Web page are loaded in the browser of mobile terminal
CN107678820A (en) * 2017-09-29 2018-02-09 北京金山安全软件有限公司 Webpage processing method, device, server, terminal equipment and medium
CN109086114A (en) * 2018-07-26 2018-12-25 郑州云海信息技术有限公司 A kind of method, apparatus and terminal generating web front-end interactive interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵举飞: "《源码方式引用element-ui,页面上的组件代码是如何被识别并替换为HTML的?》", 《SEGMENTFAULT》 *

Cited By (9)

* 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
CN112115337A (en) * 2020-09-09 2020-12-22 北京奇艺世纪科技有限公司 Method and device for displaying data, electronic equipment and computer readable storage medium
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
CN116304458A (en) * 2023-02-27 2023-06-23 上海硬通网络科技有限公司 Method, device, equipment and medium for web page real-time notification update
CN116304458B (en) * 2023-02-27 2024-04-16 上海硬通网络科技有限公司 Method, device, equipment and medium for web page real-time notification update

Also Published As

Publication number Publication date
CN110442815B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN110442815A (en) Page generation method, system, device and computer readable storage medium
US10567529B2 (en) Unified tracking data management
CA2878207C (en) Evaluating application compatibility
AU2009260643B2 (en) Presenting advertisements based on web-page interaction
US8301645B1 (en) Aggregated web analytics request systems and methods
US9256697B2 (en) Bidirectional mapping between applications and network content
US8543713B2 (en) Computing environment arranged to support predetermined URL patterns
US8645490B2 (en) Web site implementation by mapping expression evaluation
CN104375808B (en) interface display method and device
US20140258262A1 (en) Method and Computer Readable Medium for Providing, via Conventional Web Browsing, Browsing Capability for Search Engine Web Crawlers Between Remote/Virtual Windows and From Remote/Virtual Windows to Conventional Hypertext Documents
CA2640025A1 (en) Methods and devices for post processing rendered web pages and handling requests of post processed web pages
JP2015167014A (en) Method, apparatus, sever and system for implementing web application
CN107807937B (en) Website SEO processing method, device and system
US20170192941A1 (en) Computer-Automated Generation of Application Deep Links
Fenoy et al. ZOO-Project: the open WPS platform
CN102930058A (en) Method and device for realizing search in address field of browser
CN104317570B (en) The apparatus and method of dynamic analysis Web applications
CN102662838A (en) Method and system for debugging Flash in browser
US10846361B2 (en) User-specific customization of web pages
CN110321510A (en) Page rendering method and system
Vogel et al. An in-depth analysis of web page structure and efficiency with focus on optimization potential for initial page load
CN111597102A (en) Page performance testing method, terminal and storage medium
CN103258055A (en) Device and method for file downloading
US20200004880A1 (en) Mechanism for web crawling e-commerce resource pages
US10599740B1 (en) Program code streaming

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