CN112181532A - Page resource loading method and device, electronic equipment and readable storage medium - Google Patents

Page resource loading method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112181532A
CN112181532A CN202011101742.5A CN202011101742A CN112181532A CN 112181532 A CN112181532 A CN 112181532A CN 202011101742 A CN202011101742 A CN 202011101742A CN 112181532 A CN112181532 A CN 112181532A
Authority
CN
China
Prior art keywords
resource
loading
preloading
client
page
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
CN202011101742.5A
Other languages
Chinese (zh)
Other versions
CN112181532B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011101742.5A priority Critical patent/CN112181532B/en
Publication of CN112181532A publication Critical patent/CN112181532A/en
Application granted granted Critical
Publication of CN112181532B publication Critical patent/CN112181532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • 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

Landscapes

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

Abstract

The application relates to a page resource loading method, a page resource loading device, a computer device and a computer readable storage medium. The method comprises the following steps: acquiring a page resource loading request, and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request; when the preloading parameters meet preloading conditions, acquiring resource files from the local; and when the preloading parameters exist in the resource file, loading the page resources corresponding to the preloading parameters from the resource file. By adopting the method, the loading speed of the page resources can be improved.

Description

Page resource loading method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a page resource loading method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of computer technology, a variety of application programs can be installed in the terminal device, and in the running process of the application programs, in order to accelerate the running speed of the application programs, page resources of partial pages of the application programs can be cached. In the conventional mode, the whole page is often preloaded, so that the loading speed of page resources is low.
Disclosure of Invention
The embodiment of the application provides a page resource loading method and device, electronic equipment and a computer readable storage medium, which can improve the loading speed of page resources.
A page resource loading method comprises the following steps:
acquiring a page resource loading request, and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request;
when the preloading parameters meet preloading conditions, acquiring resource files from the local;
and when the preloading parameters exist in the resource file, loading the page resources corresponding to the preloading parameters from the resource file.
A page resource loading apparatus, comprising:
the first acquisition module is used for acquiring a page resource loading request and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request;
the second acquisition module is used for acquiring the resource file from the local when the preloading parameter meets the preloading condition;
and the loading module is used for loading the page resource corresponding to the preloading parameter from the resource file when the preloading parameter exists in the resource file.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a page resource loading request, and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request;
when the preloading parameters meet preloading conditions, acquiring resource files from the local;
and when the preloading parameters exist in the resource file, loading the page resources corresponding to the preloading parameters from the resource file.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a page resource loading request, and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request;
when the preloading parameters meet preloading conditions, acquiring resource files from the local;
and when the preloading parameters exist in the resource file, loading the page resources corresponding to the preloading parameters from the resource file.
According to the page resource loading method, the page resource loading request is obtained, the preloading parameters in the page resources to be loaded are obtained according to the page resource loading request, when the preloading parameters meet the preloading conditions, the resource files are obtained from the local, and when the preloading parameters exist in the resource files, the page resources corresponding to the preloading parameters are loaded from the resource files, so that the page resources can be directly loaded from the local resource files, and the loading speed of the page resources is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment for a method for loading page resources in one embodiment;
FIG. 2 is a flow diagram of a method for page resource loading in one embodiment;
FIG. 3 is a timing diagram of a page resource loading method in one embodiment;
FIG. 4 is a flowchart illustrating loading of a page resource to be loaded from a resource file when a pre-loading parameter exists in the resource file in one embodiment;
FIG. 5 is a flow diagram that illustrates the updating of locally preloaded resource files, according to one embodiment;
FIG. 6 is a diagram illustrating a structure of locally preloaded resource files in one embodiment;
FIG. 7 is a diagram illustrating an architecture of a client, according to an embodiment;
FIG. 8 is a flowchart illustrating a method for loading page resources according to an embodiment;
FIG. 9 is a block diagram showing the structure of a page resource loading apparatus according to an embodiment;
FIG. 10 is a diagram showing an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram illustrating an application environment of a page resource loading method according to an embodiment. As shown in fig. 1, the application environment includes a terminal 110 and an application server 120. Wherein the terminal 110 communicates with the application server 120 through a network. The user logs in a client running on the terminal 110 through the user identifier, and triggers a page resource loading request at the client, and the terminal 110 obtains the page resource loading request and obtains the pre-loading parameters in the page resource to be loaded according to the page resource loading request. Then, when the preloading parameters satisfy the preloading conditions, the terminal 110 acquires the resource file from the local. When the resource file has the pre-loading parameter, the terminal 110 obtains the page resource corresponding to the pre-loading parameter from the resource file, and loads the page resource at the client. When the pre-loading parameter does not satisfy the pre-loading condition, the terminal 110 obtains the uniform resource locator address of the page resource to be loaded. The terminal 110 then sends the uniform resource locator address of the page resource to be loaded to the application server 120. The application server 120 obtains the page resource to be loaded according to the uniform resource locator address, and returns the page resource to the terminal 110. The terminal 110 receives the page resource to be loaded returned by the application server 120, and loads the page resource at the client. The terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the application server 120 may be implemented by an independent server or a server cluster formed by a plurality of servers.
FIG. 2 is a flowchart of a method for loading page resources in one embodiment. The page resource loading method in this embodiment is described by taking the example of running on the terminal in fig. 1. As shown in fig. 2, the page resource loading method includes steps 202 to 206.
Step 202, obtaining a page resource loading request, and obtaining a pre-loading parameter in the page resource to be loaded according to the page resource loading request.
The preloading refers to loading some main contents before all pages are loaded, so that the waiting time is reduced. For example, the pictures in the page are preloaded, and the effect of the display is that the pictures in the page gradually become clearer from the blur. The preloading parameters refer to contents that need to be preloaded, for example, the preloading parameters may include pictures, tables, and texts with different formats, but are not limited thereto.
Specifically, the client runs on the terminal. And the user logs in the client on the terminal through the user identification or the equipment identification. The user can trigger the page of the client to load the page. When the terminal receives a page resource loading request of a user, the terminal determines the page resource to be loaded according to the page resource loading request. And then, the terminal acquires the preloading parameters from the page resource to be loaded.
In this embodiment, the terminal may obtain a uniform resource locator address carried in the page resource loading request, and determine the page resource to be loaded according to the uniform resource locator address.
And step 204, when the preloading parameters meet the preloading conditions, acquiring the resource files from the local.
Specifically, the terminal obtains the preloading condition and determines whether the preloading parameter obtained from the page resource to be loaded meets the preloading condition. When the preloading parameters meet the preloading conditions, the terminal can determine whether the resource files exist locally in the client. When the client locally has the resource file, the terminal locally acquires the resource file from the client.
In this embodiment, the preload condition may be a condition that the preload parameter is capable of being locally preloaded. The step of determining whether the pre-loading parameter satisfies the pre-loading condition may include: and judging whether the preloading parameters are preset local preloading parameters or not. Further, the preload parameter may be compared to a preset preload parameter to determine whether the preload condition is met.
For example, the pre-loading parameters are a picture a, a picture B and a table C, if the picture a belongs to the preset local pre-loading parameters, it is determined that the picture a satisfies the pre-loading conditions, and if the picture B and the table C do not belong to the preset local pre-loading parameters, it is determined that the picture B and the table C do not satisfy the pre-loading conditions.
In this embodiment, the terminal may obtain the flag bit of the pre-loading parameter, and determine that the pre-loading parameter satisfies the pre-loading condition according to whether the flag bit of the pre-loading parameter satisfies the preset flag bit. If the flag bit of the preloading parameter is 1, the preloading condition is satisfied, and if the flag bit of the preloading parameter is 0, the preloading condition is not satisfied.
And step 206, when the preloading parameters exist in the resource file, loading the page resources corresponding to the preloading parameters from the resource file.
Specifically, after the terminal acquires the local resource file, the preloading parameters are compared with the preloading parameters in the local resource file. And when the preloading parameters obtained from the page resources to be loaded are the same as the preloading parameters in the resource file, obtaining the page resources corresponding to the preloading parameters from the resource file. The terminal then loads the page resource on the client.
In the page resource loading method in this embodiment, the page resource loading request is acquired, and the pre-loading parameter in the page resource to be loaded is acquired according to the page resource loading request, so that the pre-loading resource can be used according to the pre-loading parameter. And when the preloading parameters meet the preloading conditions, the resource files are obtained from the local, and when the preloading parameters exist in the resource files, the page resources corresponding to the preloading parameters are loaded from the resource files, so that the page resources can be directly loaded from the local resource files, and the loading speed of the page resources is improved.
Fig. 3 is a timing diagram illustrating a page resource loading method according to an embodiment. The client may be a web view client.
Step 1), a user triggers a page of a webpage view client to trigger a page resource loading request.
And step 2), the webpage view receives a webpage resource loading request of a user and sends the webpage resource loading request to a webpage view client.
And step 3), the webpage view client judges whether the page resource loading request is intercepted or not. Further, the webpage view client acquires a pre-loading parameter in the webpage resource to be loaded according to the webpage resource loading request, and when the pre-loading parameter is 1, the webpage view client intercepts the webpage resource loading request, and then the step 4) is carried out; when the preload parameter is not 1, step 5) is entered.
And 4), judging whether the client locally has the preloaded resource file by the webpage view client, if so, acquiring the page resource corresponding to the preloaded parameter from the local client, and loading the page resource at the webpage view client. If not, step 6) is performed.
And step 5), when the preloading parameter is not 1, the webpage view client does not intercept the page resource loading request.
And 6), acquiring the page resource corresponding to the page resource loading request from the application server corresponding to the webpage view client, and loading the page resource at the webpage view client.
In this embodiment, when a user opens an HTML5 (H5) page, a client intercepts a page loading request, first determines whether a client has a preloaded resource file locally, and if so, loads the client using the local resource file, thereby implementing fast loading of resources.
In one embodiment, when the preloading parameters meet the preloading conditions, the resource file is acquired from the local, including:
when the preloading parameters meet the preloading conditions, detecting whether a preloaded resource file exists in the local part of the client side; and when the client locally has the preloaded resource file, acquiring the preloaded resource file.
Specifically, some of the clients have configured the preloaded resource files locally in advance, and the rest of the clients have not configured the preloaded resource files locally. The client not configured with the preloaded resource file can not realize the local preloading of the page resource, and the client configured with the preloaded resource file can realize the local preloading of the page resource.
When the preloading parameters meet the preloading conditions, the terminal determines whether the client side is locally configured with the preloaded resource files. Further, the terminal can judge whether the client is locally configured with the preloaded resource file or not through the client identifier corresponding to the client. And when the client side has configured the pre-loaded resource file locally, the terminal acquires the resource file from the client side locally.
In this embodiment, when the preloading parameter meets the preloading condition, whether the client locally has a preloaded resource file is detected to determine whether the client can perform a local preloading operation. When the client locally has the preloaded resource file, the preloaded resource file is obtained to execute the local preloading operation of the page resource, and the page loading speed is improved.
In one embodiment, detecting whether the preloaded resource file exists locally at the client comprises:
acquiring a client identifier corresponding to a client; when the client identification is a preset client identification, judging that a preloaded resource file exists locally at the client; and presetting a preloaded resource file which is configured locally at the client corresponding to the client identifier.
The client identifier may be a user identifier or a device identifier.
Specifically, a pre-loaded resource file is configured locally at a client corresponding to the preset client identifier. And the client corresponding to the non-preset client identification is not configured with the preloaded resource file locally. The terminal can obtain a client identifier corresponding to the client and obtain a preset client identifier. And the terminal compares the acquired client identifier with a preset client identifier, and when the identifier which is the same as the client identifier exists in the preset client identifier, the client identifier is represented as a preset client, and the client locally has a preloaded resource file.
In one embodiment, the client identifier may be a user identifier, and the preset client identifier is a preset user identifier. The terminal can determine whether the user identification is the preset user identification or not by acquiring the user identification corresponding to the client and comparing the user identification with the preset user identification. And when the user identifier corresponding to the client is the preset user identifier, indicating that the preloaded resource file exists locally on the client.
In one embodiment, the client identifier may be a device identifier, and the preset client identifier is a preset device identifier. The terminal can determine whether the equipment identifier is the preset equipment identifier by acquiring the equipment identifier corresponding to the client and comparing the equipment identifier corresponding to the client with the preset equipment identifier. And when the equipment identifier corresponding to the client is the preset equipment identifier, the client is represented to be locally configured with the preloaded resource file.
In this embodiment, the client corresponding to the preset client identifier is configured with the preloaded resource file locally, and whether the preloaded resource file exists locally at the client can be quickly determined by determining whether the client corresponding to the client identifier is the preset client identifier. The method and the system have the advantages that the preloaded resource files are configured for part of the clients locally, corresponding preloading services can be provided for users with preloading requirements, and therefore the loading speed of page resources is improved.
In one embodiment, as shown in fig. 4, when the pre-loading parameter exists in the resource file, loading the page resource to be loaded from the resource file includes:
step 402, when the preloading parameters exist in the resource file, determining the validity period of the preloading parameters in the resource file.
In particular, the pre-loaded parameters in the resource file may set different validity periods. For example, the validity period of the pre-loading parameter belonging to the general purpose is longer, and the validity period of the pre-loading parameter belonging to the specific service is shorter. And after the terminal locally acquires the resource file from the client, acquiring the preloading parameters from the resource file. And the terminal compares the preloading parameters meeting the preloading conditions with the preloading parameters in the resource file. And when the preloading parameters meeting the preloading conditions are the same as the preloading parameters existing in the resource file, indicating that the preloading parameters exist in the resource file. The terminal can obtain the validity period corresponding to the preloading parameters in the resource file.
And step 404, when the validity period of the pre-loading parameter is within the preset validity period, loading the page resource corresponding to the pre-loading parameter from the resource file.
Specifically, the terminal obtains the validity period of the pre-loading parameter and obtains a preset validity period corresponding to the pre-loading parameter. And the terminal compares the validity period corresponding to the preloading parameter with the corresponding preset validity period to judge whether the validity period of the preloading parameter is within the preset validity period. When the validity period of the preloading parameter is within the preset validity period, judging that the page resource corresponding to the preloading parameter in the resource file is valid, and then the terminal can acquire the page resource corresponding to the preloading parameter from the resource file. And the terminal loads the acquired page resources at the client.
The method further comprises the following steps:
and step 406, when the validity period of the pre-loading parameter is not within the preset validity period, obtaining the page resource corresponding to the pre-loading parameter from the application server for loading.
Specifically, when the validity period of the preloading parameter is not within the preset validity period, it is determined that the page resource corresponding to the preloading parameter in the resource file is invalid, and the terminal cannot locally load the page resource corresponding to the preloading parameter. The terminal can send a request to an application server corresponding to the client, obtain the page resource corresponding to the preloading parameter from the application server, and load the page resource at the client.
In this embodiment, different preloading parameters may set different validity periods, and different preloading parameters may set different preset validity periods. When a plurality of pre-loading parameters in the page resources to be loaded exist in the resource file, acquiring the validity period corresponding to each pre-loading parameter and the corresponding preset validity period. And the terminal compares the validity period of one preloading parameter with the corresponding preset validity period and judges whether the validity period of the preloading parameter is within the preset validity period or not. According to the same processing mode, the terminal can judge whether the validity period of each preloading parameter is within the corresponding preset validity period. Then, for the pre-loading parameters with the validity period within the corresponding validity period, the terminal can directly acquire the corresponding page resource from the resource file for loading. For the pre-loading parameters of which the validity periods are not within the corresponding validity periods, the terminal can acquire the corresponding page resources from the application server corresponding to the client to load.
In this embodiment, by determining the validity period of the preloaded parameter, it can be determined whether the page resource of the preloaded parameter in the resource file is valid, so as to ensure the accuracy of the page resource to be loaded. And when the validity period of the pre-loading parameter is within the preset validity period, directly loading the page resource corresponding to the pre-loading parameter from the resource file, and realizing the rapid loading of the resource. And when the validity period of the preloading parameters is not within the preset validity period, acquiring the latest page resource from the application server for loading so as to ensure the accuracy of the page resource.
In one embodiment, as shown in fig. 5, the method further comprises:
step 502, a service request is acquired at regular time.
Specifically, the client may periodically obtain a service HTTP request triggered automatically by the client, or obtain a service request triggered by a user.
And step 504, acquiring the preloaded resource file of the latest version from the application server according to the service request based on a gateway protocol between the client and the application server.
The gateway protocol (Use the command affected by the server to access the gateway) refers to a protocol for accessing the gateway by using a command protocol established by an application server and a client.
Specifically, a gateway protocol is pre-configured between the client and the application server. The terminal acquires the service request, and based on a gateway protocol between the client and the application server, the terminal can access the application server and acquire the preloaded resource file of the latest version from the application server.
Step 506, comparing the preloaded resource file of the latest version with the local preloaded resource file of the client, and updating the local preloaded resource file of the client according to the comparison result.
Specifically, the terminal may obtain the locally preloaded resource of the client, obtain the version number of the locally preloaded resource file, and compare the version number of the local resource file with the version number of the resource file of the latest version on the server. And when the version number of the local resource file is the same as the version number of the latest version of the resource file on the application server, the local resource file is indicated to be the latest version. And when the version number of the local resource file is different from the version number of the latest version of the resource file on the application server, the local resource file is not the latest version, and the terminal replaces the local resource file with the preloaded resource file of the latest version to finish the updating of the local resource file.
In this embodiment, the service request is obtained at regular time, and based on a gateway protocol between the client and the application server, the preloaded resource file of the latest version is obtained from the application server according to the service request, so as to obtain the resource file of the latest version on the application server at regular time, and thus, the local preloaded resource file can be automatically updated. By means of the gateway instruction, the resource preloading operation without redundant requests is realized, and the pressure of an application server is greatly reduced.
In one embodiment, there are mostly manifest. Different levels of resource cache control can be realized in a grouping mode, a general resource, such as a public resource, can be configured with a longer validity period, and a resource for a specific service can be configured with a shorter validity period. The preloaded resource file specifies a cache size, and when the preloaded resource file directory size exceeds a limit, the directory is cleared using LRU policy. The structure of the preloaded resource files is as follows:
Figure BDA0002725602540000061
Figure BDA0002725602540000071
in the structure of the preloaded resource file, the protocol version, version number, file size, release time, validity period, different resource group names, and resources configured in each resource group are set.
Fig. 6 is a schematic structural diagram of a locally preloaded resource file in an embodiment. As shown in fig. 6, the resource file includes a file manifest. It will be appreciated that the number of resource groups may be configured according to particular needs. Each resource group may be configured with corresponding pre-loading parameters, for example, the resource group 1 is a general resource or a common resource, and the general resource or the common resource refers to the same page resource in multiple pages, such as the same table, the same picture, and the like. The resource group has a lifetime of 30 days. The pre-loaded parameters in the resource group 1 include Cascading Style Sheets (CSS for short), and specifically include Cascading Style Sheets named a.css and b.css. A cascading style sheet is a computer language used to represent file styles such as HTML (an application of standard universal markup language) or XML (a subset of standard universal markup language). The pre-loaded parameters in this resource group 1 also include files with js as extensions, e.g., a.js, b.js.
Resource group 2 is a specific business resource, for example a resource of a business activity named 001 for a client. The resource group has a lifetime of 7 days. The pre-loaded parameters in this resource set 2 include a cascading style sheet and a photo pic. For example, the photograph includes a.jpg, b.jpg. The cascading style sheet may include a.css and b.css.
In one embodiment, before the obtaining of the page resource load instruction, the method further comprises:
acquiring candidate user identifications and user characteristic parameters corresponding to the candidate user identifications; determining a target user identifier from the candidate user identifiers according to the user characteristic parameters; and acquiring the preloaded resource file, and configuring the preloaded resource file for the client corresponding to the target user identification.
The user characteristic parameters comprise user attributes, user interest portraits and behavior data generated by the user in the process of using the client. User attributes may include age, gender, occupation, location, and the like. The user interest representation includes interest, hobbies, and the like. The behavior data comprises historical browsing records, collection records, operation records and the like of the user using the client.
Specifically, the application server may obtain candidate user identifiers using the client, and obtain user characteristic parameters of each candidate user identifier. Then, the application server can calculate the prediction score corresponding to each candidate user identifier according to the user characteristic parameter corresponding to each candidate user identifier. The prediction score is a prediction value of the candidate user corresponding to the candidate user identifier, which is preloaded by using the client.
And then, the application server selects a target user identifier from the candidate user identifiers according to the prediction scores respectively corresponding to the candidate user identifiers. Further, the terminal may rank the prediction scores, obtain a preset number of candidate user identifiers from the highest prediction score, and use the obtained candidate user identifiers as target user identifiers. Or, the terminal takes the candidate user identifier corresponding to the prediction score larger than the threshold value as the target user identifier.
And then, the application server determines the client corresponding to each target user identification. The application server obtains the pre-loaded resource file, and configures the pre-loaded resource file for the client corresponding to the target user identifier, so that the client after configuring the pre-loaded resource file can execute the pre-loading of the page resource.
In this embodiment, a target user identifier is determined from candidate user identifiers according to user characteristic parameters by obtaining the candidate user identifiers and the user characteristic parameters corresponding to the candidate user identifiers, so as to determine which clients need to configure preloaded resource files. And configuring the pre-loaded resource file for the client corresponding to the target user identifier, so that the client after configuring the pre-loaded resource file can execute the pre-loading of the page resource, and the loading speed of the page resource is improved. Moreover, the configuration of the preloaded resource files is only carried out on part of the clients, the local preloading service of the clients can be provided for specific users, and the resource waste caused by the whole network preloading can be effectively avoided.
Fig. 7 is a schematic diagram illustrating an architecture of a client in one embodiment. The preloading and management of the client are split into general capabilities, mainly including triggers, downloaders (support extensions), installers (support extensions), resource management. The upper layer service such as the personalized information portal platform Webplus, the splash screen and the like can define the file storage path, the file format and the like of the upper layer service, and the files are inquired and managed through the resource manager.
Gateway instructions are configured in the signal trigger, and when the signal trigger detects a triggering operation of a service request, the H5 parser is informed. The H5 parser calls the H5 downloader to download the resource file from the application server and store and install it via H5 installer at client local cache management. The query local cache management may provide for add, delete, change, and lookup processing.
In other embodiments, when no dedicated H5 parser, H5 downloader, and H5 installer exists in the client, this is done by a default parser, default downloader, and default installer in the client.
When a user uses a client configured with a preloaded resource file to perform service processing, for example, triggering a personalized information portal platform of the client or processing a screen flashing condition of the client, the resource file in local cache management can be inquired. The file preloading and management are split into general capabilities, different service scenes can be quickly multiplexed, and services can be customized according to requirements.
In one embodiment, the method further comprises: when the preloading parameters do not meet the preloading conditions, acquiring a uniform resource locator address of the page resource to be loaded; and acquiring the page resource to be loaded from the application server for loading according to the uniform resource locator address.
Specifically, when the preload parameter does not satisfy the preload condition, the local preload is not performed. The terminal obtains a Uniform Resource Locator (URL) according to the page Resource loading request, and locates the page Resource to be loaded according to the URL. The terminal can send a request containing the uniform resource locator address to an application server corresponding to the client, and receive the page resource to be loaded returned by the application server. And the terminal loads the page resource to be loaded returned by the application server on the client.
In this embodiment, when the preload parameter does not satisfy the preload condition, the uniform resource locator address of the page resource to be loaded is acquired, and the page resource to be loaded is acquired from the application server according to the uniform resource locator address to be loaded, so as to complete loading of the page resource.
In one embodiment, as shown in fig. 8, a flowchart of a page resource loading method is provided.
And the developer automatically constructs a preloaded resource file aiming at the service of the client and uploads the resource file to the service background in an installation package mode.
And the service background receives the installation package and decompresses the installation package to obtain the preloaded resource file. And the business background calculates the hash value of the resource file to verify the resource file. And if the verification is passed, uploading the resource file to a content delivery network (CND for short), and configuring the resource file to obtain a manifest json file.
And the service background acquires the client corresponding to the target user identification and calls the application server.
And the application server configures the resource file for the client corresponding to the target user identifier.
When a client configured with the resource file and the configuration file receives a request of loading the page resource by a user, the client intercepts the request and determines whether the preloaded resource file exists locally to redirect the page resource request. Redirection is the re-determination to load page resources from local or from the application server.
And when the preloaded resource file exists locally, the client acquires the local preloaded resource file and loads the page resource corresponding to the request from the resource file.
In addition, the client periodically acquires the HTTP service request, and the service request can be automatically triggered by the client and can be triggered by a user. And the client inquires whether the application server has a new version of the preloaded resource file or not through the service gateway. And when the application server has the preloaded resource file of the new version, the application server sends a gateway instruction to the service gateway. The client pulls the latest version of the preloaded resource file from the application server based on the gateway instructions. The client acquires the local preloaded resource file, and compares the local preloaded resource file with the preloaded resource file of the latest version to update the local preloaded resource file.
In this embodiment, before issuing the preloaded resource file, the target user needing to configure the preloaded resource file is determined, and the preloaded resource file is issued to the client of the target user through the general application server. The client configured with the preloaded resource file can initiate a local preloading flow. When the h5 page is opened, the client intercepts a page resource loading request, firstly judges whether a preloaded resource cache exists in the local, and uses local static resources to realize rapid resource loading.
And the client can inquire whether the application server has the preloaded resource file of a new version or not at regular time based on the service gateway so as to automatically update the local preloaded resource file.
In one embodiment, a page resource loading method is provided, which includes:
the terminal acquires the candidate user identification and the user characteristic parameter corresponding to the candidate user identification.
And then, the terminal determines a target user identifier from the candidate user identifiers according to the user characteristic parameters.
Further, the terminal acquires the pre-loaded resource file and configures the pre-loaded resource file for the client corresponding to the target user identifier.
The terminal obtains a page resource loading request, and obtains a pre-loading parameter in the page resource to be loaded according to the page resource loading request.
And when the preloading parameters meet the preloading conditions, the terminal acquires the client identification corresponding to the client.
When the client identification is a preset client identification, judging that a preloaded resource file exists locally at the client; and presetting a preloaded resource file which is configured locally at the client corresponding to the client identifier.
And when the client locally has the preloaded resource file, the terminal acquires the preloaded resource file.
And when the preloading parameters exist in the resource file, the terminal determines the validity period of the preloading parameters in the resource file.
Optionally, when the validity period of the preloaded parameter is within the preset validity period, the terminal loads the page resource corresponding to the preloaded parameter from the resource file.
Optionally, when the validity period of the preloaded parameter is not within the preset validity period, the terminal obtains the page resource corresponding to the preloaded parameter from the application server for loading.
And when the preloading parameters do not meet the preloading conditions, the terminal acquires the uniform resource locator address of the page resource to be loaded.
And then, the terminal acquires the page resource to be loaded from the application server according to the uniform resource locator address and loads the page resource.
Further, the terminal acquires the service request at regular time.
And then, the terminal acquires the preloaded resource file of the latest version from the application server according to the service request based on a gateway protocol between the client and the application server.
Further, the terminal compares the preloaded resource file of the latest version with the preloaded resource file of the client side, and updates the preloaded resource file of the client side according to the comparison result.
In this embodiment, a target user identifier is determined from candidate user identifiers according to user characteristic parameters by obtaining the candidate user identifiers and the user characteristic parameters corresponding to the candidate user identifiers, so as to determine which clients need to configure preloaded resource files.
The method comprises the steps of obtaining a page resource loading request, obtaining a pre-loading parameter in a page resource to be loaded according to the page resource loading request, and judging whether the pre-loading resource can be used according to the pre-loading parameter. When the preloading parameters meet the preloading conditions, the resource files are obtained from the local, and whether the page resources of the preloading parameters in the resource files are effective or not can be judged by determining the validity period of the preloading parameters, so that the accuracy of the page resources to be loaded is ensured.
And when the validity period of the pre-loading parameter is within the preset validity period, directly loading the page resource corresponding to the pre-loading parameter from the resource file, and realizing the rapid loading of the resource. And when the validity period of the preloading parameters is not within the preset validity period, acquiring the latest page resource from the application server for loading so as to ensure the accuracy of the page resource.
It should be understood that although the various steps in the flowcharts of fig. 2-8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-8 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 9, there is provided a page resource loading apparatus, which may be a part of a computer device using a software module or a hardware module, or a combination of the two modules, and the apparatus specifically includes: a first obtaining module 902, a second obtaining module 904, and a loading module 906, wherein:
the first obtaining module 902 is configured to obtain a page resource loading request, and obtain a pre-loading parameter in a page resource to be loaded according to the page resource loading request.
And a second obtaining module 904, configured to obtain the resource file from the local, when the preloading parameter meets the preloading condition.
And the loading module 906 is configured to load, when the preloading parameter exists in the resource file, the page resource corresponding to the preloading parameter from the resource file.
The page resource loading device in this embodiment obtains the pre-loading parameter in the page resource to be loaded according to the page resource loading request by obtaining the page resource loading request, so as to determine that the pre-loading resource can be used according to the pre-loading parameter. And when the preloading parameters meet the preloading conditions, the resource files are obtained from the local, and when the preloading parameters exist in the resource files, the page resources corresponding to the preloading parameters are loaded from the resource files, so that the page resources can be directly loaded from the local resource files, and the loading speed of the page resources is improved.
In one embodiment, the second obtaining module 904 is further configured to: when the preloading parameters meet the preloading conditions, detecting whether a preloaded resource file exists in the local part of the client side; and when the client locally has the preloaded resource file, acquiring the preloaded resource file.
In this embodiment, when the preloading parameter meets the preloading condition, whether the client locally has a preloaded resource file is detected to determine whether the client can perform a local preloading operation. When the client locally has the preloaded resource file, the preloaded resource file is obtained to execute the local preloading operation of the page resource, and the page loading speed is improved.
In one embodiment, the second obtaining module 904 is further configured to: acquiring a client identifier corresponding to a client; when the client identification is a preset client identification, judging that a preloaded resource file exists locally at the client; and presetting a preloaded resource file which is configured locally at the client corresponding to the client identifier.
In this embodiment, the client corresponding to the preset client identifier is configured with the preloaded resource file locally, and whether the preloaded resource file exists locally at the client can be quickly determined by determining whether the client corresponding to the client identifier is the preset client identifier. The method and the system have the advantages that the preloaded resource files are configured for part of the clients locally, corresponding preloading services can be provided for users with preloading requirements, and therefore the loading speed of page resources is improved.
In one embodiment, the load module 906 is further configured to: when the preloading parameters exist in the resource file, determining the validity period of the preloading parameters in the resource file; when the validity period of the pre-loading parameter is within the preset validity period, loading the page resource corresponding to the pre-loading parameter from the resource file; and when the validity period of the pre-loading parameter is not within the preset validity period, acquiring the page resource corresponding to the pre-loading parameter from the application server for loading.
In this embodiment, by determining the validity period of the preloaded parameter, it can be determined whether the page resource of the preloaded parameter in the resource file is valid, so as to ensure the accuracy of the page resource to be loaded. And when the validity period of the pre-loading parameter is within the preset validity period, directly loading the page resource corresponding to the pre-loading parameter from the resource file, and realizing the rapid loading of the resource. And when the validity period of the preloading parameters is not within the preset validity period, acquiring the latest page resource from the application server for loading so as to ensure the accuracy of the page resource.
In one embodiment, the apparatus further comprises: an update module to: acquiring a service request at fixed time; based on a gateway protocol between a client and an application server, acquiring a preloaded resource file of the latest version from the application server according to a service request; and comparing the preloaded resource file of the latest version with the local preloaded resource file of the client, and updating the local preloaded resource file of the client according to the comparison result.
In this embodiment, the service request is obtained at regular time, and based on a gateway protocol between the client and the application server, the preloaded resource file of the latest version is obtained from the application server according to the service request, so as to obtain the resource file of the latest version on the application server at regular time, and thus, the local preloaded resource file can be automatically updated.
In one embodiment, the apparatus further comprises: and configuring the module. The configuration module is configured to: acquiring candidate user identifications and user characteristic parameters corresponding to the candidate user identifications; determining a target user identifier from the candidate user identifiers according to the user characteristic parameters; and acquiring the preloaded resource file, and configuring the preloaded resource file for the client corresponding to the target user identification.
In this embodiment, a target user identifier is determined from candidate user identifiers according to user characteristic parameters by obtaining the candidate user identifiers and the user characteristic parameters corresponding to the candidate user identifiers, so as to determine which clients need to configure preloaded resource files. And configuring the pre-loaded resource file for the client corresponding to the target user identifier, so that the client after configuring the pre-loaded resource file can execute the pre-loading of the page resource, and the loading speed of the page resource is improved. Moreover, the configuration of the preloaded resource files is only carried out on part of the clients, the local preloading service of the clients can be provided for specific users, and the resource waste caused by the whole network preloading can be effectively avoided.
In one embodiment, the load module 906 is further configured to: when the preloading parameters do not meet the preloading conditions, acquiring a uniform resource locator address of the page resource to be loaded; and acquiring the page resource to be loaded from the application server for loading according to the uniform resource locator address.
In this embodiment, when the preload parameter does not satisfy the preload condition, the uniform resource locator address of the page resource to be loaded is acquired, and the page resource to be loaded is acquired from the application server according to the uniform resource locator address to be loaded, so as to complete loading of the page resource.
The division of each module in the page resource loading apparatus is only used for illustration, and in other embodiments, the page resource loading apparatus may be divided into different modules as needed to complete all or part of the functions of the page resource loading apparatus.
For specific limitations of the page resource loading device, reference may be made to the above limitations on the page resource loading method, which is not described herein again. The modules in the page resource loading device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 10 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 10, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a page resource loading method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a Point of Sales (POS), a vehicle-mounted computer, and a wearable device.
The implementation of each module in the page resource loading device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules constituted by such computer programs may be stored on the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the page resource loading method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a page resource loading method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A page resource loading method is characterized by comprising the following steps:
acquiring a page resource loading request, and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request;
when the preloading parameters meet preloading conditions, acquiring resource files from the local;
and when the preloading parameters exist in the resource file, loading the page resources corresponding to the preloading parameters from the resource file.
2. The method of claim 1, wherein obtaining the resource file locally when the preload parameter satisfies a preload condition comprises:
when the preloading parameters meet preloading conditions, detecting whether a preloaded resource file exists in the local part of the client side;
and when the client locally has the preloaded resource file, acquiring the preloaded resource file.
3. The method of claim 2, wherein detecting whether the preloaded resource file exists locally at the client comprises:
acquiring a client identifier corresponding to the client;
when the client identification is a preset client identification, judging that a preloaded resource file exists in the client locally; and the client corresponding to the preset client identification is locally configured with a preloaded resource file.
4. The method according to claim 1, wherein when the preloading parameter exists in the resource file, loading a page resource corresponding to the preloading parameter from the resource file comprises:
when the preloading parameters exist in the resource file, determining the validity period of the preloading parameters in the resource file;
when the validity period of the preloading parameter is within a preset validity period, loading the page resource corresponding to the preloading parameter from the resource file;
the method further comprises the following steps:
and when the validity period of the preloading parameter is not within the preset validity period, acquiring the page resource corresponding to the preloading parameter from an application server for loading.
5. The method of claim 1, further comprising:
acquiring a service request at fixed time;
based on a gateway protocol between a client and an application server, acquiring a preloaded resource file of the latest version from the application server according to the service request;
and comparing the preloaded resource file of the latest version with the local preloaded resource file of the client, and updating the local preloaded resource file of the client according to the comparison result.
6. The method of claim 1, prior to said fetching page resource load instructions, further comprising:
acquiring a candidate user identifier and a user characteristic parameter corresponding to the candidate user identifier;
determining a target user identifier from the candidate user identifiers according to the user characteristic parameters;
and acquiring the preloaded resource file, and configuring the preloaded resource file for the client corresponding to the target user identification.
7. The method according to any one of claims 1 to 6, further comprising:
when the preloading parameters do not meet the preloading conditions, acquiring a uniform resource locator address of the page resource to be loaded;
and acquiring the page resource to be loaded from an application server according to the uniform resource locator address for loading.
8. A page resource loading apparatus, comprising:
the first acquisition module is used for acquiring a page resource loading request and acquiring a pre-loading parameter in a page resource to be loaded according to the page resource loading request;
the second acquisition module is used for acquiring the resource file from the local when the preloading parameter meets the preloading condition;
and the loading module is used for loading the page resource corresponding to the preloading parameter from the resource file when the preloading parameter exists in the resource file.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on 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 7.
CN202011101742.5A 2020-10-15 2020-10-15 Page resource loading method and device, electronic equipment and readable storage medium Active CN112181532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011101742.5A CN112181532B (en) 2020-10-15 2020-10-15 Page resource loading method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011101742.5A CN112181532B (en) 2020-10-15 2020-10-15 Page resource loading method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112181532A true CN112181532A (en) 2021-01-05
CN112181532B CN112181532B (en) 2023-10-20

Family

ID=73950299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011101742.5A Active CN112181532B (en) 2020-10-15 2020-10-15 Page resource loading method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112181532B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064609A (en) * 2021-03-05 2021-07-02 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium
CN113326081A (en) * 2021-06-30 2021-08-31 中国平安人寿保险股份有限公司 Static resource processing method and device, computer equipment and storage medium
CN114238908A (en) * 2021-12-16 2022-03-25 中国平安财产保险股份有限公司 Page repeated login method, device, equipment and storage medium
CN116257707A (en) * 2023-01-04 2023-06-13 腾讯科技(深圳)有限公司 Application release method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129766A1 (en) * 2002-08-14 2006-06-15 Cassia Simon H Method and apparatus for preloading caches
CN102930037A (en) * 2012-11-09 2013-02-13 北京奇虎科技有限公司 Page loading method and device
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device
WO2019076140A1 (en) * 2017-10-19 2019-04-25 阿里巴巴集团控股有限公司 Data processing method and apparatus for page access and electronic device
CN109840116A (en) * 2017-11-27 2019-06-04 北京京东尚科信息技术有限公司 A kind of method and apparatus loading resource file
CN110377360A (en) * 2019-07-12 2019-10-25 深圳市酷开网络科技有限公司 Method, display terminal and the computer readable storage medium that webview is quickly loaded
CN110377361A (en) * 2019-07-15 2019-10-25 北京奇艺世纪科技有限公司 Data load method, device, computer equipment and storage medium
CN111143727A (en) * 2019-12-06 2020-05-12 维沃移动通信有限公司 Page loading method and electronic equipment
CN111666497A (en) * 2020-06-16 2020-09-15 腾讯科技(上海)有限公司 Application program loading method and device, electronic equipment and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129766A1 (en) * 2002-08-14 2006-06-15 Cassia Simon H Method and apparatus for preloading caches
CN102930037A (en) * 2012-11-09 2013-02-13 北京奇虎科技有限公司 Page loading method and device
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device
WO2019076140A1 (en) * 2017-10-19 2019-04-25 阿里巴巴集团控股有限公司 Data processing method and apparatus for page access and electronic device
CN109840116A (en) * 2017-11-27 2019-06-04 北京京东尚科信息技术有限公司 A kind of method and apparatus loading resource file
CN110377360A (en) * 2019-07-12 2019-10-25 深圳市酷开网络科技有限公司 Method, display terminal and the computer readable storage medium that webview is quickly loaded
CN110377361A (en) * 2019-07-15 2019-10-25 北京奇艺世纪科技有限公司 Data load method, device, computer equipment and storage medium
CN111143727A (en) * 2019-12-06 2020-05-12 维沃移动通信有限公司 Page loading method and electronic equipment
CN111666497A (en) * 2020-06-16 2020-09-15 腾讯科技(上海)有限公司 Application program loading method and device, electronic equipment and readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
于海鹏 等: "基于Web的应用系统前端页面性能优化", 福建电脑, no. 05, pages 15 - 16 *
于海鹏等: "基于Web的应用系统前端页面性能优化", 《福建电脑》 *
于海鹏等: "基于Web的应用系统前端页面性能优化", 《福建电脑》, no. 05, 25 May 2012 (2012-05-25), pages 15 - 16 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064609A (en) * 2021-03-05 2021-07-02 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium
CN113064609B (en) * 2021-03-05 2024-05-28 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium
CN113326081A (en) * 2021-06-30 2021-08-31 中国平安人寿保险股份有限公司 Static resource processing method and device, computer equipment and storage medium
CN114238908A (en) * 2021-12-16 2022-03-25 中国平安财产保险股份有限公司 Page repeated login method, device, equipment and storage medium
CN116257707A (en) * 2023-01-04 2023-06-13 腾讯科技(深圳)有限公司 Application release method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112181532B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN112181532B (en) Page resource loading method and device, electronic equipment and readable storage medium
CN107491320B (en) Loading method and device based on mixed-mode mobile application
CN109842617B (en) Advertisement blocking method and device and storage medium
US10489476B2 (en) Methods and devices for preloading webpages
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
WO2017167050A1 (en) Configuration information generation and transmission method, and resource loading method, apparatus and system
US20070033290A1 (en) Normalization and customization of syndication feeds
CN108200132B (en) Resource acquisition method, device, equipment and computer readable storage medium
CN109634753B (en) Data processing method, device, terminal and storage medium for switching browser kernels
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
CN111222153B (en) Application program authority management method and device and storage medium
CN113282354B (en) H5 page loading method, device and equipment of application program and storage medium
CN112612982A (en) Webpage preloading method and device and computer equipment
KR101777035B1 (en) Method and device for filtering address, program and recording medium
CN112751917A (en) Resource file loading method, network device, electronic device and storage medium
CN111475761B (en) Client, server and content sharing control method
US8429247B1 (en) Method and apparatus for fulfilling browser requests from a local cache
CN114745146A (en) Skip interception method and device, readable storage medium and equipment
CN113326080B (en) H5 page loading method, device, equipment and storage medium
CN107908634B (en) Cache control method of browser and mobile terminal
CN116304403A (en) Webpage access method and device, computer equipment and storage medium
US20140195894A1 (en) Method and system for continuous rendering of web content
CN115033656A (en) Data processing method and device based on map cache technology and electronic device
CN113934954A (en) Webpage first screen rendering method and device in application program
CN112433779B (en) Application site preloading method, device and storage medium based on ERP system

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