CN106095504B - Preset application loading method and mobile terminal - Google Patents
Preset application loading method and mobile terminal Download PDFInfo
- Publication number
- CN106095504B CN106095504B CN201610411112.5A CN201610411112A CN106095504B CN 106095504 B CN106095504 B CN 106095504B CN 201610411112 A CN201610411112 A CN 201610411112A CN 106095504 B CN106095504 B CN 106095504B
- Authority
- CN
- China
- Prior art keywords
- preset
- library
- application
- preset application
- directory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Abstract
The present invention provides the preset application loading method of one kind and mobile terminal, wherein, this method comprises: passing through the application program in resolution system, it determines by pretreated preset application, it is corresponding preset using library directory to scan the preset application, applies library directory according to preset, accesses the corresponding preset static data chained library of preset application library directory, according to the corresponding preset static data chained library of preset application library directory, above-mentioned preset application is loaded.Technical solution of the present invention eliminates in existing load process to the preset operation for being decompressed and being copied using corresponding installation kit, shortens the load time, improve the starting up speed of mobile terminal.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of preset application loading method and mobile terminal.
Background technique
With the development of science and technology, Android (Android) operating system of freedom and open source code based on Linux, by
Gradually it is upgraded to new version Android L operating system.Android L user interface, performance upgrade and it is cross-platform support and
Battery life and application program are integrated etc. is superior to android system.Android is upgraded to after Android L,
Android L operating system is run using the higher ART application operational mode of execution efficiency instead of original Dalvik application
Mode improves the fluency of operating system.
Since the manufacturer of Android L mobile terminal can preset more third party during developing mobile terminal
Application program, and the characteristic of Android Lindenmayer system be mobile terminal in each booting by way of loading application library come
These third party applications are reloaded, loading velocity is slow, and time-consuming.Therefore, how efficient loading third-party application journey
Sequence is to speed up the key technology of mobile terminal-opening speed.
Currently, the manufacturer of Android L mobile terminal mainly passes through the modes such as the unpacking of quickening application installation package and copy
To promote the starting up speed of mobile terminal.Specifically, being shortened by the resolution speed and copying speed of quickening application installation package
The load time of application library, and then accelerate the loading velocity of third party application, to solve mobile terminal-opening speed
Slow problem.
However, the resolution speed and copying speed regardless of application installation package are accelerated, the load of third party application
Process is required to expend the regular hour, causes have the starting up speed of the mobile terminal of Android L operating system slack-off.
Summary of the invention
The present invention provides the preset application loading method of one kind and mobile terminal, to solve to have Android L operating system
Its preset application load time of mobile terminal it is long, cause the slow-footed problem of mobile terminal-opening.
One kind provided by the invention is preset to apply loading method, comprising:
By the application program in resolution system, determine by pretreated preset application;
It is corresponding preset using library directory to scan the preset application;
According to it is described it is preset apply library directory, access the corresponding preset static data of the preset application library directory and link
Library;
According to the corresponding preset static data chained library of the preset application library directory, the preset application is loaded.
The present invention also provides a kind of mobile terminals, comprising:
It is preset to apply determining module, for determining by pretreated preset by the application program in resolution system
Using;
Directory scan module, it is corresponding preset using library directory for scanning the preset application;
Chained library access modules, for according to described preset using library directory, the access preset application library directory correspondence
Preset static data chained library;
It is preset to apply loading module, for according to the corresponding preset static data chained library of the preset application library directory,
Load the preset application.
Preset application loading method and mobile terminal provided by the invention are determined by the application program in resolution system
Pass through pretreated preset application out, and it is corresponding preset using library directory to scan the preset application, accesses the preset application library
The corresponding preset static data chained library of catalogue, and then linked according to the corresponding preset static data of the preset application library directory
Library loads the preset application, eliminates the corresponding installation kit of preset application is decompressed and being copied in existing load process
Operation, shortens the load time, improves the starting up speed of mobile terminal.
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 this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the preset flow diagram using loading method embodiment one provided by the invention;
Fig. 2 is the preset flow diagram using loading method embodiment two provided by the invention;
Fig. 3 is the preset flow diagram using loading method embodiment three provided by the invention;
Fig. 4 is the preset flow diagram using loading method example IV provided by the invention;
Fig. 5 is the preset flow diagram using loading method embodiment five provided by the invention;
Fig. 6 is the preset flow diagram using loading method embodiment six provided by the invention;
Fig. 7 is the structural schematic diagram of mobile terminal embodiment one provided by the invention;
Fig. 8 is the structural schematic diagram of mobile terminal embodiment two provided by the invention;
Fig. 9 is the structural schematic diagram of mobile terminal embodiment three provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Android (Android) is the open source mobile phone operating system based on Linux platform, by operating system, middleware, use
Family interface and application software composition, are mainly used for such as smart phone and tablet computer mobile device.In order to improve operation system
The operating characteristics of system, Android system have carried out multiple upgrading, wherein and Android L is a upgraded version of Android,
Can be avoided the fragmentation of Android system and decentralized, have user interface it is good, it is cross-platform support, battery life enhancing etc. it is more
Kind advantage.
Android L changes the process processing framework of Android, is transitioned into ART from Dalvik operational mode
Operational mode greatly improves the performance of operating system.But it due to the characteristic of Android system itself, was switched on every time
Cheng Zhong, can preset application in load operating system, specifically, by the installation kit for decompressing preset application, and copied
Under shellfish to the corresponding catalogue of preset application of system default, and then realize loading procedure.And for using ART operational mode
Android L operating system, the time for being used to scan installation application become longer, time-consuming more using load phase, greatly
The starting up speed for affecting mobile terminal.
For the defect using load mechanism of existing Android system, the invention proposes a kind of preset using loading method
And mobile terminal, it is mainly used for solving have its preset application load time of the mobile terminal of Android L operating system long, causes
Make the slow-footed problem of mobile terminal-opening.
It should be noted that these specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.
Fig. 1 is the preset flow diagram using loading method embodiment one provided by the invention.The execution master of this method
Body is the mobile terminal with Android system, as shown in Figure 1, provided in an embodiment of the present invention preset using loading method, comprising:
Step 101: by the application program in resolution system, determining by pretreated preset application.
Specifically, being parsed to the application program installed in mobile terminal operating system, the application journey in judgement system
Whether sequence is by pretreated preset application.Optionally, if in the compilation phase to pretreated preset application addition pretreatment
Marker bit, then parse application during, the application program for carrying marker bit can be determined as by pretreated
Preset application.It is worth noting that the embodiment of the present invention is not to judging that the concrete mode of preset application is defined.
Step 102: the preset application of scanning is corresponding preset using library directory.
The present invention has carried out corresponding unpacking copy process in compilation process, to the preset application in system.Specifically,
In the System build stage, established in system file subregion first it is corresponding with each preset application preset using library directory,
It is secondary preset to be copied to this of the system file subregion by what is parsed using corresponding preset static data chained library and preset answer
With in library directory.Therefore, when system is in start process, application program to be loaded is judged preset to answer by pretreated
Used time, it is corresponding preset using library directory then can directly to scan the preset application.
Step 103: applying library directory according to preset, access the corresponding preset static data of the preset application library directory and link
Library.
By step 102 it is found that the corresponding system file partitioned storage of preset application library directory be placed with it is preset application it is corresponding
Preset static data chained library, therefore, mobile terminal system can apply library directory according to the preset of foundation, are linked to this and preset answer
With the address of used preset static data chained library, and then it may have access to the corresponding preset static number of the preset application library directory
According to chained library.
Step 104: according to the corresponding preset static data chained library of the preset application library directory, loading above-mentioned preset answer
With.
Specifically, preset static data chained library, that is, the library lib, is the preset application of storage corresponding various link generations
Therefore the database of code according to the corresponding preset static data chained library of preset application library directory, can be directly linked to each preset
Using in corresponding executable file, and then realize the load of preset application.
It is provided in an embodiment of the present invention it is preset apply loading method, by the application program in resolution system, determine through
Pretreated preset application is crossed, and it is corresponding preset using library directory to scan the preset application, and it is preset using library directory to access this
Corresponding preset static data chained library, and then according to the corresponding preset static data chained library of the preset application library directory, add
Carry and pass through pretreated preset application, eliminate in existing load process to the corresponding installation kit of preset application carry out decompression and
Copy function shortens the load time, improves the starting up speed of mobile terminal.
Optionally, in preset application loading method provided by the above embodiment, before step 101, that is, passing through
Application program in resolution system is determined by before pretreated preset application, further includes:
Application program in scanning system obtains the corresponding installation kit of application program.
Specifically, mobile terminal during booting, by the application program installed in scan operation system, obtains each
The corresponding installation kit of application program is obtained related to application program load by parsing the corresponding installation kit of the application program
Data, and obtain the type of each application program.
It is worth noting that obtain the type of each application program, both can by the corresponding installation kit of application program into
Row unpacks processing and obtains, and can also be obtained by obtaining the marker bit carried in application program, the embodiment of the present invention is not limited and obtained
Take the concrete mode of each Application Type.
Further, on the basis of embodiment shown in Fig. 1, by the application program in resolution system, determine through
It crosses before pretreated preset application (step 101), following feasible reality can be passed through in the design of compilation phase to preset apply
Existing mode is handled, specifically, illustrated embodiment referring to figure 2..
Fig. 2 is the preset flow diagram using loading method embodiment two provided by the invention.The embodiment of the present invention is
On the basis of the above embodiments to the preset further explanation using loading method.As shown in Fig. 2, being mentioned in the embodiment of the present invention
In the preset application loading method supplied, before above-mentioned steps 101, that is, being determined by the application program in resolution system
Out by before pretreated preset application, further includes:
Step 201: by compiling system mission script, parsing by pretreated preset application.
Optionally, in order to promote the starting up speed of mobile terminal, shorten the preset load time applied in start process,
It can parse first by way of compiling system mission script and pass through pretreated preset application in system, so that system exists
Compilation phase carries out corresponding pre- unpacking to the preset application and handles.
Step 202: in system file subregion, it is corresponding preset using library directory to create above-mentioned preset application.
Specifically, since the region for storing data resource in mobile terminal includes system file subregion and data file point
Area, data in system file subregion are reset or mobile terminal brush machine during is permanent existing in system, and are stored in
Data in data file subregion can then be removed in system resetting or mobile terminal restarting process, therefore, move to improve
The starting up speed of dynamic terminal, needs to reduce the loading velocity by pretreated preset application, therefore provided in an embodiment of the present invention
It is preset to apply loading method, in system file subregion, the corresponding preset application library of preset application is created, and then in system file
Certain memory space is distributed for preset static data chained library in subregion, so that when user operates mobile terminal not
Influence whether preset static data chained library used in above-mentioned preset application.
Step 203: the corresponding target bank address of preset application is tied under preset application library directory.
Due to the processing mode for the preset application that system is supported are as follows: in booting scanning process that preset application is corresponding pre-
Preset static data chained library used in installation kit and the preset installation kit is set, it is corresponding to be depressed into data file subregion for solution
Carried out under the privately owned catalogue of application program using.Therefore, in order to guarantee that mobile terminal loads in preset application process in booting, system
The preset application library directory created in the present embodiment is gone to look for corresponding data link library, therefore in the compilation phase, it needs to answer preset
It is tied under preset application library directory with corresponding target bank address, to realize the load of preset application.
Step 204: system database and system configuration record are updated, to guarantee that above-mentioned preset application is visited during loading
Ask preset application library directory corresponding preset static data chained library.
Specifically, since above-mentioned processing has carried out more the default decompressing files catalogue Jing Guo pretreated preset application
Change, the corresponding preset installation kit of above-mentioned preset application and preset static data chained library increased in corresponding system database,
So system before loading preset application, needs to update system database and system configuration record accordingly, in turn
Ensure mobile terminal in start process, loading is to go access pre- according to the preset application library directory of above-mentioned creation when preset application
Set preset static data chained library used in application installation package.
It is provided in an embodiment of the present invention preset to be parsed by pre- by compiling system mission script using loading method
The preset application of processing, and it is corresponding preset using library directory to create in system file subregion the preset application, answers preset
It is tied under preset application library directory with corresponding target bank address, and by updating system database and system configuration record,
To guarantee it is preset to apply access during loading be the corresponding preset static data chained library of preset application library directory, make
It obtains preset application and directly accesses the system preset static data chained library preset in the compilation phase during loading, eliminate consumption
When scanning decompression procedure, significantly improve the loading velocity of preset application.
As an example, Fig. 3 is the preset flow diagram using loading method embodiment three provided by the invention.This
Inventive embodiments are on the basis of the above embodiments to the preset further explanation using loading method.As shown in figure 3, at this
In the preset application loading method that inventive embodiments provide, before above-mentioned steps 203, corresponding object library is being applied by preset
Before under address binding to preset application library directory, further includes:
Step 301: the corresponding preset installation kit of the preset application of parsing obtains preset static number used in preset installation kit
According to chained library.
Specifically, Android installation kit (Android Package, abbreviation apk), is a kind of tray of Android system
Formula is a kind of installation procedure file handled in compilation process by packing.It is worth noting that of the invention real
Apply in example, in order to distinguish by it is pretreated it is preset application and untreated application program (include: the third of user installation
Fang Yingyong), the corresponding Android installation kit of pretreated preset application will be passed through herein and be known as preset installation kit.
In the present embodiment, it by parsing the corresponding preset installation kit of preset application, obtains used in preset installation kit
Preset static data chained library, the preset static data chained library are actually a kind of .lib file, in preset application load
Play the role of chain program and function in the process.
Step 302: preset static data chained library being unziped it, it is corresponding pre- to obtain preset static data chained library
Set static data link library file.
Optionally, in order to further enhance the preset loading velocity applied in start process, this step get it is pre-
It sets preset static data chained library used in installation kit and then preset static data chained library is unziped it, obtain
The corresponding preset static data of preset static data chained library links library file, so that system is in load by pretreated preset
It during, can be loaded directly into, to accelerate the loading velocity of above-mentioned preset application, and then improve mobile terminal
Starting up speed.
Step 303: will be preset using library directory in preset static data chained library file copy to system file subregion
Under.
As the above analysis, being stored in data file in system file subregion is not opened by system resetting and mobile terminal
What shutdown influenced, therefore, in order to make mobile terminal after factory, cracking preset answer can be loaded in booting every time
Passed through with, the present embodiment and answers preset in preset static data chained library file copy to system file subregion that decompression obtains
With under library directory, so that system can go the preset application library directory of creation to look for corresponding data link library every time, ensure that pre-
It sets and applies access path during loading correct, lay a good foundation to promote the loading velocity of mobile terminal.
It is provided in an embodiment of the present invention preset using loading method, by parsing the corresponding preset installation kit of preset application,
Preset static data chained library used in preset installation kit is obtained, by unziping it place to preset static data chained library
Reason obtains the corresponding preset static data link library file of preset static data chained library, preset static data is linked library text
Part is copied under the preset application library directory in system file subregion, ensure that the access path of preset application during loading
Correctly, while the preset time applied and expended in scanning decompression procedure is eliminated, improves the loading velocity of preset application.
Optionally, in preset application loading method provided by the above embodiment, as step 203 (by preset application pair
The target bank address answered be tied to it is preset application library directory under) a kind of possible implementation, it is specific as follows:
It, will be under the corresponding target bank address carry to preset application library directory of preset application by carry order.
In practical applications, carry order described here can be mount bind order.Specifically, in system file point
A region or space are independently marked off in area and is used to store preset static data link library file, pass through carry (mount
Bind) the bind mode of order either fuse file system applies corresponding target bank address and above-mentioned preset application for preset
Library directory is bound together, and then makes preset application that can directly access the separate space in system file subregion during loading
Library.
Optionally, in preset application loading method provided by the above embodiment, as step 203 (by preset application pair
The target bank address answered is tied under preset application library directory) alternatively possible implementation, for details, reference can be made to real shown in Fig. 4
Apply example.
Fig. 4 is the preset flow diagram using loading method example IV provided by the invention.The embodiment of the present invention is
On the basis of the above embodiments to the preset further explanation using loading method.As shown in figure 4, being mentioned in the embodiment of the present invention
In the preset application loading method supplied, above-mentioned steps 203, that is, the corresponding target bank address of preset application is tied to preset
Using under library directory, specifically include:
Step 401: creation target bank address is corresponding with preset application library directory soft to be linked.
Step 402: by above-mentioned soft link, the corresponding target bank address of preset application being tied to preset using library directory
Under.
Assuming that the content stored in a certain file is the content that another file path name is directed toward, then this document is then soft chain
It connects.In fact, soft link is exactly an ordinary file, only wherein the content of data is somewhat special.The characteristics of soft link is,
Both can there are oneself file attribute and permission, the content in interleaving access file system can also create file or catalogue wound
Build, and have no effect on the file being pointed to after deleting soft link, if but the original that is pointed to be deleted, it is related soft
Link is referred to as dead link, if but be pointed to path file and be subsequently supplied, dead link can revert to normal soft link.
In view of the above-mentioned advantage of soft link, the present embodiment between target bank address and preset application library directory by that will create
Corresponding soft link is built, and then can make system by the soft link directly access in system file point in mobile terminal-opening
What is created in area is preset using library directory, guarantees the correct mesh of access path of preset application during loading to reach
's.
Optionally, in the preset application loading method that any of the above-described embodiment provides, if mobile terminal had been switched on
Cheng Zhong, the application program of system loads be not by pretreated preset application, then, the tool of the system loads application program
Body implementation, referring specifically to embodiment illustrated in fig. 5.
Fig. 5 is the preset flow diagram using loading method embodiment five provided by the invention.The embodiment of the present invention is
On the basis of the above embodiments to the preset further explanation using loading method.Specifically, working as the application journey of system loads
When sequence is non-preset application (without pretreated application program), as shown in figure 5, preset application provided in an embodiment of the present invention
Loading method, comprising:
Step 501: parsing the corresponding application installation package of non-preset application, obtain static number used in the application installation package
According to chained library.
When mobile terminal is in start process, judge that application to be loaded is non-preset in application, then according to existing peace
The load process of application program is loaded in tall and erect system.Specifically, since preset application and non-preset application are required to compiling
Library file is loaded when translating, therefore, when parsing to the corresponding application installation package of non-preset application, what is got is that the application is pacified
Dress wraps used static data chained library.
Step 502: static data chained library being unziped it, the corresponding static data chain of static data chained library is obtained
Connect library file.
It include using the linking relationship of file and catalogue each in loading procedure, that is, respectively in static data chained library
Kind static data links library file, therefore, by unziping it to static data chained library, can get non-preset using institute
The corresponding static data of the static data chained library used links library file, it is worth noting that, which is that mobile terminal exists
It is completed in start process.
Step 503: preset application non-in static data chained library file copy to data file subregion is corresponding privately owned
Under catalogue.
Non- preset application includes at least the application program that user installs according to their own needs, and therefore, mobile terminal is being opened
It will not be preset in system file subregion during hair.Mobile terminal in the reboot process, is required to add again every time
Carry such application program.The static data chained library as used in non-preset application, corresponding static data link library text
Part is stored according to the path of system default, that is, system is getting the corresponding static data of static data chained library
After linking library file, then it is stored in data file subregion under the corresponding privately owned catalogue of non-preset application, and then adding
During load, system is able to access that its corresponding static data chained library according to above-mentioned path.
Step 504: being the application library directory that non-preset application is specified by privately owned directory link.
Since non-preset application corresponds to the path of static data chained library and linking relationship can only be in system opening process
It is buffered in the data file subregion of operating system, therefore, after mobile terminal shutdown, the path of above-mentioned caching and link
Relationship is then removed, so, every time when mobile terminal is opened, then need to re-establish link, and non-preset application is corresponding
Privately owned directory link be the non-preset application specify application library directory.
Step 505: according to library directory is applied, the corresponding static data chained library of library directory is applied in access.
Step 506: according to the corresponding static data chained library of application library directory, loading above-mentioned non-preset application.
After the application library directory that non-preset application is specified successfully is linked with its privately owned catalogue, operating system can direct root
According to library directory is applied, the corresponding static data chained library of library directory is applied in access, and then corresponding according to above-mentioned application library directory
Static data in static data chained library links library file, realizes the load of non-preset application.
It is provided in an embodiment of the present invention preset using loading method, when system application program to be loaded is non-preset application
When, then static data used in the application installation package directly is obtained by parsing the corresponding application installation package of non-preset application
Corresponding with the static data chained library static data of chained library links library file, by by static data chained library file copy
It in data file subregion under the corresponding privately owned catalogue of non-preset application, and is that non-preset application is specified by the privately owned directory link
Application library directory, system can be made according to the corresponding static data chained library of application library directory, load non-preset application.This reality
The technical solution for applying example gives the load process of non-preset application, so that the application load process CIMS of mobile terminal is complete.
In the following, in conjunction with the record in the various embodiments described above, to it is provided by the invention it is preset using the complete of loading method plus
Current-carrying journey is briefly described.
Fig. 6 is the preset flow diagram using loading method embodiment six provided by the invention.The embodiment of the present invention
Executing subject is mobile terminal.Specifically, as shown in fig. 6, provided in an embodiment of the present invention preset using loading method, comprising:
Step 601: scanning the application program in simultaneously resolution system, obtain the corresponding installation kit of application program.
Step 602: judging whether application program is by pretreated preset application, if so, executing step 603 to step
605, if it is not, executing step 606 to step 611.
Step 603: the preset application of scanning is corresponding preset using library directory.
Step 604: it is preset using library directory according to this, access the corresponding static data chained library of preset application library directory.
Step 605: according to the corresponding static data chained library of preset application library directory, loading above-mentioned preset application.
Step 606: parsing the corresponding application installation package of non-preset application, obtain static data used in application installation package
Chained library.
Step 607: static data chained library being unziped it, the corresponding static data of static data chained library is obtained
Link library file.
Step 608: preset application non-in above-mentioned static data chained library file copy to data file subregion is corresponding
Under privately owned catalogue.
Step 609: being the application library directory that non-preset application is specified by above-mentioned privately owned directory link.
Step 610: library directory being applied according to this, the corresponding static data chained library of library directory is applied in access.
Step 611: according to the corresponding static data chained library of application library directory, loading non-preset application.
It is provided in an embodiment of the present invention preset to be obtained by being parsed to the application program in system using loading method
The corresponding installation kit of application program is taken, and load processes different with non-preset application execution to preset application respectively,
Preset to apply load phase, it is corresponding preset using library directory directly to scan preset application, according to this it is preset apply library directory, visit
It asks preset application library directory corresponding static data chained library, and then realizes the loading procedure of preset application, effectively save
The time that preset application installation package expends is decompressed in scanning, greatly improves the speed using load, and then improve movement
The starting up speed of terminal.
Fig. 7 is the structural schematic diagram of mobile terminal embodiment one provided by the invention.As shown in fig. 7, the embodiment of the present invention
The mobile terminal of offer, comprising:
Preset application determining module 701, for determining by pretreated pre- by the application program in resolution system
Set application.
Directory scan module 702, it is corresponding preset using library directory for scanning above-mentioned preset application.
Chained library access modules 703, for according to it is above-mentioned it is preset apply library directory, it is corresponding to access preset application library directory
Preset static data chained library.
Preset application loading module 704, for adding according to the corresponding preset static data chained library of preset application library directory
Carry above-mentioned preset application.
Mobile terminal provided in an embodiment of the present invention can be used for executing the technical solution of embodiment of the method as shown in Figure 1,
The realization principle and technical effect are similar, and details are not described herein again.
Fig. 8 is the structural schematic diagram of mobile terminal embodiment two provided by the invention.The embodiment of the present invention is in above-mentioned reality
Apply the further explanation on the basis of example to mobile terminal.As shown in figure 8, mobile terminal provided in an embodiment of the present invention, is also wrapped
It includes: being tied up applied to preset using the preset analytic application module 801 before determining module 701, directory creating module 802, address
Cover half block 803 and update module 804.
The preset analytic application module 801, for parsing by pretreated preset by compiling system mission script
Using.
The directory creating module 802, in system file subregion, creating the corresponding preset application of above-mentioned preset application
Library directory.
The address binding module 803, for the corresponding target bank address of above-mentioned preset application to be tied to preset application library
Under catalogue.
The update module 804, for updating system database and system configuration record, to guarantee that preset apply was loading
The corresponding preset static data chained library of preset application library directory is accessed in journey.
Mobile terminal provided in an embodiment of the present invention can be used for executing the technical solution of embodiment of the method as shown in Figure 2,
The realization principle and technical effect are similar, and details are not described herein again.
Fig. 9 is the structural schematic diagram of mobile terminal embodiment three provided by the invention.The embodiment of the present invention is in above-mentioned reality
Apply the further explanation on the basis of example to mobile terminal.As shown in figure 9, mobile terminal provided in an embodiment of the present invention, is also wrapped
It includes: obtaining module 901 applied to the chained library before address above mentioned binding module 803, library file obtains module 902 and library file
Copy module 903.
The chained library obtains module 901, for parsing the corresponding preset installation kit of preset application, obtains preset installation kit institute
The preset static data chained library used.
The library file obtains module 902 and obtains preset static number for unziping it to preset static data chained library
Library file is linked according to the corresponding preset static data of chained library.
The library file copies module 903, for dividing above-mentioned preset static data chained library file copy to system file
Under preset application library directory in area.
Mobile terminal provided in an embodiment of the present invention can be used for executing the technical solution of embodiment of the method as shown in Figure 3,
The realization principle and technical effect are similar, and details are not described herein again.
Optionally, as an example, in mobile terminal provided by the above embodiment, address above mentioned binding module 803,
Specifically for that preset will apply under corresponding target bank address carry to preset application library directory by carry order.
Optionally, as another example, in mobile terminal provided by the above embodiment, address above mentioned binding module
803, be specifically used for creation target bank address it is corresponding with preset application library directory it is soft link, by the soft link, answered preset
It is tied under preset application library directory with corresponding target bank address.
Preset application loading method and mobile terminal provided in an embodiment of the present invention, pass through the application journey in resolution system
Sequence is determined by pretreated preset application, corresponding preset using library directory by scanning preset application, goes to access preset
Using the corresponding preset static data chained library of library directory, and then according to the corresponding preset static data of the preset application library directory
Chained library loads the preset application, eliminate in existing load process to the corresponding installation kit of preset application carry out decompression and
Copy function shortens the load time, improves the starting up speed of mobile terminal.
It is worth noting that the mobile terminal in the embodiment of the present invention may include smart phone, tablet computer, MP3, MP5,
Smartwatch etc. has any one in a variety of different mobile terminals of Android system, and details are not described herein again, and the present invention
Embodiment is not defined the specific type of mobile terminal.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (8)
1. a kind of preset using loading method characterized by comprising
By the application program in resolution system, determine by pretreated preset application;
It is corresponding preset using library directory to scan the preset application;
According to it is described it is preset apply library directory, access the corresponding preset static data chained library of the preset application library directory;
According to the corresponding preset static data chained library of the preset application library directory, the preset application is loaded;
In the application program by resolution system, determine by before pretreated preset application, the method is gone back
Include:
By compiling system mission script, parse by the pretreated preset application;
In system file subregion, it is corresponding preset using library directory to create the preset application;
The corresponding target bank address of the preset application is tied under the preset application library directory;
System database and system configuration record are updated, to guarantee that the preset application accesses described preset answer during loading
With the corresponding preset static data chained library of library directory.
2. the method according to claim 1, wherein described by the corresponding target bank address of the preset application
Before being tied under the preset application library directory, further includes:
The corresponding preset installation kit of the preset application is parsed, preset static data chain used in the preset installation kit is obtained
Connect library;
The preset static data chained library is unziped it, it is corresponding preset quiet to obtain the preset static data chained library
State data link library file;
It will be described preset using library directory in the preset static data chained library file copy to the system file subregion
Under.
3. method according to claim 1 or 2, which is characterized in that it is described by the corresponding object library of the preset application
Location is tied under the preset application library directory, is specifically included:
It, will be under the corresponding target bank address carry to the preset application library directory of the preset application by carry order.
4. method according to claim 1 or 2, which is characterized in that it is described by the corresponding object library of the preset application
Location is tied under the preset application library directory, is specifically included:
Create that the target bank address is corresponding with the preset application library directory soft to be linked;
By the soft link, the corresponding target bank address of the preset application is tied under the preset application library directory.
5. a kind of mobile terminal characterized by comprising
It is preset to apply determining module, for determining by pretreated preset application by the application program in resolution system;
Directory scan module, it is corresponding preset using library directory for scanning the preset application;
Chained library access modules, for according to it is described it is preset apply library directory, it is corresponding pre- to access the preset application library directory
Set static data chained library;
It is preset to apply loading module, for loading according to the corresponding preset static data chained library of the preset application library directory
The preset application;
The mobile terminal further include: applied to preset preset analytic application module, the catalogue using before determining module
Creation module, address binding module and update module;
The preset analytic application module, for parsing by pretreated described preset by compiling system mission script
Using;
The directory creating module, in system file subregion, creating the corresponding preset application library mesh of the preset application
Record;
The address binding module, for the corresponding target bank address of the preset application to be tied to the preset application library mesh
Under record;
The update module, for updating system database and system configuration record, to guarantee that preset apply was loading
The corresponding preset static data chained library of the preset application library directory is accessed in journey.
6. mobile terminal according to claim 5, which is characterized in that further include: be applied to the address binding module it
Preceding chained library obtains module, library file obtains module and library file copies module;
The chained library obtains module, for parsing the corresponding preset installation kit of the preset application, obtains the preset installation
Preset static data chained library used in wrapping;
The library file obtains module, for unziping it to the preset static data chained library, obtains described preset quiet
The corresponding preset static data in state data link library links library file;
The library file copies module, is used for the preset static data chained library file copy to the system file subregion
Under the interior preset application library directory.
7. mobile terminal according to claim 5 or 6, which is characterized in that the address binding module, specifically for passing through
Carry order, will be under the corresponding target bank address carry to the preset application library directory of the preset application.
8. mobile terminal according to claim 5 or 6, which is characterized in that the address binding module is specifically used for creation
The target bank address it is corresponding with the preset application library directory it is soft link, by the soft link, by the preset application
Corresponding target bank address is tied under the preset application library directory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610411112.5A CN106095504B (en) | 2016-06-13 | 2016-06-13 | Preset application loading method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610411112.5A CN106095504B (en) | 2016-06-13 | 2016-06-13 | Preset application loading method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106095504A CN106095504A (en) | 2016-11-09 |
CN106095504B true CN106095504B (en) | 2019-08-20 |
Family
ID=57845201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610411112.5A Active CN106095504B (en) | 2016-06-13 | 2016-06-13 | Preset application loading method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095504B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843995B (en) * | 2017-01-25 | 2019-09-06 | 杭州迪普科技股份有限公司 | A kind of file compiling method and device |
CN107256143B (en) * | 2017-04-21 | 2023-09-12 | 海信视像科技股份有限公司 | Method for improving starting-up speed of android device and android device |
CN107357607B (en) * | 2017-06-20 | 2018-10-09 | 腾讯科技(深圳)有限公司 | The read method and device of file data |
CN107608683A (en) * | 2017-09-20 | 2018-01-19 | 武汉斗鱼网络科技有限公司 | The method and device of automatic pre-installed applications program |
CN108681674B (en) * | 2018-04-23 | 2022-02-01 | 平安科技(深圳)有限公司 | Report module creating method and device, computer device and storage medium |
WO2020210994A1 (en) * | 2019-04-16 | 2020-10-22 | 深圳市欢太科技有限公司 | Quick application installation package debugging method and apparatus, and electronic device and storage medium |
CN111782226A (en) * | 2020-06-24 | 2020-10-16 | 长沙摩智云计算机科技有限公司 | Method, system, equipment and medium for directly and quickly installing android application |
CN115640078B (en) * | 2022-12-23 | 2023-03-10 | 北京麟卓信息科技有限公司 | Android application loading optimization method based on intelligent prefetching of virtual file system data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763257A (en) * | 2009-09-22 | 2010-06-30 | 浙江数芳科技有限公司 | Java preprocessing communication system and java preprocessing method |
CN103051604A (en) * | 2012-11-02 | 2013-04-17 | 北京奇虎科技有限公司 | Network application pushing system, network application loading method and terminal |
CN103235728A (en) * | 2013-03-20 | 2013-08-07 | 青岛海信移动通信技术股份有限公司 | Mounting method and device for presetting third party appliances in Android terminal |
CN103324507A (en) * | 2013-06-25 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and apparatus for updating terminal preset application program |
CN104375872A (en) * | 2014-12-08 | 2015-02-25 | 福州瑞芯微电子有限公司 | Quick startup method and device of Android system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8442429B2 (en) * | 2010-04-06 | 2013-05-14 | Andre F. Hawit | System for providing audio messages on a mobile device |
-
2016
- 2016-06-13 CN CN201610411112.5A patent/CN106095504B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763257A (en) * | 2009-09-22 | 2010-06-30 | 浙江数芳科技有限公司 | Java preprocessing communication system and java preprocessing method |
CN103051604A (en) * | 2012-11-02 | 2013-04-17 | 北京奇虎科技有限公司 | Network application pushing system, network application loading method and terminal |
CN103235728A (en) * | 2013-03-20 | 2013-08-07 | 青岛海信移动通信技术股份有限公司 | Mounting method and device for presetting third party appliances in Android terminal |
CN103324507A (en) * | 2013-06-25 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and apparatus for updating terminal preset application program |
CN104375872A (en) * | 2014-12-08 | 2015-02-25 | 福州瑞芯微电子有限公司 | Quick startup method and device of Android system |
Also Published As
Publication number | Publication date |
---|---|
CN106095504A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095504B (en) | Preset application loading method and mobile terminal | |
CN109491695B (en) | Incremental updating method for integrated android application | |
CN105100191B (en) | The method, apparatus and system of Java application installations are realized in a kind of cloud compiling | |
CN103530156B (en) | Dynamic load and the method and device of caller | |
Reijers et al. | Efficient code distribution in wireless sensor networks | |
CN107506221B (en) | Application program upgrading method, device and equipment | |
CN105138382B (en) | A kind of method and terminal of android system upgrading | |
CN112256286B (en) | Application running method and device and computer storage medium | |
CN105159732B (en) | In mobile terminal installation or the method and mobile terminal of more new application | |
TWI649694B (en) | Android dynamic framework and method thereof | |
JP2008516323A (en) | Platform independent dynamic linking | |
CN114816417B (en) | Cross compiling method, device, computing equipment and storage medium | |
CN112835975B (en) | Method for deploying, updating and calling intelligent contracts in blockchain | |
CN113986395B (en) | Packaging method for application-dependent self-contained technology under linux system | |
RU2635891C2 (en) | Installation mechanism and package format for parallelizable reliable installations | |
CN106909441B (en) | Disk direct I/O access method based on JVM | |
CN109857432B (en) | Hot updating method and device for game application | |
CN115629971A (en) | Application development system and method | |
CN102364433A (en) | Method for realizing Wine construction tool transplanting on ARM (Advanced RISC Machines) processor | |
US20170322792A1 (en) | Updating of operating system images | |
CN111400256B (en) | Method and device for calling resource file by application program | |
CN109960511A (en) | Dynamic base delivery method, storage medium and intelligent terminal based on virtualization technology | |
US10552135B1 (en) | Reducing a size of an application package | |
CN106293790A (en) | Application program updating method and apparatus based on Firefox operating system | |
CN112667352A (en) | Multi-CPU instruction cross compiling unified construction method, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |