CN104866365B - Promote the method, apparatus and electronic equipment of starting up speed - Google Patents

Promote the method, apparatus and electronic equipment of starting up speed Download PDF

Info

Publication number
CN104866365B
CN104866365B CN201510324015.8A CN201510324015A CN104866365B CN 104866365 B CN104866365 B CN 104866365B CN 201510324015 A CN201510324015 A CN 201510324015A CN 104866365 B CN104866365 B CN 104866365B
Authority
CN
China
Prior art keywords
file
electronic equipment
catalogue
partition holding
preset
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
CN201510324015.8A
Other languages
Chinese (zh)
Other versions
CN104866365A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510324015.8A priority Critical patent/CN104866365B/en
Publication of CN104866365A publication Critical patent/CN104866365A/en
Application granted granted Critical
Publication of CN104866365B publication Critical patent/CN104866365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of methods for promoting starting up speed, in opening process, preset catalogue is read, the file of corresponding first partition holding of the preset catalogue, the file that the file must load during startup for electronic equipment are read based on the preset catalogue;File positioned at the first partition holding in advance and maintains the file being stored in the first partition holding other than in start-up course for electronic equipment.That is, in the embodiment of the present invention, in ROM when burn recording software, it has been previously created the storage catalogue of the file of the first partition holding, and the file of the first partition holding is stored to the catalogue, to after software is burned onto ROM, during electronic equipment starting up, without the storage catalogue for resettling the file of the first partition holding, and it is loaded files under established catalogue one by one, but the file of the first partition holding can be directly read from preset catalogue, to promote starting up speed.

Description

Promote the method, apparatus and electronic equipment of starting up speed
Technical field
The present invention relates to technical field of electronic equipment, more specifically to a kind of method, apparatus for promoting starting up speed And electronic equipment.
Background technique
It is switched on for the first time after burn recording software in the ROM of the hand-hold electronic equipments such as mobile phone, tablet computer, alternatively, to hand-held When electronic equipment brush machine by being switched on for the first time after ROM recovery initial setting up, starting up speed is slow.
Therefore, the speed for how improving hand-hold electronic equipments booting for the first time becomes urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of document generating method, device and electronic equipments, to improve hand-hold electronic equipments The speed of booting for the first time.
To achieve the above object, the present invention provides the following technical scheme that
A method of promoting starting up speed, which comprises
Power-on instruction is obtained, the power-on instruction is used to indicate unlatching electronic equipment;
The power-on instruction is responded, the electronic equipment is opened;
In the electronic equipment from the start-up course closed to unlatching:
Read preset catalogue;
The file of the first partition holding corresponding with the preset catalogue, the text are read based on the preset catalogue The file that part must load in the start-up course for the electronic equipment;Positioned at the text of first partition holding Part in advance and maintains the file being stored in first partition holding other than in the start-up course for the electronic equipment.
The above method, it is preferred that the file of first partition holding corresponding with the preset catalogue passes through as follows Mode generates:
Engineering code file is compiled, object code file is generated, is answered in the object code file including first Use program file;
Code file in first application file is optimized, executable file is obtained;
The executable file is renamed, the executable file after being renamed;
Executable file after the renaming is stored by preset catalogue;
The executable file after the renaming is compressed under the preset catalogue, generates first storage The file of subregion;
The preset catalogue electronic equipment must be read based on the first partition holding file booting Catalogue.
The above method, it is preferred that described that the executable file is renamed, the executable text after being renamed Part includes:
The executable file is compressed;
Compressed executable file is renamed, the executable file after being renamed.
The above method, it is preferred that further include:
The code file in first application file is deleted, the second application file is obtained;
Second application file is compressed, be applied program bag;
By the compressed executable file store to under the catalogue of the application package peer;
The application package and the compressed executable file are compressed, the second partition holding text is generated Part.
The above method, it is preferred that the preset catalogue are as follows:/data/dalvik-cache/arm64, alternatively ,/data/ dalvik-cache/arm。
A kind of device promoting starting up speed, described device include:
Module is obtained, for obtaining power-on instruction, the power-on instruction, which is used to indicate, opens the first electronic equipment;
Respond module opens first electronic equipment for responding the power-on instruction;The respond module includes:
First reading unit, for from the start-up course closed to unlatching, being read preset in first electronic equipment Catalogue;
Second reading unit, for reading the first storage corresponding with the preset catalogue based on the preset catalogue The file of subregion, the file that the file must load in the start-up course for first electronic equipment;Positioned at institute The file for stating the first partition holding is that first electronic equipment preparatory in addition and maintenance from the start-up course stores File in first partition holding.
Above-mentioned apparatus, it is preferred that the file of first partition holding corresponding with the preset catalogue passes through second Electronic equipment generates, and second electronic equipment includes:
Collector generates object code file, the object code file for being compiled to engineering code file In include the first application file;
Optimization module obtains executable text for optimizing to the code file in first application file Part;
Renamer module, for being renamed to the executable file, the executable file after being renamed;
First memory module, for storing the executable file after the renaming by preset catalogue;
First compression module, for pressing under the preset catalogue the executable file after the renaming Contracting generates the file of first partition holding;
The preset catalogue, which is based on the first partition holding file booting for first electronic equipment, to be read The catalogue taken.
Above-mentioned apparatus, it is preferred that renamer module includes:
Compression unit, for being compressed to the executable file;
Rename unit, the executable text for renaming to compressed executable file, after being renamed Part.
Above-mentioned apparatus, it is preferred that second electronic equipment further include:
Removing module obtains the second application program text for deleting the code file in first application file Part;
Second compression module, for compressing to second application file, be applied program bag;
Second memory module, for storing the compressed executable file at the same level with the application package Under catalogue;
Third compression module, it is raw for being compressed to the application package and the compressed executable file At the second partition holding file.
Above-mentioned apparatus, it is preferred that the preset catalogue are as follows:/data/dalvik-cache/arm64, alternatively ,/data/ dalvik-cache/arm。
A kind of first electronic equipment, the device including promoting starting up speed described in any one as above.
By above scheme it is found that a kind of method for promoting starting up speed provided by the present application is read in opening process Preset catalogue reads the file of corresponding first partition holding of the preset catalogue, the file based on the preset catalogue The file that must be loaded during startup for electronic equipment;File positioned at the first partition holding is electronic equipment from starting The file that preparatory and maintenance is stored in the first partition holding other than in the process.That is, in the embodiment of the present invention, in ROM When middle burn recording software, it is previously created the storage catalogue of the file of the first partition holding, and by the file of the first partition holding It stores to the catalogue, thus after software is burned onto ROM, during electronic equipment starting up, without resettling The storage catalogue of the file of one partition holding, and loaded files under established catalogue one by one, but can be directly from pre- The catalogue set reads the file of the first partition holding, to promote starting up speed.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of the method provided by the embodiments of the present application for promoting starting up speed;
Fig. 2 is the generation method of the file of the first partition holding corresponding with preset catalogue provided by the embodiments of the present application A kind of implementation flow chart;
Fig. 3 is provided for the embodiment of the present application and is renamed to executable file, the executable file after being renamed A kind of implementation flow chart;
Fig. 4 is a kind of structural schematic diagram of the device provided by the embodiments of the present application for promoting starting up speed;
Fig. 5 is a kind of structural schematic diagram of the second electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of renamer module provided by the embodiments of the present application;
Fig. 7 is another structural schematic diagram of the second electronic equipment provided by the embodiments of the present application.
Specification and claims and term " first " in above-mentioned attached drawing, " second ", " third " " the 4th " etc. (if In the presence of) it is part for distinguishing similar, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that embodiments herein described herein can be in addition to illustrating herein Sequence in addition is implemented.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under that premise of not paying creative labor Embodiment shall fall within the protection scope of the present invention.
In traditional start process, electronic equipment needs the file that must be loaded to start process to be scanned and one by one Be loaded into corresponding catalogue, inventor has found in the implementation of the present invention, the speed of traditional starting up's process compared with Slowly.In order to promote starting up speed, in the embodiment of the present invention, by electronic equipment from closing into the start-up course of unlatching and must add The file of load is burned onto advance in the ROM of electronic equipment, so that electronic equipment is opened in booting after software is burned onto ROM It need not load files into again in corresponding catalogue, but directly read during dynamic, to promote starting up speed.Below to this Inventive embodiments are illustrated.
Referring to Fig. 1, Fig. 1 is a kind of implementation flow chart of the method provided in an embodiment of the present invention for promoting starting up speed, May include:
Step S11: power-on instruction is obtained, the power-on instruction is at least opening electronic equipment;
Step S12: responding the power-on instruction, opens the electronic equipment;
Include: from the start-up course closed to unlatching in the electronic equipment
Step S121: preset catalogue is read;
Step S122: corresponding with the preset catalogue the is read based on read preset catalogue
The file of one partition holding, the file of first partition holding are electronic equipment institute during startup
The file that must be loaded;Positioned at the first partition holding file be electronic equipment from start-up course with
The file that outer preparatory and maintenance is stored in the first partition holding.
That is, in the ROM of electronic equipment when burn recording software, being previously created first in the embodiment of the present invention The storage catalogue of the file of partition holding, and the file of the first partition holding is stored to the catalogue, to be burnt by software After record is into ROM, during electronic equipment starting up, the storage catalogue of the file without resettling the first partition holding, and It is loaded files under established catalogue one by one, but can directly read the text of the first partition holding from preset catalogue Part, to promote starting up speed.
For ease of description, electronic equipment described in embodiment illustrated in fig. 1 is known as the first electronic equipment below, will generate The electronic equipment of the file of the first partition holding corresponding with preset catalogue is known as the second electronic equipment.That is, with pre- What the file of corresponding first partition holding of the catalogue set generated in the second electronic equipment, it is burned onto the first electronics after generation and sets In standby ROM.
Wherein, the first electronic equipment can refer to the mobile terminals such as mobile phone, tablet computer;Second electronic equipment can refer to Desktop computer, notebook etc. have the electronic equipment of code compilation function.
Optionally, a kind of implementation flow chart of the generation method of the file of the first partition holding corresponding with preset catalogue As shown in Fig. 2, may include:
Step S21: being compiled engineering code file, generates object code file, includes in the object code file First application file;
Engineering code file refers to engineering code file corresponding with the first electronic equipment.In the object code file of generation Including a variety of files: application file, kernel program file (such as kernel image), jar packet, so dynamic library file, money Source file etc..
It wherein, include the resource file of code file (such as class.dex file) and application program in application file. For ease of description, in the embodiment of the present invention, the application that engineering code file will be compiled in the object code file of generation Program file is known as the first application file.
Step S22: the code file in the first application file is optimized, executable file is obtained;
Code file in first application file is optimized, by the code text in the first application file Part is converted into the file that the first electronic equipment can be run, i.e. executable file (such as odex file).
Step S23: renaming executable file, the executable file after being renamed;
Specifically, can be renamed according to the bibliographic structure of the first application file to executable file.
For example, it is assumed that the bibliographic structure of the first application file are as follows:
Data/app/AppName/AppName.apk/classes.dex,
So, the title of the executable file after renaming are as follows:
data@app@AppName@AppName.apk@classes.dex。
Step S24: the executable file after renaming is stored by preset catalogue;The preset catalogue is first The catalogue that electronic equipment must be read based on the first partition holding file booting;
Step S25: the executable file after the renaming is compressed under the preset catalogue, described in generation The file of first partition holding.
The first partition holding file can be user data partitioned file, such as userdata.img partitioned file.
In the embodiment of the present invention, the first partition holding file is pre-generated, which is burned onto the After in the ROM of one electronic equipment, the first electronic equipment can directly be read from preset catalogue during starting up, and It need not load files into again in the preset catalogue, to promote the first electronic equipment starting up speed.
Optionally, executable file is renamed, a kind of implementation process of the executable file after being renamed Figure is as shown in Figure 3, comprising:
Step S31: executable file is compressed;
Step S32: renaming compressed executable file, the executable file after being renamed.
It is renamed again after being compressed to executable file, it is possible to reduce the occupied memory space of executable file, from And increase the available space of user.
Based on embodiment illustrated in fig. 3, after obtaining executable file, promotion starting up speed provided in an embodiment of the present invention Method further can also include:
The code file in the first application file is deleted, the second application file is obtained;
Second application file is compressed, be applied program bag;
By the compressed executable file store to under the catalogue of the application package peer;
The application package and the compressed executable file are compressed, the second partition holding text is generated Part.
Second partition holding file can refer to system partitioning file, such as system.img partitioned file.
In the embodiment of the present invention, after generating executable file, the code file in the first application program is deleted, and to optimization Application file (including application package and compressed executable file) afterwards is stored after being compressed to the second storage Subregion is further reduced system partitioning text after by the memory space of the second partition holding burning file to the first electronic equipment The memory space of occupied first electronic equipment of part, to further increase the available space of user in the first electronic equipment.
Therefore, the embodiment of the present invention also increases user's available space while promoting starting up speed.Due to code file Occupied space is reduced, so that first electronic equipment can select memory space smaller in the case where user's space is certain Memory (such as EMMC), so as to reduce the hardware cost of the first electronic equipment.
Optionally, catalogue preset described in the embodiment of the present invention can be with are as follows:
/ data/dalvik-cache/arm64, alternatively ,/data/dalvik-cache/arm.
Specifically, preset catalogue can be different according to the difference of the operating system of the first electronic equipment, wherein
If the operating system of the first electronic equipment is 64 bit manipulation systems, preset catalogue can be with are as follows:
/data/dalvik-cache/arm64。
If the operating system of the first electronic equipment is 32-bit operating system, preset catalogue can be with are as follows:
/data/dalvik-cache/arm。
Corresponding with embodiment of the method, the embodiment of the present invention also provides a kind of device for promoting starting up speed, and the present invention is real A kind of structural schematic diagram of the device of the promotion starting up speed of example offer is applied as shown in figure 4, may include:
Obtain module 41 and respond module 42;Wherein,
Module 41 is obtained for obtaining power-on instruction, which, which is used to indicate, opens the first electronic equipment;
Wherein, the first electronic equipment can refer to the mobile terminals such as mobile phone, tablet computer.
Respond module 42 obtains the power-on instruction obtained of module 41 for responding, opens the first electronic equipment.Specifically , respond module 42 may include:
First reading unit 421 and the second reading unit 422;Wherein,
First reading unit 421 is used in the first electronic equipment from the start-up course closed to unlatching, reads preset mesh Record;
Second reading unit 422 is used to read the first storage corresponding with the preset catalogue based on above-mentioned preset catalogue The file of subregion, the file that the file of first partition holding must load during startup for the first electronic equipment;Position It is that the preparatory in addition and maintenance from start-up course of the first electronic equipment is stored in the first storage point in the file of the first partition holding File in area.
That is, in the ROM of the first electronic equipment when burn recording software, being previously created in the embodiment of the present invention The storage catalogue of the file of first partition holding, and the file of the first partition holding is stored to the catalogue, thus will be soft After part is burned onto ROM, during electronic equipment starting up, the storage mesh of the file without resettling the first partition holding Record, and loaded files under established catalogue one by one, but can the first partition holding directly be read from preset catalogue File, to promote starting up speed.
Optionally, the file of above-mentioned the first partition holding corresponding with preset catalogue can be raw by the second electronic equipment At second electronic equipment can be the electronic equipment that desktop computer, notebook etc. have code compilation function.
A kind of structural schematic diagram of second electronic equipment provided in an embodiment of the present invention is as shown in figure 5, may include:
Collector 51, optimization module 52, renamer module 53, the first memory module 54 and the first compression module 55;Its In,
Collector 51 generates object code file, the object code file for being compiled to engineering code file In include the first application file;
Engineering code file refers to engineering code file corresponding with the first electronic equipment.In the object code file of generation Including a variety of files: application file, kernel program file (such as kernel image), jar packet, so dynamic library file, money Source file etc..
It wherein, again include the resource text of code file (such as class.dex file) and application program in application file Part.For ease of description, in the embodiment of the present invention answering in the object code file of generation will be compiled to engineering code file It is known as the first application file with program file.
Optimization module 52 obtains executable file for optimizing to the code file in the first application file;
Code file in first application file is optimized, by the code text in the first application file Part is converted into the file that the first electronic equipment can be run, i.e. executable file (such as odex file).
Renamer module 53 is for renaming executable file, the executable file after being renamed;
Specifically, can be renamed according to the bibliographic structure of the first application file to executable file.
For example, it is assumed that the bibliographic structure of the first application file are as follows:
Data/app/AppName/AppName.apk/classes.dex,
So, the title of the executable file after renaming are as follows:
data@app@AppName@AppName.apk@classes.dex。
First memory module 54 is used to store the executable file after renaming by preset catalogue;This is preset The catalogue that catalogue must be read for electronic equipment based on the booting of the first partition holding file;
First compression module 55 is for pressing the executable file after the renaming under the preset catalogue Contracting generates the file of first partition holding.
The first partition holding file can be user data partitioned file, such as userdata.img partitioned file.
In the embodiment of the present invention, the first partition holding file is pre-generated, which is burned onto the After in the ROM of one electronic equipment, the first electronic equipment can directly be read from preset catalogue during starting up, and It need not load files into again in the preset catalogue, to promote the first electronic equipment starting up speed.
Optionally, a kind of structural schematic diagram of renamer module 53 is as shown in fig. 6, may include:
Compression unit 61 and renaming unit 62;Wherein,
Compression unit 61 is for compressing executable file;
Renaming unit 62 is for renaming compressed executable file, the executable text after being renamed Part.
It is renamed again after being compressed to executable file, it is possible to reduce the occupied memory space of executable file, from And increase the available space of user.
Based on embodiment illustrated in fig. 6, another structural schematic diagram of the second electronic equipment provided in an embodiment of the present invention is such as Shown in Fig. 7, can also include:
Removing module 71, the second compression module 72, the second memory module 73 and third compression module 74;Wherein,
Removing module 71 is used to delete the code file in the first application file, obtains the second application file;
After obtaining executable file, the code file in the first application file can be deleted.
Second compression module 72 is for compressing the second application file, and be applied program bag;
Second memory module 73 be used for by compressed executable file store to under the catalogue of application package peer;
Third compression module 74 generates second and deposits for compressing to application package and compressed executable file Store up partitioned file.
Second partition holding file can refer to system partitioning file, such as system.img partitioned file.
In the embodiment of the present invention, after generating executable file, the code file in the first application program is deleted, and to optimization Application file (including application package and compressed executable file) afterwards is stored after being compressed to the second storage Subregion is further reduced system partitioning text after by the memory space of the second partition holding burning file to the first electronic equipment The memory space of occupied first electronic equipment of part, to further increase the available space of user in the first electronic equipment.
Therefore, the embodiment of the present invention also increases user's available space while promoting booting.As shared by code file Space is reduced, so that first electronic equipment can select memory space is lesser to deposit in the case where user's space is certain Reservoir (such as EMMC), so as to reduce the hardware cost of the first electronic equipment.
The structural schematic diagram of duplication of name module 53 can be referring to Fig. 6 in Fig. 7.
Optionally, catalogue preset described in the embodiment of the present invention can be with are as follows:
/ data/dalvik-cache/arm64, alternatively ,/data/dalvik-cache/arm.
Specifically, preset catalogue can be different according to the difference of the operating system of the first electronic equipment, wherein
If the operating system of the first electronic equipment is 64 bit manipulation systems, preset catalogue can be with are as follows:
/data/dalvik-cache/arm64。
If the operating system of the first electronic equipment is 32-bit operating system, preset catalogue can be with are as follows:
/data/dalvik-cache/arm。
The embodiment of the present invention also provides a kind of first electronic equipment, which has as above any one device reality The device of the promotion starting up speed of example offer is provided.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description The specific work process of (if present), device and unit, can refer to corresponding processes in the foregoing method embodiment, herein no longer It repeats.
In several embodiments provided herein, it should be understood that disclosed system (if present), device and side Method may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, described The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (9)

1. a kind of method for promoting starting up speed, which is characterized in that the described method includes:
Power-on instruction is obtained, the power-on instruction is used to indicate unlatching electronic equipment;
The power-on instruction is responded, the electronic equipment is opened;
In the electronic equipment from the start-up course closed to unlatching:
Read preset catalogue;
The file of the first partition holding corresponding with the preset catalogue, institute are read from ROM based on the preset catalogue State the file that file must load in the start-up course for the electronic equipment;Positioned at the institute of first partition holding Stating file is that the electronic equipment is preparatory other than in the start-up course and maintenance is stored in first partition holding File;Wherein, the file of first partition holding is user data partitioned file;
Wherein, the file of first partition holding corresponding with the preset catalogue generates in the following way:
Engineering code file is compiled, object code file is generated, includes first in the object code file using journey Preface part;
Code file in first application file is optimized, executable file is obtained;
The executable file is renamed, the executable file after being renamed;
Executable file after the renaming is stored by preset catalogue;
The executable file after the renaming is compressed under the preset catalogue, generates first partition holding File;
The catalogue that the preset catalogue must be read for the electronic equipment based on the first partition holding file booting.
2. being obtained the method according to claim 1, wherein described rename the executable file Executable file after renaming includes:
The executable file is compressed;
Compressed executable file is renamed, the executable file after being renamed.
3. according to the method described in claim 2, it is characterized by further comprising:
The code file in first application file is deleted, the second application file is obtained;
Second application file is compressed, be applied program bag;
By the compressed executable file store to under the catalogue of the application package peer;
The application package and the compressed executable file are compressed, the second partition holding file is generated.
4. the method according to claim 1, wherein the preset catalogue are as follows:/data/dalvik-cache/ Arm64, alternatively ,/data/dalvik-cache/arm.
5. a kind of device for promoting starting up speed, which is characterized in that described device includes:
Module is obtained, for obtaining power-on instruction, the power-on instruction, which is used to indicate, opens the first electronic equipment;
Respond module opens first electronic equipment for responding the power-on instruction;The respond module includes:
First reading unit, for from the start-up course closed to unlatching, reading preset mesh in first electronic equipment Record;
Second reading unit, for being read from ROM and the preset catalogue corresponding first based on the preset catalogue The file of partition holding, the file that the file must load in the start-up course for first electronic equipment;Position In the file preparatory in addition and maintenance from the start-up course for first electronic equipment of first partition holding The file being stored in first partition holding;Wherein, the file of first partition holding is user data partitioned file;
Wherein, the file of first partition holding corresponding with the preset catalogue is generated by the second electronic equipment, institute Stating the second electronic equipment includes:
Collector generates object code file, wraps in the object code file for being compiled to engineering code file Include the first application file;
Optimization module obtains executable file for optimizing to the code file in first application file;
Renamer module, for being renamed to the executable file, the executable file after being renamed;
First memory module, for storing the executable file after the renaming by preset catalogue;
First compression module, it is raw for being compressed under the preset catalogue to the executable file after the renaming At the file of first partition holding;
Preset catalogue first electronic equipment must be read based on the first partition holding file booting Catalogue.
6. device according to claim 5, which is characterized in that renamer module includes:
Compression unit, for being compressed to the executable file;
Rename unit, for renaming to compressed executable file, the executable file after being renamed.
7. device according to claim 6, which is characterized in that second electronic equipment further include:
Removing module obtains the second application file for deleting the code file in first application file;
Second compression module, for compressing to second application file, be applied program bag;
Second memory module, for storing the compressed executable file to the catalogue with the application package peer Under;
Third compression module generates for compressing to the application package and the compressed executable file Two partition holding files.
8. device according to claim 5, which is characterized in that the preset catalogue are as follows:/data/dalvik-cache/ Arm64, alternatively ,/data/dalvik-cache/arm.
9. a kind of first electronic equipment, which is characterized in that including the promotion starting up speed as described in claim 5-8 any one Device.
CN201510324015.8A 2015-06-12 2015-06-12 Promote the method, apparatus and electronic equipment of starting up speed Active CN104866365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510324015.8A CN104866365B (en) 2015-06-12 2015-06-12 Promote the method, apparatus and electronic equipment of starting up speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510324015.8A CN104866365B (en) 2015-06-12 2015-06-12 Promote the method, apparatus and electronic equipment of starting up speed

Publications (2)

Publication Number Publication Date
CN104866365A CN104866365A (en) 2015-08-26
CN104866365B true CN104866365B (en) 2019-04-26

Family

ID=53912214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510324015.8A Active CN104866365B (en) 2015-06-12 2015-06-12 Promote the method, apparatus and electronic equipment of starting up speed

Country Status (1)

Country Link
CN (1) CN104866365B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677335B (en) * 2015-12-29 2019-03-26 Oppo广东移动通信有限公司 Improve the method and device that mobile terminal first powers on speed
CN106997294A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 Odex document generating methods and device
CN105808300B (en) * 2016-03-09 2019-05-03 Oppo广东移动通信有限公司 A kind of starting-up method and device of terminal
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN106250180B (en) * 2016-07-27 2019-10-11 宇龙计算机通信科技(深圳)有限公司 A kind of ODEX optimal control method and mobile terminal
CN108228077B (en) * 2016-12-14 2022-04-19 斑马智行网络(香港)有限公司 Storage area management method, operation method, device, equipment and readable medium
CN108733426B (en) * 2017-04-21 2021-10-29 海马云(天津)信息技术有限公司 Method and device for running application by electronic equipment and electronic equipment
CN107391181A (en) * 2017-06-29 2017-11-24 上海与德科技有限公司 A kind of method and device of system partitioning
CN109165048A (en) * 2018-10-11 2019-01-08 四川长虹电器股份有限公司 Quick start method after upgrading based on Android system
CN113396391B (en) * 2019-04-15 2023-12-01 深圳市欢太科技有限公司 Application program starting method and device, electronic equipment and storage medium
CN110308945B (en) * 2019-05-22 2022-07-05 百度在线网络技术(北京)有限公司 Dynamic loading method and device of plug-in
CN113504997B (en) * 2021-07-28 2023-03-21 亿咖通(湖北)技术有限公司 Processing method, device, equipment and medium for application program installation package file
CN114281268A (en) * 2021-12-31 2022-04-05 深圳宏芯宇电子股份有限公司 Starting method, memory storage device and memory controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890634A (en) * 2011-07-19 2013-01-23 联想(北京)有限公司 Terminal device and method for starting operation system of terminal device
CN104572140A (en) * 2013-10-10 2015-04-29 深圳中电长城信息安全系统有限公司 Method, device and system for transplanting operating system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1426859B1 (en) * 2001-08-22 2009-11-18 Legend (Beijing) Limited Method of computer rapid start-up
CN101587442A (en) * 2008-05-20 2009-11-25 研华股份有限公司 Computer system and starting method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890634A (en) * 2011-07-19 2013-01-23 联想(北京)有限公司 Terminal device and method for starting operation system of terminal device
CN104572140A (en) * 2013-10-10 2015-04-29 深圳中电长城信息安全系统有限公司 Method, device and system for transplanting operating system

Also Published As

Publication number Publication date
CN104866365A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104866365B (en) Promote the method, apparatus and electronic equipment of starting up speed
US20230118948A1 (en) Systems and methods for aggregation of cloud storage
US11960486B2 (en) Systems and methods for secure file management via an aggregation of cloud storage services
US20210075857A1 (en) Aggregation and management among a plurality of storage providers
US20190306240A1 (en) Systems and methods for third-party policy-based file distribution in an aggregation of cloud storage services
CN102801779B (en) Interface presentation method, system and terminal
CN103703742B (en) Backup method and device based on power supply status
CN103902265B (en) One kind applies implementation method and relevant apparatus
US20170331892A1 (en) Systems and methods for processing-based file distribution in an aggregation of cloud storage services
CN103678337B (en) Data clearing method, apparatus and system
CN101944107B (en) Document management method
US10250670B2 (en) Streaming zip
CN102819461A (en) Desktop synchronization method, device, equipment and system
JP2014010465A (en) Method for selecting storage cloud for storing entity file from two or more storage cloud and computer and computer program
CN109857548A (en) Memory space optimization method, device, computer equipment and storage medium
CN103946845A (en) Client application file access
CN104899049B (en) File deletion method and device
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN100459500C (en) Method for loading functional extension file of customer end soft ware
CN104808953B (en) Control the method, device and mobile terminal of data storage
CN106445622A (en) Application program uninstalling method and uninstalling device and mobile terminal
CN102968313B (en) The generation method and terminal of a kind of desktop widget
CN107402846B (en) File processing method and device
CN102609301A (en) Method for deploying software for multiple clients quickly
CN102609650A (en) System and method for realizing software encrypting and downloading in electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant