Unlock instant, AI-driven research and patent intelligence for your innovation.

Compiling method and device, terminal and storage medium

A compiling method and terminal technology, applied in the computer field, can solve problems affecting application performance, hot codes cannot be compiled in time, etc., and achieve the effect of improving operating performance

Pending Publication Date: 2021-04-09
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, on the one hand, when the mobile phone downloads the update package on the remote server through the Over-the-Air technology (Over-the-Air, OTA) to update the version of the system, the files recording the hot code and the native code generated based on the hot code will be deleted. Delete, you need to wait until the updated mobile phone is charging and idle again to recompile the hotspot code; on the other hand, with the development of battery technology, the battery capacity is getting larger and the charging speed is getting faster and faster. Few users charge their mobile phones all night, which reduces the number of mobile phones entering the charging and idle state. It is easy to prevent the hotspot code from being compiled in time, which in turn affects the performance of the application.

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
  • Compiling method and device, terminal and storage medium
  • Compiling method and device, terminal and storage medium
  • Compiling method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0022] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard. ...

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 relates to a compiling method and device, a terminal and a storage medium. The compiling method comprises the following steps: before a system of a terminal is updated, creating a backup file of a hot spot description file of an application program, wherein the hot spot description file is used for recording hot spot codes of the application program; and after the system is updated, when the terminal is in the target running state, compiling the hot spot code of the target application program based on the backup file to generate a native code. According to the compiling method provided by the invention, the situation that the hot spot description file cannot be compiled in time due to deletion of system update can be avoided, and the hot spot code can be compiled without waiting until the terminal is in a charging and idle state, so that the running performance of the application program can be improved in time after the system is updated.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a compiling method, device, terminal and storage medium. Background technique [0002] The Android system can record frequently used codes during the execution of the application program, that is, hotspot codes, and compile the hotspot codes to generate native code when the terminal is charging and idle (idle), which will improve the application performance in the next use. program performance. [0003] However, on the one hand, when the mobile phone downloads the update package on the remote server through the Over-the-Air technology (Over-the-Air, OTA) to update the version of the system, the files recording the hot code and the native code generated based on the hot code will be deleted. Delete, you need to wait until the updated mobile phone is charging and idle again to recompile the hotspot code; on the other hand, with the development of battery technology,...

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): G06F8/41
CPCG06F8/41
Inventor 张金山韩冰天丛国华
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD