CN110569078A - Method and device for preloading webpage-level program - Google Patents

Method and device for preloading webpage-level program Download PDF

Info

Publication number
CN110569078A
CN110569078A CN201810482566.0A CN201810482566A CN110569078A CN 110569078 A CN110569078 A CN 110569078A CN 201810482566 A CN201810482566 A CN 201810482566A CN 110569078 A CN110569078 A CN 110569078A
Authority
CN
China
Prior art keywords
level program
application
webpage
web page
program
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
CN201810482566.0A
Other languages
Chinese (zh)
Other versions
CN110569078B (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.)
Guangzhou Tencent Technology Co Ltd
Original Assignee
Guangzhou Tencent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Tencent Technology Co Ltd filed Critical Guangzhou Tencent Technology Co Ltd
Priority to CN201810482566.0A priority Critical patent/CN110569078B/en
Publication of CN110569078A publication Critical patent/CN110569078A/en
Application granted granted Critical
Publication of CN110569078B publication Critical patent/CN110569078B/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
    • 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/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a method for preloading webpage-level programs, which comprises the following steps: if the application is started and meets the preset condition, starting a process corresponding to a webpage-level program in the application; loading application context information corresponding to the webpage-level program in a page frame file through the process; initializing according to the page frame file loaded with the application context information to pre-load a webpage-level program. In this embodiment, since the process required for starting the web page level program is already started, and the part required for initializing the web page level program is already completed by preloading, if a specific web page level program needs to be started by the application after preloading, the previous preloading is equivalent to the completion of the part required for starting a web page level program before the specific web page level program is started, so that the starting speed for starting the specific web page level program is increased, the user waiting time is reduced, and the user experience is improved.

Description

method and device for preloading webpage-level program
Technical Field
The present application relates to the field of data processing, and in particular, to a method and an apparatus for preloading a web page level program.
Background
The web page level (web) program is a cross-platform application technology and has the characteristics of no need of downloading, instant use after clicking and instant use after use. An applet running in an Application (APP), such as a wechat client, is a typical Application scenario for a web page level program.
for a webpage-level program which is dependent on the operation of an APP, the process of the terminal for operating the webpage-level program is different from the process of an application Brand (APP Brand) for operating the APP. Therefore, even if the APP is running in the terminal, if the Web page level program is to be started, the application still needs to be realized by starting a new process, and then the JavaScript engine, the rendering layer (Web View) of the Web page level program, and the like need to be initialized to complete the starting.
The process and initialization corresponding to the webpage level program are relatively time-consuming to start, so that a user can wait for a relatively long time to finish starting and use the webpage level program when starting the webpage level program in the APP, and the user experience is poor.
disclosure of Invention
In order to solve the technical problem, the application provides a method and a device for preloading a webpage-level program, so as to improve the starting speed of starting the specific webpage-level program, reduce the waiting time of a user, and improve the user experience.
The embodiment of the application discloses the following technical scheme:
The application provides a method for preloading a webpage-level program in a first aspect, and the method comprises the following steps:
If the application is started and meets the preset condition, starting a process corresponding to a webpage-level program in the application;
Loading application context information corresponding to the webpage-level program in a page frame file through the process;
initializing according to the page frame file loaded with the application context information to pre-load a webpage-level program.
Optionally, after initializing the web page level program according to the page frame file loaded with the application context, the method further includes:
acquiring a starting request aiming at a target webpage-level program in the application, wherein the target webpage-level program is one of the webpage-level programs in the application;
and loading entity context information corresponding to the target webpage level program in the page, and updating the page address of the page frame file into the page address corresponding to the target webpage level program to start the target webpage level program.
Optionally, after the target web page level program is started, the method further includes:
Determining a second interface according to a first interface displayed by the target webpage-level program, wherein the second interface is a display interface to which the target webpage-level program is switched in response to the operation on the first interface;
preloading the second interface.
optionally, the page address of the page frame file is a local page address.
optionally, the preset condition includes any one or a combination of more than one of the following conditions:
The application launch time satisfies a time threshold;
displaying a web page level program list of the application;
the application obtains the push of the web page level program.
Optionally, the web page level program includes an applet.
A second aspect of the present application provides an apparatus for preloading a web page level program, the apparatus comprising: the device comprises a starting module, a loading module and an initialization module;
The starting module is used for starting a process corresponding to a webpage-level program in the application if the application is started and meets a preset condition;
the loading module is used for loading application context information corresponding to the webpage-level program in the page frame file through the process;
the initialization module is used for initializing according to the page frame file loaded with the application context information so as to pre-load a webpage-level program.
optionally, the apparatus further comprises: the device comprises an acquisition module and an updating module;
The obtaining module is configured to obtain a start request for a target web page level program in the application, where the target web page level program is one of the web page level programs in the application;
The updating module is configured to start the target web page level program by loading the entity context information corresponding to the target web page level program in the page and updating the page address of the page frame file to the page address corresponding to the target web page level program.
Optionally, the apparatus further comprises: a determining module and a preloading module;
the determining module is configured to determine a second interface according to the first interface displayed by the target webpage-level program, where the second interface is a display interface to which the target webpage-level program is switched in response to an operation on the first interface;
The preloading module is used for preloading the second interface.
Optionally, the page address of the page frame file is a local page address.
Optionally, the preset condition includes any one or a combination of more than one of the following conditions:
the application launch time satisfies a time threshold;
displaying a web page level program list of the application;
The application obtains the push of the web page level program.
optionally, the web page level program includes an applet.
A third aspect of the present application provides a device for preloading a web page level program, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
The processor is configured to execute the preloading method of the web page level program according to any one of the first aspect according to instructions in the program code.
a fourth aspect of the present application provides a computer-readable storage medium for storing program code for executing the method for preloading a web page level program according to any one of the first aspects.
according to the technical scheme, when the application with the webpage-level program is started and meets the preset condition, the process required for starting the webpage-level program in the application can be started, the application context information corresponding to the webpage-level program can be loaded in the page frame file through the started process, the application context information can comprise information of a common part required for starting each webpage-level program and irrelevant to the state of the specific webpage-level program, and the initialization operation required by preloading the webpage-level program can be performed according to the page frame file loaded with the application context, so that the preloading of the webpage-level program is realized. Because the process required for starting the webpage-level program is started, the part required for initializing the webpage-level program is also completed by preloading, if a specific webpage-level program needs to be started through the application after preloading, the previous preloading is equivalent to the part required for starting one webpage-level program which is completed before the specific webpage-level program is started, so that the starting speed for starting the specific webpage-level program is increased, the waiting time of a user is reduced, and the user experience 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 needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a framework of an exemplary application scenario provided in an embodiment of the present application;
Fig. 2 is a flowchart of a method for preloading a web page level program according to an embodiment of the present disclosure;
FIG. 3a is a schematic illustration of an applet listing for a WeChat according to an embodiment of the present application;
FIG. 3b is a schematic illustration of an applet listing for a WeChat provided in an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an applet push for a WeChat according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an applet push for a WeChat according to an embodiment of the present application;
fig. 6 is a schematic interface switching diagram of an applet of the WeChat according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for preloading a web page level program according to an embodiment of the present disclosure;
Fig. 8a is a schematic structural diagram of a device for preloading a web page level program according to an embodiment of the present application;
fig. 8b is a schematic structural diagram of a device for preloading a web page level program according to an embodiment of the present application;
Fig. 8c is a schematic structural diagram of a device for preloading a web page level program according to an embodiment of the present application;
Fig. 9 is a schematic structural diagram of a preloading device for a web page level program according to an embodiment of the present application.
Detailed Description
in order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a conventional webpage-level program starting mode, even if an APP is running in a terminal, if a webpage-level program which depends on the running of the APP needs to be started, the starting can be realized by starting a new process, and then a JavaScript engine, a rendering layer of the webpage-level program and the like need to be initialized to finish the starting. Therefore, in the conventional manner, it takes time to start the process, initialization, and the like corresponding to the web-level program, which results in that a user may wait for a long time to finish starting to start using the web-level program when starting the web-level program in the APP, and user experience is poor.
therefore, the embodiment of the application provides a method for preloading a webpage-level program, which can realize that when an application with the webpage-level program is started but the webpage-level program is not started, a process required for starting the webpage-level program in the application can be started, and a common part required for starting initialization of each webpage-level program can be completed through preloading.
As an example, the method for preloading a web page level program provided in the embodiment of the present application may be applied to a scenario shown in fig. 1, where the scenario may include the terminal 102. The terminal 102 may be a device installed with an application having a web page level program, and may be, for example, a mobile phone, a notebook computer, a desktop computer, a tablet computer, an e-book reader, a motion Picture expert Audio Layer 4 (MP 4) player, a laptop computer, or the like, installed with an application having a web page level program. It should be noted that, in the present embodiment, the web page level program may include an applet, and for convenience of description, the applet is mainly exemplified as the web page level program in the present embodiment.
Specifically, when the user 101 performs a trigger operation of starting an application to the terminal 102, the terminal 102 may start the application, wherein the application may be a data structure capable of providing a function of running a web page level program, such as WeChat. Taking the WeChat as an example, as shown in fig. 1, assuming that the user 101 performs a triggering operation (such as clicking an icon corresponding to the WeChat) for starting the WeChat on the terminal 102, the terminal 102 may start the WeChat and display an interface corresponding to the WeChat.
after the terminal 102 determines that the application is started and meets the preset condition, the terminal 102 may start a process corresponding to a webpage-level program in the application. The process may be understood as a running activity for processing data, and may be a basic unit for resource allocation and scheduling of the system, or may be a basis of an operating system structure, for example, the process in this embodiment may be an APP branch process. It should be noted that the process corresponding to the application and the process corresponding to the web page level program may be different; specifically, the process corresponding to the application may be understood as a one-time running activity of processing the relevant data of the application, and the process corresponding to the web page level program may be understood as a one-time running activity of processing the relevant data for preloading the web page level program. It can be understood that the terminal 102 starts a process corresponding to the web page level program in the application, which indicates that the terminal 102 can perform an initialization operation required for preloading the web page level program.
after the terminal 102 starts a process corresponding to a webpage-level program in an application, the terminal 102 may load application context information (ApplicationContext) corresponding to the webpage-level program in a Page Frame file (Page Frame) through the started process; the terminal 102 may then initialize based on the page frame file loaded with the application context information.
the page frame file may be understood as a container capable of loading information for starting a web page level program and displaying page contents corresponding to a page address. In one possible implementation, the page frame file may be a HyperText Markup Language (html) frame file with blank display content. It should be noted that the page address of the page frame file may be used to identify the location of the page content displayed by the page frame file, and it is understood that the page address of the page frame file may be a network web page address, for example, the page address may be www.qq.com, and of course, the page address may also be a local web page address, for example, the web page address may be about blank.
it should be noted that, when the page address of the page frame file is a local web address, the page frame file may obtain the information for pre-loading the web-level program from the local, and does not need to interact with the network to obtain the information for pre-loading the web-level program. For example, when the page frame file loads the application context information corresponding to the web page level program, the page frame file may directly obtain the application context information to be loaded in the local terminal, and the application context information sent by the network side may be obtained without sending an obtaining request of the application context information to the network side.
It can be understood that, in the manner, since the process of obtaining the information for pre-loading the web page level program by the page frame file is performed locally in the terminal, the process does not need to send any information to the network side by the page frame file, and does not need to send any information to the page frame file by the network side, and is not affected by network problems (such as slow network speed). Therefore, when the page address of the page frame file is the local page address, the system resources occupied by the page frame file when the page frame file acquires the page content can be reduced, the time for the page frame file to acquire the page content can be shortened, the user can use the application without being aware of the influence caused by pre-loading the page level program, and the user experience is improved.
Generally, a web page level program in an application is composed of a rendering layer and a logic layer (Services), wherein the rendering layer and the logic layer are independent from each other and can communicate with each other. Moreover, the rendering layer and the logic layer can be stripped into two parts, namely a state-related part and a state-unrelated part, and it should be noted that the state-related part of the rendering layer (or the logic layer) can be understood as a part corresponding to a specific webpage-level program in the rendering layer (or the logic layer); the state-independent part of the rendering layer (or logical layer) may be understood as a part of the rendering layer (or logical layer) that is not related to a specific web page level program, but corresponds to each web page level program in an application. And the state-independent parts stripped from the rendering layer and the logic layer can be initialized so as to realize the initialization operation required by preloading the webpage-level program. It is understood that in this embodiment, preloading may be performed for state independent portions stripped out of the render layer and the logic layer.
The application context information corresponding to the web page level program may be information, which is not related to a specific web page level program state, of a common part required by each web page level program in an application during running. Moreover, the application context information corresponding to the web page level program can be used for configuring the page frame file, so that the initialization operation required by the web page level program preloading can be performed according to the page frame file loaded with the application context, and the web page level program preloading can be realized after the initialization operation is completed.
It should be noted that, because each web page level program in one application corresponds to the same application context information, the initialization that is completed according to the page frame file loaded with the application context information can be applied to each web page level program in the application corresponding to the application context information; therefore, no matter any specific webpage-level program in the application needs to be started subsequently, the method is equivalent to finishing partial work required by the specific webpage-level program before the specific webpage-level program is started, the starting speed of starting the specific webpage-level program is improved, and the waiting time of a user is reduced.
It should be noted that the above application scenarios are only shown for the convenience of understanding the present application, and the embodiments of the present application are not limited in any way in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Next, a method for preloading a web page level program provided by the present application will be described by taking an example in which the method for preloading a web page level program provided by the present application is applied to a terminal. Referring to fig. 2, a flowchart of a method for preloading a web page level program according to an embodiment of the present application is provided. As shown in fig. 2, the following steps may be included:
S201: and if the application is started and meets the preset condition, starting the process corresponding to the webpage-level program in the application.
It can be understood that, in order to avoid that a user may wait for a long time to start using a web page level program when starting the web page level program in an application, in this embodiment, the terminal may determine whether to preload the web page level program in the application according to a real-time condition.
Specifically, the terminal may first determine whether an application that has been started exists, for example, may determine whether the terminal has started a process corresponding to the application; if yes, whether the preset conditions are met or not can be continuously judged. If the terminal determines that the preset condition is satisfied, for example, any one or a combination of a plurality of preset conditions is satisfied: the application starting time meets a time threshold, a webpage-level program list of the application is displayed, and the application acquires pushing of the webpage-level program; then, the terminal may determine that the application needs to be preloaded with the page-level program, and may start a process corresponding to the page-level program in the application.
note that, for the preset conditions: in one implementation, the terminal may determine whether the time for starting the process corresponding to the application is greater than or equal to the time threshold, and if so, may determine that the application starting time satisfies the time threshold, that is, may determine that the preset condition is satisfied. Taking a terminal as a smart phone and an application as a WeChat as examples, if the smart phone determines that the time for starting the process corresponding to the WeChat is 10s and is greater than a time threshold value of 5s, the smart phone may determine that the preset condition is satisfied.
aiming at the preset conditions: in one implementation, the terminal needs to determine whether the web page level program list of the application is displayed in a display interface of the terminal, and if so, it can be determined that the preset condition is met. Taking a terminal as a smart phone, an application as a WeChat, and a webpage-level program as an applet as an example, as shown in fig. 3a, if an applet list 301 of the WeChat is included in a display interface of the smart phone, the smart phone may determine that the preset condition is satisfied; it should be noted that the applet list 301 shown in fig. 3a is only one of the displaying manners of the applet list of the WeChat, and the applet list of the WeChat can also be displayed in other manners, for example, a user may click a "find" button in the WeChat, then click an "applet" button, and then the display page of the smart phone may display the applet list shown in fig. 3 b.
aiming at the preset conditions: in one implementation, a terminal needs to determine whether a webpage-level program in an application is exposed, for example, the application receives a push message for the webpage-level program sent by an application friend, or an interface displayed by the application includes push content for the webpage-level program; if so, the preset condition can be determined to be satisfied. Taking a terminal as a smart phone, an application as a WeChat, and a webpage-level program as a small program "jump one jump" as an example, as shown in fig. 4, if a user opens an article through the WeChat, and the article includes push content for the small program "jump one jump", that is, an interface displayed by the WeChat includes push content for the small program "jump one jump", the smart phone may determine that the preset condition is satisfied.
Next, S201 will be illustrated with reference to fig. 5, taking the application as WeChat and the web page level program as an applet "jump one jump". Assuming that the preset conditions are that the application starting time is met and the time threshold is 5s at the same time, and the webpage-level program list of the application is displayed or the application acquires the pushing of the webpage-level program; as shown in fig. 5(a), the display interface of the smartphone (i.e., the terminal) is showing the chat interface between the wechat user "ZZZ" and the wechat user "AAA", and after 1min, as shown in fig. 5(b), the wechat user "AAA" pushes the wechat applet "hop by hop" to the wechat user "ZZZ"; because the WeChat starting time is greater than the time threshold value by 5s, and the WeChat obtains the push of the small program 'jump one jump', the WeChat is started and meets the preset condition, and the smart phone can start the process corresponding to the small program in the WeChat.
S202: and loading the application context information corresponding to the webpage-level program in the page frame file through the process.
After the terminal starts the process corresponding to the webpage level program in the application, the terminal can pre-load the webpage level program in the application. When the terminal starts the process corresponding to the webpage-level program in the application, the specific webpage-level program in the application is not determined to be started yet. Therefore, in this embodiment, the terminal may load the application context information corresponding to all the web page level programs in the application in the page frame file through the process, so that no matter which specific web page level program in the application needs to be started actually, it can be ensured that the preloading of the specific web page level program can be completed before the specific web page level program is started, that is, a part of work required for starting any one web page level program. It should be noted that, in one possible implementation manner, the application Context information loaded in the page frame file may be application Context information that is wrapped by a variable Context Wrapper (executable Context Wrapper).
As an example, after the terminal starts a process corresponding to a web page level program in an application, the terminal may determine the started application first; then, the terminal can determine application context information corresponding to the webpage-level program in the application according to the application; the terminal may then load the application context information in the page frame file.
for example, taking an application as a WeChat, a terminal as a smart phone, and a web page level program as an applet as an example, after the smart phone starts a process corresponding to the applet in the WeChat, the smart phone may first determine application context information corresponding to the applet in the WeChat, and then may load the application context information in a page frame file.
S203: initializing according to the page frame file loaded with the application context information to pre-load a webpage-level program.
in order to complete the preloading of the web page level program in the application, after the application context information corresponding to the web page level program is loaded in the page frame file, initialization may be performed according to the page frame file loaded with the application context information. In a possible implementation manner, the state-independent part of the web page level program in the application may be initialized according to the page frame file loaded with the application context information, for example, the state-independent part stripped from the JavaScript engine, the rendering layer, and the logic layer of the web page level program, and the like may be initialized. In this way, the page frame file which has completed the preloading is obtained, so that the preloading of the webpage-level program in the application is completed, namely, the partial work required for starting a webpage-level program is completed before starting a specific webpage-level program.
It can be understood that after the preloading of the web page level program in the application is completed, when any specific web page level program in the application needs to be started, the work required for subsequently starting the specific web page level program can be continuously executed through the pre-loaded page frame file, so as to start the specific web page level program. It should be noted that, how to continue to execute the work required for subsequently starting the web page level program through the already pre-loaded page frame file will be described in detail later.
According to the technical scheme, when the application with the webpage-level program is started and meets the preset condition, the process required for starting the webpage-level program in the application can be started, the application context information corresponding to the webpage-level program can be loaded in the page frame file through the started process, the application context information can comprise information of a common part required for starting each webpage-level program and irrelevant to the state of the specific webpage-level program, and the initialization operation required by preloading the webpage-level program can be performed according to the page frame file loaded with the application context, so that the preloading of the webpage-level program is realized. Because the process required for starting the webpage-level program is started, the part required for initializing the webpage-level program is also completed by preloading, if a specific webpage-level program needs to be started through the application after preloading, the previous preloading is equivalent to the part required for starting one webpage-level program which is completed before the specific webpage-level program is started, so that the starting speed for starting the specific webpage-level program is increased, the waiting time of a user is reduced, and the user experience is improved.
After how to preload the web page level program in the application is introduced, next, how to increase the starting speed of the specific web page level program through the page frame file which has been preloaded is introduced.
In an implementation manner of this embodiment, after S203, the embodiment corresponding to fig. 2 may further include the following steps:
S211: and acquiring a starting request aiming at a target webpage-level program in the application.
After the terminal pre-loads the webpage-level programs in the application, if a user needs to start a specific webpage-level program in the application, the user can execute a trigger operation for starting the specific webpage-level program to the terminal, so that the terminal can obtain a starting request for the specific webpage-level program. It should be noted that, for convenience of description, a specific web page level program to be started may be referred to as a target web page level program.
for example, assume that the application is WeChat, the terminal is a smartphone, the web-level program is an applet, and the smartphone has completed preloading the applet in WeChat. When a user opens the applet list of the WeChat through the smart phone and clicks the applet jump in the applet list (namely, the target applet), the smart phone can obtain a start request of the applet jump in the WeChat.
S212: and starting the target webpage level program by loading entity context information corresponding to the target webpage level program in the page frame file and updating the page address of the page frame file into the page address corresponding to the target webpage level program.
the entity Context information (Activity Context) corresponding to a web page level program may be information related to the state of the web page level program, which is required when the web page level program runs. It can be understood that, when the target web page level program needs to be started, the entity context information corresponding to the target web page level program may be loaded in the page frame file, so as to load the state-related part of the target web page level program. It should be noted that, the entity context information corresponding to any specific web page level program is loaded into the pre-loaded page frame file, and the page frame file can directly start the specific web page level program without performing the initialization operation required for starting the specific web page level program.
The page address corresponding to the target webpage level program can identify the network position of the interface content required to be displayed by the page frame file when the target webpage level program is started. Therefore, the page frame file loaded with the entity context information corresponding to the target webpage level program can obtain the interface content corresponding to the target webpage level program through the page address corresponding to the target webpage level program.
Specifically, in this embodiment, after the terminal obtains the start request for the target web page level program, the terminal may first obtain the entity context information and the page address corresponding to the target web page level program. Then, the terminal may load the entity context information in the page frame file that has completed preloading, and may update the page address of the page frame file to the page address corresponding to the target web page level program. Then, the page frame file loaded with the entity context information may obtain the interface content corresponding to the target webpage level program according to the page address corresponding to the target webpage level program, and the page frame file may display the interface content to complete the starting of the target webpage level program.
according to the technical scheme, the preloading of the target webpage level program is equivalent to the completion of partial work required by starting one webpage level program before the target webpage level program is started, so that after the starting request for the target webpage level program is obtained, the terminal can start the target webpage level program only by loading the entity context information corresponding to the specific webpage level program in the preloaded webpage frame file and updating the page address of the webpage frame file to the page address corresponding to the specific webpage level program, the time for starting the target webpage level program is shortened, the starting speed for starting the target webpage level program is increased, the waiting time of a user is shortened, and the user experience is improved.
in the process that a user uses a target webpage level program through a terminal, when the user executes a page switching operation in a current display interface of the target webpage level program through the terminal, another display interface needing to be switched to is loaded, however, since a certain time is spent for loading the another display interface, the terminal needs to wait for a period of time to be switched to the another display interface after the user executes the operation capable of switching the current display interface, thereby causing poor user experience.
Therefore, in the embodiment of the present application, after the target webpage-level program is started, the terminal may preload the next display interface of the display interface every time the terminal displays a display interface of the target webpage-level program, for example, the display content required to be displayed by the next display interface of the display interface may be cached in advance. Specifically, in an implementation manner of this embodiment, after the target webpage-level program is started, the embodiment corresponding to fig. 2 may further include the following steps:
S221: and determining a second interface according to the first interface displayed by the target webpage-level program.
After the terminal starts the target webpage-level program, the display interface displayed by the terminal can be called a first interface. Generally, the first interface displayed by the target webpage-level program at least comprises a key with a function of triggering switching of the displayed page, such as a key with a function of triggering switching to a main page and a key with a function of triggering switching to a game interface; when a user needs to switch the first interface displayed by the target webpage-level program to other display interfaces, the user can execute a trigger operation for the key in the first interface, so that the display page displayed by the target webpage-level program can be switched to the display page corresponding to the key from the first interface. It should be noted that, in this embodiment, the presentation interface to which the target web page level program switches in response to the operation on the first interface may be referred to as a second interface.
Specifically, after the terminal starts the target webpage-level program and before the terminal detects the switching operation for the first interface, the terminal may determine the first interface displayed by the target webpage-level program. Then, the terminal can determine a second interface which may need to be switched to according to the first interface.
For ease of understanding, the following takes the terminal as a smartphone, the application as a WeChat, and the target web page level program as an applet "hop by hop" as examples, and is illustrated in conjunction with FIG. 6. As shown in fig. 6(a), after the smartphone starts the applet "jump one jump", it may be determined that the currently displayed interface of the applet "jump one jump" is the main interface, that is, the first interface is the applet "jump one jump" main interface; since the applet "jump one jump" main interface includes the "start game" key therein, and the applet "jump one jump" can switch to the applet "jump one jump" game interface as shown in fig. 6(b) in response to the user clicking the "start game" key in the main interface, the applet "jump one jump" game interface can be determined as the second interface.
s222: preloading the second interface.
after the terminal determines the second interface according to the first interface displayed by the target webpage-level program, and before the terminal detects the switching operation for the first interface, the terminal can pre-load the second interface. As an example, the terminal may first cache interface content to be displayed in the second interface in the storage medium; when the second interface needs to be displayed, the terminal can read the interface content needed to be displayed in the second interface from the storage medium, and can display the interface content needed to be displayed in the second interface through the page frame file.
Continuing with the example corresponding to fig. 6 in S221 as an example, after the smart phone determines the applet one-hop game interface as the second interface, the smart phone may first cache interface content that needs to be displayed in the applet one-hop game interface in the smart phone. After the user clicks the "start game" button in the main applet "jump one jump" interface, as shown in fig. 6(b), the smartphone can display the applet "jump one jump" game interface through the page frame file.
according to the technical scheme, after the target webpage-level program is started, the second interface can be determined according to the first interface displayed by the target webpage-level program, and the second interface can be preloaded. Therefore, the terminal can display the pre-loaded second page after detecting the page switching operation in the first interface, namely the second page is loaded before the second page needs to be displayed, so that the time consumed for switching from the first interface to the second interface is shortened, the user waiting time is reduced, and the user experience is improved.
In order to better understand and implement the above-mentioned scheme of the embodiment of the present application, a corresponding application scenario will be illustrated in conjunction with fig. 7, and a method for preloading a web page level program provided in the embodiment of the present application will be specifically described below. The application scenario corresponding to fig. 7 may include a smart phone (i.e., a terminal) installed with a WeChat, and the smart phone may run a web-level program through the WeChat, for example, may run an applet "jump one jump".
If the user starts the WeChat by clicking the icon corresponding to the WeChat in the smart phone and the preset condition is met, the smart phone can pre-load the small program in the WeChat. Specifically, the process of preloading the applet in the WeChat by the smartphone may include the following steps:
S701: and if the WeChat is started and the preset conditions are met, the smart phone starts the process corresponding to the small program in the WeChat.
The preset condition may include any one or more of the following combinations: the start time of the WeChat meets the time threshold of 5s, the small program list of the WeChat is displayed, and the pushing of the small program is acquired by the WeChat.
S702: and the smart phone loads the application context information corresponding to the small program in the page frame file through the process corresponding to the small program.
s703: and the smart phone initializes according to the page frame file loaded with the application context information to preload the small program.
S704: the smart phone obtains a starting request aiming at a small program 'jump one jump' in the WeChat.
s705: and the smart phone loads entity context information corresponding to the applet skip by one hop in the page and updates the page address of the page frame file into the page address corresponding to the applet skip by one hop so as to start the applet skip by one hop.
s706: after the smart phone starts the applet "jump one jump", the smart phone may determine a second interface according to the first interface displayed by the applet "jump one jump".
The second interface can be a presentation interface to which an applet "jumps one hop" in response to an operation at the first interface.
S707: the smartphone may preload the second interface.
According to the technical scheme, when the application with the webpage-level program is started and meets the preset condition, the process required for starting the webpage-level program in the application can be started, the application context information corresponding to the webpage-level program can be loaded in the page frame file through the started process, the application context information can comprise information of a common part required for starting each webpage-level program and irrelevant to the state of the specific webpage-level program, and the initialization operation required by preloading the webpage-level program can be performed according to the page frame file loaded with the application context, so that the preloading of the webpage-level program is realized. Because the process required for starting the webpage-level program is started, the part required for initializing the webpage-level program is also completed by preloading, if a specific webpage-level program needs to be started through the application after preloading, the previous preloading is equivalent to the part required for starting one webpage-level program which is completed before the specific webpage-level program is started, so that the starting speed for starting the specific webpage-level program is increased, the waiting time of a user is reduced, and the user experience is improved.
To facilitate better implementation of the above-described aspects of the embodiments of the present application, the following also provides relevant means for implementing the above-described aspects.
referring to fig. 8a, an apparatus 800 for preloading a web page level program according to an embodiment of the present invention is provided, where the apparatus 800 for preloading a web page level program includes: a start module 801, a load module 802 and an initialize module 803;
the starting module 801 is configured to start a process corresponding to a webpage-level program in an application if the application is started and meets a preset condition;
The loading module 802 is configured to load application context information corresponding to a web page level program in a page frame file through the process;
the initialization module 803 is configured to initialize according to the page frame file loaded with the application context information to pre-load a web page level program.
In one embodiment, please refer to fig. 8b, the apparatus further comprises: an acquisition module 804 and an update module 805;
The obtaining module 804 is configured to obtain a start request for a target web page level program in the application, where the target web page level program is one of the web page level programs in the application;
The updating module 805 is configured to load entity context information corresponding to the target web page level program in the page, and update the page address of the page frame file to a page address corresponding to the target web page level program to start the target web page level program.
In one embodiment, please refer to fig. 8c, the apparatus further comprises: a determination module 806 and a preloading module 807;
The determining module 806 is configured to determine a second interface according to the first interface displayed by the target webpage-level program, where the second interface is a display interface to which the target webpage-level program switches in response to the operation on the first interface;
The preloading module 807 is configured to preload the second interface.
In one embodiment, the page address of the page frame file is a local page address.
In one embodiment, the preset condition comprises any one or a combination of more than one of the following:
the application launch time satisfies a time threshold;
Displaying a web page level program list of the application;
The application obtains the push of the web page level program.
in one embodiment, the web page level program comprises an applet.
The embodiment of the present application provides a device for preloading a webpage-level program, as shown in fig. 9, for convenience of description, only a part related to the embodiment of the present application is shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present application. The terminal may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, taking the terminal as the mobile phone as an example:
fig. 9 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 9, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuit 960, wireless fidelity (WiFi) module 970, processor 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 9 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
the following describes each component of the mobile phone in detail with reference to fig. 9:
the RF circuit 910 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the received downlink information to the processor 980; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
the memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
the input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932. The touch panel 931, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (e.g., a user's operation on or near the touch panel 931 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 931 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch panel 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 930 may include other input devices 932 in addition to the touch panel 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 941, and optionally, the display panel 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 931 may cover the display panel 941, and when the touch panel 931 detects a touch operation on or near the touch panel 931, the touch panel transmits the touch operation to the processor 980 to determine the type of the touch event, and then the processor 980 provides a corresponding visual output on the display panel 941 according to the type of the touch event. Although in fig. 9, the touch panel 931 and the display panel 941 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 941 and/or backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to, for example, another mobile phone via the RF circuit 99, or outputs the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 9 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
in the embodiment of the present application, the processor 980 included in the terminal further has the following functions:
If the application is started and meets the preset condition, starting a process corresponding to a webpage-level program in the application;
Loading application context information corresponding to the webpage-level program in a page frame file through the process;
initializing according to the page frame file loaded with the application context information to pre-load a webpage-level program.
Optionally, after initializing the web page level program according to the page frame file loaded with the application context, the method further includes:
acquiring a starting request aiming at a target webpage-level program in the application, wherein the target webpage-level program is one of the webpage-level programs in the application;
and loading entity context information corresponding to the target webpage level program in the page, and updating the page address of the page frame file into the page address corresponding to the target webpage level program to start the target webpage level program.
optionally, after the target web page level program is started, the method further includes:
Determining a second interface according to a first interface displayed by the target webpage-level program, wherein the second interface is a display interface to which the target webpage-level program is switched in response to the operation on the first interface;
Preloading the second interface.
Optionally, the page address of the page frame file is a local page address.
Optionally, the preset condition includes any one or a combination of more than one of the following conditions:
The application launch time satisfies a time threshold;
Displaying a web page level program list of the application;
the application obtains the push of the web page level program.
optionally, the web page level program includes an applet.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a program code, and the program code is used for executing any implementation manner of the preloading method of the web page level program described in the foregoing embodiments.
it is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
the terms "first," "second," "third," "fourth," and the like (if any) in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

1. A method for preloading a webpage-level program, the method comprising:
If the application is started and meets the preset condition, starting a process corresponding to a webpage-level program in the application;
loading application context information corresponding to the webpage-level program in a page frame file through the process;
Initializing according to the page frame file loaded with the application context information to pre-load a webpage-level program.
2. the method of claim 1, wherein after the initializing a web page level program according to the page frame file into which the application context is loaded, the method further comprises:
acquiring a starting request aiming at a target webpage-level program in the application, wherein the target webpage-level program is one of the webpage-level programs in the application;
And loading entity context information corresponding to the target webpage level program in the page, and updating the page address of the page frame file into the page address corresponding to the target webpage level program to start the target webpage level program.
3. The method of claim 2, wherein after launching the target web page level program, the method further comprises:
determining a second interface according to a first interface displayed by the target webpage-level program, wherein the second interface is a display interface to which the target webpage-level program is switched in response to the operation on the first interface;
Preloading the second interface.
4. The method according to any of claims 1-3, wherein the page address of the page frame file is a local page address.
5. A method according to any one of claims 1 to 3, wherein the predetermined conditions include any one or a combination of:
The application launch time satisfies a time threshold;
displaying a web page level program list of the application;
the application obtains the push of the web page level program.
6. A method according to any of claims 1-3, wherein the web-level program comprises an applet.
7. an apparatus for preloading a program at a web page level, the apparatus comprising: the device comprises a starting module, a loading module and an initialization module;
the starting module is used for starting a process corresponding to a webpage-level program in the application if the application is started and meets a preset condition;
The loading module is used for loading application context information corresponding to the webpage-level program in the page frame file through the process;
the initialization module is used for initializing according to the page frame file loaded with the application context information so as to pre-load a webpage-level program.
8. The apparatus of claim 7, further comprising: the device comprises an acquisition module and an updating module;
The obtaining module is configured to obtain a start request for a target web page level program in the application, where the target web page level program is one of the web page level programs in the application;
The updating module is configured to start the target web page level program by loading the entity context information corresponding to the target web page level program in the page and updating the page address of the page frame file to the page address corresponding to the target web page level program.
9. the apparatus of claim 8, further comprising: a determining module and a preloading module;
The determining module is configured to determine a second interface according to the first interface displayed by the target webpage-level program, where the second interface is a display interface to which the target webpage-level program is switched in response to an operation on the first interface;
The preloading module is used for preloading the second interface.
10. The apparatus according to any one of claims 7-9, wherein the page address of the page frame file is a local page address.
11. The apparatus according to any one of claims 7-9, wherein the preset conditions comprise any one or more of the following in combination:
The application launch time satisfies a time threshold;
Displaying a web page level program list of the application;
The application obtains the push of the web page level program.
12. The apparatus of any of claims 7-9, wherein the web-level program comprises an applet.
13. an apparatus for preloading a program at a web page level, the apparatus comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
The processor is configured to execute the preloading method of the web page level program according to any one of claims 1-6 according to instructions in the program code.
14. A computer-readable storage medium for storing program code for performing the method for preloading a web page level program according to any one of claims 1 to 6.
CN201810482566.0A 2018-05-18 2018-05-18 Method and device for preloading webpage-level program Active CN110569078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810482566.0A CN110569078B (en) 2018-05-18 2018-05-18 Method and device for preloading webpage-level program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810482566.0A CN110569078B (en) 2018-05-18 2018-05-18 Method and device for preloading webpage-level program

Publications (2)

Publication Number Publication Date
CN110569078A true CN110569078A (en) 2019-12-13
CN110569078B CN110569078B (en) 2023-08-08

Family

ID=68771890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810482566.0A Active CN110569078B (en) 2018-05-18 2018-05-18 Method and device for preloading webpage-level program

Country Status (1)

Country Link
CN (1) CN110569078B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078324A (en) * 2019-12-16 2020-04-28 百度在线网络技术(北京)有限公司 Method and apparatus for prefetching page data
CN111221613A (en) * 2020-01-03 2020-06-02 北京小米移动软件有限公司 Program calling method and device and storage medium
CN113452738A (en) * 2020-03-27 2021-09-28 北京沃东天骏信息技术有限公司 Page loading method and client
CN113783966A (en) * 2021-09-23 2021-12-10 北京火山引擎科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN114217872A (en) * 2021-12-15 2022-03-22 北京鲸鲮信息***技术有限公司 Application program starting method and device, electronic equipment and storage medium
CN115016884A (en) * 2022-07-21 2022-09-06 维沃移动通信有限公司 Application program control method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
WO2015169177A1 (en) * 2014-05-06 2015-11-12 Tencent Technology (Shenzhen) Company Limited Web page display method and apparatus
CN106126287A (en) * 2016-06-20 2016-11-16 珠海市魅族科技有限公司 Application program launching method and system
CN106406961A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Method and device for loading and providing application based on browser
WO2017057912A1 (en) * 2015-10-02 2017-04-06 삼성전자주식회사 Apparatus and method for performing application in electronic device
CN107291759A (en) * 2016-04-01 2017-10-24 腾讯科技(深圳)有限公司 The treating method and apparatus of browser page resource
CN107967278A (en) * 2016-10-19 2018-04-27 广州市动景计算机科技有限公司 Webpage pre-head method, Web access method, equipment and programmable device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
WO2015169177A1 (en) * 2014-05-06 2015-11-12 Tencent Technology (Shenzhen) Company Limited Web page display method and apparatus
WO2017057912A1 (en) * 2015-10-02 2017-04-06 삼성전자주식회사 Apparatus and method for performing application in electronic device
CN107291759A (en) * 2016-04-01 2017-10-24 腾讯科技(深圳)有限公司 The treating method and apparatus of browser page resource
CN106126287A (en) * 2016-06-20 2016-11-16 珠海市魅族科技有限公司 Application program launching method and system
CN106406961A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Method and device for loading and providing application based on browser
CN107967278A (en) * 2016-10-19 2018-04-27 广州市动景计算机科技有限公司 Webpage pre-head method, Web access method, equipment and programmable device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "微信小程序之提高应用速度小技巧", pages 1 - 12, Retrieved from the Internet <URL:https://wetest.qq.com/labs/294> *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078324A (en) * 2019-12-16 2020-04-28 百度在线网络技术(北京)有限公司 Method and apparatus for prefetching page data
CN111221613A (en) * 2020-01-03 2020-06-02 北京小米移动软件有限公司 Program calling method and device and storage medium
CN111221613B (en) * 2020-01-03 2023-04-18 北京小米移动软件有限公司 Program calling method and device and storage medium
CN113452738A (en) * 2020-03-27 2021-09-28 北京沃东天骏信息技术有限公司 Page loading method and client
CN113783966A (en) * 2021-09-23 2021-12-10 北京火山引擎科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN114217872A (en) * 2021-12-15 2022-03-22 北京鲸鲮信息***技术有限公司 Application program starting method and device, electronic equipment and storage medium
CN114217872B (en) * 2021-12-15 2024-07-19 北京字节跳动网络技术有限公司 Application program starting method and device, electronic equipment and storage medium
CN115016884A (en) * 2022-07-21 2022-09-06 维沃移动通信有限公司 Application program control method, device, equipment and medium

Also Published As

Publication number Publication date
CN110569078B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN110569078B (en) Method and device for preloading webpage-level program
US20160315999A1 (en) Device and method for associating applications
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN102866916B (en) Terminal and method for dynamically loading application program interface
CN109189300B (en) View circulation display method and device
CN107967153B (en) Application program management method and mobile terminal
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN106326489B (en) Method and device for updating network resources
CN109126124B (en) Engine adaptation method, related device and computer readable storage medium
CN110609694A (en) BUG repairing method and device, terminal equipment and storage medium
KR102239616B1 (en) Message notification method and terminal
CN110287443B (en) Page data display method and related device
CN106095423B (en) Method, terminal and server for providing browsing service
CN106339391B (en) Webpage display method and terminal equipment
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN110753914B (en) Information processing method, storage medium and mobile terminal
EP3550790B1 (en) Streaming media data processing method and mobile terminal
CN111367502A (en) Numerical value processing method and device
CN106339402B (en) Method, device and system for pushing recommended content
CN109316751B (en) Game adaptation method, related device and computer-readable storage medium
CN105528220B (en) Method and device for loading dynamic shared object
CN108108221B (en) Method and device for switching real-time data display through designated operation
CN112445967A (en) Information push method and device, readable storage medium and information push system
CN115794654A (en) Test case distribution processing method, system, equipment and storage medium
CN112214699B (en) Page processing method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40018666

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant