Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Loading method of APK plug-in and terminal of loading method

A plug-in and loading line technology, which is applied to the APK plug-in loading method and its terminal field, can solve the problems of loading failure and low loading success rate, and achieve the effect of reducing the waiting time

Active Publication Date: 2018-03-23
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF9 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an APK plug-in loading method and its terminal to solve the problem. However, in the existing APK plug-in loading technology, when the file data volume of the APK plug-in is large, it needs to wait for a long time. The loading of the APK plug-in can only be completed, or even exceed the maximum process running time, resulting in loading failure and low loading success rate.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Loading method of APK plug-in and terminal of loading method
  • Loading method of APK plug-in and terminal of loading method
  • Loading method of APK plug-in and terminal of loading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] In the embodiment of the present invention, after the page loading request initiated by the user, while generating the corresponding page, the pre-loading operation of the APK plug-in is also performed. The pre-loading operation is specifically: determining the APK plug-in to be loaded contained in the page, and Query the idle sub-thread in the main thread to asynchronously download the APK plug-in to be loaded, and store it in the local storage unit, so that when the user initiates an APK plug-in loading request, the corresponding APK plug-in can be extracted from the cache immediately. If ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of network pages, and provides a loading method and a terminal of an APK plug-in. The loading method comprises the steps of receiving a page loadingrequest and generating a page corresponding to the page loading request; determining the APK plug-in to be loaded included in the page; downloading the APK plug-in to be loaded from a server corresponding to the APK plug-in to be loaded from a plug-in loading thread; if a calling request of the APK plug-in to be loaded is received, obtaining the idle memory capacity at a current moment; obtaininga progress list corresponding to occupied memory and running states of all progresses in the progress list; releasing memory occupied by the progresses of which the running states are finished; loading the APK plug-in to be processed through a main thread. The loading method and the terminal of the APK plug-in solve the problems in an existing loading technology of the APK plug-in that the plug-inis long in loading time and low in the loading success rate.

Description

technical field [0001] The invention belongs to the technical field of web pages, and in particular relates to an APK plug-in loading method and a terminal thereof. Background technique [0002] As the functions of web pages become more and more powerful, conventional Flash plug-ins can no longer meet the functional requirements of current web pages. Especially for Android system devices, their web pages often contain a large number of Android system installation files (Android Package, APK) plug-ins , to enrich the expressiveness and rendering performance of the page, so the existing page generation technology, while generating the web page, if the user uses some personalized functions in the web page, the device needs to dynamically update the APK plug-in from the server. load. [0003] However, in the existing APK plug-in loading technology, the terminal device downloads the APK plug-in from the server through the main thread mainly when the user initiates a calling requ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F9/50
CPCG06F9/44526G06F9/44578G06F9/5016G06F9/5022
Inventor 彭东远
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products