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

A method and apparatus for adjusting file layout

A technology for file layout and adjustment methods, applied in program control devices, instruments, computing, etc., can solve the problem of consuming developers' time and energy, and achieve the effect of saving time and energy, improving performance, and reducing time

Active Publication Date: 2019-03-29
ADVANCED NEW TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Because traditional application optimization solutions involve source code optimization, developers need to spend a lot of time and effort

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
  • A method and apparatus for adjusting file layout
  • A method and apparatus for adjusting file layout
  • A method and apparatus for adjusting file layout

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0068] According to a specific implementation manner provided in this specification, the file identification determination module 220 is specifically used for:

[0069] Based on the current file layout of all files included in the application to be optimized, obtain a file loading log generated when the application to be optimized is cold-started;

[0070]Analyzing the loading record of the required file recorded in the file loading log to determine the file identifier corresponding to the required file when the application to be optimized is cold started.

specific Embodiment approach

[0071] According to a specific implementation manner provided in this specification, the integration module 240 is specifically used for:

[0072] Inserting the first file identification list into any position in the second file identification list.

[0073] According to a specific implementation mode provided in this specification,

[0074] The first file identification list is obtained by sorting the file identifications corresponding to the required files according to the order of loading time of the required files when the application to be optimized is cold started.

[0075] According to a specific implementation mode provided in this specification,

[0076] The second file identifier list is obtained by sorting the file identifiers corresponding to the remaining files included in the application to be optimized except the required file according to the original default sorting rule.

[0077] For the implementation process of the functions and effects of each module in ...

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

A method and apparatus for adjusting file layout are disclosed. A file layout adjustment method comprises: determining an application to be optimized; For the application to be optimized, determininga file identification corresponding to a required file when the application to be optimized is cold-started; Determining a first file identification list and a second file identification list, whereinThe first file identification list is composed of the file identification corresponding to the required file when the application to be optimized is cold started, and the second file identification list is composed of the file identification corresponding to the remaining files other than the required file included in the application to be optimized; the second file identification list is composed of the file identification corresponding to the remaining files except the required files; Integrating the first file identification list and the second file identification list; According to the integration result, the current file layout of all files included in the application to be optimized is adjusted.

Description

technical field [0001] The embodiments of this specification relate to the technical field of application optimization, and in particular to a method and device for adjusting file layout. Background technique [0002] With the continuous development of mobile terminal technology, there are more and more types of applications on the mobile terminal. For example, game applications, social networking applications, video playback applications, instant messaging applications, shopping applications, etc. are installed on the mobile terminal at the same time. In order to improve the user experience of the application, the developers of the application gradually began to pay attention to the time required for the cold start of the application. For example, the time required for the cold start of Alipay is about 1708ms. It is an urgent problem to be solved to optimize the application to improve the startup performance of the application cold start and reduce the time required for th...

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/445
CPCG06F9/44578
Inventor 魏剑锋杨琦
Owner ADVANCED NEW TECH CO LTD