CN104866365A - Method and device for improving boot speed, and electronic equipment - Google Patents

Method and device for improving boot speed, and electronic equipment Download PDF

Info

Publication number
CN104866365A
CN104866365A CN201510324015.8A CN201510324015A CN104866365A CN 104866365 A CN104866365 A CN 104866365A CN 201510324015 A CN201510324015 A CN 201510324015A CN 104866365 A CN104866365 A CN 104866365A
Authority
CN
China
Prior art keywords
file
electronic equipment
rename
catalogue
partition holding
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.)
Granted
Application number
CN201510324015.8A
Other languages
Chinese (zh)
Other versions
CN104866365B (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 method for improving boot speed. In a boot process, a preset catalogue is read, and the files of a first storage partition corresponding to the preset catalogue are read on the basis of the preset catalogue, wherein the files are the files which must be loaded in the boot process for the electronic equipment, and the files positioned in the first storage partition are the files which are maintained or stored in the first storage partition for the electronic equipment in advance except the boot process. In other words, in the embodiment of the invention, when software is burnt in ROM (Read Only Memory), a storage catalogue of the files of the first storage partition is established in advance, the files of the first storage partition are stored under the catalogue; therefore, after the software is burnt to the ROM, in a boot and startup process of the electronic equipment, a phenomenon that the storage catalogue of the files of the first storage partition is established and the files are downloaded to the established catalogue one by one can be avoided, and instead, the files of the first storage partition can be directly read from the preset catalogue so as to improve the boot speed.

Description

Promote the method for starting up speed, device and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, more particularly, relate to a kind of method, device and the electronic equipment that promote starting up speed.
Background technology
First time start after burn recording software in the ROM of the hand-hold electronic equipments such as mobile phone, panel computer, or when after ROM being recovered initial setting up to hand-hold electronic equipments brush machine, first time starts shooting, starting up speed is slow.
Therefore, the speed how improving hand-hold electronic equipments first time start becomes problem demanding prompt solution.
Summary of the invention
The object of this invention is to provide a kind of document generating method, device and electronic equipment, to improve the speed of hand-hold electronic equipments first time start.
For achieving the above object, the invention provides following technical scheme:
Promote a method for starting up speed, described method comprises:
Obtain start-up command, described start-up command is used to indicate unlocking electronic equipment;
Respond described start-up command, open described electronic equipment;
At described electronic equipment from the start-up course being closed to unlatching:
Read preset catalogue;
The file of first partition holding corresponding with described preset catalogue is read, the file that described file must load in described start-up course for described electronic equipment based on described preset catalogue; The described file being arranged in described first partition holding be described electronic equipment beyond described start-up course in advance and maintain the file being stored in described first partition holding.
Said method, preferably, the file of the first partition holding that described and described preset catalogue is corresponding generates in the following way:
Compile engineering code file, generate object code file, described object code file comprises the first application file;
Code file in described first application file is optimized, obtains executable file;
Rename is carried out to described executable file, obtains the executable file after rename;
Executable file after described rename is stored by preset catalogue;
Under described preset catalogue, the executable file after described rename is compressed, generate the file of described first partition holding;
Described preset catalogue to be started shooting the catalogue that must read based on described first partition holding file for described electronic equipment.
Said method, preferably, describedly carries out rename to described executable file, obtains the executable file after rename and comprise:
Described executable file is compressed;
Rename is carried out to the executable file after compression, obtains the executable file after rename.
Said method, preferably, also comprises:
Delete the code file in described first application file, obtain the second application file;
Compress described second application file, be applied routine package;
Executable file after described compression is stored to under the catalogue of described application package peer;
Executable file after described application package and described compression is compressed, generates the second partition holding file.
Said method, preferably, described preset catalogue is :/data/dalvik-cache/arm64, or ,/data/dalvik-cache/arm.
Promote a device for starting up speed, described device comprises:
Acquisition module, for obtaining start-up command, described start-up command is used to indicate unlatching first electronic equipment;
Respond module, for responding described start-up command, opens described first electronic equipment; Described respond module comprises:
First reading unit, at described first electronic equipment from the start-up course being closed to unlatching, read preset catalogue;
Second reading unit, for reading the file of first partition holding corresponding with described preset catalogue, the file that described file must load in described start-up course for described first electronic equipment based on described preset catalogue; The described file being arranged in described first partition holding be described first electronic equipment beyond described start-up course in advance and maintain the file being stored in described first partition holding.
Said apparatus, preferably, the file of the first partition holding that described and described preset catalogue is corresponding is generated by the second electronic equipment, and described second electronic equipment comprises:
Collector, for compiling engineering code file, generate object code file, described object code file comprises the first application file;
Optimizing module, for being optimized the code file in described first application file, obtaining executable file;
Rename module, for carrying out rename to described executable file, obtains the executable file after rename;
First memory module, for storing the executable file after described rename by preset catalogue;
First compression module, for compressing the executable file after described rename under described preset catalogue, generates the file of described first partition holding;
Described preset catalogue to be started shooting the catalogue that must read based on described first partition holding file for described first electronic equipment.
Said apparatus, preferably, rename module comprises:
Compression unit, for compressing described executable file;
Rename unit, for carrying out rename to the executable file after compression, obtains the executable file after rename.
Said apparatus, preferably, described second electronic equipment also comprises:
Removing module, for deleting the code file in described first application file, obtains the second application file;
Second compression module, for compressing described second application file, be applied routine package;
Second memory module, for being stored to under the catalogue of described application package peer by the executable file after described compression;
3rd compression module, for compressing the executable file after described application package and described compression, generates the second partition holding file.
Said apparatus, preferably, described preset catalogue is :/data/dalvik-cache/arm64, or ,/data/dalvik-cache/arm.
A kind of first electronic equipment, comprises the device of the lifting starting up speed as above described in any one.
Known by above scheme, a kind of method promoting starting up speed that the application provides, in opening process, read preset catalogue, the file of the first partition holding corresponding to this preset catalogue is read, the file that described file must load in start-up course for electronic equipment based on this preset catalogue; The file being arranged in the first partition holding be electronic equipment beyond start-up course in advance and maintain the file being stored in the first partition holding.That is, in the embodiment of the present invention, in ROM during burn recording software, establish the storage directory of the file of the first partition holding in advance, and under the file of the first partition holding is stored to this catalogue, thus software is being burned onto after in ROM, in electronic equipment starting up process, the storage directory of the file of the first partition holding need not be set up again, and one by one by files loading under set up catalogue, but directly can read the file of the first partition holding from preset catalogue, thus promote starting up speed.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of realization flow figure of the method for the lifting starting up speed that Fig. 1 provides for the embodiment of the present application;
A kind of realization flow figure of the generation method of the file of first partition holding corresponding with preset catalogue that Fig. 2 provides for the embodiment of the present application;
Fig. 3 carries out rename for the embodiment of the present application provides to executable file, obtains a kind of realization flow figure's of the executable file after rename;
A kind of structural representation of the device of the lifting starting up speed that Fig. 4 provides for the embodiment of the present application;
A kind of structural representation of the second electronic equipment that Fig. 5 provides for the embodiment of the present application;
A kind of structural representation of the rename module that Fig. 6 provides for the embodiment of the present application;
The another kind of structural representation of the second electronic equipment that Fig. 7 provides for the embodiment of the present application.
Term " first ", " second ", " the 3rd " " 4th " etc. (if existence) in instructions and claims and above-mentioned accompanying drawing are for distinguishing similar part, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so that the embodiment of the application described herein can be implemented with the order except illustrated here.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In traditional start process, electronic equipment needs the file that must load start process carry out scanning and be loaded into one by one in corresponding catalogue, and inventor is realizing finding in process of the present invention, and the speed of traditional starting up's process is slower.In order to promote starting up speed, in the embodiment of the present invention, the file that electronic equipment must load from the start-up course being closed to unlatching is burned onto in the ROM of electronic equipment in advance, thus software is being burned onto after in ROM, electronic equipment in starting up's process need not again by files loading in the catalogue of correspondence, but directly read, thus promote starting up speed.Below the embodiment of the present invention is described.
Refer to Fig. 1, a kind of realization flow figure of the method for the lifting starting up speed that Fig. 1 provides for the embodiment of the present invention, can comprise:
Step S11: obtain start-up command, described start-up command is used at least unlocking electronic equipment;
Step S12: respond described start-up command, opens described electronic equipment;
Comprise from the start-up course being closed to unlatching at described electronic equipment:
Step S121: read preset catalogue;
Step S122: read corresponding with this preset catalogue the based on read preset catalogue
The file of one partition holding, the file of this first partition holding is electronic equipment institute in start-up course
The file that must load; The file being arranged in the first partition holding be electronic equipment from start-up course with
Outer in advance and maintain the file be stored in the first partition holding.
That is, in the embodiment of the present invention, in the ROM of electronic equipment during burn recording software, establish the storage directory of the file of the first partition holding in advance, and under the file of the first partition holding is stored to this catalogue, thus software is being burned onto after in ROM, in electronic equipment starting up process, the storage directory of the file of the first partition holding need not be set up again, and one by one by files loading under set up catalogue, but directly can read the file of the first partition holding from preset catalogue, thus promote starting up speed.
For ease of describing, the electronic equipment described in embodiment illustrated in fig. 1 is called the first electronic equipment below, the electronic equipment of the file generating first partition holding corresponding with preset catalogue is called the second electronic equipment.That is, the file of first partition holding corresponding with preset catalogue generates in the second electronic equipment, is burned onto in the ROM of the first electronic equipment after generation.
Wherein, the first electronic equipment can refer to the mobile terminal such as mobile phone, panel computer; Second electronic equipment can refer to that desk-top computer, notebook etc. have the electronic equipment of code compilation function.
Optionally, a kind of realization flow figure of the generation method of the file of first partition holding corresponding with preset catalogue as shown in Figure 2, can comprise:
Step S21: engineering code file is compiled, generate object code file, this object code file comprises the first application file;
Engineering code file refers to the engineering code file corresponding with the first electronic equipment.The object code file generated comprises multiple file: application file, kernel program file (as kernel image), jar bag, so dynamic library file, resource file etc.
Wherein, application file comprises the resource file of code file (as class.dex file) and application program.For ease of describing, in the embodiment of the present invention, be called the first application file by carrying out the application file compiled in the object code file of generation to engineering code file.
Step S22: the code file in the first application file is optimized, obtains executable file;
Code file in first application file is optimized, the code file in the first application file to be converted into the file that the first electronic equipment can run, i.e. executable file (as odex file).
Step S23: carry out rename to executable file, obtains the executable file after rename;
Concrete, rename can be carried out according to the bibliographic structure of the first application file to executable file.
Such as, suppose that the bibliographic structure of the first application file is:
data/app/AppName/AppName.apk/classes.dex,
So, the name of the executable file after rename is called:
data@app@AppName@AppName.apk@classes.dex。
Step S24: the executable file after rename is stored by preset catalogue; This preset catalogue to be started shooting the catalogue that must read based on described first partition holding file for the first electronic equipment;
Step S25: compress the executable file after described rename under described preset catalogue, generates the file of described first partition holding.
This first partition holding file can be user data partitioned file, as userdata.img partitioned file.
In the embodiment of the present invention, generate the first partition holding file in advance, this the first partition holding file is burned onto after in the ROM of the first electronic equipment, first electronic equipment is in starting up's process, can directly read from preset catalogue, and need not again by files loading in this preset catalogue, thus promote the first electronic equipment starting up speed.
Optionally, carry out rename to executable file, a kind of realization flow figure obtaining the executable file after rename as shown in Figure 3, comprising:
Step S31: executable file is compressed;
Step S32: rename is carried out to the executable file after compression, obtains the executable file after rename.
Rename again after compressing executable file, can reduce the storage space shared by executable file, thus the free space of adding users.
Based on embodiment illustrated in fig. 3, after obtaining executable file, the method for the lifting starting up speed that the embodiment of the present invention provides can also comprise further:
Delete the code file in the first application file, obtain the second application file;
Compress described second application file, be applied routine package;
Executable file after described compression is stored to under the catalogue of described application package peer;
Executable file after described application package and described compression is compressed, generates the second partition holding file.
Second partition holding file can refer to system partitioning file, as system.img partitioned file.
In the embodiment of the present invention, after generating executable file, delete the code file in the first application program, and be stored to the second partition holding after the application file (comprising the executable file after application package and compression) after optimization is compressed, after by the storage space of the second partition holding burning file to the first electronic equipment, the storage space of the first electronic equipment shared by the file of further minimizing system partitioning, thus the free space increasing user in the first electronic equipment further.
Therefore, the embodiment of the present invention goes back adding users free space while lifting starting up speed.Space shared by code file is reduced, thus when user's space is certain, the first electronic equipment can select the storer (as EMMC) that storage space is less, thus can reduce the hardware cost of the first electronic equipment.
Optionally, the preset catalogue described in the embodiment of the present invention can be:
/ data/dalvik-cache/arm64, or ,/data/dalvik-cache/arm.
Concrete, according to the difference of the operating system of the first electronic equipment, preset catalogue can be different, wherein,
If the operating system of the first electronic equipment is 64 bit manipulation systems, then preset catalogue can be:
/data/dalvik-cache/arm64。
If the operating system of the first electronic equipment is 32-bit operating system, then preset catalogue can be:
/data/dalvik-cache/arm。
Corresponding with embodiment of the method, the embodiment of the present invention also provides a kind of device promoting starting up speed, and a kind of structural representation of the device of the lifting starting up speed that the embodiment of the present invention provides as shown in Figure 4, can comprise:
Acquisition module 41 and respond module 42; Wherein,
Acquisition module 41 is for obtaining start-up command, and this start-up command is used to indicate unlatching first electronic equipment;
Wherein, the first electronic equipment can refer to the mobile terminal such as mobile phone, panel computer.
Respond module 42, for responding the start-up command that acquisition module 41 obtains, opens the first electronic equipment.Concrete, respond module 42 can comprise:
First reading unit 421 and the second reading unit 422; Wherein,
First reading unit 421 at the first electronic equipment from the start-up course being closed to unlatching, read preset catalogue;
Second reading unit 422 for reading the file of first partition holding corresponding with this preset catalogue based on above-mentioned preset catalogue, the file that the file of this first partition holding must load in start-up course for the first electronic equipment; The file being arranged in the first partition holding be the first electronic equipment beyond start-up course in advance and maintain the file being stored in the first partition holding.
That is, in the embodiment of the present invention, in the ROM of the first electronic equipment during burn recording software, establish the storage directory of the file of the first partition holding in advance, and under the file of the first partition holding is stored to this catalogue, thus software is being burned onto after in ROM, in electronic equipment starting up process, the storage directory of the file of the first partition holding need not be set up again, and one by one by files loading under set up catalogue, but directly can read the file of the first partition holding from preset catalogue, thus promote starting up speed.
Optionally, the file of the first partition holding that above-mentioned with preset catalogue is corresponding can be generated by the second electronic equipment, and this second electronic equipment can be the electronic equipment that desk-top computer, notebook etc. have code compilation function.
A kind of structural representation of the second electronic equipment that the embodiment of the present invention provides as shown in Figure 5, can comprise:
Collector 51, optimizes module 52, rename module 53, first memory module 54 and the first compression module 55; Wherein,
Collector 51 is for compiling engineering code file, and generate object code file, this object code file comprises the first application file;
Engineering code file refers to the engineering code file corresponding with the first electronic equipment.The object code file generated comprises multiple file: application file, kernel program file (as kernel image), jar bag, so dynamic library file, resource file etc.
Wherein, the resource file of code file (as class.dex file) and application program is comprised again in application file.For ease of describing, in the embodiment of the present invention, be called the first application file by carrying out the application file compiled in the object code file of generation to engineering code file.
Optimizing module 52 for being optimized the code file in the first application file, obtaining executable file;
Code file in first application file is optimized, the code file in the first application file to be converted into the file that the first electronic equipment can run, i.e. executable file (as odex file).
Rename module 53, for carrying out rename to executable file, obtains the executable file after rename;
Concrete, rename can be carried out according to the bibliographic structure of the first application file to executable file.
Such as, suppose that the bibliographic structure of the first application file is:
data/app/AppName/AppName.apk/classes.dex,
So, the name of the executable file after rename is called:
data@app@AppName@AppName.apk@classes.dex。
First memory module 54 is for storing the executable file after rename by preset catalogue; This preset catalogue to be started shooting the catalogue that must read based on the first partition holding file for electronic equipment;
First compression module 55, for compressing the executable file after described rename under described preset catalogue, generates the file of described first partition holding.
This first partition holding file can be user data partitioned file, as userdata.img partitioned file.
In the embodiment of the present invention, generate the first partition holding file in advance, this the first partition holding file is burned onto after in the ROM of the first electronic equipment, first electronic equipment is in starting up's process, can directly read from preset catalogue, and need not again by files loading in this preset catalogue, thus promote the first electronic equipment starting up speed.
Optionally, a kind of structural representation of rename module 53 as shown in Figure 6, can comprise:
Compression unit 61 and rename unit 62; Wherein,
Compression unit 61 is for compressing executable file;
Rename unit 62, for carrying out rename to the executable file after compression, obtains the executable file after rename.
Rename again after compressing executable file, can reduce the storage space shared by executable file, thus the free space of adding users.
Based on embodiment illustrated in fig. 6, the another kind of structural representation of the second electronic equipment that the embodiment of the present invention provides as shown in Figure 7, can also comprise:
Removing module 71, the second compression module 72, second memory module 73 and the 3rd compression module 74; Wherein,
Removing module 71, for deleting 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 routine package;
Second memory module 73 is for being stored to under the catalogue of application package peer by the executable file after compression;
3rd compression module 74 compresses for the executable file after application programs bag and compression, generates the second partition holding file.
Second partition holding file can refer to system partitioning file, as system.img partitioned file.
In the embodiment of the present invention, after generating executable file, delete the code file in the first application program, and be stored to the second partition holding after the application file (comprising the executable file after application package and compression) after optimization is compressed, after by the storage space of the second partition holding burning file to the first electronic equipment, the storage space of the first electronic equipment shared by the file of further minimizing system partitioning, thus the free space increasing user in the first electronic equipment further.
Therefore, the embodiment of the present invention goes back adding users free space while lifting start.Space shared by code file is reduced, thus when user's space is certain, the first electronic equipment can select the storer (as EMMC) that storage space is less, thus can reduce the hardware cost of the first electronic equipment.
The structural representation of module of bearing the same name in Fig. 7 53 can referring to Fig. 6.
Optionally, the preset catalogue described in the embodiment of the present invention can be:
/ data/dalvik-cache/arm64, or ,/data/dalvik-cache/arm.
Concrete, according to the difference of the operating system of the first electronic equipment, preset catalogue can be different, wherein,
If the operating system of the first electronic equipment is 64 bit manipulation systems, then preset catalogue can be:
/data/dalvik-cache/arm64。
If the operating system of the first electronic equipment is 32-bit operating system, then preset catalogue can be:
/data/dalvik-cache/arm。
The embodiment of the present invention also provides a kind of first electronic equipment, and this first electronic equipment has the device of the lifting starting up speed that as above any device embodiment provides.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the specific works process of the system of foregoing description (if existence), device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system (if existence), apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (11)

1. promote a method for starting up speed, it is characterized in that, described method comprises:
Obtain start-up command, described start-up command is used to indicate unlocking electronic equipment;
Respond described start-up command, open described electronic equipment;
At described electronic equipment from the start-up course being closed to unlatching:
Read preset catalogue;
The file of first partition holding corresponding with described preset catalogue is read, the file that described file must load in described start-up course for described electronic equipment based on described preset catalogue; The described file being arranged in described first partition holding be described electronic equipment beyond described start-up course in advance and maintain the file being stored in described first partition holding.
2. method according to claim 1, is characterized in that, the file of the first partition holding that described and described preset catalogue is corresponding generates in the following way:
Compile engineering code file, generate object code file, described object code file comprises the first application file;
Code file in described first application file is optimized, obtains executable file;
Rename is carried out to described executable file, obtains the executable file after rename;
Executable file after described rename is stored by preset catalogue;
Under described preset catalogue, the executable file after described rename is compressed, generate the file of described first partition holding;
Described preset catalogue to be started shooting the catalogue that must read based on described first partition holding file for described electronic equipment.
3. method according to claim 2, is characterized in that, describedly carries out rename to described executable file, obtains the executable file after rename and comprises:
Described executable file is compressed;
Rename is carried out to the executable file after compression, obtains the executable file after rename.
4. method according to claim 3, is characterized in that, also comprises:
Delete the code file in described first application file, obtain the second application file;
Compress described second application file, be applied routine package;
Executable file after described compression is stored to under the catalogue of described application package peer;
Executable file after described application package and described compression is compressed, generates the second partition holding file.
5. method according to claim 1, is characterized in that, described preset catalogue is :/data/dalvik-cache/arm64, or ,/data/dalvik-cache/arm.
6. promote a device for starting up speed, it is characterized in that, described device comprises:
Acquisition module, for obtaining start-up command, described start-up command is used to indicate unlatching first electronic equipment;
Respond module, for responding described start-up command, opens described first electronic equipment; Described respond module comprises:
First reading unit, at described first electronic equipment from the start-up course being closed to unlatching, read preset catalogue;
Second reading unit, for reading the file of first partition holding corresponding with described preset catalogue, the file that described file must load in described start-up course for described first electronic equipment based on described preset catalogue; The described file being arranged in described first partition holding be described first electronic equipment beyond described start-up course in advance and maintain the file being stored in described first partition holding.
7. device according to claim 6, is characterized in that, the file of the first partition holding that described and described preset catalogue is corresponding is generated by the second electronic equipment, and described second electronic equipment comprises:
Collector, for compiling engineering code file, generate object code file, described object code file comprises the first application file;
Optimizing module, for being optimized the code file in described first application file, obtaining executable file;
Rename module, for carrying out rename to described executable file, obtains the executable file after rename;
First memory module, for storing the executable file after described rename by preset catalogue;
First compression module, for compressing the executable file after described rename under described preset catalogue, generates the file of described first partition holding;
Described preset catalogue to be started shooting the catalogue that must read based on described first partition holding file for described first electronic equipment.
8. want the device described in 7 according to right, it is characterized in that, rename module comprises:
Compression unit, for compressing described executable file;
Rename unit, for carrying out rename to the executable file after compression, obtains the executable file after rename.
9. device according to claim 8, is characterized in that, described second electronic equipment also comprises:
Removing module, for deleting the code file in described first application file, obtains the second application file;
Second compression module, for compressing described second application file, be applied routine package;
Second memory module, for being stored to under the catalogue of described application package peer by the executable file after described compression;
3rd compression module, for compressing the executable file after described application package and described compression, generates the second partition holding file.
10. device according to claim 6, is characterized in that, described preset catalogue is :/data/dalvik-cache/arm64, or ,/data/dalvik-cache/arm.
11. a kind of first electronic equipment, is characterized in that, comprises the device of the lifting starting up speed as described in claim 9-10 any one.
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 true CN104866365A (en) 2015-08-26
CN104866365B 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)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677335A (en) * 2015-12-29 2016-06-15 广东欧珀移动通信有限公司 Method and device for increasing first starting speed of mobile terminal
CN105808300A (en) * 2016-03-09 2016-07-27 广东欧珀移动通信有限公司 Terminal power-on method and apparatus
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN106250180A (en) * 2016-07-27 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of ODEX optimal control method and mobile terminal
CN106997294A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 Odex document generating methods and device
CN107391181A (en) * 2017-06-29 2017-11-24 上海与德科技有限公司 A kind of method and device of system partitioning
CN108228077A (en) * 2016-12-14 2018-06-29 阿里巴巴集团控股有限公司 The management method of memory block, operation method, device, equipment, readable medium
CN108733426A (en) * 2017-04-21 2018-11-02 海马云(天津)信息技术有限公司 The method, apparatus and electronic equipment of electronic equipment operation application
CN109165048A (en) * 2018-10-11 2019-01-08 四川长虹电器股份有限公司 Quick start method after upgrading based on Android system
CN110308945A (en) * 2019-05-22 2019-10-08 百度在线网络技术(北京)有限公司 The dynamic loading method and device of plug-in unit
WO2020210955A1 (en) * 2019-04-15 2020-10-22 深圳市欢太科技有限公司 Application program starting method and apparatus, and electronic device and storage medium
CN113504997A (en) * 2021-07-28 2021-10-15 湖北亿咖通科技有限公司 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015215A1 (en) * 2001-08-22 2005-01-20 Zhang Jianhui Method of computer rapid start-up
CN101587442A (en) * 2008-05-20 2009-11-25 研华股份有限公司 Computer system and starting method thereof
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015215A1 (en) * 2001-08-22 2005-01-20 Zhang Jianhui Method of computer rapid start-up
CN101587442A (en) * 2008-05-20 2009-11-25 研华股份有限公司 Computer system and starting method thereof
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

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677335A (en) * 2015-12-29 2016-06-15 广东欧珀移动通信有限公司 Method and device for increasing first starting speed of mobile terminal
CN105677335B (en) * 2015-12-29 2019-03-26 Oppo广东移动通信有限公司 Improve the method and device that mobile terminal first powers on speed
WO2017128589A1 (en) * 2016-01-26 2017-08-03 中兴通讯股份有限公司 Method of generating executable file and art virtual machine execution method and device
CN106997294A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 Odex document generating methods and device
CN105808300A (en) * 2016-03-09 2016-07-27 广东欧珀移动通信有限公司 Terminal power-on method and apparatus
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
CN106250180A (en) * 2016-07-27 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of ODEX optimal control method and mobile terminal
CN108228077A (en) * 2016-12-14 2018-06-29 阿里巴巴集团控股有限公司 The management method of memory block, operation method, device, equipment, readable medium
CN108228077B (en) * 2016-12-14 2022-04-19 斑马智行网络(香港)有限公司 Storage area management method, operation method, device, equipment and readable medium
CN108733426A (en) * 2017-04-21 2018-11-02 海马云(天津)信息技术有限公司 The method, apparatus and electronic equipment of electronic equipment operation application
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
WO2020210955A1 (en) * 2019-04-15 2020-10-22 深圳市欢太科技有限公司 Application program starting method and apparatus, and electronic device and storage medium
CN113396391A (en) * 2019-04-15 2021-09-14 深圳市欢太科技有限公司 Method and device for starting application program, electronic equipment and storage medium
CN113396391B (en) * 2019-04-15 2023-12-01 深圳市欢太科技有限公司 Application program starting method and device, electronic equipment and storage medium
CN110308945A (en) * 2019-05-22 2019-10-08 百度在线网络技术(北京)有限公司 The dynamic loading method and device of plug-in unit
CN110308945B (en) * 2019-05-22 2022-07-05 百度在线网络技术(北京)有限公司 Dynamic loading method and device of plug-in
CN113504997A (en) * 2021-07-28 2021-10-15 湖北亿咖通科技有限公司 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

Also Published As

Publication number Publication date
CN104866365B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN104866365A (en) Method and device for improving boot speed, and electronic equipment
EP3299957A1 (en) Performing live updates to file system volumes
US9164919B2 (en) Method and apparatus for inputting/outputting virtual operating system from removable storage device on a host using virtualization technique
CN102141923B (en) Memory file system loading method and device
CN103049708B (en) A kind of audit collocation method of database and system
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN104714812A (en) Method and system for quickly deploying and loading Java applications in cloud environment
CN102821140A (en) Information sharing method and information sharing terminal
CN107870769A (en) The installation method and device of operating system
CN103677948A (en) Starter and start method
CN102200915A (en) Method and device for version migration of software package
CN114706564B (en) Software package manufacturing method and device, electronic equipment and storage medium
CN103514022A (en) RAID card drive integration method under LINUX
CN102662796B (en) Method and system for recovering data
CN111400105A (en) Database backup method and device
CN106569863A (en) Android app resource updating and repairing method based on resource and code modularization
CN104461622A (en) System update method and system update device for intelligent terminal
CN103473096A (en) Method and system for loading java class on virtual machine of android system
CN103716405B (en) Game server long-range sharing system and method
JP6001199B2 (en) Method for automatic conversion of package for taizen installation of android application and computer-readable recording medium therefor
CN104516752A (en) Information processing method and electronic equipment
CN105677393B (en) A kind of software packet processing method, apparatus and system
KR20100066735A (en) An automatic sync or back-up system using a removable storage device and the method thereof
CN102662991A (en) File-level synchronization method based on mobile storage devices
US10606629B2 (en) Enhancing virtual machine performance using autonomics

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