Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application program running method and device

A technology of application programs and running methods, applied in the computer field, can solve problems such as unresponsiveness, application program crashes, dexopt process crashes, etc.

Active Publication Date: 2021-06-18
SHANGHAI YIWAN NETWORK SCI & TECH
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The process of installing the Dex file to the device is very complicated. If the Dex file is too large, the application may not respond. In this case, you need to use the ProGuard tool to reduce the size of the Dex file.
In addition, due to the limitation of DalviklinearAlloc, when the Dex file requests a large amount of memory, the application may crash; specifically, DalviklinearAlloc is a fixed-size buffer, for example, for the system Android 2.2 and 2.3, the size of the buffer is 5MB, For Android4.x, the size of the buffer is increased to 8MB or 16MB; in the process of starting and running the application, the system will run the dexopt process to prepare for the operation of the application in the current model, and the dexopt process needs to use DalviklinearAlloc To store the method information of the application, when the number of method information exceeds the buffer size, it will cause the dexopt process to crash, and the application cannot run normally

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
  • Application program running method and device
  • Application program running method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040]In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0041] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such tha...

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 embodiment of the invention discloses an application program running method and device. The method comprises the steps that APK method number information and smali file information corresponding to the APK method number information are obtained from APK file information; for APK file information with APK method number information exceeding a preset APK method number information threshold value, small file information corresponding to the APK method number information can be distributed to a plurality of dex folders based on the APK method number information threshold value, and the APK method number information corresponding to the small file information included in each dex folder is smaller than or equal to the APK method number information threshold value; furthermore, the plurality of dex folders are signed to generate an APK. According to the method, the APK can be dynamically modified, so that the method number information is prevented from exceeding the limit.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to an application program running method and device. Background technique [0002] Dex files are executable files on the Android platform (Dalvik virtual machine), which are equivalent to exe files on the Windows platform. Each application installation package (Android application package, APK) has a Dex file, which includes the application (Application, APP) all the source code. [0003] The process of installing the Dex file to the device is very complicated. If the Dex file is too large, the application may not respond. In this case, you need to use the ProGuard tool to reduce the size of the Dex file. In addition, due to the limitation of DalviklinearAlloc, when the Dex file requests a large amount of memory, the application may crash; specifically, DalviklinearAlloc is a fixed-size buffer, for example, for the system Android 2.2 and 2.3, the size of the buffer ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/448G06F21/64
CPCG06F9/4492G06F21/64
Inventor 周明付李芳友
Owner SHANGHAI YIWAN NETWORK SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products