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

Method and device for preloading webpage-level program Download PDF

Info

Publication number
CN110569078B
CN110569078B CN201810482566.0A CN201810482566A CN110569078B CN 110569078 B CN110569078 B CN 110569078B CN 201810482566 A CN201810482566 A CN 201810482566A CN 110569078 B CN110569078 B CN 110569078B
Authority
CN
China
Prior art keywords
level program
webpage
application
web page
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810482566.0A
Other languages
Chinese (zh)
Other versions
CN110569078A (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 a webpage-level program, which comprises the following steps: if the application is started and the preset condition is met, starting a process corresponding to the webpage-level program in the application; loading application context information corresponding to the webpage level program in the page framework file through the process; initializing according to the page framework file loaded with the application context information to preload a webpage level program. In this embodiment, since the process required for starting the web page level program is already started, the part required for initializing the web page level program is already completed through preloading, if a specific web page level program needs to be started through the application after preloading, the part required for starting a web page level program is completed before the specific web page level program is started through the previous preloading, so that the starting speed of starting the specific web page level program is improved, the waiting time of a user is reduced, and the user experience is improved.

Description

Method and device for preloading webpage-level program
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and apparatus for preloading a web page level program.
Background
A webpage level (web) program is a cross-platform application technology and has the characteristics of no need of downloading, point-to-open and running out. An applet running in an Application (APP), for example, is a typical Application scenario for a web page level program.
For a web page level program running attached to an APP, the terminal running the web page level program is not the same as the application Brand (APP brandd) process running the APP. Therefore, even if the APP is running in the terminal, it still needs to start a new process to implement the APP, and then, the JavaScript engine, the rendering layer (Web View) of the APP, etc. need to be initialized to complete the start.
The process, initialization and the like corresponding to the webpage-level program are relatively time-consuming, so that when the user starts the webpage-level program in the APP, the user can wait for the completion of starting to start to use the webpage-level program for a long time, and the user experience is poor.
Disclosure of Invention
In order to solve the technical problems, the application provides a method and a device for preloading a webpage-level program, so that the starting speed of starting the specific webpage-level program is improved, the waiting time of a user is reduced, and the user experience is improved.
The embodiment of the application discloses the following technical scheme:
the first aspect of the application provides a method for preloading a webpage-level program, which comprises the following steps:
if the application is started and the preset condition is met, starting a process corresponding to the webpage-level program in the application;
loading application context information corresponding to the webpage level program in the page framework file through the process;
initializing according to the page framework file loaded with the application context information to preload a webpage level program.
Optionally, after initializing a web page level program according to the page framework file loaded with the application context, 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 framework 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 of 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 more of the following combinations:
the application start time satisfies a time threshold;
a web page level program list of the application is displayed;
the application obtains pushing of the webpage-level program.
Optionally, the web page level program comprises an applet.
A second aspect of the present application provides a device for preloading a web page level program, the device comprising: the device comprises a starting module, a loading module and an initializing module;
the starting module is used for starting a process corresponding to the webpage-level program in the application if the application is started and the preset condition is met;
the loading module is used for loading application context information corresponding to the webpage level program in the page framework file through the process;
the initialization module is used for initializing according to the page framework file loaded with the application context information so as to preload a webpage level program.
Optionally, the apparatus further includes: an acquisition module and an update module;
the acquisition module is used for 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 the updating module is used for loading the entity context information corresponding to the target webpage level program in the page, and updating the page address of the page framework file into the page address corresponding to the target webpage level program so as to start the target webpage level program.
Optionally, the apparatus further includes: a determining module and a preloading module;
the determining module is used for 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 of 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 more of the following combinations:
the application start time satisfies a time threshold;
A web page level program list of the application is displayed;
the application obtains pushing of the webpage-level program.
Optionally, the web page level program comprises 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 method for preloading the web page level program according to any of the first aspects 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 performing the method of preloading a web page level program of any of the first aspects.
According to the technical scheme, when the application with the webpage level program is started and the preset condition is met, a process required for starting the webpage level program in the application can be started, application context information corresponding to the webpage level program can be loaded in the webpage frame file through the started process, the application context information can comprise information which is independent of the state of the specific webpage level program and is required for starting public parts of the webpage level program, and the initialization operation required for preloading the webpage level program can be carried out according to the webpage 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 already started, the part required for initializing the webpage-level program is also already finished through preloading, if a specific webpage-level program needs to be started through the application after preloading, the part required for starting a webpage-level program is finished before the specific webpage-level program is started through the previous preloading, so that the starting speed of starting the specific webpage-level program is improved, 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 that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic frame diagram 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 application;
FIG. 3a is a schematic diagram of an applet list of WeChat according to an embodiment of the present application;
FIG. 3b is a schematic diagram of an applet list of WeChat according to an embodiment of the present application;
fig. 4 is a schematic illustration of applet pushing of a WeChat according to an embodiment of the present application;
fig. 5 is a schematic illustration of applet pushing of a WeChat according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating interface switching of a applet according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating a method for preloading a web page level program according to an embodiment of the present application;
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 present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the traditional webpage-level program starting mode, even if an APP is running in a terminal, if the webpage-level program attached to the APP is to be started, the starting can still be realized by starting a new process, and then a JavaScript engine, a rendering layer of the webpage-level program and the like are also required to be initialized to finish the starting. Therefore, in the conventional manner, the process, initialization, etc. corresponding to the starting of the web page level program are relatively time-consuming, so that the user can wait for the completion of starting to start using the web page level program for a long time when starting the web page level program in the APP, and the 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 yet, the process required for starting the webpage-level program in the application can be started, and the public part required for initializing each webpage-level program can be completed through preloading.
As an example, the method for preloading the web page level program provided in the embodiment of the present application may be applied to a scenario as 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, for example, a mobile phone, a notebook, a desktop, a tablet, an e-book reader, a dynamic image expert compression standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP 4) player, a laptop, and the like, which are installed with an application having a web page level program. It should be noted that, in this embodiment, the web page level program may include an applet, and for convenience of description, the applet will be mainly exemplified as the web page level program in this embodiment.
Specifically, when the user 101 performs a trigger operation to start an application to the terminal 102, the terminal 102 may start the application, where the application may be a data structure capable of providing a function of running a web page level program, such as a 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 to 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 the preset condition is satisfied, the terminal 102 may start a process corresponding to the web page level program in the application. The process may be understood as a running activity of processing data, and may be a basic unit of resource allocation and scheduling by the system, or may be a base of an operating system structure, for example, the process in this embodiment may be an APP Brand 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; in particular, a process corresponding to an application may be understood as one run activity handling relevant data of the application, while a process corresponding to a web page level program may be understood as one run activity handling relevant data for preloading the web page level program. It can be appreciated that the terminal 102 starts a process corresponding to the web page level program in the application, which indicates that the terminal 102 may perform an initialization operation required for preloading the web page level program.
After the terminal 102 starts a process corresponding to the web Page level program in the application, the terminal 102 may load application context information (Application Context) corresponding to the web Page level program in a Page Frame file (Page Frame) through the started process; the terminal 102 may then initialize according to the page framework file loaded with the application context information.
A page frame file is understood to be a container that can be loaded with information for starting a web page level program and can present the page content corresponding to the page address. In one possible implementation, the page frame file may be a hypertext markup language (HyperText Markup Language, html) frame file with blank presentation 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 shown in the page frame file, and it is understood that the page address of the page frame file may be a network page address, for example, the page address may be www.qq.com, and of course, the page address may also be a local page address, for example, the page address may be about.
It should be noted that, when the page address of the page frame file is the local page address, the page frame file may obtain the information for preloading the web page level program from the local place, and it is not necessary to obtain the information for preloading the web page level program by interacting with the network. For example, when the page frame file loads application context information corresponding to the web page level program, the page frame file can directly acquire application context information to be loaded at the terminal, and the application context information transmitted by the network side can be acquired without transmitting an acquisition request of the application context information to the network side.
It will be appreciated that in this manner, since the process of the page frame file obtaining information for preloading the web page level program is performed locally at the terminal, the process does not require the page frame file to send any information to the network side, nor the network side to send any information to the page frame file, and is not affected by network problems (such as slow network speed). Therefore, when the page address of the page framework file is the local page address, the system resources occupied by the page framework file when acquiring the page content can be reduced, the time for acquiring the page content by the page framework file can be shortened, the user can use the application without being aware of the influence of the preloaded page-level program, and the user experience is improved.
In general, a web page level program in an application is composed of a rendering layer and a logic layer (Services), where the rendering layer and the logic layer are independent from each other, and can communicate with each other. The rendering layer and the logic layer can be stripped into two parts, namely a state related part and a state unrelated part, and 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 portion of the rendering layer (or logical layer) may be understood as a portion of the rendering layer (or logical layer) that is independent of a particular web page level program, but corresponds to each web page level program in an application. The state irrelevant parts stripped by the rendering layer and the logic layer can be initialized to realize the initialization operation required by preloading the webpage-level program. It will be appreciated that in this embodiment, the preloading may be performed for state independent portions of the render layer and the logic layer stripped out.
The application context information corresponding to the web page level program may be information of a common portion required by each web page level program in one application at runtime, which is irrelevant to the state of the specific web page level program. And, the application context information corresponding to the webpage level program can be used for configuring the page framework file, so that the initialization operation required by the preloading of the webpage level program can be performed according to the page framework file loaded with the application context, and the preloading of the webpage level program can be realized after the initialization operation is completed.
It should be noted that, since each web page level program in one application corresponds to the same application context information, the initialization performed according to the page framework file loaded with the application context information may be applied to each web page level program in the application corresponding to the application context information; thus, no matter any specific webpage level program in the application needs to be started later, the method is equivalent to the part of work required by the specific webpage level program before the specific webpage level program is started, so that 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 scenario is only shown for the convenience of understanding the present application, and embodiments of the present application are not limited 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 attached drawing figures.
Next, the method for preloading the web page level program provided in the present application will be described by taking an example that the method for preloading the web page level program provided in the present application is applied to a terminal. Referring to fig. 2, a method flowchart of a method for preloading a web page level program is provided in an embodiment of the present application. As shown in fig. 2, the steps may be included as follows:
s201: and if the application is started and the preset condition is met, starting a process corresponding to the webpage-level program in the application.
It can be understood that, in order to avoid that a user waits for a long time to finish starting to use the web page level program when starting the web page level program in the application, in this embodiment, the terminal may determine whether to preload the web page level program in the application according to a real-time situation.
Specifically, the terminal may first determine whether an application that has been started exists, for example, whether the terminal has started a process corresponding to the application may be determined; if so, it can be continued to judge whether the preset condition is satisfied. If the terminal determines that the preset condition is met, for example, any one or a combination of multiple preset conditions are met: 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 web page level program in the application needs to be preloaded, and may start a process corresponding to the web page level program in the application.
It should be noted 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 meets the time threshold, that is, may determine that the preset condition is met. Taking a terminal as a smart phone and an application as a WeChat as an example, 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 of 5s, the smart phone can determine that the preset condition is met.
Aiming at preset conditions: the application web page level program list is displayed, and in one implementation, the terminal needs to determine whether the application web page level program list is displayed in the display interface of the terminal, if so, it may be determined that the preset condition is satisfied. 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 the display interface of the smart phone includes an applet list 301 of WeChat, the smart phone can determine that the preset condition is met; it should be noted that, the applet list 301 shown in fig. 3a is only one of the display manners of the applet list of the WeChat, and the applet list of the WeChat may be displayed in other manners, for example, the user may click the "find" button in the WeChat, then click the "applet" button, and then the display page of the smartphone may display the applet list of the WeChat as shown in fig. 3 b.
Aiming at preset conditions: the application acquires pushing of the webpage-level program, in one implementation, the terminal needs to determine whether the webpage-level program in the application is exposed, for example, the application receives a pushing message sent by an application friend and aiming at the webpage-level program, or the interface displayed by the application comprises pushing content aiming at the webpage-level program; if yes, it may be determined that the preset condition is satisfied. Taking a terminal as a smart phone, an application as a WeChat and a web page level program as an applet "jump one hop" 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 applet "jump one hop", that is, the interface displayed by the WeChat includes push content for the applet "jump one hop", the smart phone can determine that the preset condition is satisfied.
Next, S201 will be illustrated by taking the application as WeChat and the web page level program as applet "jump one jump" as an example, with reference to fig. 5. Assuming that the preset condition is that the starting time of the application is met and the time threshold is met for 5s, and displaying a webpage level program list of the application or pushing the application to acquire the webpage level program; as shown in fig. 5 (a), the display interface of the smart phone (i.e., the terminal) is displaying the chat interface of the micro-credit user "ZZZ" and the micro-credit user "AAA", and after 1min, as shown in fig. 5 (b), the micro-credit user "AAA" pushes the micro-program "skip one hop" to the micro-credit user "ZZZ"; because the WeChat starting time is greater than the time threshold for 5s, and the WeChat obtains the push of the applet by 'jumping one hop', the WeChat is started and meets the preset condition, and the smart phone can start the process corresponding to the applet.
S202: and loading application context information corresponding to the webpage level program in the page framework file through the process.
After the terminal starts the process corresponding to the webpage-level program in the application, the terminal can preload the webpage-level program in the application. Because when the terminal starts the process corresponding to the webpage level program in the application, it is not yet determined that the specific webpage level program in the application needs to be started. Therefore, in this embodiment, the terminal may load, through a process, application context information corresponding to all the web page level programs in the application in the page framework file, so that no matter which specific web page level program in the application needs to be started in practice, 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, part of the work required for starting any one web page level program. It should be noted that, in one possible implementation, the application context information loaded in the page framework file may be application context information packaged by the variable context wrapper (Mutable Context Wrapper).
As an example, after the terminal starts a process corresponding to a web page level program in an application, the terminal may first determine the started application; then, the terminal can determine the 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 framework 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 WeChat applet, the smart phone may determine application context information corresponding to the WeChat applet first, and then may load the application context information in a page framework file.
S203: initializing according to the page framework file loaded with the application context information to preload a webpage level program.
In order to complete the preloading of the webpage-level program in the application, after the application context information corresponding to the webpage-level program is loaded in the webpage frame file, the webpage frame file loaded with the application context information can be initialized. In one possible implementation, the state-independent portion of the web-level program in the application may be initialized according to the page frame file loaded with the application context information, for example, the JavaScript engine, the state-independent portion stripped off by the rendering layer and the logic layer of the web-level program, and the like may be initialized. In this way, a page frame file can be obtained that has been preloaded, thereby completing the preloading of the web page level programs in the application, i.e. the part of the work required to start a web page level program has been completed before a specific web page level program is started.
It can be understood that after the preloading of the web page level programs in the application is completed, when any specific web page level program in the application needs to be started, the work required for starting the specific web page level program later 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 perform the work required for the subsequent start of the web page level program by the already-completed preloaded 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 the preset condition is met, a process required for starting the webpage level program in the application can be started, application context information corresponding to the webpage level program can be loaded in the webpage frame file through the started process, the application context information can comprise information which is independent of the state of the specific webpage level program and is required for starting public parts of the webpage level program, and the initialization operation required for preloading the webpage level program can be carried out according to the webpage 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 already started, the part required for initializing the webpage-level program is also already finished through preloading, if a specific webpage-level program needs to be started through the application after preloading, the part required for starting a webpage-level program is finished before the specific webpage-level program is started through the previous preloading, so that the starting speed of starting the specific webpage-level program is improved, the waiting time of a user is reduced, and the user experience is improved.
After introducing how to implement the preloading of the web page level program in the application, next, how to increase the starting speed of the specific web page level program by the already-preloaded page frame file will be described.
In an implementation manner of this embodiment, the foregoing embodiment corresponding to fig. 2 may further include the following steps after S203:
s211: and acquiring a starting request aiming at a target webpage level program in the application.
After the terminal has preloaded the webpage-level programs in the application, if the 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 acquire 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 a WeChat, the terminal is a smartphone, the web-level program is an applet, and the smartphone has completed preloading the applet in the WeChat. When a user opens the applet list of the WeChat through the smart phone and clicks the applet 'jump one-hop' (namely the target applet) in the applet list, the smart phone can acquire a start request of the applet 'jump one-hop' in the WeChat.
S212: and loading entity context information corresponding to the target webpage level program in the webpage frame file, and updating the webpage address of the webpage frame file into the webpage address corresponding to the target webpage level program so as to start 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 by the web page level program during running. It will be appreciated that when the target web page level program needs to be started, the relevant part of the state of the target web page level program can be loaded by loading the entity context information corresponding to the target web page level program in the page frame file. 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.
Because the page address corresponding to the target webpage level program can identify the network position of the interface content to be displayed by the page framework 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 acquire 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. The terminal may then 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 can acquire 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 can display the interface content to finish the starting of the target webpage level program.
According to the technical scheme, the pre-loading of the target webpage level program is equivalent to the partial work required for starting the 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 only needs to load entity context information corresponding to the specific webpage level program in the pre-loaded page frame file, and update the page address of the page frame file to the page address corresponding to the specific webpage level program, and the terminal can start the target webpage level program, thereby shortening the time for starting the target webpage level program, improving the starting speed for starting the target webpage level program, reducing the waiting time of a user and improving the user experience.
In the process that the user uses the target webpage-level program through the terminal, when the user performs the page switching operation in the current display interface of the target webpage-level program through the terminal, the user starts to load another display interface to be switched to, however, because a certain time is required for loading the another display interface, the user can be caused to wait for a period of time after performing the operation capable of switching the current display interface, and the terminal can be switched to the another display interface, so that bad user experience is caused.
Therefore, in the embodiment of the present application, after the target web page level program is started, the terminal may preload the next presentation interface of the presentation interface every time the terminal presents a presentation interface of the target web page level program, for example, may pre-cache the presentation content required to be presented by the next presentation interface of the presentation interface. Specifically, in one implementation manner of this embodiment, after the target web page 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 as a first interface. Generally, the first interface displayed by the target webpage level program at least includes a key with a function of triggering switching of the display page, for example, a key with a function of triggering switching to the main page, and a key with a function of triggering switching to the game interface; when the user needs to switch the first interface displayed by the target webpage level program to other display interfaces, the user can execute a triggering operation on the key in the first interface, so that the display page displayed by the target webpage level program can be switched from the first interface to the display page corresponding to the key. In this embodiment, the presentation interface to which the target web page level program is switched in response to the operation on the first interface may be referred to as a second interface.
Specifically, after the terminal starts the target web page 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 web page level program. The terminal may then determine, based on the first interface, a second interface to which a handover may be required.
For ease of understanding, the following is exemplified by a terminal as a smartphone, an application as a WeChat, and a target web page level program as an applet "jump" and is illustrated in connection with FIG. 6. As shown in fig. 6 (a), after the small program "jump one jump" in the WeChat is started, the smart phone can determine that the interface currently displayed by the small program "jump one jump" is the main interface, i.e. the first interface is the main interface of the small program "jump one jump"; since the applet "jump one hop" main interface includes a "start game" key therein, and the applet "jump one hop" can switch to the applet "jump one hop" 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 hop" 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 preload the second interface. As an example, the terminal may first cache the interface content to be displayed in the second interface into the storage medium; when the second interface needs to be displayed, the terminal can read the interface content required to be displayed in the second interface from the storage medium, and can display the interface content required to be displayed in the second interface through the page framework file.
Continuing with the example corresponding to fig. 6 in S221, after the smart phone determines the applet "jump one-hop" game interface as the second interface, the smart phone may buffer the interface content to be displayed in the applet "jump one-hop" game interface into the smart phone. After the user clicks the "start game" button in the applet "jump one-hop" main interface, the smartphone may display the applet "jump one-hop" game interface through the page frame file as shown in fig. 6 (b).
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 preloaded second page after detecting the page switching operation in the first interface, namely, the loading of the second page is completed before the second page needs to be displayed, so that the time consumed by switching from the first interface to the second interface is shortened, the waiting time of a user is shortened, and the user experience is improved.
In order to better understand and implement the foregoing solutions of the embodiments of the present application, a corresponding application scenario will be exemplified with reference to fig. 7, and a method for preloading a web page level program provided in the embodiments of the present application will be specifically described. The application scenario corresponding to fig. 7 may include a smart phone (i.e., a terminal) with a WeChat installed therein, and the smart phone may run a web page level program through the WeChat, for example, may run an applet "jump one hop".
Assuming that the user starts the WeChat by clicking an icon corresponding to the WeChat in the smartphone and the preset condition is satisfied, the smartphone can be preloaded for the applet in the WeChat. Specifically, the process of preloading the applet in the WeChat by the smart phone may include the following steps:
s701: if the WeChat is started and the preset condition is met, the smart phone starts a process corresponding to the small program in the WeChat.
Wherein the preset conditions may include any one or more of the following combinations: the WeChat starting time satisfies the time threshold of 5s, the list of the WeChat applets is shown and the WeChat acquisition applets are pushed.
S702: the intelligent mobile phone loads application context information corresponding to the applet in the page framework file through the process corresponding to the applet.
S703: the smartphone initializes to preload the applet according to the page framework file loaded with the application context information.
S704: the smart phone obtains a start request for the small program 'jump one jump' in the WeChat.
S705: the intelligent mobile phone starts the small program 'jump one-hop' by loading the entity context information corresponding to the small program 'jump one-hop' in the page and updating the page address of the page framework file into the page address corresponding to the small program 'jump one-hop'.
S706: after the smart phone starts the applet "jump one hop", the smart phone can determine the second interface according to the first interface displayed by the applet "jump one hop".
Wherein the second interface may be a presentation interface to which an applet "jumps" in response to an operation at the first interface switches.
S707: the smartphone may preload the second interface.
According to the technical scheme, when the application with the webpage level program is started and the preset condition is met, a process required for starting the webpage level program in the application can be started, application context information corresponding to the webpage level program can be loaded in the webpage frame file through the started process, the application context information can comprise information which is independent of the state of the specific webpage level program and is required for starting public parts of the webpage level program, and the initialization operation required for preloading the webpage level program can be carried out according to the webpage 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 already started, the part required for initializing the webpage-level program is also already finished through preloading, if a specific webpage-level program needs to be started through the application after preloading, the part required for starting a webpage-level program is finished before the specific webpage-level program is started through the previous preloading, so that the starting speed of starting the specific webpage-level program is improved, the waiting time of a user is reduced, and the user experience is improved.
In order to facilitate better implementation of the above-described aspects of the embodiments of the present application, the following further provides related devices for implementing the above-described aspects.
Referring to fig. 8a, in an embodiment of the present application, a preloading device 800 for a web page level program is provided, where the preloading device 800 for a web page level program includes: a start module 801, a load module 802, and an initialization module 803;
the starting module 801 is configured to start a process corresponding to a web page level program in an application if the application is started and a preset condition is met;
the loading module 802 is configured to load, by using the process, application context information corresponding to a web page level program in a page framework file;
the initializing module 803 is configured to initialize to preload a web page level program according to the page frame file loaded with the application context information.
In one embodiment, referring 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 a 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, referring to fig. 8c, the apparatus further comprises: a determination module 806 and a preload module 807;
the determining module 806 is configured to determine a second interface according to a first interface displayed by the target web page level program, where the second interface is a display interface to which the target web page level program is switched in response to an 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 conditions include any one or a combination of the following:
the application start time satisfies a time threshold;
a web page level program list of the application is displayed;
the application obtains pushing of the webpage-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 web page level program, as shown in fig. 9, for convenience of explanation, only the portions related to the embodiment of the present application are shown, and specific technical details are not disclosed, please refer to the method portions 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 (Personal Digital Assistant, PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, taking the mobile phone as an example:
Fig. 9 is a block diagram showing a part of the structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 9, the mobile phone includes: radio Frequency (RF) circuitry 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuitry 960, wireless fidelity (wireless fidelity, wiFi) module 970, processor 980, power source 990, and so forth. It will be appreciated by those skilled in the art that the handset construction shown in fig. 9 is not limiting of the handset and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile phone in detail with reference to fig. 9:
the RF circuit 910 may be used for receiving and transmitting signals during a message or a call, and particularly, after receiving downlink information of a base station, the signal is processed by the processor 980; in addition, the data of the design uplink is sent to the base station. Typically, the RF circuitry 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, the RF circuitry 910 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message service (Short Messaging Service, SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 performs various functional applications and data processing by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, 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 to generate key signal inputs related to user settings and function control of the handset. In particular, 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 touch operations thereon or thereabout by a user (such as operations of the user on the touch panel 931 or thereabout using any suitable object or accessory such as a finger, a stylus, or the like) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 931 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 980, and can receive commands from the processor 980 and execute them. In addition, the touch panel 931 may be implemented in various types such as resistive, capacitive, infrared, and 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, mouse, joystick, etc.
The display unit 940 may be used to display information input by a 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 alternatively, the display panel 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 931 may overlay the display panel 941, and when the touch panel 931 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 980 to determine a type of touch event, and then the processor 980 provides a corresponding visual output on the display panel 941 according to the type of touch event. Although in fig. 9, the touch panel 931 and the display panel 941 are implemented as two separate components for the input and output functions of the mobile phone, in some embodiments, the touch panel 931 may be integrated with the display panel 941 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 and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 941 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the handset are not described in detail herein.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. Audio circuit 960 may transmit the received electrical signal converted from audio data to speaker 961, where it is converted to a sound signal by speaker 961 for output; on the other hand, microphone 962 converts the collected sound signals into electrical signals, which are received by audio circuit 960 and converted into audio data, which are processed by audio data output processor 980 for transmission to, for example, another cell phone via RF circuit 99, or for output to memory 920 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and a mobile phone can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 970, so that wireless broadband Internet access is provided for the user. Although fig. 9 shows a WiFi module 970, it is understood that it does not belong to the necessary constitution of the handset, and can be omitted entirely as needed within the scope of not changing the essence of the invention.
Processor 980 is a control center for the handset, connecting the various parts of the entire handset using various interfaces and lines, performing various functions and processing data for the handset by running or executing software programs and/or modules stored in memory 920, and invoking data stored in memory 920. Optionally, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor with a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications programs, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset further includes a power supply 990 (e.g., a battery) for powering the various components, which may be logically connected to the processor 980 by a power management system, such as for performing charge, discharge, and power management functions via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which will not be 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 the preset condition is met, starting a process corresponding to the webpage-level program in the application;
loading application context information corresponding to the webpage level program in the page framework file through the process;
initializing according to the page framework file loaded with the application context information to preload a webpage level program.
Optionally, after initializing a web page level program according to the page framework file loaded with the application context, 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 framework 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 of 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 more of the following combinations:
the application start time satisfies a time threshold;
a web page level program list of the application is displayed;
the application obtains pushing of the webpage-level program.
Optionally, the web page level program comprises an applet.
The present application also provides a computer readable storage medium for storing program code for executing any one of the implementations of the method for preloading a web page level program described in the foregoing embodiments.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The terms "first," "second," "third," "fourth," and the like in this application, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be capable of operation in sequences other than those illustrated or described herein, for example. 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 this application, "at least one" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). 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 this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods 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 (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (14)

1. A method for preloading a web page level program, the method comprising:
if the application is started and the preset condition is met, starting a process corresponding to the webpage-level program in the application;
loading application context information corresponding to the webpage level programs in a page framework file through the process, wherein the application context information comprises information which is irrelevant to the state of the specific webpage level programs and of public parts required for starting the webpage level programs;
initializing according to the page framework file loaded with the application context information to preload a webpage level program.
2. The method of claim 1, wherein after initializing a web page level program from the page frame file loaded with the application context, 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;
the method comprises the steps of loading entity context information corresponding to the target webpage level program in the webpage frame file, and updating the page address of the webpage frame file into the page address corresponding to the target webpage level program to start the target webpage level program, wherein the entity context information is information which is required by the webpage level program in running and is related to the state of the 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 of the first interface;
preloading the second interface.
4. A method according to any one of claims 1-3, characterized in that the page address of the page frame file is a local page address.
5. A method according to any one of claims 1-3, wherein the preset conditions comprise any one or a combination of the following:
the application start time satisfies a time threshold;
a web page level program list of the application is displayed;
the application obtains pushing of the webpage-level program.
6. A method according to any one of claims 1-3, wherein the web page level program comprises an applet.
7. A device for preloading a web page level program, said device comprising: the device comprises a starting module, a loading module and an initializing module;
the starting module is used for starting a process corresponding to the webpage-level program in the application if the application is started and the preset condition is met;
The loading module is used for loading application context information corresponding to the webpage level programs in the page framework file through the process, wherein the application context information comprises information which is independent of the state of the specific webpage level programs and of public parts required for starting the webpage level programs;
the initialization module is used for initializing according to the page framework file loaded with the application context information so as to preload a webpage level program.
8. The apparatus of claim 7, wherein the apparatus further comprises: an acquisition module and an update module;
the acquisition module is used for 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;
the updating module is configured to load entity context information corresponding to the target web page level program in the page frame file, and update a 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, where the entity context information is information that is required by the web page level program in running and is related to a state of the web page level program.
9. The apparatus of claim 8, wherein the apparatus further comprises: a determining module and a preloading module;
the determining module is used for 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 of the first interface;
the preloading module is used for preloading the second interface.
10. The apparatus of any of claims 7-9, wherein the page address of the page frame file is a local page address.
11. The apparatus of any one of claims 7-9, wherein the preset conditions include any one or a combination of:
the application start time satisfies a time threshold;
a web page level program list of the application is displayed;
the application obtains pushing of the webpage-level program.
12. The apparatus of any of claims 7-9, wherein the web page level program comprises an applet.
13. 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 method of preloading of the web page level program of any 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 of preloading a web page level program of any of claims 1-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 CN110569078A (en) 2019-12-13
CN110569078B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078324B (en) * 2019-12-16 2023-06-06 百度在线网络技术(北京)有限公司 Method and apparatus for prefetching page data
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
CN113783966B (en) * 2021-09-23 2023-01-03 北京火山引擎科技有限公司 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

Also Published As

Publication number Publication date
CN110569078A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN110569078B (en) Method and device for preloading webpage-level program
EP3647926A1 (en) Mobile terminal and split screen control method thereof, and computer readable storage medium
US20160315999A1 (en) Device and method for associating applications
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN109189300B (en) View circulation display method and device
US10506292B2 (en) Video player calling method, apparatus, and storage medium
CN107066268B (en) Display position switching method and device for widget application
CN111580815B (en) Page element editing method and related equipment
US10942644B2 (en) Method for sliding response acceleration and related products
CN106326489B (en) Method and device for updating network resources
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
KR102239616B1 (en) Message notification method and terminal
CN106339391B (en) Webpage display method and terminal equipment
CN110753914B (en) Information processing method, storage medium and mobile terminal
EP3550790A1 (en) Streaming media data processing method and mobile terminal
CN110287443B (en) Page data display method and related device
CN106339402B (en) Method, device and system for pushing recommended content
CN105528220B (en) Method and device for loading dynamic shared object
CN112214699B (en) Page processing method and related device
CN104717283A (en) File downloading control method, terminal and logic processing server
CN105302846B (en) Method and device for restoring webpage
CN110109788B (en) Multi-key detection method and device, electronic equipment and storage medium
CN108595958B (en) Method, device and terminal for realizing cross-process injection
US10455411B2 (en) Communication method and mobile terminal

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