Patent ID: 11628360

Abstract:
A method and apparatus for controlling game applications are provided. In the method, when an operating system receives a game starting command, the operating system determines a manner to start a corresponding game application according to whether the game application has resided in a memory, and when a cold boot manner is used, the operating system triggers the game application to report an amount of memory required currently by the game application, and determines whether a requirement of running the game application is met according to the amount of memory required and an amount of memory currently used, or the operating system ensures to meet the requirement of running the game application through background application freezing and clearing. When the game application finishes running, the operating system uses a pre-trained machine learning model to predict running hotness of the game application on the terminal device according to a current operating parameter of the game application, sorts game applications on the terminal device according to the running hotness, and performs a corresponding residing process when determining that the game application needs to reside in the memory according to a sorting result. The method can efficiently shorten the time cost to start the game application.