CN110851757A - Page resource loading method and terminal - Google Patents

Page resource loading method and terminal Download PDF

Info

Publication number
CN110851757A
CN110851757A CN201910966546.5A CN201910966546A CN110851757A CN 110851757 A CN110851757 A CN 110851757A CN 201910966546 A CN201910966546 A CN 201910966546A CN 110851757 A CN110851757 A CN 110851757A
Authority
CN
China
Prior art keywords
page
data
loaded
resource identifier
dynamic
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.)
Pending
Application number
CN201910966546.5A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910966546.5A priority Critical patent/CN110851757A/en
Publication of CN110851757A publication Critical patent/CN110851757A/en
Pending legal-status Critical Current

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
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention is applicable to the technical field of computer application, and provides a page resource loading method, a terminal and a computer readable storage medium, wherein the page resource loading method comprises the following steps: the method comprises the steps of mining a webpage area by traversing and calculating the similarity between adjacent mark nodes in a mark tree in advance, caching generated data in the dynamic webpage area in a preset cache library through a resource identifier, sending dynamic data in a page to be loaded to a terminal when a page loading request sent by the terminal is received, and filling the dynamic data into the page after the terminal loads static data stored in the local part of the terminal, so that the phenomenon of long-time blank screen is avoided, and the page rendering speed of a first screen and user experience are improved.

Description

Page resource loading method and terminal
Technical Field
The invention belongs to the technical field of computer application, and particularly relates to a page resource loading method, a terminal and a computer readable storage medium.
Background
When a user browses and processes data through an application interface of a webpage end, the user needs to click an interface component in a page to display and present the data. In order to ensure the display effect and the use effect of a webpage when a user browses information or uses system functions through a hypertext markup language (HTML) page, in the prior art, interface display is performed on the webpage in a webpage rendering mode, and the rendering process of the whole page is divided into the following steps: initializing an HTML page, loading static resources, executing a script language, acquiring interface data, and rendering the page.
However, in the method in the prior art, the whole process is performed synchronously, so that the loading efficiency is generally low, and further the loading time of the first screen is too long. Therefore, the prior art has the problem of slow loading speed of HTML page resources.
Disclosure of Invention
In view of this, embodiments of the present invention provide a page resource loading method, a terminal, and a computer-readable storage medium, so as to solve the problem in the prior art that a speed of loading an HTML page resource is slow.
A first aspect of an embodiment of the present invention provides a page resource loading method, including:
receiving a page loading request sent by a terminal; the page loading request comprises a page link of the page to be loaded;
determining a resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
determining dynamic data corresponding to the resource identifier in a preset dynamic data cache library; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
and sending the dynamic data corresponding to the resource identifier to the terminal so as to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, wherein the static data is data stored in the local page to be loaded of the terminal.
A second aspect of an embodiment of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
receiving a page loading request sent by a terminal; the page loading request comprises a page link of the page to be loaded;
determining a resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
determining dynamic data corresponding to the resource identifier in a preset dynamic data cache library; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
and sending the dynamic data corresponding to the resource identifier to the terminal so as to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, wherein the static data is data stored in the local page to be loaded of the terminal.
A third aspect of the embodiments of the present invention provides a page resource loading method, including:
sending a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded;
extracting static data stored in the local page to be loaded, and displaying the rendered static data;
receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link;
and loading the dynamic data into the rendered page to be loaded.
A fourth aspect of an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
sending a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded;
extracting static data stored in the local page to be loaded, and displaying the rendered static data;
receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link;
and loading the dynamic data into the rendered page to be loaded.
A fifth aspect of an embodiment of the present invention provides a server, including:
the receiving unit is used for receiving a page loading request sent by the terminal; the page loading request comprises a page link of the page to be loaded;
the identification unit is used for determining the resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
the data unit is used for determining dynamic data corresponding to the resource identifier in a preset dynamic data cache library; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
and the sending unit is used for sending the dynamic data corresponding to the resource identifier to the terminal so as to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, wherein the static data is data stored in the local page to be loaded of the terminal.
A sixth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method of the first aspect described above.
A seventh aspect of the embodiments of the present invention provides a terminal, including:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded;
the extraction unit is used for extracting the static data stored in the local page to be loaded and displaying the rendered static data;
the data unit is used for receiving the dynamic data in the page to be loaded, which is sent by the server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link;
and the loading unit is used for loading the dynamic data into the page to be loaded after the rendering.
An eighth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method of the first or second aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, the webpage area is mined by traversing and calculating the similarity between adjacent mark nodes in the mark tree in advance, the generated data in the dynamic webpage area is cached in the preset cache library through the resource identifier, so that the dynamic data in the page to be loaded is sent to the terminal when the page loading request sent by the terminal is received, and the dynamic data is filled in the page after the terminal loads the static data stored in the local part of the terminal, so that the long-time white screen phenomenon is avoided, and the page rendering speed of the first screen and the user experience are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a page resource loading method according to an embodiment of the present invention;
fig. 2 is a flowchart of a page resource loading method according to a second embodiment of the present invention;
FIG. 3 is a diagram of a server provided by a third embodiment of the present invention;
fig. 4 is a schematic diagram of a server according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a flowchart of a page resource loading method according to an embodiment of the present invention. The main execution body of the page resource loading method in the embodiment is the server. The page resource loading method as shown in the figure can comprise the following steps:
s101: receiving a page loading request sent by a terminal; the page loading request comprises the page link of the page to be loaded.
When a user uses the terminal, webpage data needs to be loaded in real time. When the terminal needs to load the page to be loaded, the terminal sends the page link of the page to be loaded to the server. The page link in this embodiment is used to play a role of a page identifier, so as to determine page data in the page to be loaded according to the page link, and the page link may be a page identifier, a page address, and the like of the page to be loaded, which is not limited herein.
In practical applications, the page data in the page to be loaded may include dynamic data and static data, wherein the dynamic data is used for representing data that changes with time in the system application, such as stock data. The preparation of dynamic data and the time of system switching have a direct relationship. Dynamic data is data that changes often and directly reflects the transaction process, such as website visitation, online population, daily sales, and so on. In addition, the current remaining available amount, real-time price of stocks, etc. may be available, and these data cannot be cached, otherwise the data taken by the user may not be up-to-date, which may affect the user's experience. Static data is used to mean data that is used primarily as a control or reference during operation, and that does not change over a long period of time, and generally does not change from operation to operation. Dynamic data includes all data that changes on the fly as well as data that needs to be input, output on the fly and data that is to be changed during on-the-fly operation. The description should be made by logically dividing the data elements into groups, such as functions, source data or logical groupings more appropriate to their application, giving information about the name, definition, unit of measure, value range, format and type of each data element.
Before step S102, steps S1021 to S1024 may be further included:
s1021: page regions in the history page are identified, as well as region functions for each page region.
The history page in this embodiment is used to indicate a page that is not currently loaded by the terminal, and the history page is used to determine a page area in each history page, to specify a data type corresponding to each page area in each history page, and to determine a data storage location corresponding to each page area in the history page according to the data type.
After the historical page is obtained, each page component or control in the historical page is identified, and a region formed by one or at least two components and/or controls in the historical page is identified as a page region. And determining the functions of the areas in the history page according to the types of the components and/or the controls in each page area. In this embodiment, the functions of each region in the history page may include an input function, a display function, and the like, which is not limited herein.
S1022: identifying dynamic page areas from all the page areas according to the area function of each page area; the dynamic page area is used for representing a page area for updating data in real time.
After the page areas in the historical page are identified and the area function corresponding to each page area is determined, the dynamic page area is identified from all the page areas according to the area function of each page area. The dynamic page area in this embodiment is used to indicate a page area for updating data in real time. When the dynamic page area is identified, whether the current page area belongs to the dynamic page area can be determined according to the area function corresponding to the preset dynamic page area and the area function of the current page area. For example, when the function of a certain page area is a display function and the displayed data is data updated in real time, the page area is determined to be a dynamic page area.
Further, step S1022 may specifically include S10221 to S10223:
s10221: clustering all the page areas to obtain page areas corresponding to different area types; the region type is used for representing types corresponding to different page functions in the historical page.
In this embodiment, the page areas corresponding to different area types are obtained by combining the methods of web page clustering and cross-web page area matching, and the web pages belonging to the same source website are classified. Because the dynamic data in the same type of web pages have the same position in the web pages, the dynamic data position in the same type of web pages can be determined only by carrying out dynamic data identification on the web pages belonging to the same source website, so as to determine the resource identifier according to the dynamic data position.
In this embodiment, the web pages belonging to the same source website are taken as history pages, and the history pages usually include a plurality of areas, such as navigation bars, advertisement bars, information distribution areas, and the like. To identify dynamic page areas in a web page, the web page is first divided into different page areas. A page area in a web page is usually composed of a plurality of similar data blocks, each of which contains a plurality of data elements. A dynamic Web page, i.e. a history page, generally adopts an HTML syntax format, which includes text, marks, pictures, hyperlinks and the like. The data and formats in HTML are encapsulated by tags, most of which consist of a pair of start and end tags and appear in pairs in the document, e.g., < body > and </body >. The tags may be juxtaposed to each other, or one pair of tags and their contents may be completely contained within the contents of the other pair of tags to create a tag nesting. On the basis, the page area of the webpage is mined by traversing and calculating the similarity between adjacent marking nodes in the page area hierarchical tree.
To discover dynamically generated page regions in a web page, the present embodiment automatically identifies dynamic page regions in conjunction with web page clustering. In the Web data mining process, multiple Web pages are often collected for the same website, and one or several Web page templates are often used for publishing data by one website. This makes many of the web pages of similar structure, differing only in the content of the dynamic page area. To this end, consider first classifying web pages by their structure templates. Given a set of n web pages and all m different labels that appear in the page region hierarchical tree of these web pages, each web page is represented as the following fuzzy vector:
pi={wi1/tag1,wi2/tag2,…,wik/tagi,…,wim/tagm};
wherein tagiDegree of membership w ofikCalculated by the following membership:
Figure BDA0002230669200000081
wherein, tfikFor indicating the tagiOn the web page piFrequency of occurrence of, niFor indicating the presence of a tagiThe number of web pages.
The clustering algorithm of the web page is determined by calculating the distance between two web page vectors, and the clustering center is as follows:
Figure BDA0002230669200000082
where C is used to indicate a specific center distance. In this embodiment, a cluster number k is preset, and the regions in the web page can be divided into k types of regions by the above formula.
S10222: and constructing a page area hierarchical tree for all the page areas of the area types according to a preset area tree construction rule.
When a page area hierarchical tree is constructed, a node block is used for representing a node set formed by one or more adjacent marking nodes on the same layer, and the number of the marking nodes contained in the node block is called the length of the node block; in this embodiment, a page area is used to represent a node set formed by two or more adjacent equal-length similar node blocks in the same layer in a page area hierarchical tree. In the analyzed page area hierarchical tree, each mark is used as a node, and the node embedded into the node becomes a descendant node of the node. By parsing the resource identifier in a history page through the page area identification algorithm in step S10221, the history page can be parsed into a page area hierarchical tree, which is used to determine the dynamic area in each history page according to the page area hierarchical tree.
S10223: and traversing the page area hierarchical tree, identifying page areas with the same attribute in the historical page, and identifying dynamic page areas from the page areas with the same attribute.
In this embodiment, when traversing the hierarchical tree of the page area, each corresponding node is compared from the root to the leaf. If the areas corresponding to the two nodes participating in the comparison are both static nodes, that is, the page data is stored in the local corresponding area of the terminal, and the content and the structure are similar, the two nodes are marked as static page areas. The algorithm then walks to its child nodes and makes comparisons in order from the leftmost child node to the rightmost child node. If both are leaf nodes and are similar, then both nodes are removed from the tree. If the two nodes are dissimilar, the algorithm returns to its parent node, and if so, continues to compare other child nodes. After all children of the two father nodes are compared, all the child nodes marked as the static page areas are deleted until all the child nodes corresponding to the static page areas are deleted finally, and the child nodes corresponding to the dynamic page areas are left.
And mining dynamic page areas in the web pages by a tree matching algorithm for the page area hierarchical trees of two similar-structure web pages from the same website. In order to determine which page area is a dynamic page area, the similarity of structure and content between two page areas needs to be calculated. The tree edit distance is the minimum number of operands required to convert one tree to another. Let R and s be two nodes pointing to the page area, and use the tree edit distance as a measure of the structural similarity of the two. The relevance of the contents of the two page areas is calculated by adopting the following method:
Figure BDA0002230669200000091
wherein, the function same () is used to judge whether both are the same.
S1023: generating a resource identifier corresponding to the dynamic page area according to a preset area identifier generation method; the resource identifier is used to identify the dynamic page area.
In this embodiment, an area identifier generation method is preset, and is used to generate a resource identifier corresponding to a dynamic page area through the area identifier generation method, so as to identify the dynamic page area. Specifically, when generating the resource identifier, the area identifier of the dynamic page area may be determined first, and the resource identifier corresponding to the area identifier may be searched in a preset area identifier generation method.
S1024: and caching the dynamic data corresponding to the dynamic page area in the dynamic data cache library according to the resource identifier.
In this embodiment, a dynamic data cache library is preset and used for storing dynamic data. Specifically, in the storage process, the corresponding dynamic data is stored in the dynamic data cache library according to the resource identifier of each dynamic page area as a storage identifier.
It should be noted that the dynamic data in this embodiment is generated in real time, so that in this embodiment, a manner of storing the dynamic data may be implemented to ensure real-time calling and processing of the dynamic data.
S102: determining a resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link.
It should be noted that the resource identifier in this embodiment is used to indicate a storage location of corresponding dynamic data, so that after the dynamic data is generated, the dynamic data is stored in real time to the storage location of the resource identifier corresponding to the dynamic data cache library according to the pre-generated resource identifier.
In this embodiment, an identifier library is preset and used for storing the resource identifier, and after the resource identifier is generated, the resource identifier is stored in the identifier library. In this embodiment, when a page to be loaded is loaded, static data and dynamic data in the page to be loaded need to be acquired, where the static data is stored locally, and the dynamic data determines a storage location of the dynamic data according to a resource identifier corresponding to the static data, therefore, in this embodiment, a page is identified by a page link of the page to be loaded, and the resource identifier and the page to be loaded corresponding to the dynamic data are stored in an identification library in an associated manner, so that after a page link of the page to be loaded sent by a terminal is acquired, a resource identifier corresponding to the page link is determined in the identification library according to the page link, and a storage location of the dynamic data corresponding to the resource identifier is determined according to the resource identifier, so as to retrieve the dynamic data corresponding to the page link from a dynamic data cache library.
S103: and determining the dynamic data corresponding to the resource identifier in a preset dynamic data cache library.
The dynamic data in this embodiment is used to indicate data that may change at any time in the system application, or data that may change according to the user usage data, such as stock data, order data, and the like, and the latest data of these dynamic data is stored in the dynamic data cache library in advance and is stored in the dynamic data cache library according to the resource identifier. When the dynamic data is obtained, a resource identifier of the page to be loaded is determined in the identification library through the webpage link, so that the latest dynamic data corresponding to the page to be loaded is obtained through the resource identifier.
The data cache in this embodiment is divided into two types: and the client cache and the server cache are respectively used for caching the static data and the dynamic data according to the resource identifier. After the resource identifier is determined, the storage location of the corresponding dynamic data is determined from the dynamic data cache according to the resource identifier.
S104: sending the dynamic data corresponding to the resource identifier to the terminal to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying the static data; the static data is stored in the local page to be loaded of the terminal.
Some data of the page data in the actual application needs to be updated in real time. Such as: the current remaining available amount, real-time price of the stock, etc., which cannot be cached, otherwise the data taken by the user may not be up-to-date, affecting the user's experience. Based on such considerations, data that is not frequently changed (i.e., static data) with user information may be placed on one interface (static interface) and other frequently updated data may be placed on another interface (dynamic interface). Meanwhile, the static interface is used for rendering the server side, so that the speed of returning data by the static interface can be increased greatly, and meanwhile, the server side caches the static data, so that the response speed of the data can be further increased.
When the client requests static data of the server, the client generally directly requests a static interface to implement the static data request, but since the most time consuming rendering of the server is the process of requesting interface data, in the case of many data requests, the time cost of the whole process is very large. In consideration of the situation, a step is added before the static interface is requested, and the required static data and static resources are obtained from the server cache. When the required data exists in the cache, directly acquiring the corresponding data in the cache and returning the data to the client; and if not, re-requesting the static data and the static resources, synchronously updating the static data and the static resources to the cache of the server, executing the logic in the JS to acquire the dynamic data after the client acquires the static data and the static resources, and finally finishing the rendering of the page. And executing the requests of the JS script, the page logic and the dynamic interface, and then requesting the rest dynamic data, wherein because a part of static data is already put into the rendering of the server, the interface data of the part is relatively less, and the time is relatively shorter.
After static data of static resources, such as JS, CSS or pictures, needed by a webpage are cached locally, when HTML of an initialized page is completed, the static resources and the static data are obtained from an offline cache. When the required data exists in the offline cache, directly acquiring the corresponding data in the cache and returning the data to the user; otherwise, static resources and static data need to be requested from the server again, and the offline cache of the client is synchronously updated no matter the data is acquired from the server or the static interface, so that the data consistency is maintained.
Further, after step S104, the method may further include:
s1041: when page area information corresponding to missing data in the page to be loaded sent by the terminal is received, judging whether the missing data is dynamic data or not according to the page area information; the missing data is used for representing the data which is still missing in the page to be loaded after the terminal finishes loading all the static data and the dynamic data.
And after the terminal finishes loading all the static data and the dynamic data and detects the data which is still missing in the page to be loaded, generating page area information corresponding to the missing data in the page to be loaded, and sending the page area information to the server.
The page area information in this embodiment may include a page link of a page where the page area is located, and dynamic data corresponding to the page area according to the resource identifier, a position in the page, or a data processing function corresponding to the page area, which is not limited herein.
S1042: and if the missing data is the dynamic data, determining the page link of the page to be loaded according to the page area information, and determining the missing data resource identifier of the missing data according to the page link.
And after the server receives the page area information corresponding to the missing data in the page to be loaded, which is sent by the terminal, judging whether the missing data is dynamic data or not according to the page area information. The specific judgment mode may be displaying a region function corresponding to the page region information, and then judging whether the page region is a dynamic region according to the region function, if so, the missing data corresponding to the page region is dynamic data.
S1043: and determining the missing data in the dynamic data cache library according to the missing data resource identifier, and sending the missing data to the terminal.
In this embodiment, the dynamic data corresponding to the dynamic page area is cached in the dynamic data cache library according to the resource identifier, so that the dynamic data corresponding to different page areas in one page are cached according to different resource identifiers.
Particularly, when the missing data is judged to be dynamic data, the page link in the page area information is identified, the missing data resource identifier is determined according to the page link, the missing data is determined in the dynamic data cache library according to the missing data resource identifier, and the missing data is sent to the terminal.
In addition, if it is detected that the page area corresponding to the missing data is not a dynamic area, the missing data is static data. And sending a static data calling instruction to the terminal, wherein the static data calling instruction is used for the terminal to inquire whether corresponding static missing data is stored in a cache library of the terminal.
According to the scheme, the webpage area is mined by traversing and calculating the similarity between adjacent mark nodes in the mark tree in advance, the generated data in the dynamic webpage area is cached in the preset cache library through the resource identifier, so that the dynamic data in the page to be loaded is sent to the terminal when the page loading request sent by the terminal is received, and the dynamic data is filled into the page after the terminal loads the static data stored in the local part of the terminal, so that the long-time white screen phenomenon is avoided, and the page rendering speed of the first screen and the user experience are improved.
Referring to fig. 2, fig. 2 is a flowchart of a page resource loading method according to a second embodiment of the present invention. The main execution body of the page resource loading method in the embodiment is the terminal. The terminal in this embodiment is configured to send a page loading request to an execution main body, that is, a server in the previous embodiment, and receive dynamic data sent by the server to display on a terminal interface. For related technologies in this embodiment, please refer to the previous embodiment in detail, which is not described herein. The page resource loading method as shown in the figure can comprise the following steps:
s201: sending a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded.
And when the terminal loads the page, sending a page loading request to the server. The page loading request in this embodiment includes a page link of a page to be loaded. The page link in this embodiment is used for the server to determine, through the page link, a resource identifier of a page to be loaded in a preset identifier library, where the resource identifier is used to obtain dynamic data of the page to be loaded, the resource identifier is a storage location of the dynamic data determined according to a page area hierarchical tree, and the page area hierarchical tree is constructed according to resource identifiers of historical pages.
S202: and extracting the static data stored in the local page to be loaded, and displaying the rendered static data.
The data cache in this embodiment is divided into two types: and the client cache and the server cache are respectively used for caching the static data and the dynamic data according to the resource identifier. The static data is cached locally by the terminal, the static data in the page to be loaded is extracted from the local part while the page to be loaded is loaded, and the static data is displayed on the interface after being rendered.
S203: receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link.
When a page loading request is sent to a server, dynamic data in a page to be loaded and an interface position of the dynamic data in a user interface, which are sent by the server, are received. The dynamic data is stored in a preset dynamic data cache library according to the resource identifier; the resource identifier is determined by the server according to the page link; the resource identifier is a storage position of dynamic data determined according to the page area hierarchical tree, and the page area hierarchical tree is constructed according to the resource identifier of the historical page. Please refer to the previous embodiment, which is not described herein.
The interface position of the dynamic data in the user interface in this embodiment is used to indicate a position where the dynamic data is displayed, and the representation manner may be in the form of an interface component name, may be in the form of a coordinate, and is not limited here.
S204: and loading the dynamic data into the rendered page to be loaded.
And the static interface is used for rendering the server, so that the speed of returning data by the static interface can be increased greatly, the requests of the JS script, the page logic and the dynamic interface are executed, and the rest dynamic data is requested. And after the terminal loads and renders the static data, loading the dynamic data acquired from the server into the rendered page to be loaded so as to completely load the whole page to be loaded.
Further, after step S204, the method may further include:
s2041: detecting whether missing data exists in the page to be loaded after the loading is finished; the missing data is used for representing data which is still missing in the page to be loaded after the terminal finishes loading all static data and dynamic data in the page to be loaded.
Since the dynamic data and the static data in this embodiment are all loaded in a distributed manner, after the page to be loaded is loaded, the terminal may first detect whether missing data exists in the current page to be loaded. The missing data in this embodiment is used to indicate data that is still missing in the page to be loaded after all the static data and the dynamic data in the page to be loaded are loaded. And whether missing data exists is detected to ensure the integrity of data display in the page to be loaded.
S2042: and when the missing data in the page to be loaded is detected, generating page area information corresponding to the missing data in the page to be loaded.
When missing data exists in the page to be loaded, identifying and generating a corresponding page area of the missing data in the page to be loaded. The identification mode can be performed by running all functions in the page to be loaded once, and if a certain function cannot be realized, the data corresponding to the function may be missing data.
S2043: and sending the page area information to the server.
After determining the page area corresponding to the missing data, it may be first searched locally whether the missing data is stored, and if the missing data is stored locally, the locally stored missing data is called again, and the missing data is displayed on the terminal interface.
And if the missing data is not stored locally, sending the page area information corresponding to the missing data in the page to be loaded to the server. And after receiving the missing data sent by the server, displaying the missing data on a terminal interface. By the method, data loss can be avoided in a distributed page loading mode, and the completeness and comprehensiveness of data display are improved.
According to the scheme, a page loading request of a page to be loaded is sent; the page loading request comprises a page link of the page to be loaded; extracting static data stored in the local page to be loaded, and displaying the rendered static data; receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link; and loading the dynamic data into the rendered page to be loaded. After the static data stored in the local terminal is loaded, the dynamic data sent by the server is filled into the page, so that the phenomenon of long-time white screen is avoided, and the page rendering speed and the user experience of the first screen are improved.
Referring to fig. 3, fig. 3 is a schematic diagram of a terminal according to a third embodiment of the present invention. The terminal comprises units for performing the steps in the corresponding embodiment of fig. 1. Please refer to fig. 1 for the related description of the corresponding embodiment. For convenience of explanation, only the portions related to the present embodiment are shown. The server 300 of the present embodiment includes:
a receiving unit 301, configured to receive a page loading request sent by a terminal; the page loading request comprises a page link of the page to be loaded;
an identification unit 302, configured to determine, according to the page link, a resource identifier of the page to be loaded in an identification library; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
a data unit 303, configured to determine, in a preset dynamic data cache library, dynamic data corresponding to the resource identifier; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
a sending unit 304, configured to send the dynamic data corresponding to the resource identifier to the terminal, so as to instruct the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, where the static data is data stored in the local page to be loaded in the terminal.
Further, the server 300 may further include:
the function identification unit is used for identifying page areas in the historical page and the area function of each page area;
the area identification unit is used for identifying dynamic page areas from all the page areas according to the area function of each page area; the dynamic page area is used for representing a page area for updating data in real time;
the identification generation unit is used for generating a resource identifier corresponding to the dynamic page area according to a preset area identification generation method; the resource identifier is used for identifying the dynamic page area;
and the data caching unit is used for caching the dynamic data corresponding to the dynamic page area in the dynamic data caching library according to the resource identifier.
Further, the identification generation unit may include:
the clustering unit is used for clustering all the page areas to obtain page areas corresponding to different area types; the region type is used for representing types corresponding to different page functions in the historical page;
and the traversal unit is used for traversing the page area hierarchical tree, identifying page areas with the same attribute in the historical page, and identifying a dynamic page area from the page areas with the same attribute.
Further, the server 300 may further include:
the missing unit is used for judging whether the missing data is dynamic data or not according to the page area information when receiving the page area information corresponding to the missing data in the page to be loaded, wherein the page area information is sent by the terminal; the missing data is used for representing the data which is still missing in the page to be loaded after the terminal finishes loading all the static data and the dynamic data;
a missing data identification unit, configured to determine, if the missing data is the dynamic data, a page link of the page to be loaded according to the page area information, and determine, according to the page link, a missing data resource identifier of the missing data;
and the missing data sending unit is used for determining the missing data in the dynamic data cache library according to the missing data resource identifier and sending the missing data to the terminal.
According to the scheme, the webpage area is mined by traversing and calculating the similarity between adjacent mark nodes in the mark tree in advance, the generated data in the dynamic webpage area is cached in the preset cache library through the resource identifier, so that the dynamic data in the page to be loaded is sent to the terminal when the page loading request sent by the terminal is received, and the dynamic data is filled into the page after the terminal loads the static data stored in the local part of the terminal, so that the long-time white screen phenomenon is avoided, and the page rendering speed of the first screen and the user experience are improved.
Fig. 4 is a schematic diagram of a server according to a fourth embodiment of the present invention. As shown in fig. 4, the server 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the above-described embodiments of the page resource loading method, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 301 to 303 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the server 4.
The server 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The server may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 4 and does not constitute a limitation of server 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the server 4, such as a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card, FC), and the like, provided on the server 4. Further, the memory 41 may also include both an internal storage unit of the server 4 and an external storage device. The memory 41 is used for storing the computer program and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
Referring to fig. 5, fig. 5 is a schematic diagram of a terminal according to a fifth embodiment of the present invention. The terminal comprises units for performing the steps in the corresponding embodiment of fig. 2. Please refer to fig. 2 for a related description of the embodiment. For convenience of explanation, only the portions related to the present embodiment are shown. The terminal 500 of the present embodiment includes:
a sending unit 501, configured to send a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded;
an extracting unit 502, configured to extract static data stored in the local page to be loaded, and display the rendered static data;
a data unit 503, configured to receive dynamic data in the page to be loaded sent by the server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link;
a loading unit 504, configured to load the dynamic data into a page to be loaded after rendering.
Further, the terminal 500 may further include:
the detection unit is used for detecting whether missing data exists in the page to be loaded after the loading is finished; the missing data is used for representing data which is still missing in the page to be loaded after the terminal finishes loading all static data and dynamic data in the page to be loaded;
the region determining unit is used for generating page region information corresponding to missing data in the page to be loaded when the missing data in the page to be loaded is detected;
and the missing data sending unit is used for sending the page area information to the server.
According to the scheme, a page loading request of a page to be loaded is sent; the page loading request comprises a page link of the page to be loaded; extracting static data stored in the local page to be loaded, and displaying the rendered static data; receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link; and loading the dynamic data into the rendered page to be loaded. After the static data stored in the local terminal is loaded, the dynamic data sent by the server is filled into the page, so that the phenomenon of long-time white screen is avoided, and the page rendering speed and the user experience of the first screen are improved.
Fig. 6 is a schematic diagram of a terminal according to a sixth embodiment of the present invention. As shown in fig. 6, the terminal 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the various embodiments of the page resource loading method described above, such as the steps 201 to 204 shown in fig. 2. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 501 to 504 shown in fig. 5.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the terminal 6.
The terminal 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 6 is only an example of a terminal 6 and does not constitute a limitation of the terminal 6, and that it may comprise more or less components than those shown, or some components may be combined, or different components, for example the terminal may further comprise input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal 6, such as a hard disk or a memory of the terminal 6. The memory 61 may also be an external storage device of the terminal 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card, FC) and the like provided on the terminal 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal 6. The memory 61 is used for storing the computer program and other programs and data required by the terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, to instruct related hardware.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A page resource loading method is characterized by comprising the following steps:
receiving a page loading request sent by a terminal; the page loading request comprises a page link of the page to be loaded;
determining a resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
determining dynamic data corresponding to the resource identifier in a preset dynamic data cache library; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
and sending the dynamic data corresponding to the resource identifier to the terminal so as to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, wherein the static data is data stored in the local page to be loaded of the terminal.
2. The page resource loading method according to claim 1, wherein before determining the resource identifier of the page to be loaded in an identifier library according to the page link, further comprising:
identifying page areas in the historical page and the area function of each page area;
identifying dynamic page areas from all the page areas according to the area function of each page area; the dynamic page area is used for representing a page area for updating data in real time;
generating a resource identifier corresponding to the dynamic page area according to a preset area identifier generation method; the resource identifier is used for identifying the dynamic page area;
and caching the dynamic data corresponding to the dynamic page area in the dynamic data cache library according to the resource identifier.
3. The page resource loading method of claim 2, wherein said identifying a dynamic page area from all of said page areas according to the area function of each page area comprises:
clustering all the page areas to obtain page areas corresponding to different area types; the region type is used for representing types corresponding to different page functions in the historical page;
constructing a page area hierarchical tree for all the page areas of the area types according to a preset area tree construction rule;
and traversing the page area hierarchical tree, identifying page areas with the same attribute in the historical page, and identifying dynamic page areas from the page areas with the same attribute.
4. The page resource loading method according to claim 2, wherein after sending the dynamic data corresponding to the resource identifier to the terminal, the method further comprises:
when page area information corresponding to missing data in the page to be loaded sent by the terminal is received, judging whether the missing data is dynamic data or not according to the page area information; the missing data is used for representing the data which is still missing in the page to be loaded after the terminal finishes loading all the static data and the dynamic data;
if the missing data is the dynamic data, determining a page link of the page to be loaded according to the page area information, and determining a missing data resource identifier of the missing data according to the page link;
and determining the missing data in the dynamic data cache library according to the missing data resource identifier, and sending the missing data to the terminal.
5. A page resource loading method is characterized by comprising the following steps:
sending a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded;
extracting static data stored in the local page to be loaded, and displaying the rendered static data;
receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link;
and loading the dynamic data into the rendered page to be loaded.
6. The page resource loading method according to claim 5, wherein after loading the dynamic data into the page to be loaded after rendering, further comprising:
detecting whether missing data exists in the page to be loaded after the loading is finished; the missing data is used for representing data which is still missing in the page to be loaded after the terminal finishes loading all static data and dynamic data in the page to be loaded;
when missing data in the page to be loaded is detected, generating page area information corresponding to the missing data in the page to be loaded;
and sending the page area information to the server.
7. A server comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of:
receiving a page loading request sent by a terminal; the page loading request comprises a page link of the page to be loaded;
determining a resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
determining dynamic data corresponding to the resource identifier in a preset dynamic data cache library; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
and sending the dynamic data corresponding to the resource identifier to the terminal so as to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, wherein the static data is data stored in the local page to be loaded of the terminal.
8. A terminal comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of:
sending a page loading request of a page to be loaded; the page loading request comprises a page link of the page to be loaded;
extracting static data stored in the local page to be loaded, and displaying the rendered static data;
receiving dynamic data in the page to be loaded sent by a server; the dynamic data is obtained from a preset dynamic data cache library by the server according to the resource identifier; the resource identifier is determined by the server from the page link;
and loading the dynamic data into the rendered page to be loaded.
9. A server, comprising:
the receiving unit is used for receiving a page loading request sent by the terminal; the page loading request comprises a page link of the page to be loaded;
the identification unit is used for determining the resource identifier of the page to be loaded in an identification library according to the page link; the identification library comprises at least one page link stored in advance and a resource identifier corresponding to each page link;
the data unit is used for determining dynamic data corresponding to the resource identifier in a preset dynamic data cache library; at least one resource identifier stored in advance and dynamic data corresponding to each resource identifier are stored in the dynamic data storage library;
and the sending unit is used for sending the dynamic data corresponding to the resource identifier to the terminal so as to indicate the terminal to display the dynamic data corresponding to the resource identifier after rendering and displaying static data, wherein the static data is data stored in the local page to be loaded of the terminal.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4 or carries out the steps of the method according to any one of claims 5 to 6.
CN201910966546.5A 2019-10-12 2019-10-12 Page resource loading method and terminal Pending CN110851757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910966546.5A CN110851757A (en) 2019-10-12 2019-10-12 Page resource loading method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910966546.5A CN110851757A (en) 2019-10-12 2019-10-12 Page resource loading method and terminal

Publications (1)

Publication Number Publication Date
CN110851757A true CN110851757A (en) 2020-02-28

Family

ID=69597482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910966546.5A Pending CN110851757A (en) 2019-10-12 2019-10-12 Page resource loading method and terminal

Country Status (1)

Country Link
CN (1) CN110851757A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581556A (en) * 2020-04-27 2020-08-25 北京字节跳动网络技术有限公司 Page data processing method and device, electronic equipment and readable medium
CN112035198A (en) * 2020-08-12 2020-12-04 深圳创维-Rgb电子有限公司 Home page loading method, television and storage medium
CN112347404A (en) * 2020-10-26 2021-02-09 长沙市到家悠享网络科技有限公司 SPA page rendering method, device and system and storage medium
CN112559103A (en) * 2020-12-18 2021-03-26 歌尔光学科技有限公司 Interface display method of application program, terminal and computer readable storage medium
CN112580300A (en) * 2020-12-30 2021-03-30 平安国际智慧城市科技股份有限公司 Text marking method and device, storage medium and computer equipment
CN112632440A (en) * 2020-12-18 2021-04-09 西安博达软件股份有限公司 Static resource generation method for teacher personal homepage based on watermark characteristic rule string
CN112905944A (en) * 2021-04-06 2021-06-04 成都新希望金融信息有限公司 Page online dynamic generation method and device, electronic equipment and readable storage medium
CN113157331A (en) * 2021-03-22 2021-07-23 广州宸祺出行科技有限公司 Page label entry loading display method and device
CN113326080A (en) * 2021-06-30 2021-08-31 中国平安人寿保险股份有限公司 Method, device and equipment for loading H5 page and storage medium
CN116069415A (en) * 2023-03-24 2023-05-05 徐工汉云技术股份有限公司 Dynamic data loading method and device, storage medium and electronic equipment
CN116842299A (en) * 2023-08-28 2023-10-03 国网四川省电力公司信息通信公司 Dynamic data access risk control system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120303697A1 (en) * 2011-05-23 2012-11-29 Strangeloop Networks Inc. Optimized rendering of dynamic content
CN102880607A (en) * 2011-07-15 2013-01-16 舆情(香港)有限公司 Dynamic network content grabbing method and dynamic network content crawler system
CN108334562A (en) * 2018-01-09 2018-07-27 阿里巴巴集团控股有限公司 A kind of page display method and device
CN109857960A (en) * 2019-01-14 2019-06-07 厦门美柚信息科技有限公司 A kind of method, equipment, system and its storage medium that page data updates

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120303697A1 (en) * 2011-05-23 2012-11-29 Strangeloop Networks Inc. Optimized rendering of dynamic content
CN102880607A (en) * 2011-07-15 2013-01-16 舆情(香港)有限公司 Dynamic network content grabbing method and dynamic network content crawler system
CN108334562A (en) * 2018-01-09 2018-07-27 阿里巴巴集团控股有限公司 A kind of page display method and device
CN109857960A (en) * 2019-01-14 2019-06-07 厦门美柚信息科技有限公司 A kind of method, equipment, system and its storage medium that page data updates

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581556A (en) * 2020-04-27 2020-08-25 北京字节跳动网络技术有限公司 Page data processing method and device, electronic equipment and readable medium
CN111581556B (en) * 2020-04-27 2023-04-25 抖音视界有限公司 Page data processing method, device, electronic equipment and readable medium
CN112035198A (en) * 2020-08-12 2020-12-04 深圳创维-Rgb电子有限公司 Home page loading method, television and storage medium
CN112347404A (en) * 2020-10-26 2021-02-09 长沙市到家悠享网络科技有限公司 SPA page rendering method, device and system and storage medium
CN112632440B (en) * 2020-12-18 2023-01-24 西安博达软件股份有限公司 Static resource generation method for teacher personal homepage based on watermark characteristic rule string
CN112559103A (en) * 2020-12-18 2021-03-26 歌尔光学科技有限公司 Interface display method of application program, terminal and computer readable storage medium
CN112632440A (en) * 2020-12-18 2021-04-09 西安博达软件股份有限公司 Static resource generation method for teacher personal homepage based on watermark characteristic rule string
CN112580300A (en) * 2020-12-30 2021-03-30 平安国际智慧城市科技股份有限公司 Text marking method and device, storage medium and computer equipment
CN113157331A (en) * 2021-03-22 2021-07-23 广州宸祺出行科技有限公司 Page label entry loading display method and device
CN112905944B (en) * 2021-04-06 2023-06-20 成都新希望金融信息有限公司 Page online dynamic generation method and device, electronic equipment and readable storage medium
CN112905944A (en) * 2021-04-06 2021-06-04 成都新希望金融信息有限公司 Page online dynamic generation method and device, electronic equipment and readable storage medium
CN113326080A (en) * 2021-06-30 2021-08-31 中国平安人寿保险股份有限公司 Method, device and equipment for loading H5 page and storage medium
CN113326080B (en) * 2021-06-30 2023-08-15 中国平安人寿保险股份有限公司 H5 page loading method, device, equipment and storage medium
CN116069415A (en) * 2023-03-24 2023-05-05 徐工汉云技术股份有限公司 Dynamic data loading method and device, storage medium and electronic equipment
CN116842299A (en) * 2023-08-28 2023-10-03 国网四川省电力公司信息通信公司 Dynamic data access risk control system and method
CN116842299B (en) * 2023-08-28 2023-11-03 国网四川省电力公司信息通信公司 Dynamic data access risk control system and method

Similar Documents

Publication Publication Date Title
CN110851757A (en) Page resource loading method and terminal
US10042951B2 (en) Contextual commenting on the web
US9990422B2 (en) Contextual analysis engine
US10430806B2 (en) Input/output interface for contextual analysis engine
JP5786105B2 (en) Information processing apparatus, information processing method, information processing program, display control apparatus, and display control program
US20130145255A1 (en) Systems and methods for filtering web page contents
US20180191798A1 (en) Methods and systems for server-side rendering of native content for presentation
US9798820B1 (en) Classification of keywords
WO2016026384A1 (en) Client page display method, device and system
US20140282370A1 (en) Methods for managing applications using semantic modeling and tagging and devices thereof
US10664537B2 (en) User interface element for surfacing related results
CN105205080B (en) Redundant file method for cleaning, device and system
US20130275854A1 (en) Segmenting a Web Page into Coherent Functional Blocks
US20140289612A1 (en) Merging web page style addresses
JP6386089B2 (en) Optimized browser rendering process
KR20170092707A (en) Optimized browser rendering process
CN103383687A (en) Page processing method and device
CN109710224B (en) Page processing method, device, equipment and storage medium
CN101729590A (en) Method, system and device for providing web page
CN104375808A (en) Method and device for displaying interfaces
US20190050399A1 (en) Distinguish phrases in displayed content
CN107590288B (en) Method and device for extracting webpage image-text blocks
CN107688650B (en) Web page generation method and device
CN114021042A (en) Webpage content extraction method and device, computer equipment and storage medium
CN103150355A (en) Web page content preview method and device, and 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