Operation control method, device and equipment and computer readable storage medium

By introducing a backtracking function in multiplayer online tactical competitive games, the game state of virtual objects is allowed to be traced back to the historical state, solving the problem of insufficient flexibility in operation control and improving the player experience.

CN119015693APending Publication Date: 2024-11-26TENCENT TECH (CHENGDU) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310603344.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In multiplayer online tactical competitive games, the flexibility and diversity of operation controls are insufficient, resulting in players lacking the opportunity to start over when they are accidentally hit or triggered incorrect operations, affecting the game experience.

Method used

Provides an operation control method, through the backtracking function, the game state of the virtual object is traced back to the historical state in the virtual environment, allowing the player to restart the game. The technical solution to realize this function includes storing the frame number of game screens in the terminal device and The corresponding status collection and the corresponding game screen is obtained and displayed during backtracking.

Benefits of technology

It improves players' flexibility in game operation control, provides opportunities to start over, and enhances the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119015693A_ABST
    Figure CN119015693A_ABST
Patent Text Reader

Abstract

The invention discloses an operation control method, device and equipment and a computer readable storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying a first game picture, wherein the first game picture comprises a virtual object located in a virtual environment; controlling the virtual object to play a game in the virtual environment; in response to a trigger operation of a backtracking function, displaying a second game picture, the second game picture being a picture obtained after the game state of the virtual object in the virtual environment is backtracked to a historical state by controlling a game process; and controlling the virtual object to start from the historical state, and replaying the game. According to the method, the game operation control modes are more diversified, and the operation control flexibility is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an operation control method, device, equipment, and computer-readable storage medium. Background Art

[0002] With the continuous development of computer technology, electronic games have become a common form of entertainment in people's daily lives, among which Multiplayer Online Battle Arena Games (MOBA) is one of them.

[0003] In multiplayer online tactical competitive games, the flexibility and diversity of operation control have become important factors to attract players. Therefore, it is necessary to provide an operation control method to improve the flexibility and diversity of operation control. Summary of the invention

[0004] The embodiments of the present application provide an operation control method, device, equipment and computer readable storage medium. The technical solution is as follows:

[0005] On the one hand, an embodiment of the present application provides an operation control method, the method comprising:

[0006] displaying a first game screen, wherein the first game screen includes a virtual object in a virtual environment;

[0007] Controlling the virtual object to play a game in the virtual environment;

[0008] In response to a triggering operation of the backtracking function, a second game screen is displayed, where the second game screen is a screen obtained by controlling the game process to make the game state of the virtual object in the virtual environment backtrack to a historical state;

[0009] The virtual object is controlled to start from the historical state and restart the game.

[0010] On the other hand, an embodiment of the present application provides an operation control device, the device comprising:

[0011] A display module, configured to display a first game screen, wherein the first game screen includes a virtual object in a virtual environment;

[0012] A control module, used for controlling the virtual object to play a game in the virtual environment;

[0013] The display module is further configured to display a second game screen in response to a triggering operation of the backtracking function, wherein the second game screen is a screen obtained by controlling the game process to make the game state of the virtual object in the virtual environment backtrack to a historical state;

[0014] The control module is further used to control the virtual object to restart the game from the historical state.

[0015] In a possible implementation manner, the device further includes:

[0016] The acquisition module is used to respond to the triggering operation of the retracing function, determine a reference value according to the frame rate and reference duration of the game, the reference duration is the duration corresponding to the retracing function, and the reference value is the number of frames of the screen that needs to be retraced; based on the reference value being less than a first value, determine a second value according to the first value and the reference value, the first value is the number of frames corresponding to the first game screen, and the second value is the number of frames corresponding to the second game screen to be retraced; obtain the second game screen according to the second value;

[0017] The display module is used to display the second game screen.

[0018] In a possible implementation, the acquisition module is used to acquire the object state of the virtual object included in the second game screen according to the second numerical value; and acquire the second game screen according to the object state of the virtual object included in the second game screen.

[0019] In a possible implementation, the terminal device stores a first state set corresponding to each frame of the game screen from the first frame of the game screen to the first numerical frame of the game screen, as well as a correspondence between the first state set corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen, and the first state set corresponding to any frame of the game screen includes the object state of the virtual object included in the any frame of the game screen;

[0020] The acquisition module is used to convert the first frame game screen into the first numerical frame game screen, and use the object state of the virtual object included in the first state set corresponding to the game screen whose corresponding frame number is the second numerical value as the object state of the virtual object included in the second game screen.

[0021] In a possible implementation manner, the device further includes:

[0022] The deletion module is used to delete the first state set corresponding to each frame game screen from the second numerical frame game screen to the first numerical frame game screen.

[0023] In a possible implementation, the terminal device stores a second state set corresponding to a first frame of the game screen of the game, and instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen, the instructions corresponding to any frame of the game screen are used to indicate instructions required from displaying a frame of the game screen before displaying any frame of the game screen to displaying any frame of the game screen, and the second state set includes the object state of the virtual object included in the first frame of the game screen;

[0024] The acquisition module is used to determine, according to the second numerical value, the instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen; and to acquire the object state of the virtual object included in the second game screen according to the second state set and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the second numerical frame of the game screen.

[0025] In one possible implementation, the acquisition module is used to acquire the object state of the virtual object included in the second frame of the game screen according to the object state of the virtual object included in the first frame of the game screen and the instructions corresponding to the second frame of the game screen; acquire the object state of the virtual object included in the third frame of the game screen according to the object state of the virtual object included in the second frame of the game screen and the instructions corresponding to the third frame of the game screen; and so on, acquire the object state of the virtual object included in the second numerical frame of the game screen according to the object state of the virtual object included in the previous frame of the second numerical frame of the game screen and the instructions corresponding to the second numerical frame of the game screen, the second numerical frame of the game screen being the second game screen.

[0026] In a possible implementation, the deleting module is further used to delete instructions corresponding to each frame of game screen from the second numerical frame game screen to the first numerical frame game screen.

[0027] In a possible implementation, a terminal device stores third state sets corresponding to multiple frames of reference game screens, and a correspondence between the third state sets corresponding to each frame of the reference game screen and the frame number corresponding to each frame of the reference game screen, wherein the reference game screen is a game screen whose frame number meets the frame number requirement, and the third state set corresponding to any reference game screen includes the object state of the virtual object included in any reference game screen;

[0028] The acquisition module is used to use the object state of the virtual object included in the third state set corresponding to the reference game screen with the frame number corresponding to the second value in the multiple frames of reference game screen as the object state of the virtual object included in the second game screen based on the second value satisfying the frame number requirement.

[0029] In a possible implementation, the deletion module is further used to delete a third state set corresponding to a reference game screen whose corresponding frame number is not less than the second value.

[0030] In a possible implementation, a terminal device stores third state sets corresponding to multiple frames of reference game screens, a correspondence between the third state sets corresponding to each frame of reference game screens and the frame number corresponding to each frame of reference game screens, and instructions corresponding to each frame of game screens between two adjacent frames of reference game screens, wherein the reference game screen is a game screen whose frame number meets the frame number requirement, and the instructions corresponding to any game screen between two adjacent frames of reference game screens are used to indicate instructions required from displaying a previous frame of game screen of any of the game screens to displaying any of the game screens, and the third state set corresponding to any of the reference game screens includes the object state of a virtual object included in any of the reference game screens;

[0031] The acquisition module is used to determine, based on the fact that the second numerical value does not meet the frame number requirement, a third state set corresponding to the third game screen in the third state set corresponding to the multiple-frame reference game screens according to the second numerical value, the third game screen being the reference game screen having the largest frame number among the reference game screens whose corresponding frame numbers are less than the second numerical value; determine, among the instructions corresponding to each frame of game screens between the two adjacent frames of reference game screens, instructions corresponding to each frame of game screens between the third game screen and the second numerical frame of game screen and instructions corresponding to the second numerical frame of game screen; and acquire the object state of the virtual object included in the second game screen according to the third state set corresponding to the third game screen, instructions corresponding to each frame of game screens between the third game screen and the second numerical frame of game screen, and instructions corresponding to the second numerical frame of game screen.

[0032] In one possible implementation, the acquisition module is used to acquire the object state of the virtual object included in the fourth game screen according to the object state of the virtual object included in the third game screen and the instructions corresponding to each frame game screen between the third game screen and the second numerical frame game screen, and the fourth game screen is the previous frame game screen of the second numerical frame game screen; and to acquire the object state of the virtual object included in the second numerical frame game screen according to the object state of the virtual object included in the fourth game screen and the instructions corresponding to the second numerical frame game screen, and the second numerical frame game screen is the second game screen.

[0033] In a possible implementation, the deletion module is further used to delete the third state set corresponding to the reference game screen whose corresponding frame number is greater than the second value, and to delete the instructions corresponding to the game screen whose corresponding frame number is not less than the second value.

[0034] In a possible implementation, the display module is further used to display first prompt information in the first game screen based on the reference value being not less than the first value, wherein the first prompt information is used to indicate that backtracking is not possible.

[0035] In a possible implementation, the display module is further used to display second prompt information in the first game screen based on the reference value being less than the first value, wherein the second prompt information is used to indicate that the second game screen is being acquired.

[0036] In a possible implementation, the first game screen also includes a backtracking control;

[0037] The device also includes:

[0038] A determination module is used to determine triggering the backtracking function in response to a triggering operation on the backtracking control.

[0039] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements any of the above-mentioned operation control methods.

[0040] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor so that a computer implements any of the above-mentioned operation control methods.

[0041] On the other hand, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor so that the computer implements any of the above-mentioned operation control methods.

[0042] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0043] The technical solution provided in the embodiment of the present application displays a second game screen when the backtracking function is triggered. The game state of the virtual object in the virtual environment included in the second game screen is a historical state, so as to control the virtual object to restart the game from the historical state. This method allows the player to use the backtracking function to go back to the second game screen before the first game screen when the player is accidentally hit in the first game screen, or an incorrect operation is triggered in the first game screen, and continue the game with the object state in the second game screen, so that the player has a chance to start over, making the player's operation control method of the game more diversified, thereby improving the player's flexibility in operating the game, and to a certain extent, it can also improve the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 It is a schematic diagram of an implementation environment of an operation control method provided in an embodiment of the present application;

[0046] Figure 2 is a flow chart of an operation control method provided by an embodiment of the present application;

[0047] Figure 3 This is a display diagram of a start page provided in an embodiment of the present application;

[0048] Figure 4 is a display schematic diagram of a first game screen provided by an embodiment of the present application;

[0049] Figure 5 is another schematic diagram of displaying a first game screen provided in an embodiment of the present application;

[0050] Figure 6 is a schematic diagram of another display of a first game screen provided in an embodiment of the present application;

[0051] Figure 7is a schematic diagram of another display of a first game screen provided in an embodiment of the present application;

[0052] Figure 8 is a schematic diagram of a process of acquiring the object state of a virtual object included in a second game screen provided by an embodiment of the present application;

[0053] Fig. 9 is a schematic diagram of another process of acquiring the object state of a virtual object included in a second game screen provided by an embodiment of the present application;

[0054] Fig.10 is a schematic diagram of another process of acquiring the object state of a virtual object included in a second game screen provided by an embodiment of the present application;

[0055] Fig.11 is a schematic diagram of displaying a second game screen provided in an embodiment of the present application;

[0056] Fig.12 is a flow chart of an operation control method provided by an embodiment of the present application;

[0057] Fig.13 is a structural schematic diagram of an operation control device provided in an embodiment of the present application;

[0058] Fig.14 It is a structural diagram of a terminal device provided in an embodiment of the present application;

[0059] Fig.15 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0061] Definitions of abbreviations or key terms involved in the embodiments of the present application.

[0062] Virtual object: refers to an active object in a virtual scene, which can be a virtual person, virtual animal, cartoon character, etc. The target object can manipulate the virtual object through external components or by clicking on the touch screen. Each virtual object has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene. For example, when the virtual scene is a three-dimensional virtual scene, the virtual object is a three-dimensional model created based on animation skeleton technology.

[0063] Figure 1 is a schematic diagram of an implementation environment of an operation control method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a terminal device 101 and a server 102 .

[0064] An application program capable of providing a game screen is installed and running in the terminal device 101. The terminal device 101 is used to execute the operation control method provided in the embodiment of the present application.

[0065] The embodiments of the present application do not limit the types of applications that can provide game screens. Exemplarily, applications that can provide game screens refer to game applications. For example, third-person shooting (TPS) games, first-person shooting (FPS) games, multiplayer online tactical competitive (MOBA) games, multiplayer shooting survival games, massively multiplayer online role-playing games (MMO) games, etc. In an exemplary embodiment, the game application involved in the embodiments of the present application is a game application based on frame synchronization, that is, the operation control method provided in the embodiments of the present application can be applied to game applications based on frame synchronization.

[0066] Of course, in addition to game applications, applications that can provide game images may also be other types of applications, such as virtual reality (VR) applications, augmented reality (AR) applications, three-dimensional map applications, scene simulation applications, social applications, interactive entertainment applications, etc.

[0067] The server 102 is used to provide background services for the application program installed on the terminal device 101 and capable of providing game screens. In a possible implementation, the server 102 undertakes the main computing work, and the terminal device 101 undertakes the secondary computing work. Alternatively, the server 102 undertakes the secondary computing work, and the terminal device 101 undertakes the main computing work. Alternatively, the terminal device 101 and the server 102 use a distributed computing architecture for collaborative computing.

[0068] The terminal device 101 is any electronic device product that can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device, for example, PC (Personal Computer), mobile phone, smart phone, PDA (Personal Digital Assistant), wearable device, PPC (Pocket PC), tablet computer, smart car machine, smart TV, smart speaker, etc. The server 102 can be a server, a server cluster composed of multiple server units, or a cloud computing service center. The terminal device 101 establishes a communication connection with the server 102 through a wired network or a wireless network.

[0069] Those skilled in the art should understand that the above-mentioned terminal device 101 and server 102 are only for illustration, and other existing or future terminal devices or servers, if applicable to the present application, should also be included in the scope of protection of the present application and are included here by reference.

[0070] The present application embodiment provides an operation control method, which can be applied to the above Figure 1 The implementation environment shown is Figure 2 As an example, the flowchart of an operation control method provided in the embodiment of the present application is shown in FIG. Figure 1 The terminal device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 204.

[0071] In step 201, a first game screen is displayed, where the first game screen includes a virtual object in a virtual environment.

[0072] In an exemplary embodiment of the present application, a game application is installed and running in a terminal device. The game application may refer to an application that needs to be downloaded, or may refer to an embedded program that relies on a host program to run, such as a mini-program. The present embodiment of the application does not limit this. Among them, an embedded program is an application that is developed based on a programming language and relies on a host program to run. An embedded program does not need to be downloaded and installed, and only needs to be dynamically loaded in the host program to run. Users can find the embedded program they need by searching, scanning, etc., click to apply, and it will not occupy the memory of the terminal device after closing it after use, which is very convenient. The game application may be a first-person shooter application, a third-person shooter application, a massively multiplayer online role-playing application, or other types of applications. The present embodiment of the application does not limit the type of the game application.

[0073] The relevant information of the game application is displayed in the display interface of the terminal device. The relevant information of the game application can be the icon of the game application, the name of the game application, or other information that can identify the game application. The embodiment of the present application does not limit this. When the user wants to start the game application, the user selects the relevant information of the game application. The terminal device receives the selection operation for the game related information and displays the start page. The start page displays the start control. Figure 3 3 is a schematic diagram of a display of a start page provided in an embodiment of the present application. A start control 301 is displayed on the start page.

[0074] When the user selects the start control, the terminal device receives the selection operation for the start control, starts a game, and displays a first game screen, which includes a virtual object in a virtual environment. Figure 4 This is a schematic diagram of a first game screen provided by an embodiment of the present application. The first game screen displays a virtual environment and virtual objects in the virtual environment.

[0075] In one possible implementation, the virtual object displayed in the first game screen may be a virtual object controlled by a user of the terminal device, or may be a virtual object controlled by other players. The other players may be members of the same team as the user, or members of a different team from the user. This embodiment of the present application does not limit this.

[0076] The user selecting the start control may mean that the user clicks the start control, or the user double-clicks the start control, or the user selects the start control in other ways, and the embodiments of the present application do not limit this. The user selecting the relevant information of the game application may mean that the user clicks the relevant information of the game application, or the user selects the relevant information of the application by voice, or other ways, and the embodiments of the present application do not limit the way of selecting the relevant information of the game application.

[0077] Optionally, other information may be displayed on the start page, for example, a virtual object controlled by the user may be displayed on the start page. Figure 3 302 is a virtual object controlled by the user.

[0078] In step 202, a virtual object is controlled to play a game in a virtual environment.

[0079] In a possible implementation, other controls are also displayed in the first game screen. For example, a launch control, a jump control, a crouch control, a squat control, and a direction control may also be displayed in the first game screen. The launch control is used to launch virtual resources through virtual props, the jump control is used to instruct the virtual object controlled by the object to jump, the crouch control is used to instruct the virtual object controlled by the object to crouch, the squat control is used to instruct the virtual object controlled by the object to squat, and the direction control is used to change the direction of travel of the virtual object controlled by the object. Figure 4 Control 401 is a launch control, control 402 is a jump control, control 403 is a lie-down control, control 404 is a crouch control, and control 405 is a direction control.

[0080] Optionally, the virtual object is controlled to play the game in the virtual environment through at least one of the launch control, the jump control, the lying control, the squat control and the direction control. Of course, other controls may also be displayed in the first game screen, which is not limited in the embodiment of the present application.

[0081] In step 203, in response to the triggering operation of the backtracking function, a second game screen is displayed, where the second game screen is a screen obtained by controlling the game process to make the game state of the virtual object in the virtual environment backtrack to the historical state.

[0082] Optionally, the backtracking function refers to a function of backtracking the game state of a virtual object in a virtual environment. The backtracking function can be triggered by a voice command. A backtracking control can also be displayed in the first game screen, such as Figure 4 The control 406 in the example is a backtracking control. In response to a trigger operation on the backtracking control, it is determined that the backtracking function is triggered. Alternatively, in response to a trigger operation on a volume up control of the terminal device, it is determined that the backtracking function is triggered, or in response to a trigger operation on a volume down control of the terminal device, it is determined that the backtracking function is triggered.

[0083] A first control may also be displayed in the first game screen, and the first control is used to hide the backtracking control. Figure 4 The control 407 in the figure is the first control. In response to the trigger operation for the first control, the backtracking control is canceled in the first game screen, and the second control is displayed in the first game screen, and the second control is used to display the backtracking control. Figure 5 is another schematic diagram of displaying a first game screen provided in an embodiment of the present application, Figure 5 The first game screen shown does not display the backtracking control, but displays the second control 501. In response to the trigger operation for the second control, the second control is cancelled in the first game screen, and the backtracking control is displayed in the first game screen.

[0084] The trigger operation for the first control may be a click operation for the first control, or other operations for the first control, which is not limited in the present embodiment. The trigger operation for the second control is similar to the trigger operation for the first control, and will not be described in detail here.

[0085] In a possible implementation, in response to the triggering operation of the backtracking function, the process of displaying the second game screen includes: in response to the triggering operation of the backtracking function, according to the frame rate and reference duration of the game, determining a reference value, based on the reference value being less than the first value, determining a second value according to the first value and the reference value, the first value being the number of frames corresponding to the first game screen, and the second value being the number of frames corresponding to the second game screen to be backtracked; according to the second value, acquiring the second game screen and displaying the second game screen. Among them, the reference duration is the duration corresponding to the backtracking function, and the reference value is the number of frames of the screen to be backtracked. The duration corresponding to the backtracking function is the duration set by the developer of the game, or the duration corresponding to the backtracking function is the duration set by the object participating in the game, and the embodiment of the present application does not limit this. Exemplarily, the duration corresponding to the backtracking function is 10 seconds, and the reference duration is 10 seconds. The frame rate of the game is the frequency at which a bitmap image in frames appears continuously on the display. The frame rate of the game can be the frame rate set by the developer of the game, or the frame rate set by the object participating in the game, and the embodiment of the present application does not limit this. For example, the frame rate of the game is 30 frames per second, that is, 30 frames of game screen are displayed in one second.

[0086] According to the frame rate and reference duration of the game, the process of determining the reference value includes: taking the product of the frame rate and the reference duration of the game as the reference value. For example, if the frame rate of the game is 30 frames per second and the reference duration is 10 seconds, the reference value is 30*10=300.

[0087] After determining the reference value, it is necessary to determine the magnitude relationship between the reference value and the first value. If the reference value is less than the first value, it means that backtracking can be performed; if the reference value is not less than the first value, it means that backtracking cannot be performed.

[0088] Based on the reference value being not less than the first value, a first prompt message is displayed in the first game screen, and the first prompt message is used to indicate that backtracking is not possible. The content of the first prompt message can be any content, and the embodiment of the present application does not limit this. For example, the content of the first prompt message is "The game duration is short, and backtracking is not possible for the time being~". Figure 6 is another schematic diagram of displaying the first game screen provided by an embodiment of the present application. Figure 6 The first game screen shown displays the first prompt information 601 .

[0089] Optionally, based on the reference value being less than the first value, a second prompt message is displayed in the first game screen, and the second prompt message is used to indicate that the second game screen is being acquired. The content of the second prompt message can be any content, and the embodiment of the present application does not limit this. For example, the content of the second prompt message is "Time is going back, please wait~". Figure 7 is another schematic diagram of displaying the first game screen provided by an embodiment of the present application. Figure 7 The first game screen shown has the second prompt information 701. After the second game screen is acquired, the second prompt information is canceled and the second game screen is displayed.

[0090] Based on the reference value being less than the first value, the process of determining the second value according to the first value and the reference value includes: taking the first value as the minuend, the reference value as the subtrahend, and taking the difference between the first value and the reference value as the second value. For example, if the first value is 452 and the reference value is 300, the second value is 152, that is, the second game screen is the 152th frame of the game.

[0091] In a possible implementation, the process of acquiring the second game screen according to the second numerical value includes: acquiring the object state of the virtual object included in the second game screen according to the second numerical value; acquiring the second game screen according to the object state of the virtual object included in the second game screen. Alternatively, the terminal device sends a screen acquisition request to the server, the screen acquisition request carries the second numerical value, and the screen acquisition request is used to acquire the second game screen; the server receives the screen acquisition request, parses the screen acquisition request to obtain the second numerical value, acquires the object state of the virtual object included in the second game screen according to the second numerical value, and acquires the second game screen according to the object state of the virtual object included in the second game screen; the server sends the second game screen to the terminal device so that the terminal device acquires the second game screen.

[0092] Among them, the terminal device obtains the object state of the virtual object included in the second game screen according to the second value in the following three implementation methods.

[0093] Implementation method 1: The terminal device stores the first state set corresponding to each frame of the game screen from the first frame of the game screen to the first numerical frame of the game screen, as well as the correspondence between the first state set corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen. The first state set corresponding to any frame of the game screen includes the object state of the virtual object included in any frame of the game screen. The object state of the virtual object included in the first state set corresponding to the game screen with the corresponding frame number of the second numerical value from the first frame of the game screen to the first numerical frame of the game screen is used as the object state of the virtual object included in the second game screen.

[0094] Optionally, each time the terminal device displays a frame of game screen, it records the object state of the virtual object included in this frame of game screen, generates a first state set corresponding to this frame of game screen based on the object state of the virtual object included in this frame of game screen, and stores the first state set corresponding to this frame of game screen and the frame number corresponding to this frame of game screen in the terminal device.

[0095] Exemplarily, when the game is played to the 452nd frame, that is, the first game screen is the 452nd frame of the game, the terminal device stores the first state set corresponding to each frame of the game screen from the first frame of the game screen to the 452nd frame of the game screen, and the correspondence between the first state set corresponding to each frame of the game screen and the number of frames corresponding to each frame of the game screen. The following Table 1 is an exemplary table of the correspondence between the number of frames corresponding to each frame of the game screen and the first state set corresponding to each frame of the game screen stored in a terminal device provided in an embodiment of the present application.

[0096] Table 1

[0097] The frame rate of the game screen The first state set corresponding to the game screen 1 First state set 1 2 First state set 2 3 First state set 3 4 First state set 4 5 First state set 5 6 First state set 6 7 First state set 7 8 First state set 8 9 First state set 9 10 First state set 10 … … 452 First state set 452

[0098] It can be seen from the above Table 1 that the first state set corresponding to the first frame game screen of the game is the first state set 1, the first state set corresponding to the second frame game screen of the game is the first state set 2, and the first state sets corresponding to the other frame game screens of the game are shown in the above Table 1, and will not be described one by one here.

[0099] It should be noted that the terminal device stores a first state set corresponding to each frame of the game screen. The above Table 1 is only an example of the first state set corresponding to 452 frames of game screen provided in the embodiment of the present application, and is not limited to this.

[0100] For example, if the second value is 152, the object state of the virtual object included in the first state set corresponding to the game screen with a corresponding frame number of 152 is used as the object state of the virtual object included in the second game screen. In other words, the object state of the virtual object included in the first state set 152 is used as the object state of the virtual object included in the second game screen.

[0101] like Figure 8 1 is a schematic diagram of a process for obtaining the object state of a virtual object included in a second game screen provided by an embodiment of the present application. The first value is 452, the second value is 152, and the terminal device stores a first state set corresponding to each frame of the game screen from the first frame of the game screen to the 452th frame of the game screen. The first state set corresponding to each frame of the game screen is shown in FIG. Figure 8As shown, the object state of the virtual object included in the first state set corresponding to the game screen with a corresponding frame number of 152 is used as the object state of the virtual object included in the second game screen.

[0102] This method only needs to determine the frame number of the game screen (second game screen) traced back, and then obtain the first state set corresponding to the game screen of the frame number, which can save the computing power of the terminal device. However, storing the state set corresponding to each frame of the game screen in the terminal device will take up a large amount of storage space of the terminal device. As the game progresses, the number of displayed game screens increases, and the number of state sets saved in the terminal device also increases, which makes the game run less smoothly and affects the player's gaming experience.

[0103] Optionally, after obtaining the object state of the virtual object included in the second game screen, since the second game screen is to be displayed later and the game is continued from the second game screen as the starting point, the first state set corresponding to each frame game screen from the second game screen (second numerical frame game screen) to the first numerical frame game screen is not needed. Therefore, after obtaining the object state of the virtual object included in the second game screen, the first state set corresponding to each frame game screen from the second numerical frame game screen to the first numerical frame game screen can also be deleted to save memory space of the terminal device.

[0104] In a possible implementation, the above-mentioned method of storing the first state set corresponding to each frame of the game screen in the terminal device requires occupying a large amount of memory of the terminal device. Therefore, after the terminal device obtains the first state set corresponding to a frame of the game screen, it can send the first state set corresponding to the frame of the game screen and the frame number corresponding to the frame of the game screen to the server, and the server stores the first state set corresponding to the frame of the game screen and the correspondence between the frame number corresponding to the frame of the game screen and the first state set corresponding to the frame of the game screen. In this way, the first state set corresponding to each frame of the game screen does not need to be stored in the terminal device, thereby saving the memory space of the terminal device.

[0105] When the first state set corresponding to each frame of the game screen from the first frame of the game screen to the first numerical frame of the game screen is stored in the server, the process of obtaining the object state of the virtual object included in the second game screen according to the second numerical value includes: sending a first acquisition request to the server, and the first acquisition request carries the second numerical value. After receiving the first acquisition request, the server parses the first acquisition request to obtain the second numerical value; the server uses the object state of the virtual object included in the first state set corresponding to the game screen from the first frame of the game screen to the first numerical frame of the game screen stored in the server, and the corresponding frame number is the second numerical value as the object state of the virtual object included in the second game screen; the server sends the object state of the virtual object included in the second game screen to the terminal device, so that the terminal device obtains the object state of the virtual object included in the second game screen.

[0106] It should be noted that the storage method of the first state set corresponding to each frame of the game screen from the first frame of the game screen to the first numerical frame of the game screen in the server is similar to the storage method in the terminal device, which will not be repeated here.

[0107] Exemplarily, if the second value is 152, then the first acquisition request carries 152, and the server uses the object state of the virtual objects included in the first state set 152 as the object state of the virtual objects included in the second game screen, and then sends the object state of the virtual objects included in the first state set 152 to the terminal device.

[0108] In one possible implementation, after the server sends the object state of the virtual object included in the second game screen to the terminal device, the first state set corresponding to each frame game screen from the second numerical frame game screen to the first numerical frame game screen can also be deleted to save memory space of the server.

[0109] Implementation method 2: The terminal device stores a second state set corresponding to the first frame of the game screen, and instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen. The instructions corresponding to any frame of the game screen are used to indicate the instructions required to display any frame of the game screen from the previous frame of the game screen to the display of any frame of the game screen. The second state set includes the object state of the virtual object included in the first frame of the game screen. According to the second numerical value, the instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen are determined; according to the second state set and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the second numerical frame of the game screen, the object state of the virtual object included in the second game screen is obtained.

[0110] Optionally, the process of obtaining the object state of the virtual object included in the second game screen according to the second state set and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the second numerical frame of the game screen includes: obtaining the object state of the virtual object included in the second frame of the game screen according to the object state of the virtual object included in the first frame of the game screen and the instructions corresponding to the second frame of the game screen; obtaining the object state of the virtual object included in the third frame of the game screen according to the object state of the virtual object included in the second frame of the game screen and the instructions corresponding to the third frame of the game screen; and so on, obtaining the object state of the virtual object included in the second numerical frame of the game screen according to the object state of the virtual object included in the previous frame of the second numerical frame of the game screen and the instructions corresponding to the second numerical frame of the game screen, the second numerical frame of the game screen is the second game screen, that is, the object state of the virtual object included in the second game screen is obtained.

[0111] Exemplarily, the first value is 10 and the second value is 5, and what needs to be obtained is the object state of the virtual object included in the 5th frame of the game screen. The terminal device stores the object state of the virtual object included in the 1st frame of the game screen and the instructions corresponding to each frame of the game screen from the 2nd frame of the game screen to the 10th frame of the game screen, and obtains the instructions corresponding to the 2nd frame of the game screen, the instructions corresponding to the 3rd frame of the game screen, the instructions corresponding to the 4th frame of the game screen, and the instructions corresponding to the 5th frame of the game screen from the instructions corresponding to each frame of the game screen from the 2nd frame of the game screen to the 10th frame of the game screen. Therefore, according to the object state of the virtual object included in the first frame of the game screen and the instructions corresponding to the second frame of the game screen, the object state of the virtual object included in the second frame of the game screen is obtained; according to the object state of the virtual object included in the second frame of the game screen and the instructions corresponding to the third frame of the game screen, the object state of the virtual object included in the third frame of the game screen is obtained; according to the object state of the virtual object included in the third frame of the game screen and the instructions corresponding to the fourth frame of the game screen, the object state of the virtual object included in the fourth frame of the game screen is obtained; according to the object state of the virtual object included in the fourth frame of the game screen and the instructions corresponding to the fifth frame of the game screen, the object state of the virtual object included in the fifth frame of the game screen is obtained, that is, the object state of the virtual object included in the second game screen is obtained.

[0112] like Fig. 9 1 is a schematic diagram of another process of obtaining the object state of a virtual object included in the second game screen provided by an embodiment of the present application. The first value is 452, the second value is 152, the terminal device stores the second state set corresponding to the first frame of the game screen, the instructions corresponding to each frame of the game screen from the second frame of the game screen to the 452th frame of the game screen, and the instructions corresponding to each frame of the game screen are shown in FIG. Fig. 9According to the second state set corresponding to the first frame of the game screen and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the 152nd frame of the game screen, the object state of the virtual object included in the second game screen is obtained.

[0113] The advantage of this method is that during the game process, only the state set corresponding to the first frame of the game screen and the instructions corresponding to the subsequent frames of the game screen need to be saved, and there is no need to save the state set corresponding to each frame of the game screen, which can greatly reduce the amount of data saved. However, as the game progresses, the number of displayed game screens increases, and more and more instructions need to be saved. Each time backtracking, it is necessary to obtain the instructions corresponding to all game screens between the backtracked game screen and the first frame of the game screen, and then the terminal device obtains the object state of the virtual object included in the backtracked game screen according to the instruction set corresponding to the first frame of the game screen and the instructions corresponding to all game screens between the backtracked game screen and the first frame of the game screen, which makes the terminal device's computing pressure greater, and the time required to obtain the object state of the virtual object included in the second game screen is longer, which leads to a longer acquisition time for the second game screen and a poor gaming experience for the player.

[0114] In one possible implementation, after the object state of the virtual object included in the second game screen is obtained, since the second game screen is to be displayed afterwards and the game is continued from the second game screen as the starting point, the instructions corresponding to each frame of the game screen from the second game screen to the first numerical frame game screen are not needed. Therefore, the instructions corresponding to each frame of the game screen from the second numerical frame game screen to the first numerical frame game screen can also be deleted to save memory space of the terminal device.

[0115] In a possible implementation, the above-mentioned method of storing the second state set corresponding to the first frame of the game screen and the instructions corresponding to other frames of the game screen in the terminal device requires occupying more memory of the terminal device. Therefore, after obtaining the second state set corresponding to the first frame of the game screen, the terminal device can send the second state set corresponding to the first frame of the game screen and the frame number corresponding to the first frame of the game screen to the server, and the server stores the corresponding relationship between the second state set corresponding to the first frame of the game screen and the frame number corresponding to the first frame of the game screen and the second state set corresponding to the first frame of the game screen. After obtaining the instructions corresponding to other frames of the game screen, the terminal device sends the instructions corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen to the server, and the server stores the instructions corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen and the corresponding relationship between the instructions corresponding to each frame of the game screen. In this way, the second state set corresponding to the first frame of the game screen and the instructions corresponding to each frame of the game screen can be stored in the terminal device, thereby saving the memory space of the terminal device.

[0116] When the second state set corresponding to the first frame game screen and the instructions corresponding to the second frame game screen to the first numerical frame game screen are stored in the server, the process of obtaining the object state of the virtual object included in the second game screen according to the second numerical value includes: sending a second acquisition request to the server, and the second acquisition request carries the second numerical value. After receiving the second acquisition request, the server parses the second acquisition request to obtain the second numerical value; the server obtains the second state set corresponding to the first frame game screen and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen from the storage space of the server, and the server obtains the object state of the virtual object included in the second numerical frame game screen according to the second state set and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen; the server sends the object state of the virtual object included in the second numerical frame game screen to the terminal device, so that the terminal device obtains the object state of the virtual object included in the second game screen.

[0117] Optionally, after the server obtains the second state set corresponding to the first frame game screen and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen from the server's storage space, the server sends the second state set corresponding to the first frame game screen and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen to the terminal device. The terminal device receives the second state set corresponding to the first frame game screen and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen, and obtains the object state of the virtual object included in the second game screen according to the second state set corresponding to the first frame game screen and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen.

[0118] It should be noted that the storage method of the instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen in the server is similar to the storage method in the terminal device, which will not be repeated here.

[0119] Exemplarily, if the second value is 5, then the second acquisition request carries 5, and the server acquires the second state set corresponding to the first frame of the game screen, as well as the instructions corresponding to the second frame of the game screen, the instructions corresponding to the third frame of the game screen, the instructions corresponding to the fourth frame of the game screen, and the instructions corresponding to the fifth frame of the game screen. According to the object state of the virtual object included in the second state set and the instructions corresponding to the second frame of the game screen, the object state of the virtual object included in the second frame of the game screen is acquired, according to the object state of the virtual object included in the second frame of the game screen and the instructions corresponding to the third frame of the game screen, the object state of the virtual object included in the third frame of the game screen is acquired, according to the object state of the virtual object included in the third frame of the game screen and the fourth frame of the game screen, the object state of the virtual object included in the fourth frame of the game screen is acquired, according to the object state of the virtual object included in the fourth frame of the game screen and the instructions corresponding to the fifth frame of the game screen, the object state of the virtual object included in the fifth frame of the game screen is acquired, and then the object state of the virtual object included in the fifth frame of the game screen is sent to the terminal device.

[0120] In one possible implementation, after the server sends the object state of the virtual object included in the second game screen to the terminal device, or after the server sends the second state set corresponding to the first frame game screen and the instructions corresponding to each frame game screen from the second frame game screen to the second numerical frame game screen to the terminal device, the server can also delete the instructions corresponding to each frame game screen from the second numerical frame game screen to the first numerical frame game screen to save memory space on the server.

[0121] Implementation method three: a terminal device stores a third state set corresponding to multiple frames of reference game screens, as well as a correspondence between the third state set corresponding to each frame of the reference game screen and the frame number corresponding to each frame of the reference game screen. The reference game screen is a game screen whose frame number meets the frame number requirement, and the third state set corresponding to any reference game screen includes the object state of the virtual object included in any reference game screen. Based on the second value meeting the frame number requirement, the object state of the virtual object included in the third state set corresponding to the reference game screen whose frame number is the second value among the multiple frames of the reference game screen is used as the object state of the virtual object included in the second game screen.

[0122] The number of frames that meets the frame number requirement may refer to the number of frames every reference number. For example, if the reference number is 10, the number of frames that meets the frame number requirement may be the 1st frame, the 11th frame, the 21st frame, and so on.

[0123] Exemplarily, the first value is 71, and the second value is 61. The terminal device stores the third state set corresponding to the first frame of the game screen, the third state set corresponding to the 11th frame of the game screen, the third state set corresponding to the 21st frame of the game screen, the third state set corresponding to the 31st frame of the game screen, the third state set corresponding to the 41st frame of the game screen, the third state set corresponding to the 51st frame of the game screen, the third state set corresponding to the 61st frame of the game screen, and the third state set corresponding to the 71st frame of the game screen. Therefore, the object state of the virtual object included in the third state set corresponding to the 61st frame of the game screen is used as the object state of the virtual object included in the second game screen.

[0124] Optionally, after the terminal device obtains the object state of the virtual object included in the second game screen, since the second game screen will be displayed later and the game will continue from the second game screen as the starting point, the third state set corresponding to the reference game screen with a corresponding frame number not less than the second value is not needed. Therefore, the third state set corresponding to the reference game screen with a corresponding frame number greater than the second value can also be deleted to save memory space of the terminal device.

[0125] In a possible implementation, the above-mentioned method of storing the third state set corresponding to the reference game screen in the terminal device requires occupying a large amount of memory of the terminal device. Therefore, after obtaining the third state set corresponding to the reference game screen, the terminal device can send the third state set corresponding to the reference game screen and the number of frames corresponding to the reference game screen to the server, and the server stores the third state set corresponding to the reference game screen and the correspondence between the number of frames corresponding to the reference game screen and the third state set corresponding to the reference game screen. In this way, the third state set corresponding to the reference game screen does not need to be stored in the terminal device, thereby saving the memory space of the terminal device.

[0126] When the third state set corresponding to the reference game screen is stored in the server, the process of obtaining the object state of the virtual object included in the second game screen according to the second value includes: sending a third acquisition request to the server, and the third acquisition request carries the second value. After receiving the third acquisition request, the server parses the third acquisition request to obtain the second value; the server obtains the third state set corresponding to the reference game screen with the corresponding frame number of the second value from the storage space of the server, and uses the object state of the virtual object included in the third state set corresponding to the reference game screen with the corresponding frame number of the second value as the object state of the virtual object included in the second game screen; the server sends the object state of the virtual object included in the second game screen to the terminal device, so that the terminal device obtains the object state of the virtual object included in the second game screen.

[0127] In one possible implementation, after the server sends the object state of the virtual object included in the second game screen to the terminal device, the server may also delete the third state set corresponding to the reference game screen whose corresponding frame number is not less than the second value to save the server's memory space.

[0128] Optionally, the terminal device stores not only third state sets corresponding to multiple frames of reference game screens and the correspondence between the third state sets corresponding to each frame of reference game screen and the number of frames corresponding to each frame of reference game screen, but also instructions corresponding to each frame of game screen between two adjacent frames of reference game screens. The instructions corresponding to any game screen between two adjacent frames of reference game screens are used to indicate the instructions required to display any frame of game screen from the previous frame of any game screen to the previous frame of any game screen. The third state set corresponding to any reference game screen includes the object state of the virtual object included in any reference game screen. Based on the fact that the second numerical value does not meet the frame number requirement, according to the second numerical value, a third state set corresponding to the third game screen is determined in the third state set corresponding to the multiple-frame reference game screens, the third game screen being the reference game screen having the largest corresponding frame number among the reference game screens whose corresponding frame numbers are less than the second numerical value; among the instructions corresponding to each frame of the game screen between two adjacent frames of the game screen, the instructions corresponding to each frame of the game screen between the third game screen and the second numerical frame of the game screen and the instructions corresponding to the second numerical frame of the game screen are determined; according to the third state set corresponding to the third game screen, the instructions corresponding to each frame of the game screen between the third game screen and the second numerical frame of the game screen and the instructions corresponding to the second numerical frame of the game screen, the object state of the virtual object included in the second game screen is obtained.

[0129] The process of obtaining the object state of the virtual object included in the second game screen according to the third state set corresponding to the third game screen, the instructions corresponding to each frame of the game screen between the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen includes: obtaining the object state of the virtual object included in the fourth game screen according to the object state of the virtual object included in the third game screen and the instructions corresponding to each frame of the game screen between the third game screen and the second numerical frame game screen, the fourth game screen being the previous frame of the second numerical frame game screen; obtaining the object state of the virtual object included in the second numerical frame game screen according to the object state of the virtual object included in the fourth game screen and the instructions corresponding to the second numerical frame game screen, the second numerical frame game screen being the second game screen, that is, obtaining the object state of the virtual object included in the second game screen.

[0130] Exemplarily, the first value is 71 and the second value is 55, and the terminal device stores the third state set corresponding to the first frame of the game screen, the third state set corresponding to the 11th frame of the game screen, the third state set corresponding to the 21st frame of the game screen, the third state set corresponding to the 31st frame of the game screen, the third state set corresponding to the 41st frame of the game screen, the third state set corresponding to the 51st frame of the game screen, the third state set corresponding to the 61st frame of the game screen, the third state set corresponding to the 71st frame of the game screen, and each frame of the game screen between the first frame of the game screen and the 11th frame of the game screen. Corresponding instructions, instructions corresponding to each game frame between the 11th game frame and the 21st game frame, instructions corresponding to each game frame between the 21st game frame and the 31st game frame, instructions corresponding to each game frame between the 31st game frame and the 41st game frame, instructions corresponding to each game frame between the 41st game frame and the 51st game frame, instructions corresponding to each game frame between the 51st game frame and the 61st game frame, instructions corresponding to each game frame between the 61st game frame and the 71st game frame. Since the second numerical value is 55, the terminal device obtains the third state set corresponding to the 51st frame of the game screen and the instructions corresponding to the 52nd frame of the game screen, the instructions corresponding to the 53rd frame of the game screen, the instructions corresponding to the 54th frame of the game screen and the instructions corresponding to the 55th frame of the game screen, and obtains the object state of the virtual object included in the 52nd frame of the game screen according to the object state of the virtual object included in the 51st frame of the game screen and the instructions corresponding to the 52nd frame of the game screen, obtains the object state of the virtual object included in the 53rd frame of the game screen according to the object state of the virtual object included in the 52nd frame of the game screen and the instructions corresponding to the 53rd frame of the game screen, obtains the object state of the virtual object included in the 54th frame of the game screen according to the object state of the virtual object included in the 53rd frame of the game screen and the instructions corresponding to the 54th frame of the game screen, and obtains the object state of the virtual object included in the 55th frame of the game screen according to the object state of the virtual object included in the 54th frame of the game screen and the instructions corresponding to the 55th frame of the game screen, that is, the object state of the virtual object included in the second game screen is obtained.

[0131] like Fig.10It is a schematic diagram of another process of obtaining the object state of a virtual object included in the second game screen provided by an embodiment of the present application. The first value is 452, the second value is 152, the terminal device stores the third state set corresponding to each frame of the reference game screen in the reference game screen whose frame number meets the frame number requirement, and the instructions corresponding to each frame of the game screen between two adjacent reference game screens, obtain the third state set 151 corresponding to the 151st frame of the game screen and the instruction 152 corresponding to the 152nd frame of the game screen, and obtain the object state of the virtual object included in the second game screen according to the third state set 151 and the instruction 152.

[0132] This method is a combination of implementation method 1 and implementation method 2. It is not necessary to save the state set corresponding to each frame of the game screen displayed in the terminal device, which can save the memory space of the terminal device compared to implementation method 1. Moreover, according to the third state set corresponding to the reference game screen (third game screen) with the largest frame number corresponding to the reference game screen with a corresponding frame number less than the second value, the instructions corresponding to each frame of the game screen between the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen, compared to implementation method 2, it can reduce the computing pressure of the terminal device, improve the efficiency of obtaining the object state of the virtual object included in the second game screen, and improve the efficiency of obtaining the second game screen.

[0133] In one possible implementation, after the terminal device obtains the object state of the virtual object included in the second game screen, since the second game screen is to be displayed afterwards and the game is continued from the second game screen as the starting point, the third state set corresponding to the reference game screen with a frame number greater than the second value and the instructions corresponding to the game screen with a frame number not less than the second value are not needed. The third state set corresponding to the reference game screen with a frame number greater than the second value can also be deleted, and the instructions corresponding to the game screen with a frame number not less than the second value can be deleted to save memory space of the terminal device.

[0134] In a possible implementation, the above-mentioned method of storing the third state set corresponding to the reference game screen and the instructions corresponding to each frame of the game screen between two adjacent frames of the reference game screen in the terminal device requires occupying a large amount of memory of the terminal device. Therefore, after obtaining the third state set corresponding to the reference game screen of the game, the terminal device can send the third state set corresponding to the reference game screen and the frame number corresponding to the reference game screen to the server, and the server stores the corresponding relationship between the third state set corresponding to the reference game screen and the frame number corresponding to the reference game screen and the third state set corresponding to the reference game screen. After obtaining the instructions corresponding to each frame of the game screen between two adjacent frames of the reference game screen, the terminal device sends the instructions corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen to the server, and the server stores the corresponding relationship between the instructions corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen and the instructions corresponding to each frame of the game screen. In this way, the third state set corresponding to the reference game screen and the instructions corresponding to each frame of the game screen between two adjacent frames of the reference game screen can be stored in the terminal device, thereby saving the memory space of the terminal device.

[0135] When the third state set corresponding to the reference game screen and the instructions corresponding to each frame of the game screen between two adjacent frames of the reference game screen are stored in the server, the process of obtaining the object state of the virtual object included in the second game screen according to the second numerical value includes: sending a fourth acquisition request to the server, and the fourth acquisition request carries the second numerical value. After receiving the fourth acquisition request, the server parses the fourth acquisition request to obtain the second numerical value; the server obtains the third state set corresponding to the third game screen and the instructions corresponding to each frame of the game screen in the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen from the storage space of the server, and the server obtains the object state of the virtual object included in the second numerical frame game screen according to the third state set corresponding to the third game screen and the instructions corresponding to each frame of the game screen in the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen; the server sends the object state of the virtual object included in the second numerical frame game screen to the terminal device, so that the terminal device obtains the object state of the virtual object included in the second game screen. Among them, the third game screen is the reference game screen with the largest corresponding frame number among the reference game screens whose corresponding frame number is less than the second numerical value.

[0136] Optionally, after the server obtains the third state set corresponding to the third game screen and the instructions corresponding to each frame of the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen from the server's storage space, it sends the third state set corresponding to the third game screen and the instructions corresponding to each frame of the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen to the terminal device. The terminal device receives the third state set corresponding to the third game screen and the instructions corresponding to each frame of the third game screen and the second numerical frame game screen, and obtains the object state of the virtual object included in the second game screen according to the third state set corresponding to the third game screen and the instructions corresponding to each frame of the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen.

[0137] In one possible implementation, after the server sends the object state of the virtual object included in the second game screen to the terminal device, or after the server sends the third state set corresponding to the third game screen and the instructions corresponding to each frame of the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen to the terminal device, the third state set corresponding to the reference game screen whose corresponding frame number is greater than the second numerical value may be deleted, and the instructions corresponding to the game screen whose corresponding frame number is not less than the second numerical value may be deleted, so as to save memory space of the server.

[0138] In a possible implementation, after the terminal device obtains the object state of the virtual object included in the second game screen, it performs screen rendering according to the object state of the virtual object included in the second game screen to obtain the second game screen.

[0139] Optionally, the terminal device can also obtain the state of static objects included in the second numerical frame game screen, and render the screen according to the state of static objects included in the second numerical frame game screen and the object state of virtual objects included in the second game screen to obtain a second game screen.

[0140] The process of the server obtaining the object state of the virtual object included in the second game screen according to the second numerical value has been described above. After the server obtains the object state of the virtual object included in the second game screen, the server renders the screen according to the object state of the virtual object included in the second game screen to obtain the second game screen, and the server sends the second game screen to the terminal device so that the terminal device obtains the second game screen. Optionally, the server obtains the state of the static object included in the second numerical frame game screen, renders the screen according to the state of the static object included in the second numerical frame game screen and the object state of the virtual object included in the second game screen to obtain the second game screen, and the server sends the second game screen to the terminal device so that the terminal device obtains the second game screen.

[0141] In a possible implementation, after the second game screen is acquired, the second game screen is displayed. Fig.11 1 is a schematic diagram of a display of a second game screen provided by an embodiment of the present application. The state of a virtual object in a virtual environment included in the second game screen is the object state of the virtual object in the second game screen.

[0142] In step 204, the virtual object is controlled to start from the historical state and restart the game.

[0143] Optionally, the second game screen may also display a backtracking control, a launch control, a jump control, a lying control, a crouching control, a direction control, and the first control. Fig.11 Control 1101 is a backtracking control, control 1102 is a launch control, control 1103 is a jump control, control 1104 is a lying control, control 1105 is a crouching control, control 1106 is a direction control, and control 1107 is a first control. The virtual object is controlled by at least one of these controls to start the game from the historical state.

[0144] In a possible implementation, a forward control ( Fig.11 In response to the trigger operation for the forward control, the third game screen is displayed, and the third game screen is a screen obtained by controlling the game process to advance the game state of the virtual object in the virtual environment to the first state, and the virtual object is controlled to start from the first state and restart the game. Other controls can also be displayed in the third game screen, which is not limited in the embodiment of the present application.

[0145] Among them, in response to the trigger operation for the forward control, the process of displaying the third game screen includes: in response to the trigger operation for the forward control, according to the frame rate and the first duration of the game, determine the candidate value, the first duration is the duration corresponding to the forward control, and the first duration is less than the reference duration; according to the candidate value and the second value, determine the third value, the third numerical frame game screen of the game is the third game screen; based on the third value is not greater than the first value and greater than the second value, according to the third value, obtain the third game screen and display the third game screen. Optionally, according to the candidate value and the second value, the process of determining the third value includes: adding the candidate value and the second value to obtain the third value. The process of obtaining the third game screen according to the third value is similar to the process of obtaining the second game screen according to the second value in the above step 202, and will not be repeated here.

[0146] Optionally, based on the third value being greater than the first value, a third prompt message is displayed, and the third prompt message is used to indicate that progress is not possible. The content of the third prompt message can be any content, and the embodiment of the present application does not limit this.

[0147] Exemplarily, the frame rate of the game is 30 frames per second, the reference duration corresponding to the backtracking control is 10 seconds, and the first duration of the forward control is 5 seconds. The first game screen is the 452nd frame of the game, and the backtracking control is displayed in the first game screen. In response to the triggering operation for the backtracking control, according to the frame rate and reference duration of the game, it is determined that 300 frames need to be backtracked, that is, the 152nd frame of the game screen needs to be obtained; after the 152nd frame of the game screen is obtained, the second game screen is displayed, and the second game screen is the 152nd frame of the game screen, and the forward control is displayed in the second game screen. In response to the triggering operation for the forward control, according to the frame rate and the first duration of the game, it is determined that 150 frames need to be advanced, that is, the 302nd frame of the game screen needs to be obtained; after the 302nd frame of the game screen is obtained, the third game screen is displayed, and the third game screen is the 302nd frame of the game screen.

[0148] When the backtracking function is triggered, the above method displays a second game screen, and the game state of the virtual object in the virtual environment included in the second game screen is a historical state, so as to control the virtual object to restart the game from the historical state. This method allows the player to use the backtracking function to go back to the second game screen before the first game screen when the player is accidentally hit in the first game screen, or an incorrect operation is triggered in the first game screen, so as to continue the game in the state of the object in the second game screen, so that the player has a chance to start over, and the player's operation control method of the game is more diversified, thereby improving the flexibility of the player's operation control of the game, and to a certain extent, it can also improve the player's gaming experience.

[0149] Fig.12 1 is a flowchart of an operation control method provided by an exemplary embodiment of the present application. The first game screen currently displayed is the 22nd frame of the game, and the object state of the virtual object included in one frame of the game screen is saved every 10 frames. That is, the object state of the virtual object included in the 1st frame of the game screen, the object state of the virtual object included in the 11th frame of the game screen, and the object state of the virtual object included in the 21st frame of the game screen are saved in the terminal device. The process includes the following steps 1201 to 1226.

[0150] Step 1201: display the first frame of the game screen, and save the object state of the virtual object included in the first frame of the game screen.

[0151] Step 1202, display the second frame of the game screen, and save the instructions corresponding to the second frame of the game screen.

[0152] The process of displaying the 3rd to 10th frame of the game screen is similar to the process of displaying the 2nd frame of the game screen, and will not be repeated here.

[0153] Step 1211, display the 11th frame of the game screen, and save the object state of the virtual object included in the 11th frame of the game screen.

[0154] Step 1212, display the 12th frame of the game screen, and save the instructions corresponding to the 12th frame of the game screen.

[0155] The process of displaying the 13th to 20th frame of the game screen is similar to the process of displaying the 12th frame of the game screen, and will not be repeated here.

[0156] Step 1221, display the 21st frame of the game screen, and save the object state of the virtual object included in the 21st frame of the game screen.

[0157] Step 1222, display the 22nd frame of the game screen, and save the instructions corresponding to the 22nd frame of the game screen.

[0158] Step 1223: Upon receiving a trigger operation for the backtracking control, determine that the game screen needs to be backtracked to the 13th frame based on the number of frames of the currently displayed game screen and the duration corresponding to the backtracking control.

[0159] Optionally, based on the number of frames of the currently displayed game screen and the duration corresponding to the backtracking control, the process of determining the need to backtrack to the 13th frame of the game screen is similar to the process of determining the second value in the above step 202, and will not be repeated here.

[0160] Step 1224, obtaining the object state of the virtual object included in the 11th frame of the game screen, the instruction corresponding to the 12th frame of the game screen, and the instruction corresponding to the 13th frame of the game screen.

[0161] Step 1225, the object state of the virtual object included in the 11th frame of the game screen, the instructions corresponding to the 12th frame of the game screen and the instructions corresponding to the 13th frame of the game screen, to obtain the 12th frame of the game screen.

[0162] Optionally, the process of acquiring the 12th frame of the game screen is similar to the above-mentioned process of acquiring the second game screen, and will not be repeated here.

[0163] Step 1226, display the 12th frame of the game screen.

[0164] Optionally, the process of displaying the 12th frame of the game screen is similar to the above-mentioned process of displaying the second game screen, and will not be repeated here.

[0165] Fig.13 FIG. 1 is a schematic diagram of the structure of an operation control device provided in an embodiment of the present application. Fig.13 As shown, the device comprises:

[0166] The display module 1301 is used to display a first game screen, where the first game screen includes a virtual object in a virtual environment;

[0167] The control module 1302 is used to control the virtual object to play the game in the virtual environment;

[0168] The display module 1301 is further used to display a second game screen in response to a triggering operation of the backtracking function, where the second game screen is a screen obtained by controlling the game process to make the game state of the virtual object in the virtual environment backtrack to a historical state;

[0169] The control module 1302 is also used to control the virtual object to start the game again from the historical state.

[0170] In a possible implementation, the device further includes:

[0171] The acquisition module is used to respond to the triggering operation of the retracing function, determine a reference value according to the frame rate and reference duration of the game, the reference duration is the duration corresponding to the retracing function, and the reference value is the number of frames of the screen to be retraced; based on the reference value being less than the first value, determine a second value according to the first value and the reference value, the first value is the number of frames corresponding to the first game screen, and the second value is the number of frames corresponding to the second game screen to be retraced; and acquire the second game screen according to the second value;

[0172] The display module 1301 is used to display the second game screen.

[0173] In a possible implementation, the acquisition module is used to acquire the object state of the virtual object included in the second game screen according to the second value; and acquire the second game screen according to the object state of the virtual object included in the second game screen.

[0174] In a possible implementation, the terminal device stores a first state set corresponding to each frame of the game screen from the first frame of the game screen to the first numerical frame of the game screen, and a correspondence between the first state set corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen, and the first state set corresponding to any frame of the game screen includes the object state of the virtual object included in any frame of the game screen;

[0175] The acquisition module is used to convert the object state of the virtual object included in the first state set corresponding to the game screen with a frame number of the second value from the first frame game screen to the first numerical frame game screen as the object state of the virtual object included in the second game screen.

[0176] In a possible implementation, the device further includes:

[0177] The deletion module is used to delete the first state set corresponding to each frame game screen from the second numerical frame game screen to the first numerical frame game screen.

[0178] In a possible implementation, the terminal device stores a second state set corresponding to a first frame of the game screen, and instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen, the instructions corresponding to any frame of the game screen are used to indicate instructions required from displaying a frame of the game screen before displaying any frame of the game screen to displaying any frame of the game screen, and the second state set includes the object state of the virtual object included in the first frame of the game screen;

[0179] An acquisition module is used to determine, based on a second numerical value, instructions corresponding to each frame of the game screen from the second frame of the game screen to the first numerical frame of the game screen; and to acquire the object state of the virtual object included in the second game screen based on a second state set and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the second numerical frame of the game screen.

[0180] In one possible implementation, an acquisition module is used to acquire the object state of the virtual object included in the second frame of the game screen according to the object state of the virtual object included in the first frame of the game screen and the instructions corresponding to the second frame of the game screen; acquire the object state of the virtual object included in the third frame of the game screen according to the object state of the virtual object included in the second frame of the game screen and the instructions corresponding to the third frame of the game screen; and so on, acquire the object state of the virtual object included in the second numerical frame of the game screen according to the object state of the virtual object included in the previous frame of the second numerical frame of the game screen and the instructions corresponding to the second numerical frame of the game screen, and the second numerical frame of the game screen is the second game screen.

[0181] In a possible implementation, the deletion module is further used to delete instructions corresponding to each frame of the game screen from the second numerical frame game screen to the first numerical frame game screen.

[0182] In a possible implementation, a terminal device stores third state sets corresponding to multiple frames of reference game screens, and a correspondence between the third state sets corresponding to each frame of the reference game screen and the frame number corresponding to each frame of the reference game screen. The reference game screen is a game screen whose frame number meets the frame number requirement. The third state set corresponding to any reference game screen includes the object state of the virtual object included in any reference game screen.

[0183] An acquisition module is used to use the object state of the virtual object included in the third state set corresponding to the reference game screen with the frame number of the second value in the multi-frame reference game screen as the object state of the virtual object included in the second game screen based on the second value satisfying the frame number requirement.

[0184] In a possible implementation, the deletion module is further used to delete the third state set corresponding to the reference game screen whose corresponding frame number is not less than the second value.

[0185] In a possible implementation, a terminal device stores third state sets corresponding to multiple frames of reference game screens, a correspondence between the third state sets corresponding to each frame of reference game screens and the frame number corresponding to each frame of reference game screens, and instructions corresponding to each frame of game screens between two adjacent frames of reference game screens, wherein the reference game screen is a game screen whose frame number meets the frame number requirement, and the instructions corresponding to any game screen between two adjacent frames of reference game screens are used to indicate instructions required from displaying a previous frame of the game screen to displaying any frame of the game screen, and the third state set corresponding to any reference game screen includes the object state of a virtual object included in any reference game screen;

[0186] An acquisition module is used to determine, based on the second numerical value not satisfying the frame number requirement, a third state set corresponding to the third game screen in the third state set corresponding to multiple frames of reference game screens, according to the second numerical value, the third game screen being the reference game screen having the largest frame number among the reference game screens whose corresponding frame numbers are less than the second numerical value; determine, among the instructions corresponding to each frame of game screens between two adjacent frames of reference game screens, instructions corresponding to each frame of game screens between the third game screen and the second numerical frame of game screen, and instructions corresponding to the second numerical frame of game screen; and acquire the object state of the virtual object included in the second game screen according to the third state set corresponding to the third game screen, instructions corresponding to each frame of game screens between the third game screen and the second numerical frame of game screen, and instructions corresponding to the second numerical frame of game screen.

[0187] In one possible implementation, an acquisition module is used to acquire the object state of the virtual object included in the fourth game screen according to the object state of the virtual object included in the third game screen, instructions corresponding to each frame of game screen between the third game screen and the second numerical frame game screen, and the fourth game screen is the previous frame of game screen of the second numerical frame game screen; and to acquire the object state of the virtual object included in the second numerical frame game screen according to the object state of the virtual object included in the fourth game screen and instructions corresponding to the second numerical frame game screen, and the second numerical frame game screen is the second game screen.

[0188] In a possible implementation, the deletion module is further used to delete the third state set corresponding to the reference game screen whose corresponding frame number is greater than the second value, and to delete the instructions corresponding to the game screen whose corresponding frame number is not less than the second value.

[0189] In a possible implementation, the display module 1301 is further used to display a first prompt message in the first game screen based on the reference value being not less than the first value, where the first prompt message is used to indicate that backtracking is not possible.

[0190] In a possible implementation, the display module 1301 is further used to display a second prompt information in the first game screen based on the reference value being less than the first value, where the second prompt information is used to indicate that the second game screen is being acquired.

[0191] In a possible implementation, the first game screen also includes a backtracking control;

[0192] The device also includes:

[0193] The determination module is used to determine the triggering backtracking function in response to the triggering operation on the backtracking control.

[0194] When the backtracking function is triggered, the above device displays a second game screen, and the game state of the virtual object in the virtual environment included in the second game screen is a historical state, so as to control the virtual object to restart the game from the historical state. This method allows the player to use the backtracking function to go back to the second game screen before the first game screen when the player is accidentally hit in the first game screen, or an incorrect operation is triggered in the first game screen, so as to continue the game in the state of the object in the second game screen, so that the player has a chance to start over, and the player's operation control method of the game is more diversified, thereby improving the flexibility of the player's operation control of the game, and to a certain extent, it can also improve the player's gaming experience.

[0195] It should be understood that the above-mentioned device only uses the division of the above-mentioned functional modules as an example to illustrate when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0196] Fig.14 The structure block diagram of a terminal device 1400 provided by an exemplary embodiment of the present application is shown. The terminal device 1400 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal device 1400 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0197] Typically, the terminal device 1400 includes: a processor 1401 and a memory 1402 .

[0198] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0199] The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, which is used to be executed by the processor 1401 to implement the operation control method provided in the method embodiment of the present application.

[0200] In some embodiments, the terminal device 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402 and the peripheral device interface 1403 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1403 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1404, a display screen 1405, a camera assembly 1406, an audio circuit 1407 and a power supply 1409.

[0201] The peripheral device interface 1403 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, the memory 1402, and the peripheral device interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0202] The radio frequency circuit 1404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1404 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1404 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1404 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1404 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0203] The display screen 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to collect touch signals on the surface or above the surface of the display screen 1405. The touch signal can be input to the processor 1401 as a control signal for processing. At this time, the display screen 1405 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1405 can be one, which is set on the front panel of the terminal device 1400; in other embodiments, the display screen 1405 can be at least two, which are respectively set on different surfaces of the terminal device 1400 or are folded; in other embodiments, the display screen 1405 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal device 1400. Even, the display screen 1405 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0204] The camera assembly 1406 is used to capture images or videos. Optionally, the camera assembly 1406 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1400, and the rear camera is arranged on the back of the terminal device 1400. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1406 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0205] The audio circuit 1407 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1401 for processing, or input them into the radio frequency circuit 1404 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal device 1400. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1401 or the radio frequency circuit 1404 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1407 may also include a headphone jack.

[0206] The power supply 1409 is used to power various components in the terminal device 1400. The power supply 1409 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1409 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0207] In some embodiments, the terminal device 1400 further includes one or more sensors 1410 , including but not limited to: an acceleration sensor 1411 , a gyroscope sensor 1412 , a pressure sensor 1413 , an optical sensor 1415 , and a proximity sensor 1416 .

[0208] The acceleration sensor 1411 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal device 1400. For example, the acceleration sensor 1411 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1401 can control the display screen 1405 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 can also be used to collect motion data of games or users.

[0209] The gyroscope sensor 1412 can detect the body direction and rotation angle of the terminal device 1400, and the gyroscope sensor 1412 can cooperate with the acceleration sensor 1411 to collect the user's 3D actions on the terminal device 1400. The processor 1401 can implement the following functions based on the data collected by the gyroscope sensor 1412: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0210] The pressure sensor 1413 can be set on the side frame of the terminal device 1400 and / or the lower layer of the display screen 1405. When the pressure sensor 1413 is set on the side frame of the terminal device 1400, the user's holding signal of the terminal device 1400 can be detected, and the processor 1401 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 1413. When the pressure sensor 1413 is set on the lower layer of the display screen 1405, the processor 1401 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1405. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0211] The optical sensor 1415 is used to collect the ambient light intensity. In one embodiment, the processor 1401 can control the display brightness of the display screen 1405 according to the ambient light intensity collected by the optical sensor 1415. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1405 is increased; when the ambient light intensity is low, the display brightness of the display screen 1405 is reduced. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera component 1406 according to the ambient light intensity collected by the optical sensor 1415.

[0212] The proximity sensor 1416, also called a distance sensor, is usually arranged on the front panel of the terminal device 1400. The proximity sensor 1416 is used to collect the distance between the user and the front of the terminal device 1400. In one embodiment, when the proximity sensor 1416 detects that the distance between the user and the front of the terminal device 1400 is gradually decreasing, the processor 1401 controls the display screen 1405 to switch from the screen-on state to the screen-off state; when the proximity sensor 1416 detects that the distance between the user and the front of the terminal device 1400 is gradually increasing, the processor 1401 controls the display screen 1405 to switch from the screen-off state to the screen-on state.

[0213] Those skilled in the art will understand that Fig.14 The structure shown in the figure does not constitute a limitation on the terminal device 1400, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0214] Fig.15The schematic diagram of the structure of the server provided in the embodiment of the present application, the server 1500 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1501 and one or more memories 1502, wherein the one or more memories 1502 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1501 to implement the operation control methods provided by the above-mentioned various method embodiments. Of course, the server 1500 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server 1500 may also include other components for implementing device functions, which will not be described in detail here.

[0215] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned operation control methods.

[0216] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0217] In an exemplary embodiment, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any of the above-mentioned operation control methods.

[0218] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the game screens involved in this application are all obtained with full authorization.

[0219] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0220] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0221] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. An operation control method, characterized in that: The method comprises: displaying a first game screen, wherein the first game screen includes a virtual object in a virtual environment; Controlling the virtual object to play a game in the virtual environment; In response to a triggering operation of the backtracking function, a second game screen is displayed, where the second game screen is a screen obtained by controlling the game process to make the game state of the virtual object in the virtual environment backtrack to a historical state; The virtual object is controlled to start from the historical state and restart the game.

2. The method according to claim 1, characterized in that The method of displaying a second game screen in response to a triggering operation of the backtracking function includes: In response to a triggering operation of the retracing function, a reference value is determined according to the frame rate and reference duration of the game, wherein the reference duration is the duration corresponding to the retracing function, and the reference value is the number of screen frames to be retraced; Based on the reference value being less than the first value, determining a second value according to the first value and the reference value, wherein the first value is the number of frames corresponding to the first game screen, and the second value is the number of frames corresponding to the second game screen traced back to; According to the second value, obtaining the second game screen; The second game screen is displayed.

3. The method according to claim 2, characterized in that The acquiring the second game screen according to the second value includes: According to the second value, obtaining the object state of the virtual object included in the second game screen; The second game screen is acquired according to the object state of the virtual object included in the second game screen.

4. The method according to claim 3, characterized in that The method is applied to a terminal device, wherein the terminal device stores a first state set corresponding to each frame of the game screen from the first frame of the game screen to the first numerical frame of the game screen, and a correspondence between the first state set corresponding to each frame of the game screen and the frame number corresponding to each frame of the game screen, wherein the first state set corresponding to any frame of the game screen includes the object state of the virtual object included in the any frame of the game screen; The acquiring, according to the second value, the object state of the virtual object included in the second game screen includes: The object state of the virtual object included in the first state set corresponding to the game screen whose frame number is the second numerical value is transferred from the first frame game screen to the first numerical frame game screen as the object state of the virtual object included in the second game screen.

5. The method according to claim 4, characterized in that After obtaining the object state of the virtual object included in the second game screen according to the second value, the method further includes: The first state set corresponding to each frame game screen from the second value frame game screen to the first value frame game screen is deleted.

6. The method according to claim 3, characterized in that The method is applied to a terminal device, wherein the terminal device stores a second state set corresponding to a first frame of a game screen of the game, and instructions corresponding to each frame of a game screen from the second frame of the game screen to the first numerical frame of the game screen, wherein the instructions corresponding to any frame of the game screen are used to indicate instructions required to display any frame of the game screen from a frame of the game screen preceding the previous frame of the game screen, and wherein the second state set includes an object state of a virtual object included in the first frame of the game screen; The acquiring, according to the second value, the object state of the virtual object included in the second game screen includes: According to the second numerical value, determining, among the instructions corresponding to the respective game frames from the second game frame to the first numerical value frame, the instructions corresponding to the respective game frames from the second game frame to the second numerical value frame; According to the second state set and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the second numerical frame of the game screen, the object state of the virtual object included in the second game screen is obtained.

7. The method according to claim 6, characterized in that The acquiring the object state of the virtual object included in the second game screen according to the second state set and the instructions corresponding to each frame of the game screen from the second frame of the game screen to the second numerical frame of the game screen comprises: According to the object state of the virtual object included in the first frame of the game screen and the instruction corresponding to the second frame of the game screen, acquiring the object state of the virtual object included in the second frame of the game screen; According to the object state of the virtual object included in the second frame of the game screen and the instruction corresponding to the third frame of the game screen, acquiring the object state of the virtual object included in the third frame of the game screen; By analogy, the object state of the virtual object included in the previous frame game screen of the second numerical frame game screen is obtained according to the object state of the virtual object included in the previous frame game screen of the second numerical frame game screen and the instructions corresponding to the second numerical frame game screen, and the second numerical frame game screen is the second game screen.

8. The method according to claim 6, characterized in that After obtaining the object state of the virtual object included in the second game screen according to the second value, the method further includes: The instructions corresponding to each frame of the game screen from the second numerical frame game screen to the first numerical frame game screen are deleted.

9. The method according to claim 3, characterized in that: The method is applied to a terminal device, wherein the terminal device stores third state sets corresponding to multiple frames of reference game screens, and a correspondence between the third state sets corresponding to each frame of the reference game screen and the frame number corresponding to each frame of the reference game screen, wherein the reference game screen is a game screen whose frame number meets the frame number requirement, and the third state set corresponding to any reference game screen includes the object state of the virtual object included in any reference game screen; The acquiring, according to the second value, the object state of the virtual object included in the second game screen includes: Based on the fact that the second value meets the frame number requirement, the object state of the virtual object included in the third state set corresponding to the reference game screen with the frame number of the second value in the multi-frame reference game screen is used as the object state of the virtual object included in the second game screen.

10. The method according to claim 9, characterized in that After obtaining the object state of the virtual object included in the second game screen according to the second value, the method further includes: The third state set corresponding to the reference game screen whose corresponding frame number is not less than the second value is deleted.

11. The method according to claim 3, characterized in that The method is applied to a terminal device, wherein the terminal device stores third state sets corresponding to multiple frames of reference game screens, corresponding relationships between the third state sets corresponding to each frame of reference game screens and the frame numbers corresponding to each frame of reference game screens, and instructions corresponding to each frame of game screens between two adjacent frames of reference game screens, wherein the reference game screen is a game screen whose frame number meets the frame number requirement, and the instructions corresponding to any game screen between two adjacent frames of reference game screens are used to indicate instructions required from displaying a previous frame of the any game screen to displaying the any frame of game screen, and the third state set corresponding to any reference game screen includes the object state of a virtual object included in the any reference game screen; The acquiring, according to the second value, the object state of the virtual object included in the second game screen includes: Based on the second value not satisfying the frame number requirement, determining, according to the second value, a third state set corresponding to a third game screen from among the third state sets corresponding to the multiple-frame reference game screens, the third game screen being a reference game screen having a maximum frame number among the reference game screens whose corresponding frame numbers are less than the second value; Determine, among the instructions corresponding to the game frames between the two adjacent reference game frames, the instructions corresponding to the game frames between the third game frame and the second numerical frame game frame and the instructions corresponding to the second numerical frame game frame; The object state of the virtual object included in the second game screen is obtained according to the third state set corresponding to the third game screen, the instructions corresponding to each frame game screen between the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen.

12. The method according to claim 11, characterized in that The acquiring the object state of the virtual object included in the second game screen according to the third state set corresponding to the third game screen, the instructions corresponding to each frame game screen between the third game screen and the second numerical frame game screen, and the instructions corresponding to the second numerical frame game screen, comprises: According to the object state of the virtual object included in the third game screen and the instructions corresponding to each frame of game screen between the third game screen and the second numerical frame game screen, the object state of the virtual object included in the fourth game screen is obtained, and the fourth game screen is the previous frame of game screen of the second numerical frame game screen; According to the object state of the virtual object included in the fourth game screen and the instruction corresponding to the second numerical frame game screen, the object state of the virtual object included in the second numerical frame game screen is obtained, and the second numerical frame game screen is the second game screen.

13. The method according to claim 11, characterized in that After obtaining the object state of the virtual object included in the second game screen according to the second value, the method further includes: The third state set corresponding to the reference game screen whose corresponding frame number is greater than the second value is deleted, and the instructions corresponding to the game screen whose corresponding frame number is not less than the second value are deleted.

14. The method according to any one of claims 2 to 13, characterized in that: The method further comprises: Based on the reference value being not less than the first value, first prompt information is displayed in the first game screen, where the first prompt information is used to indicate that backtracking is not possible.

15. The method according to any one of claims 2 to 13, characterized in that: The method further comprises: Based on the reference value being smaller than the first value, second prompt information is displayed in the first game screen, where the second prompt information is used to indicate that the second game screen is being acquired.

16. The method according to any one of claims 1 to 13, characterized in that: The first game screen also includes a backtracking control; The method further comprises: In response to a trigger operation on the backtracking control, it is determined to trigger the backtracking function.

17. An operation control device, characterized in that: The device comprises: A display module, configured to display a first game screen, wherein the first game screen includes a virtual object in a virtual environment; A control module, used for controlling the virtual object to play a game in the virtual environment; The display module is further configured to display a second game screen in response to a triggering operation of the backtracking function, wherein the second game screen is a screen obtained by controlling the game process to make the game state of the virtual object in the virtual environment backtrack to a historical state; The control module is further used to control the virtual object to restart the game from the historical state.

18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements the operation control method according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor so that the computer implements the operation control method according to any one of claims 1 to 16.

20. A computer program product, characterized in that The computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor so that a computer implements the operation control method according to any one of claims 1 to 16.

Citation Information

Cited By

  • Control method and device in game, electronic equipment and computer storage medium

    CN119607555A