CN118045338A - Game operation control method, game operation control device, electronic equipment and computer storage medium - Google Patents

Game operation control method, game operation control device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN118045338A
CN118045338A CN202410211553.5A CN202410211553A CN118045338A CN 118045338 A CN118045338 A CN 118045338A CN 202410211553 A CN202410211553 A CN 202410211553A CN 118045338 A CN118045338 A CN 118045338A
Authority
CN
China
Prior art keywords
control instruction
game
control
cloud server
encoded data
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
CN202410211553.5A
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.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology 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 Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN202410211553.5A priority Critical patent/CN118045338A/en
Publication of CN118045338A publication Critical patent/CN118045338A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the technical field of cloud computing, and discloses a game operation control method, which comprises the following steps: triggering a first control instruction in response to a first operation of a game in the terminal; the method comprises the steps of sending a first control instruction to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction; and acquiring the coded data and the second control instruction, and determining a target display picture of the game according to the coded data and the second control instruction. The application also discloses a game operation control device, electronic equipment and a computer storage medium. According to the method and the device, the cloud server can determine the coded data corresponding to at least two operations at the same time, when a user performs actual game operations, the user does not need to send corresponding control instructions to the cloud server for each game operation, and the second control instructions and the coded data can be obtained directly through prediction, so that the display of operation pictures can be performed, and the delay of the game operations is greatly reduced.

Description

Game operation control method, game operation control device, electronic equipment and computer storage medium
Technical Field
The application relates to the technical field of cloud computing, in particular to a game operation control method, a game operation control device, electronic equipment and a computer storage medium.
Background
Cloud gaming is a game style based on cloud computing. According to the current cloud game operation method, after the cloud game server receives the command of the local terminal, the virtual roles in the game can be controlled only by responding to the command, so that the response speed is low.
Currently, when the delay of a user input event in a cloud game is reduced, a mode of modifying a hardware terminal connection is generally adopted, but the implementation cost is high, and the problem of high delay duration exists.
Disclosure of Invention
The embodiment of the application provides a game operation control method, a game operation control device, electronic equipment and a computer storage medium, which can solve the technical problem of cloud game operation response delay.
The embodiment of the application provides a game operation control method, which is applied to a terminal and comprises the following steps:
Triggering a first control instruction in response to a first operation of a game in the terminal;
The first control instruction is sent to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
and acquiring the encoded data and the second control instruction, and determining a target display picture of the game according to the encoded data and the second control instruction.
Further, the determining, according to the encoded data and the second control instruction, the target display screen of the game includes:
Analyzing the encoded data to obtain a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
And determining a target display picture of the game according to the first operation image, the second operation image and the second control instruction.
Further, the determining, according to the first operation image, the second operation image and the second control instruction, the target display screen of the game includes:
displaying the first operation image on a display interface of the game, and determining whether a second operation on the game exists;
If the second control instruction exists, comparing the second control instruction with a third control instruction triggered by the second operation;
if the third control instruction is the same as the second control instruction, determining that the second operation image is a target display picture of the game;
And displaying the second operation image on a display interface of the game.
Further, after comparing the second control instruction with the third control instruction triggered by the second operation, the method further includes:
If the third control instruction is different from the second control instruction, the third control instruction is sent to the cloud server, so that the cloud server generates a third operation picture according to the third control instruction;
And determining the third operation screen as a target display screen of the game, and displaying the third operation screen in the game.
Correspondingly, the embodiment of the application also provides a game operation control method which is applied to the cloud server and comprises the following steps:
Acquiring a first control instruction triggered by a game in a terminal, and predicting the first control instruction according to a preset operation prediction model to obtain a second control instruction;
Generating a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
Encoding the first operation image and the second operation image to obtain encoded data, and sending the encoded data and the second control instruction to the terminal so that the terminal determines a target display picture of the game according to the encoded data and the second control instruction.
Further, the generating the first operation image corresponding to the first control instruction includes:
Analyzing a control object and a control action from the first control instruction;
And rendering and generating a first operation image corresponding to the first control instruction according to the control object and the control action.
Further, before predicting the first control instruction according to the preset operation prediction model to obtain the second control instruction, the method further includes:
Acquiring a history control instruction of the game;
Training a pre-constructed basic prediction model according to the historical control instruction to obtain the operation prediction model.
Accordingly, an embodiment of the present application provides a game operation control device including:
The triggering module is used for responding to a first operation of the game in the terminal and triggering a first control instruction;
The prediction module is used for sending the first control instruction to the cloud server so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
and the confirmation module is used for acquiring the encoded data and the second control instruction and determining a target display picture of the game according to the encoded data and the second control instruction.
In addition, the embodiment of the application also provides an electronic device, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for running the computer program in the memory to realize the game operation control method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any game operation control method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes any game operation control method provided by the embodiment of the application when being executed by a processor.
In the embodiment of the application, the first control instruction is triggered by responding to the first operation of the game in the terminal; then, a first control instruction is sent to the cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction, and the cloud server predicts the next control instruction of the first control instruction and generates encoded data corresponding to the predicted control instruction in advance; and then, acquiring the coded data and the second control instruction, and determining a target display picture of the game according to the coded data and the second control instruction, so that the coded data corresponding to at least two operations can be determined simultaneously through the cloud server, when a user operates in an actual game, the user does not need to send the corresponding control instruction to the cloud server for each game operation, the second control instruction and the coded data can be obtained directly through prediction, and the display of the operation picture can be performed, so that the delay of the game operation is greatly reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a game operation control method applied to a terminal provided by the application;
FIG. 2 is a flow chart of another embodiment of a game operation control method provided by the present application;
FIG. 3 is a schematic flow chart of a game operation control method applied to a cloud server;
FIG. 4 is a schematic diagram of a game operation control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a game operation control method, a game operation control device, electronic equipment and a computer readable storage medium. The game operation control device may be integrated in an electronic device, which may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Del ivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform.
The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
In addition, "plurality" in the embodiments of the present application means two or more. "first" and "second" and the like in the embodiments of the present application are used for distinguishing descriptions and are not to be construed as implying relative importance.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating a game operation control method according to an embodiment of the application. The game operation control method is applied to the terminal and can comprise the following steps:
S101, triggering a first control instruction in response to a first operation of a game in the terminal.
In this embodiment, the first operation is an operation triggered by the current user in the terminal game, for example, an operation triggered by an action in the user click operation control in the game triggers an operation for controlling a game character, or an operation for a switch or the like of a page in the game. The first control instruction is a control instruction corresponding to the first operation. For example, when the user clicks an operation control for the character to walk left in the game, the first operation is to walk left, and at this time, a first control instruction for controlling the character to walk left is triggered.
S102, sending the first control instruction to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction.
In this embodiment, the first control instruction is sent to the cloud server, and each operation in the game is implemented by the cloud server. When the cloud server acquires the first control instruction, a second control instruction and encoded data are generated according to the first control instruction prediction. Specifically, the cloud server predicts the first control instruction according to a preset operation prediction model to obtain a second control instruction. The operation prediction model is an artificial intelligent model which is trained in advance by control instructions, and the next control instruction of the first control instruction can be predicted by the operation prediction model, so that a second control instruction is obtained. Then, the cloud server generates a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction; and encoding the first operation image and the second operation image to obtain encoded data.
In addition, when the cloud server predicts according to the first control instruction, n control instructions after the first control instruction can be predicted, that is, a plurality of control instructions are predicted at the same time, and the number of the predicted control instructions is determined by the operation prediction model and the performance of the cloud server. For example, for a set of continuous attack actions or a set of continuous defending actions, the control instructions corresponding to the continuous attack actions or defending actions are predicted, and n control instructions corresponding to the continuous n actions after the current attack or defending actions are obtained. The n control instructions can be used as second control instructions, and when the target display picture is determined according to the second control instructions and the coding data, the second control instructions and the corresponding coding data are sequentially selected in sequence, and the corresponding target display picture is determined. For example, in a set of continuous attack actions, E, F, G, H is four continuous attack actions, and the action corresponding to the first control instruction is E, continuous prediction is performed according to the first control instruction corresponding to the E, so as to obtain control instructions corresponding to F, G, H, and the control instructions corresponding to F, G, H are all second control instructions.
S103, acquiring the encoded data and the second control instruction, and determining a target display picture of the game according to the encoded data and the second control instruction.
In this embodiment, the terminal obtains the encoded data and the second control instruction from the cloud server, where the encoded data and the second control instruction may be actively obtained by the terminal to the cloud server, or may be sent to the terminal by the cloud server after the second control instruction and the encoded data are generated. The target display screen may be a screen currently displayed by the terminal, or may be a display screen of a next control instruction corresponding to the current first control instruction. When the terminal acquires the coded data and the second control instruction, determining a target display picture of the game according to the coded data and the second control instruction.
The embodiment triggers a first control instruction by responding to a first operation of a game in the terminal; then, a first control instruction is sent to the cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction, and the cloud server predicts the next control instruction of the first control instruction and generates encoded data corresponding to the predicted control instruction in advance; and then, acquiring the coded data and the second control instruction, and determining a target display picture of the game according to the coded data and the second control instruction, so that the coded data corresponding to at least two operations can be determined simultaneously through the cloud server, when a user operates in an actual game, the user does not need to send the corresponding control instruction to the cloud server for each game operation, the second control instruction and the coded data can be obtained directly through prediction, and the display of the operation picture can be performed, so that the delay of the game operation is greatly reduced.
As shown in fig. 2, fig. 2 is a flowchart of another embodiment of the game operation control method provided by the present application. In some embodiments of the present application, the determining the target display of the game according to the encoded data and the second control instruction includes:
S201, analyzing the encoded data to obtain a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
S202, determining a target display picture of the game according to the first operation image, the second operation image and the second control instruction.
In this embodiment, there may be a plurality of first operation images and second operation images, so when the first operation images and the second operation images are obtained by parsing, the first operation images may also refer to video streams generated by the first operation images corresponding to the first control instructions; the second operation image may also refer to a video stream generated by a second operation image corresponding to the second control instruction.
The determining, according to the first operation image, the second operation image and the second control instruction, a target display screen of the game includes:
displaying the first operation image on a display interface of the game, and determining whether a second operation on the game exists;
If the second control instruction exists, comparing the second control instruction with a third control instruction triggered by the second operation;
if the third control instruction is the same as the second control instruction, determining that the second operation image is a target display picture of the game;
And displaying the second operation image on a display interface of the game.
In this embodiment, when the terminal acquires the first operation image or the video stream corresponding to the first operation image, the first operation image or the video stream corresponding to the first operation image is displayed on the display interface of the game, and whether there is a second operation on the game is determined. Wherein the second operation is an operation triggered after the first operation. And if the second operation exists, comparing the second control instruction with a third control instruction triggered by the second operation, and if the third control instruction is the same as the second control instruction, indicating that the second control instruction is correctly predicted by the cloud server, and determining a second operation image as a target display picture of the game.
According to the method, whether the cloud server predicts the second operation instruction after the first operation instruction correctly or not is judged, the first operation image is displayed, then whether the second operation on the game exists or not is determined in the process of displaying the first operation image, if yes, the second control instruction is compared with the third control instruction triggered by the second operation, if the third control instruction is identical with the second control instruction, the second operation image is determined to be a target display picture, therefore game operation delay is reduced, the terminal does not need to send the third control instruction corresponding to the second operation to the cloud server again, the operation image corresponding to the second operation can be directly obtained, and quick response to the second operation is achieved.
In some embodiments of the present application, after comparing the second control instruction with the third control instruction triggered by the second operation, the method further includes:
If the third control instruction is different from the second control instruction, the third control instruction is sent to the cloud server, so that the cloud server generates a third operation picture according to the third control instruction;
And determining the third operation screen as a target display screen of the game, and displaying the third operation screen in the game.
In this embodiment, if the third control instruction and the second control instruction are different, it indicates that the predicted instruction has an error, and the third control instruction is sent to the cloud server, and the cloud server generates a third operation screen according to the third control instruction. Specifically, when the cloud server acquires the third control instruction, the third control instruction is analyzed to obtain a control object and a control action in the third control instruction. And generating a third operation picture corresponding to the third control instruction according to the control object and the control action in the third control instruction, and determining the third operation picture as a target display picture of the game.
Further, in order to ensure the continuity of the execution actions in the game and further reduce the operation delay of the multiple continuous control actions, when the third control instruction is different from the second control instruction, the third control instruction is used as a first control instruction, and the first control instruction is returned to be executed and sent to the cloud server, so that the cloud server predicts and generates the second control instruction and the coded data according to the first control instruction; and then, the terminal acquires the coded data and the second control instruction, and determines a target display picture of the game according to the coded data and the second control instruction. Therefore, when the game is running, the next control action can be always predicted according to the current control action, and the operation delay of multiple continuous control actions can be reduced.
According to the embodiment, when the third control instruction and the second control instruction are different, the third control instruction is sent to the cloud server, so that the cloud server can generate a third operation picture according to the third control instruction, and therefore even if the prediction is wrong, the corresponding operation picture can be generated according to the correct control instruction, and the display error of game operation is avoided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a game operation control method according to an embodiment of the application. The game operation control method is applied to a cloud server and can comprise the following steps:
S301, acquiring a first control instruction triggered by a game in a terminal, and predicting the first control instruction according to a preset operation prediction model to obtain a second control instruction;
S302, generating a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
S303, encoding the first operation image and the second operation image to obtain encoded data, and sending the encoded data and the second control instruction to the terminal so that the terminal determines a target display picture of the game according to the encoded data and the second control instruction.
In this embodiment, clicking the operation control in the game interface by the user triggers the first control instruction. The cloud server acquires the first control instruction, predicts the first control instruction according to a preset operation prediction model, and acquires a second control instruction. The second control instruction is a control instruction of the next control action corresponding to the control action in the first control instruction. For example, the control action in the first control instruction is a sitting action, and after the sitting action is executed, the standing action is executed, and the control instruction corresponding to the standing action is the second control instruction. Inputting a first control instruction to a preset operation prediction model, such as a Markov prediction model, and predicting the first control instruction according to the operation prediction model to obtain a second control instruction corresponding to the next control action of the control actions in the first control instruction. Analyzing the first control instruction and the second control instruction to obtain control actions and control objects in the control instructions, and rendering the control actions and the control objects to obtain a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction.
And then, encoding the first operation image and the second operation image to obtain encoded data. Specifically, the first operation image is encoded to obtain first video stream data corresponding to the first operation instruction, and the second operation image is encoded to obtain second video stream data corresponding to the second operation instruction. The first video stream data and the second video stream data are all encoded data, and the first video stream data and the second video stream data can be packed into one encoded data packet to be sent to the terminal, or the first video stream data and the second video stream data can be respectively sent to the terminal. And sending the coded data and the second control instruction to the terminal, and determining a target display interface of the game by the terminal according to the received coded data and the second control instruction.
According to the method, the first control instruction triggered by the game in the terminal is obtained, the first control instruction is predicted according to the preset operation prediction model, the second control instruction is obtained, and accurate prediction of the control instruction executed next to the first control instruction is achieved; and then, a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction are generated, the first operation image and the second operation image are encoded to obtain encoded data, the encoded data and the second control instruction are sent to the terminal, so that the terminal determines a target display picture of the game according to the encoded data and the second control instruction, the cloud server can accurately predict the control instruction in the game, and when the second control instruction is triggered, the terminal can directly generate the display picture according to the received encoded data corresponding to the second control instruction without sending a request to the cloud server, thereby reducing the game operation delay and improving the game experience of a user.
In some embodiments of the present application, the generating the first operation image corresponding to the first control instruction includes:
Analyzing a control object and a control action from the first control instruction;
And rendering and generating a first operation image corresponding to the first control instruction according to the control object and the control action.
In this embodiment, the control object is an operation object selected by a user in the game, such as a virtual character in the game, and the control action is an action performed by the control object target. When the cloud server acquires the first control instruction, a control object and a control action are analyzed from the first control instruction. Rendering is carried out according to the control object and the control action, and a first operation image corresponding to the first control instruction is obtained. The number of the first operation images can be multiple, and the number of the first operation images is determined by the control action.
According to the embodiment, the control object and the control action are analyzed from the first control instruction, and then the first operation image corresponding to the first control instruction is rendered and generated according to the control object and the control action, so that the accurate and rapid generation of the operation image corresponding to the first control instruction is realized.
In some embodiments of the present application, before predicting the first control instruction according to the preset operation prediction model to obtain the second control instruction, the method further includes:
Acquiring a history control instruction of the game;
Training a pre-constructed basic prediction model according to the historical control instruction to obtain the operation prediction model.
In this embodiment, the history control instruction is a control instruction triggered by the game history, and the history control instruction is stored in the cloud server according to the order in which the history control instruction is triggered in the game. Training the pre-constructed basic prediction model according to the historical control instruction to obtain an operation prediction model. The basic prediction model may also be a neural network model, through which state prediction may be performed. And constructing a training data set according to the acquired historical control instruction, inputting the training data set into a basic prediction model, training the basic prediction model, and determining the trained basic prediction model as an operation prediction model until the prediction accuracy of the trained basic prediction model reaches a preset accuracy threshold. In addition, a common standard control instruction can be obtained, and the basic prediction model is trained according to the standard control instruction and the historical control instruction to obtain the operation prediction model.
In another embodiment, after the history control instruction is obtained, the history control instruction may be further screened according to the operation habit of the user to obtain a candidate control instruction. For example, for the history control instruction a, the number of times the user selects to trigger the history control instruction B is 5 times after the history control instruction a, and the number of times the user selects to trigger the history control instruction D is 10 times after the history control instruction a, then the history control instruction a and the history control instruction D are selected as candidate control instructions. And training the basic prediction model according to the candidate control instruction to obtain an operation prediction model, so that the predicted control instruction is more in line with the habit of a user, and the prediction accuracy is further improved.
According to the method and the device, the history control instruction of the game is obtained, the pre-constructed basic prediction model is trained according to the history control instruction, and the operation prediction model is obtained, so that the control instruction of the game can be accurately predicted through the operation prediction model, and the accuracy of the game operation prediction is improved.
In order to facilitate better implementation of the game operation control method provided by the embodiment of the application, the embodiment of the application also provides a device based on the game operation control method. Where the meaning of nouns is the same as in the above-described game operation control method, specific implementation details may be referred to in the description of the method embodiments.
For example, as shown in fig. 4, the game operation control device may be applied to a terminal including: a triggering module 401, a predicting module 402 and a confirming module 403. Wherein,
A triggering module 401, configured to trigger a first control instruction in response to a first operation on a game in the terminal;
The prediction module 402 is configured to send the first control instruction to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
And the confirmation module 403 is configured to acquire the encoded data and the second control instruction, and determine a target display screen of the game according to the encoded data and the second control instruction.
In an embodiment of the present application, the confirmation module 403 includes:
The analysis unit is used for analyzing the coded data to obtain a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
And the confirmation unit is used for determining a target display picture of the game according to the first operation image, the second operation image and the second control instruction.
In an embodiment of the present application, the confirmation unit includes:
A first display unit configured to display the first operation image on a display interface of the game, and determine whether there is a second operation on the game;
the comparison unit is used for comparing the second control instruction with a third control instruction triggered by the second operation if the second control instruction exists;
A confirmation subunit, configured to determine, if the third control instruction is the same as the second control instruction, that the second operation image is a target display screen of the game;
and the second display unit is used for displaying the second operation image on a display interface of the game.
In an embodiment of the present application, the confirmation unit further includes:
the generation unit is used for sending the third control instruction to the cloud server if the third control instruction is different from the second control instruction, so that the cloud server generates a third operation picture according to the third control instruction;
And a third display unit configured to determine the third operation screen as a target display screen of the game in which the third operation screen is displayed.
The embodiment of the application also provides a game operation control device which can be applied to a cloud server, comprising:
The acquisition module is used for acquiring a first control instruction triggered by the game in the terminal, and predicting the first control instruction according to a preset operation prediction model to obtain a second control instruction;
the generation module is used for generating a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
The encoding module is used for encoding the first operation image and the second operation image to obtain encoded data, and sending the encoded data and the second control instruction to the terminal so that the terminal can determine a target display picture of the game according to the encoded data and the second control instruction.
In an embodiment of the present application, the generating module includes:
The analysis unit is used for analyzing a control object and a control action from the first control instruction;
And the rendering unit is used for rendering and generating a first operation image corresponding to the first control instruction according to the control object and the control action.
In an embodiment of the present application, the game operation control device further includes:
A history acquisition unit configured to acquire a history control instruction of the game;
And the training unit is used for training the pre-constructed basic prediction model according to the historical control instruction to obtain the operation prediction model.
According to the game operation control device provided by the application, the cloud server can simultaneously determine the coding data corresponding to at least two operations, when a user performs actual game operations, the user does not need to send corresponding control instructions to the cloud server for each game operation, and the second control instructions and the coding data are obtained directly through prediction, so that the display of an operation picture can be performed, and the delay of the game operation is greatly reduced.
In the specific implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or a plurality of entities, and the specific implementation and the corresponding beneficial effects of each module may be referred to the foregoing method embodiments, which are not described herein again.
The embodiment of the application also provides an electronic device, which may be a server or a terminal, as shown in fig. 5, and shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
The electronic device may include one or more processing cores 'processors 601, one or more computer-readable storage media's memory 602, power supply 603, and input unit 604, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 601 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing computer programs and/or modules stored in the memory 602, and invoking data stored in the memory 602. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store computer programs and modules, and the processor 601 may execute various functional applications and data processing by executing the computer programs and modules stored in the memory 602. The memory 602 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 601.
The electronic device further comprises a power supply 603 for supplying power to the various components, preferably the power supply 603 may be logically connected to the processor 601 by a power management system, so that functions of managing charging, discharging, power consumption management and the like are achieved by the power management system. The power supply 603 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 604, which input unit 604 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 601 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 executes the computer programs stored in the memory 602, so as to implement various functions, such as:
Triggering a first control instruction in response to a first operation of a game in the terminal;
The first control instruction is sent to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
and acquiring the encoded data and the second control instruction, and determining a target display picture of the game according to the encoded data and the second control instruction.
According to the electronic equipment provided by the embodiment of the application, the cloud server can simultaneously determine the coded data corresponding to at least two operations, when a user is in actual game operation, the user does not need to send the corresponding control instruction to the cloud server for each game operation, and the second control instruction and the coded data are obtained directly through prediction, so that the display of an operation picture can be performed, and the delay of the game operation is greatly reduced.
The specific embodiments and the corresponding beneficial effects of each operation described above can be referred to the above detailed description of the game operation control method, and will not be described herein.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium in which a computer program is stored, the computer program being capable of being loaded by a processor to perform steps in any one of the game operation control methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
Triggering a first control instruction in response to a first operation of a game in the terminal;
The first control instruction is sent to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
and acquiring the encoded data and the second control instruction, and determining a target display picture of the game according to the encoded data and the second control instruction.
The computer readable storage medium provided by the embodiment of the application can simultaneously determine the coding data corresponding to at least two operations through the cloud server, and when a user is in actual game operation, the user can display an operation picture by directly obtaining the second control instruction and the coding data through prediction without sending the corresponding control instruction to the cloud server for each game operation, thereby greatly reducing the delay of the game operation.
The specific embodiments and the corresponding beneficial effects of each of the above operations can be found in the foregoing embodiments, and are not described herein again.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium may execute the steps in any game operation control method provided by the embodiments of the present application, the beneficial effects that any game operation control method provided by the embodiments of the present application can achieve are detailed in the previous embodiments and are not described herein.
Wherein according to an aspect of the application, a computer program product or a computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the above-described game operation control method.
The above description of the game operation control method, the device, the electronic equipment and the computer readable storage medium provided by the embodiment of the application applies specific examples to describe the principle and the implementation of the application, and the description of the above embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (10)

1. A game operation control method, characterized by being applied to a terminal, comprising:
Triggering a first control instruction in response to a first operation of a game in the terminal;
The first control instruction is sent to a cloud server, so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
and acquiring the encoded data and the second control instruction, and determining a target display picture of the game according to the encoded data and the second control instruction.
2. The game operation control method according to claim 1, wherein the determining the target display screen of the game based on the encoded data and the second control instruction includes:
Analyzing the encoded data to obtain a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
And determining a target display picture of the game according to the first operation image, the second operation image and the second control instruction.
3. The game operation control method according to claim 2, wherein the determining the target display screen of the game according to the first operation image, the second operation image, and the second control instruction includes:
displaying the first operation image on a display interface of the game, and determining whether a second operation on the game exists;
If the second control instruction exists, comparing the second control instruction with a third control instruction triggered by the second operation;
if the third control instruction is the same as the second control instruction, determining that the second operation image is a target display picture of the game;
And displaying the second operation image on a display interface of the game.
4. The game operation control method according to claim 3, characterized by further comprising, after the comparing the second control instruction and the third control instruction triggered by the second operation:
If the third control instruction is different from the second control instruction, the third control instruction is sent to the cloud server, so that the cloud server generates a third operation picture according to the third control instruction;
And determining the third operation screen as a target display screen of the game, and displaying the third operation screen in the game.
5. The game operation control method is characterized by being applied to a cloud server and comprising the following steps of:
Acquiring a first control instruction triggered by a game in a terminal, and predicting the first control instruction according to a preset operation prediction model to obtain a second control instruction;
Generating a first operation image corresponding to the first control instruction and a second operation image corresponding to the second control instruction;
Encoding the first operation image and the second operation image to obtain encoded data, and sending the encoded data and the second control instruction to the terminal so that the terminal determines a target display picture of the game according to the encoded data and the second control instruction.
6. The game operation control method according to claim 5, wherein the generating the first operation image corresponding to the first control instruction includes:
Analyzing a control object and a control action from the first control instruction;
And rendering and generating a first operation image corresponding to the first control instruction according to the control object and the control action.
7. The game operation control method according to claim 5, further comprising, before predicting the first control command according to a preset operation prediction model to obtain a second control command:
Acquiring a history control instruction of the game;
Training a pre-constructed basic prediction model according to the historical control instruction to obtain the operation prediction model.
8. A game operation control device, characterized by comprising:
The triggering module is used for responding to a first operation of the game in the terminal and triggering a first control instruction;
The prediction module is used for sending the first control instruction to the cloud server so that the cloud server predicts and generates a second control instruction and encoded data according to the first control instruction;
and the confirmation module is used for acquiring the encoded data and the second control instruction and determining a target display picture of the game according to the encoded data and the second control instruction.
9. An electronic device comprising a processor and a memory, the memory storing a computer program, the processor being configured to execute the computer program in the memory to perform the game operation control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program adapted to be loaded by a processor to execute the game operation control method according to any one of claims 1 to 7.
CN202410211553.5A 2024-02-26 2024-02-26 Game operation control method, game operation control device, electronic equipment and computer storage medium Pending CN118045338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410211553.5A CN118045338A (en) 2024-02-26 2024-02-26 Game operation control method, game operation control device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410211553.5A CN118045338A (en) 2024-02-26 2024-02-26 Game operation control method, game operation control device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN118045338A true CN118045338A (en) 2024-05-17

Family

ID=91049856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410211553.5A Pending CN118045338A (en) 2024-02-26 2024-02-26 Game operation control method, game operation control device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN118045338A (en)

Similar Documents

Publication Publication Date Title
CN109710805B (en) Video interaction method and device based on interest cluster
US11968427B2 (en) Video message generation method and apparatus, electronic device, and storage medium
CN111143039B (en) Scheduling method and device of virtual machine and computer storage medium
CN114972594B (en) Data processing method, device, equipment and medium for meta universe
CN112416599A (en) Resource scheduling method, device, equipment and computer readable storage medium
CN111880877B (en) Animation switching method, device, equipment and storage medium
CN113230660B (en) Application program updating method, device and equipment
CN112511849A (en) Game display method, device, equipment, system and storage medium
CN115205925A (en) Expression coefficient determining method and device, electronic equipment and storage medium
CN113535541A (en) Test method, test device, storage medium and computer equipment
CN113655895B (en) Information recommendation method and device applied to input method and electronic equipment
CN114681915A (en) Interactive content display method, interactive content providing device, interactive content equipment and storage medium
CN111035919A (en) Operation mode determination method, device, equipment and storage medium
CN114885199B (en) Real-time interaction method, device, electronic equipment, storage medium and system
CN118045338A (en) Game operation control method, game operation control device, electronic equipment and computer storage medium
US20210263625A1 (en) User interface interaction method and system
CN116059631A (en) Object rendering method, device, electronic equipment and computer readable storage medium
CN111921204B (en) Control method, device, equipment and storage medium of cloud application program
CN114490432A (en) Memory processing method and device, electronic equipment and computer readable storage medium
CN114816597A (en) Content display method and device and computer readable storage medium
CN113766257B (en) Live broadcast data processing method and device
CN117406869A (en) Control triggering method and device, electronic equipment and computer storage medium
CN117407080A (en) Application program starting method and device, electronic equipment and computer storage medium
CN115391653A (en) Notification message management method and device
CN117407074A (en) Service execution method, device, electronic equipment and computer storage 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