CN110968365B - Loading method and device - Google Patents

Loading method and device Download PDF

Info

Publication number
CN110968365B
CN110968365B CN201911204172.XA CN201911204172A CN110968365B CN 110968365 B CN110968365 B CN 110968365B CN 201911204172 A CN201911204172 A CN 201911204172A CN 110968365 B CN110968365 B CN 110968365B
Authority
CN
China
Prior art keywords
offline package
public
picture
private
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911204172.XA
Other languages
Chinese (zh)
Other versions
CN110968365A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201911204172.XA priority Critical patent/CN110968365B/en
Publication of CN110968365A publication Critical patent/CN110968365A/en
Application granted granted Critical
Publication of CN110968365B publication Critical patent/CN110968365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The application provides a loading method and a loading device, wherein the loading method comprises the following steps: downloading a public offline package under the condition of receiving an opening instruction of the APP; the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP; downloading a private offline package of any function module of the APP under the condition that a trigger instruction of the function module is received; the private offline package is obtained by packaging code files except for the public code file in the code files of the H5 resource file of the functional module; loading a public offline package and a private offline package; and under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if the picture requested by the picture loading request is not stored in the local area, downloading the picture requested by the picture loading request. The application shortens the time from the receiving of the triggering instruction of the functional module to the displaying of the page of the functional module.

Description

Loading method and device
Technical Field
The present application relates to the field of electronic information, and in particular, to a loading method and apparatus.
Background
Currently, many APPs are written in hypertext markup language (H5) for implementation. Wherein, each functional module in the APP corresponds to an H5 resource file for implementing the functional module, and specifically, the H5 resource file includes: html files, css files, js files, and picture files.
Currently, when a trigger instruction of any function module of an APP is received, the system downloads an H5 resource file of the function module from a web server through a browser, and when the H5 resource file is large, a phenomenon of slow download speed occurs, that is, a time required from receiving the trigger instruction of the function module to displaying a page of the function module is long.
Disclosure of Invention
The application provides a loading method and a loading device, and aims to solve the problem that the time from the receiving of a trigger instruction of any function module of an APP to the displaying of a page of the function module is long.
In order to achieve the above object, the present application provides the following technical solutions:
the application provides a loading method, which is applied to APP and comprises the following steps:
downloading a public offline package under the condition of receiving an opening instruction of the APP; the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP;
downloading a private offline package of any function module of the APP under the condition that a trigger instruction of the function module is received; the private offline package is obtained by packaging code files except the public code file in the code files of the H5 resource file of the functional module;
loading the public offline package and the private offline package;
and under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if a picture requested by the picture loading request is not stored locally, downloading the picture requested by the picture loading request.
Optionally, downloading a common offline package under the condition of receiving an opening instruction of the APP, including:
downloading a public offline package under the condition that an opening instruction of the APP is received for the first time;
under the condition that a trigger instruction of any function module of the APP is received, downloading a private offline package of the function module comprises the following steps:
and under the condition that a trigger instruction of any function module of the APP is received for the first time, downloading a private offline package of the function module.
Optionally, the method further comprises:
storing the public offline package and the private offline package locally;
and saving the picture requested by the picture loading request locally.
Optionally, the method further comprises:
and under the condition that the triggering instruction of the functional module is not received for the first time, loading the public offline package and the private offline package from the local.
Optionally, the method further comprises:
and under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if a picture requested by the picture loading request is locally stored, the picture requested by the picture loading request is loaded from the local.
Optionally, the public offline package and the private offline package of the functional module are stored in a preset static resource server; and the picture files formed by the pictures except the public pictures in the H5 resource files of the functional module are stored in a preset Web server.
The application also provides a loading device, which comprises:
the first downloading module is used for downloading the public offline package under the condition of receiving the opening instruction of the APP; the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP;
the second downloading module is used for downloading the private offline package of any function module of the APP under the condition that the triggering instruction of the function module is received; the private offline package is obtained by packaging code files except the public code file in the code files of the H5 resource file of the functional module;
the first loading module is used for loading the public offline package and the private offline package;
and the third downloading module is used for downloading the picture requested by the picture loading request if the picture requested by the picture loading request is not stored locally under the condition that the picture loading request in the running process of the code files in the public offline package and/or the private offline package is received.
Optionally, the first downloading module is configured to download a public offline package when receiving an opening instruction of the APP, and includes:
the first downloading module is specifically configured to download a public offline package when an opening instruction of the APP is received for the first time;
the second downloading module is configured to download a private offline package of any function module of the APP under the condition that a trigger instruction of the function module is received, and includes:
the second downloading module is specifically configured to download a private offline package of any function module of the APP when a trigger instruction of the function module is received for the first time.
Optionally, the method further comprises:
the first storage module is used for locally storing the public offline package and the private offline package;
and the second storage module is used for locally storing the picture requested by the picture loading request.
Optionally, the method further comprises:
and the second loading module is used for loading the public offline package and the private offline package from the local under the condition that the triggering instruction of the functional module is not received for the first time.
In the loading method and device, the public offline package is downloaded under the condition that the opening instruction of the APP is received, and the private offline package of any function module of the APP is downloaded under the condition that the triggering instruction of the function module is received, so that the public offline package and the private offline package are loaded. And under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if the picture requested by the picture loading request is not stored locally, downloading the picture requested by the picture loading request.
The method downloads the public offline package before receiving the triggering instruction of the functional module, downloads the private offline package after receiving the triggering instruction of the functional module, and loads the public offline package and the private offline package. And under the condition that the pictures are required to be downloaded in the running process of the public offline package and the private offline package, and the pictures requested by the picture loading request are not stored at the present time, downloading the pictures requested by the current picture loading request. I.e. different ones of the H5 resource files of the functional module are downloaded at different times, instead of the entire content of the H5 resource file of the functional module being downloaded at the same time.
The public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP, and the private offline package is obtained by packaging code files except the public code files in the code files of the H5 resource files of the functional modules. Therefore, compared with the H5 resource file of the functional module, the private offline package is only a part of code files in the H5 resource file corresponding to the functional module, and the code files are smaller, so that the private offline package is easy to download, and the private offline package is acquired faster. Compared with the H5 resource file of the functional module, the method and the device have the advantages that the picture requested by the picture loading request is acquired, namely, the picture which is not needed by the user is prevented from being acquired, so that the volume of the picture which is required to be acquired is greatly reduced, the picture is easier to acquire, and the picture is acquired faster.
In summary, the time required from receiving the trigger instruction of the functional module to displaying the page of the functional module is shortened.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a loading method disclosed in an embodiment of the present application;
FIG. 2 is a flow chart of yet another loading method disclosed in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a loading device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the embodiment of the application, aiming at H5 resource files of all functional modules (written by H5) of the APP, the H5 resource files of any functional module comprise code files and picture files, wherein the code files can comprise: html files, css files, js files, and the like.
In the embodiment of the application, a public file is identified from the H5 resource files of each functional module, and a private code file and a private picture file of each functional module are respectively identified. The common file is a common file in H5 resource files of different functional modules of the APP. Wherein, the code files in the public file are called public code files, and the picture files in the public file are called public picture files. The private code file of any functional module is a code file except a public code file in the H5 resource file of the functional module. The private picture file of any function module is a picture file except a public picture file in the picture files of the H5 resource file of the function file.
Specifically, a preset packaging tool (for convenience of description, simply referred to as a packager) may be used to identify and package a common file from H5 resource files of each functional module. Specific ways of identifying and packaging public files may include: and receiving a storage path of the public file in any functional module, extracting the public file from the H5 resource file of the functional module according to the storage path, and packaging the extracted public file to obtain a public offline package.
Specifically, for the H5 resource file of any one functional module, the manner in which the packager identifies and packages the private code file and the private picture file of the functional module may include: and receiving a storage path of the private code file and a storage path of the private picture file of the functional module, extracting the private code file from the storage path of the private code file, and packaging the extracted private code file to obtain a private offline package of the functional module. And extracting the private picture file from the storage path of the private picture file to obtain the private picture file of the functional module.
In the embodiment of the application, the public offline package and the private offline package corresponding to each functional module are stored in a preset static resource server. Of course, in practice, the public offline package and the private offline package of each functional module may be stored in other servers besides the static resource server, and the specific storage address is not limited in this embodiment. And storing the private picture file of each functional module in the Web server.
Fig. 1 is a diagram of a loading method applied to an APP, provided by an embodiment of the present application, including the following steps:
s101, judging whether the opening instruction of the APP is received for the first time or not under the condition that the opening instruction of the APP is received, if so, executing S102, and if not, executing S104.
In this step, the implementation manner of determining whether to first receive the opening instruction of the APP is the prior art, and will not be described herein.
S102, downloading a public offline package from a preset static resource server.
In the case that the APP open instruction is received for the first time, there is no public offline package in the local (for example, user equipment), so in this step, the public offline package is downloaded from a preset static resource server. In particular, a specific implementation manner of downloading the common offline package is in the prior art, and will not be described herein.
S103, storing the downloaded public offline package locally.
Specifically, the specific implementation manner of storing the downloaded public offline package locally in this step is the prior art, and will not be described herein again.
And S104, under the condition that the trigger instruction of any function module in the APP is received, judging whether the trigger instruction of the function module is received for the first time, if so, executing S105, and if not, executing S107.
In this step, it is determined whether the triggering instruction of any functional module in the APP is a specific implementation manner that is received for the first time, which is not described in detail herein for the prior art.
For example, the APP is a mobile banking, and any one of the functional modules in this step is a loan module in the mobile banking, and in this step, if it is determined that the received click command of the user on the loan module is received for the first time, it is determined whether the received click command of the user on the loan module is received for the first time.
S105, downloading a private offline package of the function module from a preset static resource server.
In this step, the APP sends a request for acquiring the private offline package of the function module to the static resource server, and the static resource server feeds back the private offline package of the function module to the APP.
S106, storing the private offline package of the functional module locally.
Specifically, the specific implementation process of this step is the prior art, and will not be described herein.
S107, loading the public offline package and the private offline package of the functional module.
In this step, the public offline package and the private offline package of the functional module are loaded from the local, and specifically, the loading process of the public offline package and the private offline package of the functional module is the running process of the public offline package and the private offline package of the functional module.
S108, under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, judging whether a picture requested by the picture loading request exists in the local area, if so, executing S109, and if not, executing S110.
The public offline package and the private offline package both comprise code files, and a picture loading request may exist in codes of the code files, so that the picture loading request may be generated during the running process of the code files in the public offline package and/or the private offline package of the functional module.
In this step, under the condition that the APP receives the picture loading request, whether a picture requested by the picture loading request exists in the local is queried, wherein a specific implementation manner of the judgment is the prior art, and details are not repeated here.
S109, obtaining the picture requested by the picture loading request from the local.
And under the condition that the picture requested by the picture loading request exists in the local area, executing the step, namely acquiring the picture requested by the picture loading request from the local area.
After the present step is performed, S112 is performed.
S110, downloading the picture requested by the picture loading request from the Web server.
Specifically, when the picture requested by the picture loading request does not exist in the local area, the step is executed, namely a picture downloading request is sent to the Web server, and the picture downloading request is used for indicating the function module and pictures in private pictures of the function module. And receiving a picture requested by the picture loading request fed back by the Web server.
And S111, storing the downloaded picture locally.
In the present embodiment, the picture downloaded from the Web server is stored locally to be used later.
After the present step is performed, S112 is performed.
S112, displaying the picture requested by the picture loading request.
The specific implementation manner of this step is the prior art, and will not be described here again.
The embodiment has the following beneficial effects:
the beneficial effects are as follows:
downloading the public offline package before receiving the triggering instruction of the functional module for the first time, downloading the private offline package after receiving the triggering instruction of the functional module, and loading the public offline package and the private offline package. And under the condition that the pictures need to be downloaded in the running process of the public offline package and the private offline package, obtaining the pictures requested by the current picture loading request. I.e. different ones of the H5 resource files of the functional module are downloaded at different times, instead of the entire content of the H5 resource file of the functional module being downloaded at the same time.
The public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP, and the private offline package is obtained by packaging code files except the public code files in the code files of the H5 resource files of the functional modules. Therefore, compared with the H5 resource file of the functional module, the private offline package is only a part of code files in the H5 resource file corresponding to the functional module, and the code files are smaller, so that the private offline package is easy to download, and the private offline package is acquired faster. Compared with the H5 resource file of the functional module, the method and the device have the advantages that the picture requested by the picture loading request is acquired, namely, the picture which is not needed by the user is prevented from being acquired, so that the volume of the picture which is required to be acquired is greatly reduced, the picture is easier to acquire, and the picture is acquired faster. Therefore, the time required from the receipt of the trigger instruction of the function module to the display of the page of the function module is shortened.
The beneficial effects are as follows:
in this embodiment, for the first time of receiving the opening instruction of the APP, and the first time of receiving the trigger instruction of any function module, only the pictures required in the running process of the public offline package, the private offline package and the code file are downloaded from the time of receiving the trigger instruction of the function module to the time of displaying the page of the function module, and the downloading time of the pictures required in the running process of the public offline package, the private offline package and the code file are different time, so that the downloading of the pictures required in the running process of the public offline package, the private offline package and the code file is easier, that is, the success rate of the content respectively downloaded at different time is improved, thereby the application does not need to use the H5 online version. Therefore, compared with the prior art, the H5 online edition is realized under the condition that the H5 resource file of the functional module is downloaded under the condition that the triggering instruction of the functional module is received and the downloading is not completed within the preset time, the H5 online edition is not used in the application, and thus, the flow is saved.
The beneficial effects are as follows:
in this embodiment, under the condition that the trigger instruction of any one of the function modules of the APP is not received for the first time, the public offline package and the private offline package of the function module are directly loaded from the local area without downloading through a network, so that compared with the prior art, the H5 resource file of the function module is downloaded from the Web server through the browser each time the trigger instruction of any one of the function modules of the APP is received, the embodiment avoids downloading the code file and the public picture file in the H5 resource file from the network, thereby saving the time for downloading the code file and the public picture file in the H5 resource file. In addition, in the embodiment, when a request of a picture loading request in the running process of a code file in a public offline package and/or a private offline package is received, and in the case that a picture requested by the picture loading request does not exist in the local area, downloading is performed from a Web server, so that pictures required to be downloaded from the Web server are reduced, time is saved for downloading the public offline package and the private offline package, or time is saved for downloading the pictures, and therefore, the page of the function module can be accelerated to be displayed under the condition that a trigger instruction of the function module is received.
The beneficial effects are four:
in this embodiment, under the condition that the trigger instruction of any one of the function modules in the APP is not received for the first time, the public offline package and the private offline package of the function module do not need to be downloaded, so that the user traffic is saved for the process from the receiving of the trigger instruction of the function module to the displaying of the page of the function module.
Fig. 2 is a further loading method according to an embodiment of the present application, including the following steps:
s201, under the condition that an opening instruction of the APP is received, downloading a public offline package.
In the step, the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP.
S202, under the condition that a trigger instruction of any function module of the APP is received, downloading a private offline package of the function module.
In this embodiment, the private offline package is obtained by packaging code files except for the public code file in the code files of the H5 resource file of the functional module.
S203, loading the public offline package and the private offline package.
In this step, the public offline package downloaded in S201 and S202 and the private offline package of the function module are loaded.
S204, under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if a picture requested by the picture loading request is not stored in the local area, downloading the picture requested by the picture loading request.
In this step, if a picture loading request exists in the code files in the public offline package and/or the private offline package, a picture loading request may occur in the running process of the code files in the public offline package and/or the private offline package, in this case, the APP receives the picture loading request, and if a picture requested by the picture loading request is not stored in the local area, the picture requested by the picture loading request is downloaded, and the downloaded picture is displayed.
Fig. 3 is a loading device provided in an embodiment of the present application, including: a first download module 301, a second download module 302, a first load module 303, and a third download module 304.
The first downloading module 301 is configured to download a public offline package when receiving an opening instruction of the APP; the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP.
The second downloading module 302 is configured to download a private offline package of any function module of the APP when a trigger instruction of the function module is received; the private offline package is obtained by packaging code files except the public code file in the code files of the H5 resource file of the functional module.
A first loading module 303, configured to load a public offline package and a private offline package.
And the third downloading module 304 is configured to, when receiving a picture loading request in a running process of the code file in the public offline package and/or the private offline package, download a picture requested by the picture loading request if the picture requested by the picture loading request is not stored in the local area.
Optionally, the first downloading module 301 is configured to download a common offline package when receiving an opening instruction of the APP, and includes:
the first downloading module 301 is specifically configured to download the public offline package when an opening instruction of the APP is received for the first time.
The second downloading module 302, configured to, when receiving a trigger instruction of any function module of the APP, download a private offline package of the function module, where the second downloading module includes:
the second downloading module 302 is specifically configured to download the private offline package of any function module of the APP when a trigger instruction of the function module is received for the first time.
Optionally, the apparatus may further include:
the first storing module 303 is configured to store the public offline package and the private offline package locally.
The second saving module 304 is configured to save the picture requested by the picture loading request locally.
Optionally, the apparatus further comprises:
and the second loading module 305 is configured to load the public offline package and the private offline package from the local location if the trigger instruction of the functional module is not received for the first time.
Optionally, the apparatus further comprises:
and the third loading module 306 is configured to, when receiving a picture loading request in a running process of the code file in the public offline package and/or the private offline package, if a picture requested by the picture loading request is locally stored, load the picture requested by the picture loading request from the local.
The functions of the methods of embodiments of the present application, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored on a computing device readable storage medium. Based on such understanding, a part of the present application that contributes to the prior art or a part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A loading method, applied to an APP, comprising:
downloading a public offline package under the condition of receiving an opening instruction of the APP; the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP;
downloading a private offline package of any function module of the APP under the condition that a trigger instruction of the function module is received; the private offline package is obtained by packaging code files except the public code file in the code files of the H5 resource file of the functional module;
loading the public offline package and the private offline package;
and under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if a picture requested by the picture loading request is not stored locally, downloading the picture requested by the picture loading request from a Web server, wherein the public offline package and the private offline package of the function module are stored in a preset static resource server, and picture files formed by pictures except the public picture in an H5 resource file of the function module are stored in the preset Web server.
2. The method of claim 1, wherein downloading the common offline package upon receiving the open instruction of the APP comprises:
downloading a public offline package under the condition that an opening instruction of the APP is received for the first time;
under the condition that a trigger instruction of any function module of the APP is received, downloading a private offline package of the function module comprises the following steps:
and under the condition that a trigger instruction of any function module of the APP is received for the first time, downloading a private offline package of the function module.
3. The method as recited in claim 2, further comprising:
storing the public offline package and the private offline package locally;
and saving the picture requested by the picture loading request locally.
4. A method according to claim 3, further comprising:
and under the condition that the triggering instruction of the functional module is not received for the first time, loading the public offline package and the private offline package from the local.
5. The method as recited in claim 4, further comprising:
and under the condition that a picture loading request in the running process of the code files in the public offline package and/or the private offline package is received, if a picture requested by the picture loading request is locally stored, the picture requested by the picture loading request is loaded from the local.
6. A loading device, for application to an APP, comprising:
the first downloading module is used for downloading the public offline package under the condition of receiving the opening instruction of the APP; the public offline package is obtained by packaging public code files and public picture files in H5 resource files of all functional modules of the APP;
the second downloading module is used for downloading the private offline package of any function module of the APP under the condition that the triggering instruction of the function module is received; the private offline package is obtained by packaging code files except the public code file in the code files of the H5 resource file of the functional module;
the first loading module is used for loading the public offline package and the private offline package;
and the third downloading module is used for downloading the picture requested by the picture loading request from the Web server if the picture requested by the picture loading request is not stored locally under the condition of receiving the picture loading request in the running process of the code files in the public offline package and/or the private offline package, wherein the public offline package and the private offline package of the functional module are stored in a preset static resource server, and the picture files formed by the pictures except the public picture in the H5 resource file of the functional module are stored in the preset Web server.
7. The apparatus of claim 6, wherein the first downloading module, configured to download a common offline package upon receiving an open instruction of the APP, comprises:
the first downloading module is specifically configured to download a public offline package when an opening instruction of the APP is received for the first time;
the second downloading module is configured to download a private offline package of any function module of the APP under the condition that a trigger instruction of the function module is received, and includes:
the second downloading module is specifically configured to download a private offline package of any function module of the APP when a trigger instruction of the function module is received for the first time.
8. The apparatus as recited in claim 7, further comprising:
the first storage module is used for locally storing the public offline package and the private offline package;
and the second storage module is used for locally storing the picture requested by the picture loading request.
9. The apparatus as recited in claim 8, further comprising:
and the second loading module is used for loading the public offline package and the private offline package from the local under the condition that the triggering instruction of the functional module is not received for the first time.
CN201911204172.XA 2019-11-29 2019-11-29 Loading method and device Active CN110968365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204172.XA CN110968365B (en) 2019-11-29 2019-11-29 Loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204172.XA CN110968365B (en) 2019-11-29 2019-11-29 Loading method and device

Publications (2)

Publication Number Publication Date
CN110968365A CN110968365A (en) 2020-04-07
CN110968365B true CN110968365B (en) 2023-08-29

Family

ID=70032349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204172.XA Active CN110968365B (en) 2019-11-29 2019-11-29 Loading method and device

Country Status (1)

Country Link
CN (1) CN110968365B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203555A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Page loading processing method and device
WO2018014849A1 (en) * 2016-07-20 2018-01-25 腾讯科技(深圳)有限公司 Media information display method and apparatus, and computer storage medium
CN110069729A (en) * 2017-11-15 2019-07-30 百度在线网络技术(北京)有限公司 A kind of offline cache method and system of application
CN110471709A (en) * 2019-07-15 2019-11-19 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and electronic equipment accelerating webpage opening speed

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203555A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Page loading processing method and device
WO2018014849A1 (en) * 2016-07-20 2018-01-25 腾讯科技(深圳)有限公司 Media information display method and apparatus, and computer storage medium
CN110069729A (en) * 2017-11-15 2019-07-30 百度在线网络技术(北京)有限公司 A kind of offline cache method and system of application
CN110471709A (en) * 2019-07-15 2019-11-19 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and electronic equipment accelerating webpage opening speed

Also Published As

Publication number Publication date
CN110968365A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN110058873B (en) Application page updating method, device, equipment and storage medium
EP3140732B1 (en) Startup accelerating method and apparatus
US10666758B2 (en) Browser resource pre-pulling method, terminal and storage medium
JP2019520624A (en) Page component dynamic layout
CN107798064B (en) Page processing method, electronic device and computer readable storage medium
CN111367518B (en) Page layout method, page layout device, computing equipment and computer storage medium
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
CN112612982A (en) Webpage preloading method and device and computer equipment
CN106874020B (en) Method and device for starting plug-in
CN110874445A (en) Webpage loading method, client and business service center
CN112417336B (en) Page display method and device, electronic equipment and storage medium
CN112926002A (en) Service request processing method and device
CN110968365B (en) Loading method and device
CN113094612A (en) Method and device for loading webpage at client, electronic equipment and medium
EP3748493B1 (en) Method and device for downloading installation-free application
CN107343042B (en) Browser traffic hijacking method and device and mobile terminal
CN110688594A (en) Page jump method and device for front end of webpage
CN108009226B (en) Promotion content display implementation method based on intelligent terminal application and intelligent terminal
CN107390966B (en) Method and device for updating application upgrading prompt information
CN112672187B (en) Page generation method and device, computer equipment and readable storage medium
CN114996615A (en) Page control method, device, equipment and storage medium
CN114186148A (en) Page loading method and device, electronic equipment and storage medium
CN110858238B (en) Data processing method and device
CN113934954A (en) Webpage first screen rendering method and device in application program
CN113626741A (en) Method and equipment for loading webpage of mobile client

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