Method for game loading and related products
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorSenlin Li
Life of this patent
Estimating the term…
Abstract
A method for game running and related products are provided. The method is applicable to an electronic device and the method includes the following. A game to be run is determined. A first file of the game is downloaded by requesting a network. The first file is decompressed to obtain a second file decompressed. At least one game engine is called to load the second file to run the game.
Claims16
A method for game running, the method being applicable to an electronic device, and the method comprising:
- determining a game to be run;
- downloading a first file of the game by requesting a network;
- decompressing the first file to obtain a second file decompressed;
- calling at least one game engine to load the second file to run the game, wherein the at least one game engine is embodied as one game engine for the game, and wherein calling the at least one game engine to load the second file to run the game comprises:
- determining, according to a mapping relationship between games and a plurality of game engines, the game engine for the game;
- and
- calling the game engine for the game to load the second file to run the game;
- recording first duration of loading the game via the game engine;
- loading, based on the first duration being longer than a preset time threshold, the game via the remaining of the plurality of game engines respectively;
- recording respective duration of loading the game via the remaining of the plurality of game engines respectively;
- determining shortest second duration from the respective duration of loading the game via the remaining of the plurality of game engines respectively;
- and
- replacing, based on the second duration being shorter than the first duration, the game engine for the game in the mapping relationship with a game engine corresponding to the second duration.
An electronic device, comprising:
- at least one processor;
- and
- a computer readable storage, coupled to the at least one processor and storing at least one computer executable instruction thereon which, when executed by the at least one processor, is operable with the at least one processor to:
- determine a game to be run;
- download a first file of the game by requesting a network;
- decompress the first file to obtain a second file decompressed;
- call at least one game engine to load the second file to run the game, comprising:
- determine, according to a mapping relationship between games and a plurality of game engines, a game engine for the game, wherein the at least one game engine is embodied as the game engine for the game;
- and
- call the game engine for the game to load the second file to run the game;
- load, every set time interval, the game via the plurality of game engines respectively;
- record respective duration of loading the game via the plurality of game engines respectively;
- determine shortest duration from the respective duration of loading the game via the plurality of game engines respectively;
- and
- replace the game engine for the game in the mapping relationship with a game engine corresponding to the shortest duration.
A non-transitory computer readable storage medium, configured to store a computer program which, when executed by a processor, causes the processor to carry out actions, comprising:
- determining a game to be run;
- downloading a first file of the game by requesting a network;
- decompressing the first file to obtain a second file decompressed;
- and
- calling at least one game engine to load the second file to run the game, comprising:
- obtaining a plurality of system evaluation indexes of a plurality of game engines, wherein the at least one game engine is embodied as one game engine for the game among the plurality of game engines;
- determining a game engine having a maximum system evaluation index as the game engine for the game;
- and
- calling the game engine for the game to load the second file to run the game.
Dependencies are inferred from the claim text.