Application acceleration method and application acceleration device
First Claim
1. An application acceleration method performed at a computer server having one or more processors and a memory storing one or more programs to be executed by the one or more processors, the method comprising:
- exposing, by a control center, an initialization interface and a deinitialization interface of the control center through a dynamic link library;
invoking, by the control center, a process monitoring class to monitor start and end of a computing process of an application, after the initialization interface of the control center is invoked;
triggering, based on determining that the computing process hits a configured process, a callback interface of the process monitoring class;
sending, to the control center, by the process monitoring class via the callback interface, process information on the computing process;
confirming, by the process monitoring class, that the computing process requires to be accelerated;
receiving, by the control center, process information on the computing process sent by the process monitoring class after the process monitoring class monitors that the computing process is started and confirms that the computing process requires to be accelerated;
invoking, by the control center, a service class based on the process information, wherein the service class includes a configuration file with information on a correspondence among the computing process, a plurality of states of the computing process, and a task executed in each of the plurality of states of the computing process;
monitoring, by the service class, the plurality of states of the computing process;
accelerating at least one of starting and running of the computing process, by the service class, via executing the task in each of the plurality of states of the computing process according to the configuration file until the computing process is in an end state.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are an application acceleration method and an application acceleration device. The application acceleration method includes invoking, by a control center, a process monitoring class to monitor start and end of a process. Process information on a process sent by the process monitoring class is received after the process monitoring class monitors that the process is started and confirms that the process requires to be accelerated. A service class is invoked based on the process information, where the service class monitors multiple states of the process, and executes a task in each of the multiple states of the process until the process is in an end state.
-
Citations
7 Claims
-
1. An application acceleration method performed at a computer server having one or more processors and a memory storing one or more programs to be executed by the one or more processors, the method comprising:
-
exposing, by a control center, an initialization interface and a deinitialization interface of the control center through a dynamic link library; invoking, by the control center, a process monitoring class to monitor start and end of a computing process of an application, after the initialization interface of the control center is invoked; triggering, based on determining that the computing process hits a configured process, a callback interface of the process monitoring class; sending, to the control center, by the process monitoring class via the callback interface, process information on the computing process; confirming, by the process monitoring class, that the computing process requires to be accelerated; receiving, by the control center, process information on the computing process sent by the process monitoring class after the process monitoring class monitors that the computing process is started and confirms that the computing process requires to be accelerated; invoking, by the control center, a service class based on the process information, wherein the service class includes a configuration file with information on a correspondence among the computing process, a plurality of states of the computing process, and a task executed in each of the plurality of states of the computing process; monitoring, by the service class, the plurality of states of the computing process; accelerating at least one of starting and running of the computing process, by the service class, via executing the task in each of the plurality of states of the computing process according to the configuration file until the computing process is in an end state. - View Dependent Claims (2, 3)
-
-
4. An application acceleration device, comprising a processor and a memory for storing program instructions, wherein the processor executes the program instructions to:
-
expose, by a control center, an initialization interface and a deinitialization interface of the control center through a dynamic link library; invoke a process monitoring class by the control center to monitor start and end of a computing process of an application, after the initialization interface of the control center is invoked; trigger, based on determining that the computing process hits a configured process, a callback interface of the process monitoring class; send to the control center, by the process monitoring class via the callback interface, process information on the computing process; confirm, by the process monitoring class, that the computing process requires to be accelerated; receive, by the control center process, information on the computing process sent by the process monitoring class after the process monitoring class monitors that the computing process is started and confirms that the computing process requires to be accelerated; invoke a service class by the control center based on the process information, wherein the service class includes a configuration file with information on a correspondence among the computing process, a plurality of states of the computing process, and a task executed in each of the plurality of states of the computing process; monitor, by the service class, the plurality of states of the computing process; accelerate at least one of starting and running of the computing process by the service class via executing the task in each of the plurality of states of the computing process according to the configuration file until the computing process is in an end state, wherein a configuration file is stored in the service class. - View Dependent Claims (5, 6)
-
-
7. A non-transitory computer storage medium comprising computer executable instructions that cause a processor to perform an application acceleration method, wherein the application acceleration method comprises:
-
exposing, by a control center, an initialization interface and a deinitialization interface of the control center through a dynamic link library; invoking, by the control center, a process monitoring class to monitor start and end of a computing process of an application, after the initialization interface of the control center is invoked; triggering, based on determining that the computing process hits a configured process, a callback interface of the process monitoring class; sending to the control center, by the process monitoring class via the callback interface, process information on the computing process; monitoring, by the process monitoring class, that a computing process is started; confirming, by the process monitoring class, that the computing process requires to be accelerated; sending, by the process monitoring class, process information on the computing process to the control center; receiving, by the control center, the process information; invoking, by the control center, a service class based on the process information, wherein the service class includes a configuration file with information on a correspondence among the computing process, a plurality of states of the computing process, and a task executed in each of the plurality of states of the computing process; monitoring, by the service class, the plurality of states of the computing process based on the process information; and accelerating at least one of starting and running of the computing process, by the service class, via executing the task in each of the plurality of states of the computing process according to the configuration file until the computing process is in an end state.
-
Specification