Startup accelerating method and apparatus
First Claim
1. A startup accelerating method, comprising:
- obtaining, when it is monitored that a login process of an application is started up, pre-fetched data corresponding to a main process of the application;
loading the pre-fetched data into a cache, the pre-fetched data being obtained according to a historical startup procedure for the main process of the application;
stopping, when it is monitored that a startup of the login process is completed or it is monitored that the main process of the application is started up, obtaining the pre-fetched data corresponding to the main process of the application; and
completing a startup procedure of the main process according to the pre-fetched data loaded in the cache,wherein the obtaining pre-fetched data corresponding to a main process of the application, comprises;
obtaining pre-fetched information corresponding to the main process of the application according to an identifier of the login process, wherein the identifier of the login process is a name of the login process;
reading corresponding data from a disk file according to the pre-fetched information; and
determining that the read data is the pre-fetched data corresponding to the main process of the application,wherein a time period of obtaining the pre-fetched data is equal to a time period of performing the startup procedure of the login process, andwherein, when a size of the pre-fetched data obtained in the startup procedure of the login process is less than a size of total data corresponding to the pre-fetched information at a time of monitoring that a startup of the login process is completed or at a time of monitoring that the main process of the application is started up, a remaining portion of the total data corresponding to the pre-fetched information is not pre-fetched.
1 Assignment
0 Petitions
Accused Products
Abstract
Described is a startup accelerating method and apparatus. The method includes: obtaining, when it is monitored that a login process of an application is started up, pre-fetched data corresponding to a main process of the application, and loading the obtained pre-fetched data into a cache, the pre-fetched data being obtained according to a historical startup procedure for the main process of the application; stopping, when it is monitored that the startup of the login process is completed or it is monitored that the main process of the application is started up, obtaining the pre-fetched data corresponding to the main process of the application; and completing a startup procedure of the main process according to the pre-fetched data loaded in the cache. The apparatus includes: an obtaining module, a stopping module and a startup module.
-
Citations
16 Claims
-
1. A startup accelerating method, comprising:
-
obtaining, when it is monitored that a login process of an application is started up, pre-fetched data corresponding to a main process of the application; loading the pre-fetched data into a cache, the pre-fetched data being obtained according to a historical startup procedure for the main process of the application; stopping, when it is monitored that a startup of the login process is completed or it is monitored that the main process of the application is started up, obtaining the pre-fetched data corresponding to the main process of the application; and completing a startup procedure of the main process according to the pre-fetched data loaded in the cache, wherein the obtaining pre-fetched data corresponding to a main process of the application, comprises; obtaining pre-fetched information corresponding to the main process of the application according to an identifier of the login process, wherein the identifier of the login process is a name of the login process; reading corresponding data from a disk file according to the pre-fetched information; and determining that the read data is the pre-fetched data corresponding to the main process of the application, wherein a time period of obtaining the pre-fetched data is equal to a time period of performing the startup procedure of the login process, and wherein, when a size of the pre-fetched data obtained in the startup procedure of the login process is less than a size of total data corresponding to the pre-fetched information at a time of monitoring that a startup of the login process is completed or at a time of monitoring that the main process of the application is started up, a remaining portion of the total data corresponding to the pre-fetched information is not pre-fetched. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A startup accelerating apparatus, comprising:
-
a processor and a non-transitory storage, wherein the non-transitory storage stores machine readable instructions, and the processor executes the machine readable instructions stored in the non-transitory storage to; obtain, when it is monitored that a login process of an application is started up, pre-fetched data corresponding to a main process of the application, and load the pre-fetched data into a cache, the pre-fetched data being obtained according to a historical startup procedure for the main process of the application; stop, when it is monitored that the startup of the login process is completed or it is monitored that the main process of the application is started up, obtaining the pre-fetched data corresponding to the main process of the application; and complete a startup procedure of the main process according to the pre-fetched data loaded in the cache; wherein the processor executes the machine readable instructions stored in the non-transitory storage to; obtain pre-fetched information corresponding to the main process of the application according to an identifier of the login process, wherein the identifier of the login process is a name of the login process; read corresponding data from a disk file according to the pre-fetched information; and determine that the read data is the pre-fetched data corresponding to the main process of the application, and load the pre-fetched data into the cache, wherein a time period of obtaining the pre-fetched data is equal to a time period of performing the startup procedure of the login process, and wherein, when a size of the pre-fetched data obtained in the startup procedure of the login process is less than a size of total data corresponding to the pre-fetched information at a time of monitoring that a startup of the login process is completed or at a time of monitoring that the main process of the application is started up, a remaining portion of the total data corresponding to the pre-fetched information is not pre-fetched. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable storage medium having stored therein one or more instructions, which, when executed by a computing device, cause the computing device to:
-
obtaining, when it is monitored that a login process of an application is started up, pre-fetched data corresponding to a main process of the application; loading the pre-fetched data into a cache, the pre-fetched data being obtained according to a historical startup procedure for the main process of the application; stopping, when it is monitored that the startup of the login process is completed or it is monitored that the main process of the application is started up, obtaining the pre-fetched data corresponding to the main process of the application; and completing a startup procedure of the main process according to the pre-fetched data loaded in the cache; wherein the obtaining pre-fetched data corresponding to a main process of the application, comprises; obtaining pre-fetched information corresponding to the main process of the application according to an identifier of the login process, wherein the identifier of the login process is a name of the login process; reading corresponding data from a disk file according to the pre-fetched information; and determining that the read data is the pre-fetched data corresponding to the main process of the application, wherein a time period of obtaining the pre-fetched data is equal to a time period of performing the startup procedure of the login process, and wherein, when a size of the pre-fetched data obtained in the startup procedure of the login process is less than a size of total data corresponding to the pre-fetched information at a time of monitoring that a startup of the login process is completed or at a time of monitoring that the main process of the application is started up, a remaining portion of the total data corresponding to the pre-fetched information is not pre-fetched.
-
Specification