CN112370774A - Method and device for starting game in game accelerator - Google Patents

Method and device for starting game in game accelerator Download PDF

Info

Publication number
CN112370774A
CN112370774A CN202011263597.0A CN202011263597A CN112370774A CN 112370774 A CN112370774 A CN 112370774A CN 202011263597 A CN202011263597 A CN 202011263597A CN 112370774 A CN112370774 A CN 112370774A
Authority
CN
China
Prior art keywords
game
starting
target game
file
target
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.)
Pending
Application number
CN202011263597.0A
Other languages
Chinese (zh)
Inventor
於磊
郑跃波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011263597.0A priority Critical patent/CN112370774A/en
Publication of CN112370774A publication Critical patent/CN112370774A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • A63F13/48Starting a game, e.g. activating a game device or waiting for other players to join a multiplayer session
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a method and a device for starting a game in a game accelerator, wherein the method is applied to a game accelerator client and comprises the following steps: responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path; and opening the target game starting file based on the target game starting file path to start the target game, so that the speed of searching the game starting file path can be greatly increased, and the aim of quickly starting the game is fulfilled.

Description

Method and device for starting game in game accelerator
Technical Field
The present application relates to the field of game accelerators, and in particular, to a method and an apparatus for starting a game in a game accelerator.
Background
The online game industry is a new sunrise industry, and through the rapid development in recent years, the online game industry in China is in a mature period and rapidly moves to the mature period. The method has the advantages that the method is developed from the beginning to the end in the whole network economy development process in China and becomes an important component of the network economy in China at present.
Due to the complex wiring of the public network and the connections between different network operators, congestion or delays in the network data result. However, for some game users, they need to minimize network delay to enable fast transmission and response to achieve a good game experience. In this case, it is necessary to accelerate the network game. After the acceleration of a game is completed, a starting file path of the game needs to be searched, so that the game is started. In the prior art, the following two schemes are generally adopted to search the starting file path of the game, so as to start the game:
according to the scheme I, a user manually selects a starting path of a game so as to start the game, but the user generally does not know a specific installation path of the game and cannot select the starting path of the game;
and secondly, the computer searches the starting path of the game in a full disc mode, so that the game is started, and the scheme takes too long to search files.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for starting a game in a game accelerator, which can greatly increase the speed of searching a game starting file path, thereby achieving the purpose of quickly starting the game.
In a first aspect, an embodiment of the present application provides a method for starting a game in a game accelerator, which is applied to a game accelerator client, and includes:
responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path;
and opening a target game starting file based on the target game starting file path, and starting the target game.
In one possible embodiment, the method further comprises: and starting a game accelerator, and generating the starting instruction when the target game is accelerated.
In one possible embodiment, the method further comprises: starting a game accelerator, generating the starting instruction, and accelerating the target game.
In one possible embodiment, the method further comprises: when the game accelerator is started, starting file parameters of various games are obtained from the server; and determining the starting file parameters of the target game from the starting file parameters of the plurality of games.
In one possible embodiment, the method further comprises: and when the game accelerator is started, acquiring the starting file parameters of the target game from the server.
In one possible embodiment, the method further comprises:
acquiring a locally stored update sequence number log;
and analyzing the log of the updated sequence number to obtain the mapping relation between a plurality of file parameters and a file path.
In one possible embodiment, the method further comprises:
acquiring a locally stored update sequence number log;
updating the update sequence number log when the update sequence number log is detected to be changed;
and analyzing the updated update sequence number log to obtain the mapping relation between a plurality of file parameters and the file path.
In one possible implementation, before obtaining the locally stored update sequence number log, the method further includes:
initializing and creating an update sequence number log;
circularly enumerating the update sequence number log information in the disk by using the target handle to obtain an update sequence number log;
and storing the update sequence number log to the local.
In one possible implementation, opening a target game start file based on the target game start file path, starting a target game, includes:
and after the target game is accelerated, opening a target game starting file based on the target game starting file path, and starting the target game.
In one possible embodiment, the method further comprises: and responding to an acceleration request of the target game triggered by a user, and accelerating the network data of the target game.
In a second aspect, an embodiment of the present application further provides an apparatus for starting a game in a game accelerator, which is applied to a game accelerator client, and includes:
the search module is used for responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path;
and the starting module is used for opening the target game starting file based on the target game starting file path and starting the target game.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The method for starting the game in the game accelerator is applied to a game accelerator client, and comprises the steps of firstly responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path; and then opening a target game starting file based on the target game starting file path, and starting the target game. Compared with the traditional scheme I, a user manually selects a starting path of a game, but the user generally does not know a specific installation path of the game and cannot select the starting path of the game; in the second scheme, the computer searches the starting path of the game in a whole disc, and the scheme is long in file searching time and low in game searching efficiency, so that a user cannot experience the effect of accelerating the game in time; on the other hand, the searched object is the mapping relation between a plurality of file parameters and the file path, but not all files of the disk, so that the speed of searching the game starting file path is greatly improved, and the aim of quickly starting the game is fulfilled.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart illustrating a method for starting a game in a game accelerator according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for updating a sequence number log storage according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for obtaining parameters of a start-up file of a target game according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram illustrating an apparatus for starting a game in a game accelerator according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the conventional scheme, the following two schemes are adopted to search the starting file path of the game so as to start the game: according to the scheme I, a user manually selects a starting path of a game, but the user generally does not know a specific installation path of the game and cannot select the starting path of the game; and secondly, the computer searches the starting path of the game in a full-disc mode, and the scheme takes too long to search files. Based on this, the embodiment of the present application provides a method and an apparatus for starting a game in a game accelerator, which are described below by way of an embodiment.
For the convenience of understanding the present embodiment, a method for starting a game in a game accelerator disclosed in the embodiments of the present application will be described in detail first.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for starting a game in a game accelerator according to an embodiment of the present disclosure. The method is applied to a game accelerator client, and as shown in fig. 1, may include the following steps:
s101, responding to a starting instruction of a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path;
s102, opening a target game starting file based on the target game starting file path, and starting the target game.
In step S101, the target game means: the user needs a game to be launched in the game accelerator. The start instruction refers to: instructions for triggering a target game launch task. In one possible embodiment, a game accelerator is started, and the start instruction is generated when the target game acceleration is completed. In another possible implementation, a game accelerator is started, the start instruction is generated, and the target game is accelerated. That is, the generation timing of the start instruction may be when the target game acceleration is completed, or may be after the game accelerator is started and before the target game acceleration.
With respect to game acceleration, a game card of the game accelerator client is generally provided with an "acceleration" button, and a user clicks the button to issue an acceleration request of a target game to the game accelerator client. And responding to an acceleration request of the target game triggered by a user, and accelerating the network data of the target game.
In one possible implementation, the process of game acceleration may include: and sending network data corresponding to the target game to a game accelerator server, acquiring a transmission line matched with the network data, and establishing a data connection path of the network data by using the acquired transmission line, so that the transmission of the network data can be accelerated.
In another possible implementation, the process of game acceleration may include: sending network data corresponding to a target game to a game accelerator server, acquiring a transmission line matched with the network data, and releasing available memory occupied by other processes, wherein the available memory does not contain a system process which cannot be terminated or an application process which cannot be terminated by a user; the acquired transmission line is used for establishing a data connection path of the network data, the released available memory is used for accelerating the target game, and the transmission line of the network data and the released available memory can be acquired simultaneously, so that the transmission acceleration and the hardware acceleration of the network data can be performed simultaneously, and the running smoothness of the target game can be improved.
It should be noted that the use of two game acceleration methods is only used to teach one skilled in the art how to implement the present invention, and the present invention is not limited thereto, and other game acceleration methods may be used in specific implementations.
The starting file parameters of the target game refer to: parameters of an executable program file for starting the target game. Optionally, the startup file parameter includes a startup file name, for example: the starting file parameter of the hero alliance is the starting file name' Lolclient. In one possible implementation mode, when the game accelerator is started, starting file parameters of a plurality of games are obtained from the server, and then starting file parameters of the target game are determined from the starting file parameters of the plurality of games. In another possible implementation, the starting file parameters of the target game are obtained from the server when the game accelerator is started. That is, the starting file parameters of the plurality of games may be acquired from the server, and then the starting file parameters of the target game may be selected from the starting file parameters, or the parameters may be directly acquired from the server.
The target game starting file path refers to: file storage path of executable program file for starting the target game, for example: the path of the starting file of the hero alliance is D \ Program Files \ Tengchan Game \ hero alliance \ LolClient.
In the mapping relation between the file parameters and the file paths, each file parameter corresponds to a unique file path, and the corresponding file path can be searched by taking the file parameters as index keywords.
In one possible implementation, a locally stored update sequence number log is obtained; and analyzing the log of the updated sequence number to obtain the mapping relation between a plurality of file parameters and a file path. In specific implementation, the mapping relation between the plurality of file parameters and the file paths can be obtained in advance before the starting instruction is generated, and the mapping relation between the plurality of file parameters and the file paths can be directly called after the starting instruction is generated, so that the time for starting the game can be saved; the mapping relation between the file parameters and the file paths can be obtained in real time after the starting instruction is generated, the update sequence number log is not fixed and can be changed at any time, and the mapping relation between the file parameters and the file paths obtained in real time is more comprehensive and accurate due to the fact that the latest update sequence number log is analyzed.
In another possible implementation, a locally stored update sequence number log is obtained; updating the update sequence number log when the update sequence number log is detected to be changed; and analyzing the updated update sequence number log to obtain the mapping relation between a plurality of file parameters and the file path. Because the updated sequence number log is not fixed and not changed, the updated sequence number log can be changed at any time, the updated sequence number log can be re-analyzed when the updated sequence number log is detected to be changed, whether the updated sequence number log is changed or not can be detected at intervals, and if the updated sequence number log is changed, the updated sequence number log is re-analyzed, so that the mapping relation between a plurality of file parameters and a file path obtained by the last analysis can be directly called after a starting instruction is generated, and the mapping relation between the plurality of file parameters and the file path is ensured to be more comprehensive and accurate.
The mapping relation between the file parameters and the file paths is stored in the memory in a map data structure format, the map data structure is a dictionary data structure provided by the ES, and a hash structure with non-repeated keys is stored in a key value pair mode, so that the file paths can be conveniently and quickly searched through index keywords. For example, the mapping relationship between the hero alliance and the path of the boot file is stored in the memory in the format of the following map data structure: "D: \ Program Files \ Tengcommand Game \ hero alliance" ", and" D: \ Program Files \ Tengcommand Game \ hero alliance \ LolClient.exe "".
The USN log (Update Service Number Journal) has a function of recording information modified in the NTFS volume, and can set the Number of files and directories to be monitored and modified in a partition, and record modification time and modification content of a monitored object. When the USN log is enabled, for each NTFS volume, when there is information to add, delete, and modify a file, the NTFS is recorded using the USN log and stored in the format of USN _ RECORD.
In one possible implementation, before obtaining the locally stored update sequence number log, the method further includes: initializing and creating an update sequence number log; circularly enumerating the update sequence number log information in the disk by using the target handle to obtain an update sequence number log; and storing the update sequence number log to the local.
Specifically, as shown in fig. 2, before obtaining the locally stored update sequence number log, the following sub-steps may be further included:
s201, detecting whether the current disk type is a disk in an NTFS format; if yes, go to step S202, otherwise, go to step S205;
s202, initializing and creating an update sequence number log;
s203, circularly enumerating the update sequence number log information in the disk by using the target handle to obtain an update sequence number log;
s204, storing the update sequence number log to the local;
and S205, displaying prompt information of game starting failure.
In step S201, NTFS (New Technology File System) is a standard File System of Windows NT and later Windows. NTFS replaces the File Allocation Table (FAT) file system, providing a file system for Microsoft's Windows family of operating systems. NTFS makes several improvements to FAT and HPFS (high performance file system), for example, supports metadata, and uses advanced data structures in order to improve performance, reliability, and disk space utilization.
Because updating the sequence number log is a characteristic of the NTFS, whether the current disk type is a disk in an NTFS format needs to be checked, if so, a subsequent game starting task is performed, and if not, the subsequent game starting task fails, and prompt information of the game starting failure is displayed on a user display interface. Specifically, whether the current disk type is a disk in the NTFS format or not can be detected by acquiring related information through the getvolemelnformation () function. The name of the file operating system corresponds to a parameter lpFilesystemNameBuffer in a GetVolumeInformation () function, and whether the current disk type is a disk in an NTFS format or not can be judged through the parameter.
In step S202, a handle hVol of a disk (NTFS drive disk) is obtained through the CreateFile () function, and the handle hVol is passed to the DeviceIoControl () function to initialize and create an update sequence number log of the disk.
In step S203, the target handle may be a disk handle hVol, and update sequence number log information in the disk is enumerated in a loop by using the disk handle hVol to obtain an update sequence number log including all file information (e.g., information such as file size, file name, and directory where the file is located) on the disk.
Through the above steps S201 to S205, the update sequence number log can be stored locally.
Next, the acquisition of the target game start file name will be described in detail.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for obtaining parameters of a start file of a target game according to an embodiment of the present application. As shown in fig. 3, the following steps may be included:
(Game Accelerator client)
S301, sending a starting instruction of a target game to a server;
s302, receiving a target game process name sent by the server;
s303, analyzing the target game process name to obtain the target game name and the starting file parameter of the target game.
(service terminal)
S304, configuring the target game process name of the target game;
s305, receiving a starting instruction of a target game sent by a game accelerator client;
s306, responding the request, and sending the target game progress name to the game accelerator client.
In S301, the game accelerator client generally sends a start instruction of the target game in the http protocol format or the tcp protocol format to the server every time the game accelerator client starts.
In step S304, the server configures more game information, and the embodiment only focuses on the target game process name, where the target game process name includes a target game name and a start file parameter of the target game, and the start file parameter may include a start file name. For example, the configured target game name is "hero alliance", the configured start file name of the target game is "lolcclient. exe", and the configured target game name and the start file name of the target game can be combined into a target game process name in a json format:
{
"name _ name": hero union ",
“launch_name”:”LolClient.exe”,
}
wherein:
the game _ name is a game name keyword;
the launch _ name is a game launch file name keyword.
It should be noted that the json format of the configured target game process name is only used for teaching the skilled person how to implement the present invention, and the present invention is not limited thereto, and in the specific implementation, the configured target game process name may also be in other data formats.
Through the above steps S301 to S306, after the start instruction of the target game is sent to the server, the start file parameter of the target game configured by the server may be obtained, so as to obtain the index keyword of the target game.
In this step, the game accelerator client responds to a starting instruction for a target game in the game accelerator client, and searches a target game starting file path corresponding to the starting file parameter of the target game based on the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path. On one hand, based on the mapping relation between the file parameters and the file paths, the target game starting file paths corresponding to the starting file parameters of the target game can be automatically searched without manually selecting the target game starting file paths by a user; on the other hand, the searched object is the mapping relation between a plurality of file parameters and the file path, but not all files of the disk, so that the speed of searching the file path of the game starting is greatly improved.
In a possible implementation manner, step S102 specifically includes, after the target game is accelerated, opening a target game start file based on the target game start file path, and starting the target game. That is, when the two conditions of searching the target game starting file path and finishing acceleration of the target game are simultaneously met, the target game starting file path is entered, the target game starting file is opened, the target game is started, and the process of starting the target game is finished.
Optionally, if the target game starting file path is not searched, that is, the user does not download the target game, a prompt interface may be popped up to display prompt information that the target game is not searched, and the user is advised to go to a game official website to download the target game.
The method for starting the game in the game accelerator is applied to a game accelerator client, and comprises the steps of firstly responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path; and then opening a target game starting file based on the target game starting file path, and starting the target game. Compared with the traditional scheme I, a user manually selects a starting path of a game, but the user generally does not know a specific installation path of the game and cannot select the starting path of the game; in the second scheme, the computer searches the starting path of the game in a whole disc, and the scheme is long in file searching time and low in game searching efficiency, so that a user cannot experience the effect of accelerating the game in time; on the other hand, the searched object is the mapping relation between a plurality of file parameters and the file path, but not all files of the disk, so that the speed of searching the game starting file path is greatly improved, and the aim of quickly starting the game is fulfilled.
Based on the same technical concept, the embodiments of the present application further provide an apparatus, an electronic device, a computer storage medium, and the like for starting a game in a game accelerator, and refer to the following embodiments in detail.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus for starting a game in a game accelerator according to an embodiment of the present application. The device is applied to a game accelerator client, and as shown in fig. 4, the device may include:
the search module 10 is configured to respond to a start instruction for a target game in the game accelerator client, and search a target game start file path corresponding to a start file parameter of the target game according to a start file parameter of the target game and a mapping relationship between a plurality of file parameters and the file path;
and the starting module 20 is configured to open a target game starting file based on the target game starting file path, and start the target game.
An embodiment of the present application discloses an electronic device, as shown in fig. 5, including: a processor 501, a memory 502 and a bus 503, wherein the memory 502 stores machine-readable instructions executable by the processor 501, and when the electronic device is operated, the processor 501 and the memory 502 communicate with each other through the bus 503. The machine readable instructions, when executed by the processor 501, perform the steps of:
responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path;
and opening a target game starting file based on the target game starting file path, and starting the target game.
In a possible implementation, the processor 501 is further configured to perform the following steps:
and starting a game accelerator, and generating the starting instruction when the target game is accelerated.
In a possible implementation, the processor 501 is further configured to perform the following steps:
starting a game accelerator, generating the starting instruction, and accelerating the target game.
In a possible implementation, the processor 501 is further configured to perform the following steps:
when the game accelerator is started, starting file parameters of various games are obtained from the server;
and determining the starting file parameters of the target game from the starting file parameters of the plurality of games.
In a possible implementation, the processor 501 is further configured to perform the following steps:
and when the game accelerator is started, acquiring the starting file parameters of the target game from the server.
In a possible implementation, the processor 501 is further configured to perform the following steps:
acquiring a locally stored update sequence number log;
and analyzing the log of the updated sequence number to obtain the mapping relation between a plurality of file parameters and a file path.
In a possible implementation, the processor 501 is further configured to perform the following steps:
acquiring a locally stored update sequence number log;
updating the update sequence number log when the update sequence number log is detected to be changed;
and analyzing the updated update sequence number log to obtain the mapping relation between a plurality of file parameters and the file path.
In a possible implementation, the processor 501, before obtaining the locally stored update sequence number log, further includes:
initializing and creating an update sequence number log;
circularly enumerating the update sequence number log information in the disk by using the target handle to obtain an update sequence number log;
and storing the update sequence number log to the local.
In one possible implementation, the processor 501 opens a target game starting file based on the target game starting file path, and starts a target game, including:
and after the target game is accelerated, opening a target game starting file based on the target game starting file path, and starting the target game.
In a possible implementation, the processor 501 is further configured to perform the following steps:
and responding to an acceleration request of the target game triggered by a user, and accelerating the network data of the target game.
The computer program product for a method of starting a game in a game accelerator provided in the embodiments of the present application includes a computer-readable storage medium storing a non-volatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A method for starting a game in a game accelerator is applied to a game accelerator client and comprises the following steps:
responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path;
and opening a target game starting file based on the target game starting file path, and starting the target game.
2. The method of claim 1, further comprising:
and starting a game accelerator, and generating the starting instruction when the target game is accelerated.
3. The method of claim 1, further comprising:
starting a game accelerator, generating the starting instruction, and accelerating the target game.
4. The method of claim 1, further comprising:
when the game accelerator is started, starting file parameters of various games are obtained from the server;
and determining the starting file parameters of the target game from the starting file parameters of the plurality of games.
5. The method of claim 1, further comprising:
and when the game accelerator is started, acquiring the starting file parameters of the target game from the server.
6. The method of claim 1, further comprising:
acquiring a locally stored update sequence number log;
and analyzing the log of the updated sequence number to obtain the mapping relation between a plurality of file parameters and a file path.
7. The method of claim 1, further comprising:
acquiring a locally stored update sequence number log;
updating the update sequence number log when the update sequence number log is detected to be changed;
and analyzing the updated update sequence number log to obtain the mapping relation between a plurality of file parameters and the file path.
8. The method of claim 6 or 7, further comprising, prior to obtaining the locally stored update sequence number log:
initializing and creating an update sequence number log;
circularly enumerating the update sequence number log information in the disk by using the target handle to obtain an update sequence number log;
and storing the update sequence number log to the local.
9. The method of claim 1, wherein opening a target game launch file based on the target game launch file path, launching a target game, comprises:
and after the target game is accelerated, opening a target game starting file based on the target game starting file path, and starting the target game.
10. The method of claim 9, further comprising:
and responding to an acceleration request of the target game triggered by a user, and accelerating the network data of the target game.
11. An apparatus for starting a game in a game accelerator, applied to a game accelerator client, comprising:
the search module is used for responding to a starting instruction aiming at a target game in the game accelerator client, and searching a target game starting file path corresponding to a starting file parameter of the target game according to the starting file parameter of the target game and the mapping relation between a plurality of file parameters and the file path;
and the starting module is used for opening the target game starting file based on the target game starting file path and starting the target game.
12. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 10.
CN202011263597.0A 2020-11-12 2020-11-12 Method and device for starting game in game accelerator Pending CN112370774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011263597.0A CN112370774A (en) 2020-11-12 2020-11-12 Method and device for starting game in game accelerator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011263597.0A CN112370774A (en) 2020-11-12 2020-11-12 Method and device for starting game in game accelerator

Publications (1)

Publication Number Publication Date
CN112370774A true CN112370774A (en) 2021-02-19

Family

ID=74583524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011263597.0A Pending CN112370774A (en) 2020-11-12 2020-11-12 Method and device for starting game in game accelerator

Country Status (1)

Country Link
CN (1) CN112370774A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112827183A (en) * 2021-03-03 2021-05-25 网易(杭州)网络有限公司 Game data processing method and device
CN116302209A (en) * 2023-05-15 2023-06-23 阿里云计算有限公司 Method for accelerating starting of application process, distributed system, node and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957209A (en) * 2014-04-29 2014-07-30 北京奇虎科技有限公司 Optimizer and optimizing method and system for online game
CN105771241A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Matching processing method and device of game window
CN109151601A (en) * 2017-06-28 2019-01-04 武汉斗鱼网络科技有限公司 Quick start and method, storage medium, equipment and the system for obtaining game picture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957209A (en) * 2014-04-29 2014-07-30 北京奇虎科技有限公司 Optimizer and optimizing method and system for online game
CN105771241A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Matching processing method and device of game window
CN109151601A (en) * 2017-06-28 2019-01-04 武汉斗鱼网络科技有限公司 Quick start and method, storage medium, equipment and the system for obtaining game picture

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112827183A (en) * 2021-03-03 2021-05-25 网易(杭州)网络有限公司 Game data processing method and device
CN116302209A (en) * 2023-05-15 2023-06-23 阿里云计算有限公司 Method for accelerating starting of application process, distributed system, node and storage medium
CN116302209B (en) * 2023-05-15 2023-08-04 阿里云计算有限公司 Method for accelerating starting of application process, distributed system, node and storage medium

Similar Documents

Publication Publication Date Title
US8898167B2 (en) Method of accessing files in electronic devices
US11016785B2 (en) Method and system for mirror image package preparation and application operation
US20040192440A1 (en) Application-centric user interface techniques
CN108595191B (en) Application installation method and device
US20060282571A1 (en) Multimedia devices with enhanced functionality
CN112370774A (en) Method and device for starting game in game accelerator
CN109165052B (en) Interactive processing method and device of application scene, terminal, system and storage medium
EP3111341A1 (en) Automatic context sensitive search for application assistance
CN113055451A (en) Resource downloading method and device, electronic equipment and storage medium
US6119127A (en) Game software management system, linking game files
CN106843947B (en) Method and device for processing code defects
CN112639759A (en) Context digital media processing system and method
US9971607B1 (en) Method of accessing files in electronic devices
CN113190448A (en) Test code updating method and device, electronic equipment and storage medium
CN111031117B (en) Multimedia file downloading method and related device
CN112286486A (en) Operation method of application program on intelligent terminal, intelligent terminal and storage medium
CN108446144B (en) Application program starting method and device, terminal and storage medium
CN110750404A (en) Efi shell-based server starting process testing method
WO2023146585A1 (en) Flexibly identifying and playing media content from any webpage
CN114357454A (en) Binary executable file dependency library analysis method and device, electronic equipment and storage medium
CN109522187B (en) Method and device for quickly extracting state information
CN105094837A (en) Method and device for guiding computer to be started and manufacturing method of start guiding medium
CN111782291A (en) Test page starting method and device
JPWO2020065778A1 (en) Information processing equipment, control methods, and programs
WO2023040692A1 (en) Speech control method, apparatus and device, and medium

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