CN109032685A - A kind of method and terminal accelerating Android system starting - Google Patents
A kind of method and terminal accelerating Android system starting Download PDFInfo
- Publication number
- CN109032685A CN109032685A CN201710436204.3A CN201710436204A CN109032685A CN 109032685 A CN109032685 A CN 109032685A CN 201710436204 A CN201710436204 A CN 201710436204A CN 109032685 A CN109032685 A CN 109032685A
- Authority
- CN
- China
- Prior art keywords
- application
- terminal
- user behavior
- application program
- statistics file
- 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
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/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Abstract
The embodiment of the invention provides the methods and terminal of a kind of acceleration Android system starting, are related to android terminal technical field.Wherein, method includes: and passes through application program management service scan in Android system starting and install the application recorded in user behavior statistics file;Wherein, the application recorded in the user behavior statistics file is the application program that user starts from Android desktop starter;After the Android system completes starting, pass through the other application in the application program management service scan and installing terminal in addition to the application recorded in the user behavior statistics file.When the embodiment of the present invention can save Android system starting, the scanning of third-party application, parsing time accelerate the starting of Android system, promote user experience.
Description
Technical field
The invention belongs to android terminal technical field more particularly to a kind of methods and terminal for accelerating Android system starting.
Background technique
Android system is the operating system of a kind of freedom based on (SuSE) Linux OS and open source code, by Google's public affairs
Department and open mobile phone alliance leader and exploitation, are mainly used for mobile device, such as smart phone and tablet computer.Android system is
Framework unite as other operating systems, using the framework of layering, in terms of architecture diagram, Android operation system is divided into four layers, from
It is high-rise to low layer be application layer, application framework layer, system Runtime Library layer and Linux inner core respectively.
Android operation system has good exploration, and user can be from application shop or the downloading of other approach and installation
Android system application, Android system application are usually provided with APK file, when user installation using it is many when, will cause installation
System start-up time is very long.It is primarily due to, Android system will start application program management service during starting, should
Specific catalogue in scanning system is responsible in application program management service, finds application file therein, i.e., using APK as suffix
File, then these files are parsed, the relevant information for the program that is applied completes the installation process of application program,
When the APK file of installation is more, the time required for Android system starts is longer, strong influence user experience.
Summary of the invention
In view of this, the embodiment of the invention provides the methods and terminal that accelerate Android system starting, to solve existing skill
The application program installed in terminal in art is more, and the time required for Android system starts is longer, strong influence user's body
The problem of testing.
The first aspect of the embodiment of the present invention provides a kind of method of acceleration Android system starting, comprising:
In Android system starting, passes through application program management service scan and install in user behavior statistics file and record
Application;Wherein, the application recorded in the user behavior statistics file is the application that user starts from Android desktop starter
Program;
After the Android system completes starting, by removing institute in the application program management service scan and installing terminal
State the other application except the application recorded in user behavior statistics file.
The second aspect of the embodiment of the present invention provides a kind of terminal, comprising:
Start unit, for by application program management service scan and installing user behavior in Android system starting
The application recorded in statistics file;Wherein, the application recorded in the user behavior statistics file is that user opens from Android desktop
The application program of dynamic device starting;
Other application installation unit, for being taken by the application program management after the Android system completes starting
Other application in business scanning and installing terminal in addition to the application recorded in the user behavior statistics file.
The third aspect of the embodiment of the present invention provides a kind of terminal, including memory, processor and is stored in described
In memory and the computer program that can run on the processor, which is characterized in that the processor executes the calculating
It realizes when machine program such as the step of above-mentioned first aspect the method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, wherein realizes as described in above-mentioned first aspect when the computer program is executed by processor
The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
The embodiment of the present invention passes through application program management service scan and installs user behavior system when Android system starts
The application recorded in meter file;Wherein, the application recorded in the user behavior statistics file is that user starts from Android desktop
The application program of device starting;Then, after the Android system completes starting, then pass through the application program management service scan
And the other application on installing terminal in addition to the application recorded in the user behavior statistics file, so as to save Android
When system starts, the scanning of third-party application, parsing time accelerate the starting of Android system, promote user experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides;
Fig. 2 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides;
Fig. 3 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides;
Fig. 4 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides;
Fig. 5 is the specific reality of step S406 in a kind of method for acceleration Android system starting that one embodiment of the invention provides
Existing flow chart;
Fig. 6 is a kind of schematic block diagram for terminal that one embodiment of the invention provides;
Fig. 7 is a kind of schematic block diagram for terminal that one embodiment of the invention provides;
Fig. 8 is a kind of schematic block diagram for terminal that one embodiment of the invention provides;
Fig. 9 is a kind of schematic block diagram for terminal that one embodiment of the invention provides;
Figure 10 is the schematic block diagram of start unit in a kind of terminal of one embodiment of the invention offer;
Figure 11 is a kind of schematic block diagram for terminal that one embodiment of the invention provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides.Referring to
Shown in Fig. 1, a kind of method accelerating Android system starting provided in this embodiment, comprising the following steps:
Step S101 passes through application program management service scan and installs user behavior statistics in Android system starting
The application recorded in file;Wherein, the application recorded in the user behavior statistics file is user from Android desktop starter
The application program of starting.
Preferably, in the present embodiment, the application recorded in the user behavior statistics file is specially terminal upper one
Application program secondary to be switched on into shutdown process, that the user of statistics starts from Android desktop starter.Wherein, user is from Android table
Face starter starts application program, and mainly user starts application by clicking the application icon of some application in system desktop
Program.
Preferably, in the present embodiment, the user behavior statistics file includes the user from Android desktop starter
The application program of starting applies packet name.
Preferably, in the present embodiment, the user behavior statistics file is stored in the local storage of terminal.Terminal
Every shutdown is primary, and the user behavior statistics file of storage can all update once.Such as: terminal for the first time booting to shut down when,
Counting on user behavior statistics file that user starts from Android desktop starter is file A, since the local of terminal before is deposited
Not stored user behavior statistics file in reservoir, therefore when shutting down first time, file A can be stored directly to local and be deposited by terminal
Reservoir;So terminal can get the file A, complete second of booting according to the file A when being switched on for second
When system starting, meanwhile, terminal can count the user behavior statistics file in second booting into shutdown process, enable this time
Counting on is file, then the file A stored in local storage can be replaced with file B when shutting down for second by terminal,
For terminal when third time is switched on, the user behavior statistics file got is file B in this way.
Preferably, in the present embodiment, step S101 is specifically included:
In Android system starting, the user behavior statistics file is obtained from the local storage of terminal;
The user behavior statistics file is parsed, the application applied included in the user behavior statistics file is obtained
Name;
The application packet name applied according to included in the user behavior statistics file got obtains terminal database
The information relevant to the application of middle storage, wherein to the letter required for application installation using relevant information
Breath, such as the APK file of the application program;
The application is installed according to the information relevant to the application got, such as: parse the application program
APK file, and complete according to the information after parsing the installation of the application program;
Installed application icon is encapsulated by Android desktop starter, by installed application icon
It is shown on the desktop of terminal.
Step S102 by the application program management service scan and is installed after the Android system completes starting
Other application in terminal in addition to the application recorded in the user behavior statistics file.
Preferably, in the present embodiment, all application programs installed in terminal are stored in the database of the terminal
Information, after installation system completes starting, terminal can be wrapped by comparing the application applied in the user behavior statistics file
All application programs stored in name and the database apply packet name, and acquisition removes to be recorded in the user behavior statistics file
Application except other application apply packet name, then it is simultaneously parsed according to the application packet name surface sweeping of the other application that gets
The APK file that he applies, completes the installation of other application, after other application installation, notifies Android desktop starter, makes described
Android desktop starter will encapsulate the application icon of other application, and the application icon of the other application of encapsulation is shown
Show on the desktop of terminal.
Above as can be seen that a kind of method for accelerating Android system starting provided in this embodiment in Android system by opening
When dynamic, pass through application program management service scan and the application recorded in user behavior statistics file is installed;Wherein, the user
The application recorded in behavioral statistics file is the application program that user starts from Android desktop starter;Then, in the Android
After system completes starting, then by removing user behavior statistics text in the application program management service scan and installing terminal
Other application except the application recorded in part, when so as to save Android system starting, scanning, the parsing of third-party application
Time accelerates the starting of Android system, promotes user experience.
Fig. 2 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides.Referring to
Shown in Fig. 2, relative to a upper embodiment, a kind of method accelerating Android system starting provided in this embodiment is being pacified described
When tall and erect system starts, passes through application program management service scan and gone back before the application recorded in user behavior statistics file is installed
Include:
Step S201, it is described from the information for obtaining all application programs installed in the terminal in the database of terminal
Information includes all application programs installed in the terminal using packet name and the location information of shortcut icon.
Step S202 traverses the location information of the shortcut icon of all application programs in the information, judges the Android
Whether have button operation over these locations in desktop starter, if having on some position in the Android desktop starter by
Key operation then enters step S203;Conversely, exiting process.
Step S203, judge application corresponding to the position using packet name whether the packet famous prime minister with the application newly started
Together, if they are the same, then S204 is entered step;Conversely, exiting process.
Step S204 is recorded by the runing time of application corresponding to the position and using packet name to the user behavior
In statistics file.
Preferably, in the present embodiment, if the application newly started using Bao Mingyu of application corresponding to the position
Packet name is identical, then illustrates that the application newly started is started from Android desktop starter, can record corresponding to the position at this time
Application runing time and apply packet name, and the information of record is added in the user behavior statistics file.
Preferably, in the present embodiment, step S204 is specifically included:
When learning using being started from Android desktop starter, then the current time of system is obtained, is answered as this
The starting time, while saving the application packet name of the application;
It is spaced TopActivity title in preset time acquisition system, the i.e. application package of system current foreground operation
Name;
Judge whether the application packet name of the application of above-mentioned preservation is different from the TopActivity title;
If it is different, and the TopActivity title be Android desktop starter apply packet name, then it is current to obtain system
Time, as the end of run time of application;
Above-mentioned process is repeated, until system closedown;
The runing time of each application is calculated according to the opening time of each application counted on, end of run time, and
It stores after the runing time of each application is associated with application packet name foundation to the user behavior statistics file.
For ease of understanding, it is exemplified below, it is assumed that terminal user behavior in some booting to unused time section is as follows:
Main interface application, { a=2017-03-30 10:14:41, b=2017-03-30 10:19:51 }
Using 1, { a=2017-03-30 10:19:53, b=2017-03-30 10:59:06 }
Main interface application, { a=2017-03-30 10:59:08, b=2017-03-30 10:59:14 }
Using 2, { a=2017-03-30 10:59:16, b=2017-03-30 11:01:18 }
Main interface application, { a=2017-03-30 11:01:18, b=2017-03-30 11:03:10 }
Using 1, { a=2017-03-30 11:03:12, b=2017-03-30 12:03:16 }
Main interface application, { a=2017-03-30 12:03:20, b=2017-03-30 12:03:22 }
Wherein, " a " indicates the opening time of application program, and " b " indicates the end of run time of application program.On obtaining
It is after stating user behavior record, i.e., statistics available to show that user behavior statistics file is as follows:
Using packet name operation duration
Com.App1 100min
Com.App2 2min。
It should be noted that the representation of above-mentioned user behavior statistics file is only a preferable implementation example of the invention,
It is not intended to restrict the invention, in other implementation examples, the user behavior statistics file can also include application program
Access times.It is convenient for subsequent operation duration or use according to each application program in the user behavior statistics file in this way
Number determines the erection sequence of each application program in the user behavior statistics file.
In addition, step S205~step S206 in the present embodiment due to the step S101 in embodiment illustrated in fig. 1~
The realization process of step S102 is identical, and therefore, details are not described herein.
Above as can be seen that a kind of method for accelerating Android system starting provided in this embodiment, can equally save
When about Android system starts, the scanning of third-party application, parsing time accelerate the starting of Android system, promote user experience.
Fig. 3 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides.Referring to
Shown in Fig. 3, relative to a upper embodiment, in the present embodiment, obtains in the database from terminal and pacify in the terminal
The information of all application programs of dress, the information include the application packet names of all application programs installed in the terminal and fast
Before the location information of prompt icon further include:
Step S300 establishes the database of the terminal, and the information for all application programs installed in the terminal is with number
According to table form storage in the database, the literary name section of the tables of data includes at least the application packet name of application program and fast
The location information of prompt icon.
User in actual operation, can install the third party installed on third-party application or discharging terminal at the terminal and answer
With, cause it is above-mentioned Android system starting when according to application program management service parsing application creation tables of data needs
It updates.In consideration of it, the present embodiment proposes peace loading, unloading application or change application during for user in terminal use
The case where shortcut icon position of program, adds the monitor of installation application, the monitor of unloading application and movement in systems
The monitor of application program position, after the database for establishing the terminal further include:
If listening to installation application, in installation application process, call application program management service to being currently installed on
Using being parsed, the relevant information for the application being currently installed on is got, according to the correlation of the application being currently installed on got
Information increases the corresponding record of the application in tables of data;
If listening to unloading application, during application unloading, call application program management service to current unloading
Application parsed, the relevant information of the application currently unloaded is got, according to the phase of the application currently unloaded got
Close the relative recording that information deletes the application in the tables of data;
If the shortcut icon position for listening to some application program changes, when position is mobile to be finished, application is called
Program management service parses the application of current shift position, gets the latest position information of current mobile application, root
The location information record of mobile application is updated in tables of data according to the location information.
It should be noted that step S301~step S306 implementation in the present embodiment due to a upper embodiment
The implementation of middle step S201~step S202 is identical, therefore details are not described herein.
Above as can be seen that a kind of method for accelerating Android system starting provided in this embodiment can equally save Android
When system starts, the scanning of third-party application, parsing time accelerate the starting of Android system, promote user experience;In addition, phase
For a upper embodiment, in the present embodiment due to can operation according to user to application program in terminal, real-time update number of terminals
According to the tables of data of the records application program information in library, so as to further promote the stabilization for accelerating Android system starting method
Property and reliability.
Fig. 4 is a kind of schematic flow diagram of the method for acceleration Android system starting that one embodiment of the invention provides.Referring to
Shown in Fig. 4, relative to a upper embodiment, a kind of method accelerating Android system starting provided in this embodiment, by the position
After the runing time and application packet name of corresponding application are recorded into the user behavior statistics file further include:
The user behavior statistics file is uploaded to cloud and stored by step S405.
Preferably, in the present embodiment, the process that terminal is switched on every time to shutdown can all count this time booting to when shutdown
Between user behavior statistics file in section, and be uploaded to cloud in real time after generating user behavior statistics file and deposited
Storage after cloud receives the new user behavior statistics file of terminal upload every time, can all delete last receive and store
User behavior statistics file, when guaranteeing booting terminal next time, what is got is newest user behavior statistics file.For example, eventually
Holding the user behavior statistics file that counts in first time booting and unused time first time section is file A, when obtaining file A
When, file A can be uploaded to cloud and stored by terminal when shutting down first time;It, can be from cloud when terminal is switched on for the second time
File A is read, and system starting is completed according to file A, while terminal will continue to statistics user row of the booting to shutdown for the second time
For statistics file, enabling this time count on is file B, then file B can be uploaded to cloud when shutting down for second by terminal,
When cloud receives file B, the file A stored before can be replaced with to file B, such terminal is in booting next time, Ji Kegen
The starting of system is completed according to file B.
In the present embodiment, it stores since the user behavior statistics file is uploaded to cloud, can save in this way
The memory for saving terminal, improves the performance of terminal system.
Preferably, shown in Figure 5, the specific implementation flow chart of step S406 in the present embodiment is shown, in this implementation
In example, step S406 includes:
Step S501 obtains the user behavior statistics file from cloud in Android system starting;
Step S502 parses the user behavior statistics file, obtains in the user behavior statistics file included
Application program applies packet name and runing time;
Step S503 is determined in the user behavior statistics file included according to the runing time of the application program
The erection sequence of application program;
Step S504, according to the erection sequence successively according to application journey included in the user behavior statistics file
The application packet name of sequence inquires the tables of data, obtains the related letter of application program included in the user behavior statistics file
Breath;The literary name section of the tables of data further includes application program root Activity title;
Step S505, according to the relevant information complete the user behavior statistics file included in application program
Installation, the relevant information includes the root Activity title of application program and the location information of shortcut icon.
Preferably, in the present embodiment, the runing time according to the application program determines the user behavior system
The erection sequence of included application program includes: in meter file
The priority of the application program installation is obtained according to the runing time of the application program, the runing time the long excellent
First grade is higher;
Application program included in the user behavior statistics file is ranked up according to the sequence of priority,
Its sequencing that sorts is the sequencing of application program installation.
Preferably, in the present embodiment, the terminal is in getting user behavior statistics file using corresponding to packet name
Application root Activity title after, can be scanned from terminal database according to the Activity title acquisition answered with this
Installation package file is corresponded to program, the peace of application program is then completed according to the installation package file of the application program got
Dress is notified that Android desktop starts after application package management service completes the installation applied in user behavior statistics file
Device makes Android desktop starter encapsulate the desktop shortcut icon of these application programs, then according to the quick of the application got
The desktop shortcut icon of application program after encapsulation is shown corresponding position on the table by picture mark position.
It should be noted that the step S400~step S404 and step S407 in the present embodiment with upper one due to implementing
Step S300~step S304 and step S306 in example is identical, and therefore, details are not described herein.
Above as can be seen that a kind of method for accelerating Android system starting provided in this embodiment can equally save Android
When system starts, the scanning of third-party application, parsing time accelerate the starting of Android system, promote user experience;In addition, phase
For a upper embodiment, since the storage of user behavior statistics file beyond the clouds, can be saved terminal in the present embodiment
Memory further promotes the performance of terminal system, the starting of accelerating terminal system.
Fig. 6 is a kind of schematic block diagram for terminal that one embodiment of the invention provides, and be illustrate only for ease of description
Part related to the present embodiment.
It is shown in Figure 6, a kind of terminal 6 provided in this embodiment, comprising:
Start unit 61, for passing through application program management service scan and installing user's row in Android system starting
For the application recorded in statistics file;Wherein, the application recorded in the user behavior statistics file is user from Android desktop
The application program of starter starting;
Other application installation unit 62, for passing through the application program management after the Android system completes starting
Other application in service scan and installing terminal in addition to the application recorded in the user behavior statistics file.
Optionally, shown in Figure 7, in an embodiment of the present invention, the terminal 6 further include:
Application message acquiring unit 63, for from obtained in the database of terminal installed in the terminal it is all using journey
The information of sequence, the information include believing using the position of packet name and shortcut icon for all application programs installed in the terminal
Breath;
First judging unit 64 is sentenced for traversing the location information of the shortcut icon of all application programs in the information
Whether there is button operation over these locations in the Android desktop starter of breaking;
Second judgment unit 65 is sentenced if having button operation on some position in the Android desktop starter
Break the whether identical as the packet name of application newly started using packet name of application corresponding to the position;
Statistics file generation unit 66 then by the runing time of application corresponding to the position and is answered for if they are the same
It is recorded with packet name into the user behavior statistics file.
Optionally, shown in Figure 8, in an embodiment of the present invention, the terminal 6 further include:
Database unit 67, for establishing the database of the terminal, that installs in the terminal is all using journey
The information of sequence is stored in the database in the form of tables of data, and the literary name section of the tables of data includes at least application program
Using the location information of packet name and shortcut icon.
Optionally, shown in Figure 9, in an embodiment of the present invention, the terminal 6 further include:
File uploading unit 68 is stored for the user behavior statistics file to be uploaded to cloud.
Optionally, shown in Figure 10, in an embodiment of the present invention, the start unit 61 includes:
Statistics file acquiring unit 611, for obtaining the user behavior statistics text from cloud in Android system starting
Part;
Statistics file resolution unit 612 obtains the user behavior statistics for parsing the user behavior statistics file
Included application program applies packet name and runing time in file;
Erection sequence determination unit 613, for determining that the user behavior is united according to the runing time of the application program
Count the erection sequence of application program included in file;
Statistics application mount message acquiring unit 614 is used for according to the erection sequence successively according to the user behavior
The application packet name of included application program inquires the tables of data in statistics file, obtains in the user behavior statistics file
The relevant information for the application program for being included;The literary name section of the tables of data further includes application program root Activity title;
Statistics application installation unit 615, for completing institute in the user behavior statistics file according to the relevant information
The installation for the application program for including, the relevant information include root Activity title and the position of shortcut icon of application program
Confidence breath.
It should be noted that each unit in above-mentioned terminal provided in an embodiment of the present invention, due to the method for the present invention
Embodiment is based on same design, and bring technical effect is identical as embodiment of the present invention method, and particular content can be found in this hair
Narration in bright embodiment of the method, details are not described herein again.
Thus, it will be seen that when terminal provided in an embodiment of the present invention can equally save Android system starting, third party
The scanning of application, parsing time, accelerate the starting of Android system, promote user experience.
Figure 11 is a kind of schematic diagram for terminal that one embodiment of the invention provides.As shown in figure 11, the terminal of the embodiment
11 include: processor 110, memory 111 and are stored in the memory 111 and can run on the processor 110
Computer program 112.The processor 110 is realized when executing the computer program 112 in above-mentioned each embodiment of the method
The step of, such as step 111 shown in FIG. 1 is to 112.Alternatively, reality when the processor 110 executes the computer program 112
The function of each module/unit in existing above-mentioned each Installation practice, such as the function of module 61 to 62 shown in Fig. 6.
Illustratively, the computer program 112 can be divided into one or more module/units, it is one or
Multiple module/the units of person are stored in the memory 111, and are executed by the processor 110, to complete the present invention.Institute
Stating one or more module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment
For describing implementation procedure of the computer program 112 in the terminal 11.For example, the computer program 112 can be with
It is divided into start unit 61 and other application installation unit 62, each module concrete function is as follows:
Start unit 61, for passing through application program management service scan and installing user's row in Android system starting
For the application recorded in statistics file;Wherein, the application recorded in the user behavior statistics file is user from Android desktop
The application program of starter starting;
Other application installation unit 62, for passing through the application program management after the Android system completes starting
Other application in service scan and installing terminal in addition to the application recorded in the user behavior statistics file.
The terminal can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.It is described
Terminal may include, but be not limited only to, processor 110, memory 111.It will be understood by those skilled in the art that Figure 11 is only eventually
The example at end 11, the not restriction of structure paired terminal 11 may include components more more or fewer than diagram, or combine certain
Component or different components, such as the terminal can also include input-output equipment, network access equipment, bus etc..
Alleged processor 110 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 111 can be the internal storage unit of the terminal 11, such as the hard disk or memory of terminal 11.Institute
The External memory equipment that memory 111 is also possible to the terminal 11, such as the plug-in type hard disk being equipped in the terminal 11 are stated,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, the memory 111 can also both including the terminal 11 internal storage unit and also including outside
Store equipment.The memory 111 is for other programs and data needed for storing the computer program and the terminal.
The memory 111 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method for accelerating Android system starting characterized by comprising
In Android system starting, pass through that application program management service scan and installing records in user behavior statistics file is answered
With;Wherein, the application recorded in the user behavior statistics file is the application program that user starts from Android desktop starter;
After the Android system completes starting, by removing the use in the application program management service scan and installing terminal
Other application except the application recorded in the behavioral statistics file of family.
2. accelerating the method for Android system starting as described in claim 1, which is characterized in that described to start in Android system
When, before passing through application program management service scan and the application recorded in user behavior statistics file being installed further include:
From the information for obtaining all application programs installed in the terminal in the database of terminal, the information includes the end
All application programs installed on end using packet name and the location information of shortcut icon;
The location information for traversing the shortcut icon of all application programs in the information, judge in the Android desktop starter
Whether there is button operation on these positions;
If having button operation on some position in the Android desktop starter, answering for application corresponding to the position is judged
It is whether identical as the packet name of application newly started with packet name;
If they are the same, then it records by the runing time of application corresponding to the position and using packet name to user behavior statistics
In file.
3. accelerating the method for Android system starting as claimed in claim 2, which is characterized in that in the database from terminal
Obtain the information for all application programs installed in the terminal, the information include installed in the terminal it is all using journey
Sequence using before the location information of packet name and shortcut icon further include:
The database of the terminal is established, the information for all application programs installed in the terminal is stored in the form of tables of data
In the database, the literary name section of the tables of data includes at least believing using the position of packet name and shortcut icon for application program
Breath.
4. as claimed in claim 3 accelerate Android system starting method, which is characterized in that it is described if they are the same, then by the position
The starting time, end of run time and application packet name for setting corresponding application record into the user behavior statistics file
Later further include:
The user behavior statistics file is uploaded to cloud to store.
5. accelerating the method for Android system starting as claimed in claim 4, which is characterized in that in Android system starting, lead to
It crosses application program management service scan and the application recorded in user behavior statistics file is installed and include:
In Android system starting, the user behavior statistics file is obtained from cloud;
The user behavior statistics file is parsed, the application of application program included in the user behavior statistics file is obtained
Packet name and runing time;
The peace of application program included in the user behavior statistics file is determined according to the runing time of the application program
Dress sequence;
Packet name is successively applied according to application program included in the user behavior statistics file according to the erection sequence
The tables of data is inquired, the relevant information of application program included in the user behavior statistics file is obtained;The data
The literary name section of table further includes application program root Activity title;
According to the relevant information complete the user behavior statistics file included in application program installation, the correlation
Information includes the root Activity title of application program and the location information of shortcut icon.
6. a kind of terminal characterized by comprising
Start unit, in Android system starting, passing through application program management service scan and installing user behavior statistics
The application recorded in file;Wherein, the application recorded in the user behavior statistics file is user from Android desktop starter
The application program of starting;
Other application installation unit, for being swept by the application program management service after the Android system completes starting
It retouches and on installing terminal except the other application in addition to recorded in the user behavior statistics file.
7. terminal as claimed in claim 6, which is characterized in that further include:
Application message acquiring unit, for from the letter for obtaining all application programs installed in the terminal in the database of terminal
Breath, the information includes all application programs installed in the terminal using packet name and the location information of shortcut icon;
First judging unit, for traversing the location information of the shortcut icon of all application programs in the information, described in judgement
Whether there is button operation over these locations in Android desktop starter;
Second judgment unit judges the position if having button operation on some position in the Android desktop starter
The whether identical as the packet name of application newly started using packet name of corresponding application set;
Statistics file generation unit is used for if they are the same, then by the runing time of application corresponding to the position and using packet name
Record is into the user behavior statistics file.
8. terminal as claimed in claim 7, which is characterized in that further include:
Database unit, for establishing the database of the terminal, the letter for all application programs installed in the terminal
In the database, the literary name section of the tables of data includes at least the application packet of application program to breath for storage in the form of tables of data
The location information of name and shortcut icon.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor
Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 5 is any
The step of item the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710436204.3A CN109032685B (en) | 2017-06-09 | 2017-06-09 | Method and terminal for accelerating startup of android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710436204.3A CN109032685B (en) | 2017-06-09 | 2017-06-09 | Method and terminal for accelerating startup of android system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109032685A true CN109032685A (en) | 2018-12-18 |
CN109032685B CN109032685B (en) | 2020-11-10 |
Family
ID=64629383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710436204.3A Active CN109032685B (en) | 2017-06-09 | 2017-06-09 | Method and terminal for accelerating startup of android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032685B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058890A (en) * | 2019-02-28 | 2019-07-26 | 努比亚技术有限公司 | A kind of Android system starting method, terminal and computer readable storage medium |
CN111124519A (en) * | 2019-12-27 | 2020-05-08 | 珠海全志科技股份有限公司 | Method and system for optimizing starting speed of android application program based on input response |
CN111666113A (en) * | 2020-04-24 | 2020-09-15 | 北京奇艺世纪科技有限公司 | Application program starting management method and device, electronic equipment and storage medium |
CN111722894A (en) * | 2019-03-21 | 2020-09-29 | 成都鼎桥通信技术有限公司 | Application processing method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120227045A1 (en) * | 2009-12-26 | 2012-09-06 | Knauth Laura A | Method, apparatus, and system for speculative execution event counter checkpointing and restoring |
CN102830996A (en) * | 2012-08-08 | 2012-12-19 | 广东欧珀移动通信有限公司 | Fast boot method of handheld device |
CN104090791A (en) * | 2014-06-30 | 2014-10-08 | 中科创达软件股份有限公司 | Method and device for scanning apks under Andriod system |
CN104461598A (en) * | 2013-09-24 | 2015-03-25 | 联想(北京)有限公司 | Method and device for improving response speed of electronic equipment and electronic equipment |
CN106354537A (en) * | 2016-09-05 | 2017-01-25 | Tcl集团股份有限公司 | Accelerated start method for desktop starter and system thereof |
-
2017
- 2017-06-09 CN CN201710436204.3A patent/CN109032685B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120227045A1 (en) * | 2009-12-26 | 2012-09-06 | Knauth Laura A | Method, apparatus, and system for speculative execution event counter checkpointing and restoring |
CN102830996A (en) * | 2012-08-08 | 2012-12-19 | 广东欧珀移动通信有限公司 | Fast boot method of handheld device |
CN104461598A (en) * | 2013-09-24 | 2015-03-25 | 联想(北京)有限公司 | Method and device for improving response speed of electronic equipment and electronic equipment |
CN104090791A (en) * | 2014-06-30 | 2014-10-08 | 中科创达软件股份有限公司 | Method and device for scanning apks under Andriod system |
CN106354537A (en) * | 2016-09-05 | 2017-01-25 | Tcl集团股份有限公司 | Accelerated start method for desktop starter and system thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058890A (en) * | 2019-02-28 | 2019-07-26 | 努比亚技术有限公司 | A kind of Android system starting method, terminal and computer readable storage medium |
CN111722894A (en) * | 2019-03-21 | 2020-09-29 | 成都鼎桥通信技术有限公司 | Application processing method and device and electronic equipment |
CN111722894B (en) * | 2019-03-21 | 2023-04-18 | 成都鼎桥通信技术有限公司 | Application processing method and device and electronic equipment |
CN111124519A (en) * | 2019-12-27 | 2020-05-08 | 珠海全志科技股份有限公司 | Method and system for optimizing starting speed of android application program based on input response |
CN111124519B (en) * | 2019-12-27 | 2022-12-13 | 珠海全志科技股份有限公司 | Method and system for optimizing starting speed of android application program based on input response |
CN111666113A (en) * | 2020-04-24 | 2020-09-15 | 北京奇艺世纪科技有限公司 | Application program starting management method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109032685B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109445869B (en) | Cross-cloud-adaptive micro-service management method and device and storage medium | |
CN107896162B (en) | Deployment method and device of monitoring system, computer equipment and storage medium | |
CN108351772A (en) | Across the identifier of application example | |
CN109032685A (en) | A kind of method and terminal accelerating Android system starting | |
CN109460281B (en) | Virtual machine management method and device of cloud platform | |
US9852220B1 (en) | Distributed workflow management system | |
CN109788068B (en) | Heartbeat state information reporting method, device and equipment and computer storage medium | |
CN105989131A (en) | Information search/presentation device and information search/presentation method | |
US20150012669A1 (en) | Platform runtime abstraction | |
CN110362318A (en) | Using dispositions method, device, equipment and storage medium | |
CN104765624B (en) | Method and device for updating application program of virtual machine | |
CN115292026A (en) | Management method, device and equipment of container cluster and computer readable storage medium | |
CN108132832B (en) | Application program starting method and device | |
CN108984339A (en) | Data reconstruction method and Related product | |
CN107741853A (en) | A kind of method, system and the information management platform of deployment services device | |
CN109858257B (en) | Access control method and device | |
CN109933407B (en) | Block chain DAPP virtual machine, data processing method and computing equipment | |
CN109660379B (en) | Network method, system and terminal | |
CN111506393A (en) | ARM-based virtualization device and use method thereof | |
CN110362294A (en) | Development task executes method, apparatus, electronic equipment and storage medium | |
CN110311935A (en) | A kind of sharing method shares deployment system and client | |
CN111857736B (en) | Cloud computing product generation method, device, equipment and storage medium | |
CN114157662A (en) | Cloud platform parameter adaptation method and device, terminal equipment and storage medium | |
CN114422358A (en) | API gateway configuration updating method and equipment | |
CN110673827B (en) | Resource calling method and device based on android system and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 516006 TCL technology building, No.17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province Applicant after: TCL Technology Group Co.,Ltd. Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District Applicant before: TCL RESEARCH AMERICA Inc. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |