A data processing method, device and computer readable storage medium

By using virtual disk technology on cloud gaming servers to isolate user operations, the problem of modifying game resource data in cloud games is solved, enabling rapid recovery and efficient startup, thus improving the user experience.

CN115640061BActive Publication Date: 2026-05-19TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT CLOUD COMPUTING (BEIJING) CO LTD
Filing Date
2021-07-20
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In cloud gaming, game resource data on the game disk can be easily modified or deleted after a user exits the game, resulting in the loss of game functions. Existing technologies for recovery are time-consuming and prone to failure, affecting the user experience.

Method used

By using virtual disk technology on the cloud gaming server, a first virtual disk is created to store game resource data, and a second virtual disk is created on the local data disk to process user operation commands. The appropriate virtual disk is selected for processing according to the command type, thus isolating user change operations and avoiding direct modification of game disk data.

Benefits of technology

This effectively avoids modification of game disk data, saves recovery time, improves the user's cloud gaming experience, and ensures fast game startup and normal operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115640061B_ABST
    Figure CN115640061B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a data processing method and device and a computer readable storage medium, wherein the method comprises: in response to a game disc mounting instruction message, mounting a game disc of a target game, the game disc comprising a first virtual disc, the first virtual disc storing game resource data of the target game; sending first game resource data of the target game stored in the first virtual disc to a first terminal device, the first game resource data being used to display a game screen of the target game; obtaining an operation instruction of the first terminal device for the target game; and processing the operation instruction by using the first virtual disc or a second virtual disc in a local data disc according to a type of the operation instruction, which can be applied to a service scenario of cloud gaming, so as to avoid modification of data in the game disc caused by a change operation of a user on the game resource data, thereby eliminating the need for data recovery of the game disc and improving the cloud gaming experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data processing method, apparatus, and computer-readable storage medium. Background Technology

[0002] Cloud gaming refers to providing a machine for a user to use. The user receives and sends game data to and from the assigned machine through the cloud gaming service, which is equivalent to the user remotely operating a machine. In the process of using the cloud gaming service, it is inevitable that the game resource data in the game disk mounted on the machine will be modified by human. Since the cloud gaming service can be shared by multiple people, when other users enter the game again, the game may have been deleted or modified, resulting in the loss of some game functions or even the game becoming unusable.

[0003] To restore the game disk to its initial state after a user exits the game, current methods include using a large-capacity hard drive and transferring the original large amount of game data over the network to directly restore the game disk, but this is time-consuming. Alternatively, a cloud disk mode can be used, which saves storage space, but restoring data requires unmounting the current game disk and then remounting a new one, resulting in a long restoration time. Furthermore, frequent unmounting and remounting of hard drives can lead to restoration failures. Therefore, reducing the complexity of restoring game disk data to improve the user's cloud gaming experience has become a pressing issue. Summary of the Invention

[0004] This application provides a data processing method, apparatus, and computer-readable storage medium that can prevent users from modifying game resource data and thus avoid data loss in the game disk, thereby improving the user's cloud gaming experience.

[0005] In a first aspect, embodiments of this application provide a data processing method, the method comprising:

[0006] In response to a game disk mounting instruction message, the game disk of the target game is mounted, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0007] Send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game.

[0008] Obtain the operation instructions from the first terminal device for the target game.

[0009] The operation instruction is processed using the first virtual disk or the second virtual disk in the local data disk, depending on the instruction type of the operation instruction.

[0010] Secondly, embodiments of this application provide a data processing method, the method comprising:

[0011] In response to the launch command of the first terminal device for the target game, the cloud game server corresponding to the first terminal device is determined from the set of cloud game servers.

[0012] The game disk corresponding to the cloud gaming server is determined based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0013] A game disk mounting instruction message is sent to the cloud gaming server. The game disk mounting instruction message is used to instruct the cloud gaming server to mount the game disk, and to process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction of the first terminal device for the target game.

[0014] Thirdly, embodiments of this application provide a data processing apparatus, the apparatus comprising:

[0015] The mounting module is used to mount the game disk of the target game in response to the game disk mounting instruction message, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0016] The sending module is used to send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game.

[0017] The acquisition module is used to acquire the operation instructions of the first terminal device for the target game.

[0018] The processing module is used to process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction.

[0019] Fourthly, embodiments of this application provide a data processing apparatus, the apparatus comprising:

[0020] The determination module is used to determine the cloud gaming server corresponding to the first terminal device from the set of cloud gaming servers in response to the launch command of the first terminal device for the target game.

[0021] The determining module is further configured to determine the game disk corresponding to the cloud gaming server based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0022] The sending module is used to send a game disk mounting instruction message to the cloud gaming server. The game disk mounting instruction message is used to instruct the cloud gaming server to mount the game disk and process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction of the first terminal device for the target game.

[0023] Fifthly, embodiments of this application provide a computer device, the computer device including a processor, a network interface and a storage device, the processor, the network interface and the storage device being interconnected, wherein the network interface is controlled by the processor for sending and receiving data, the storage device is used to store a computer program, the computer program including program instructions, and the processor is configured to invoke the program instructions for executing the data processing method described in the first or second aspect.

[0024] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing a computer program, the computer program including program instructions, which are executed by a processor to perform the data processing method described in the first or second aspect.

[0025] In a seventh aspect, this application discloses a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the data processing method described in the first or second aspect above.

[0026] In this embodiment, in response to a game disk mounting instruction message, a game disk for the target game can be mounted. The game disk includes a first virtual disk storing game resource data of the target game. This first game resource data is sent to a first terminal device and used to display the game screen of the target game. When an operation command for the target game is received from the first terminal device, the operation command can be processed using either the first virtual disk or a second virtual disk in the local data disk, depending on the command type. Therefore, depending on the command type of the terminal device's operation command, either the first virtual disk in the game disk or the second virtual disk in the local data disk can be selected for processing. This effectively avoids modifications to the game disk data caused by user changes to the game resource data, eliminating the need for data recovery of the game disk and saving time spent on data recovery, thus improving the user's experience of launching cloud games. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1a This is a schematic diagram of the architecture of a cloud gaming service system provided in an embodiment of this application;

[0030] Figure 1b This is a schematic diagram of a cloud gaming platform architecture provided in an embodiment of this application;

[0031] Figure 2 This is a flowchart illustrating a data processing method provided in an embodiment of this application;

[0032] Figure 3 This is a flowchart illustrating another data processing method provided in an embodiment of this application;

[0033] Figure 4a This is a schematic diagram of an interface for game resource data provided in an embodiment of this application;

[0034] Figure 4b This is a schematic diagram of a game screen provided in an embodiment of this application;

[0035] Figure 5 This is a flowchart illustrating another data processing method provided in an embodiment of this application;

[0036] Figure 6 This is a schematic diagram illustrating the overall process of using a game disk based on a virtual disk, as provided in an embodiment of this application.

[0037] Figure 7 This is a flowchart illustrating another data processing method provided in an embodiment of this application;

[0038] Figure 8 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;

[0039] Figure 9 This is a schematic diagram of another data processing device provided in an embodiment of this application;

[0040] Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0042] Cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, and application technology applied based on the cloud computing business model. It can form resource pools, be used on demand, and is flexible and convenient. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to backend systems for logical processing. Data of different levels will be processed separately, and various industry data will require robust system support, which can only be achieved through cloud computing.

[0043] Cloud storage is a new concept that extends and develops from cloud computing. A distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to aggregate a large number of storage devices of various types (storage devices are also called storage nodes) in a network to work together through application software or application interfaces to provide data storage and business access functions. The storage method of the storage system is as follows: logical volumes are created. When a logical volume is created, physical storage space is allocated to each logical volume. This physical storage space may be a disk of a storage device or several storage devices. When a client stores data on a logical volume, it stores the data on the file system. The file system divides the data into many parts, each part being an object. The object contains not only data but also additional information such as data identifiers (ID, ID entity). The file system writes each object to the physical storage space of the logical volume and records the storage location information of each object. Therefore, when a client requests access to data, the file system can allow the client to access the data based on the storage location information of each object. The process by which a storage system allocates physical storage space to a logical volume is as follows: the physical storage space is pre-divided into strips according to the capacity estimate of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of Redundant Array of Independent Disks (RAID). A logical volume can be understood as a strip, thus allocating physical storage space to the logical volume.

[0044] Cloud gaming, also known as gaming on demand, is an online gaming technology based on cloud computing. It enables thin clients with relatively limited graphics processing and data processing capabilities to run high-quality games. In cloud gaming, the game does not reside on the player's terminal but runs on a cloud server. The cloud server renders the game scene as a video and audio stream, which is then transmitted to the player's terminal via the network. The player's terminal does not need powerful graphics processing and data processing capabilities; it only needs basic streaming media playback capabilities and the ability to receive player input commands and send them to the cloud server.

[0045] This application mainly relates to cloud storage and cloud gaming technologies in the field of cloud technology. It can be used to avoid users modifying game resource data and thus reducing the complexity of restoring game data, thereby improving the user's cloud gaming experience. The specific implementation methods of this application are described in detail below.

[0046] Virtual Hard Disk (VHD) and its successor VHDX file format represent a virtual Hard-Disk Drive (HDD). VHD and VHDX can be contained within a physical hard disk, such as disk partitions and file systems, and can in turn contain files and folders.

[0047] Cloud Block Storage (CBS) is a highly available, highly reliable, low-cost, and customizable block storage device that can be used as an independent, scalable hard drive for cloud servers, providing efficient and reliable storage for cloud server instances (such as cloud gaming servers). Cloud Block Storage offers persistent storage at the data block level and is typically used as the primary storage device for data that requires frequent, fine-grained updates (such as file systems and databases), characterized by high availability, high reliability, and high performance.

[0048] A snapshot is a fully functional copy of the Cloud Disk (CBS). When a snapshot of a Cloud Disk encounters a problem, it can be quickly restored to its state before the problem occurred. Creating snapshots of relevant Cloud Disks before major business changes allows for rapid data recovery should the business change fail.

[0049] Web Real-Time Communication (WebRTC) is an application programming interface (API) that enables real-time voice or video conversations in web browsers. WebRTC implements web-based video conferencing, using the WHATWG protocol, and aims to achieve real-time communication (RTC) capabilities through simple JavaScript provided by the browser.

[0050] Please see Figure 1a This is a schematic diagram of the architecture of a cloud gaming service system provided in an embodiment of this application. The cloud gaming service system may specifically include a management server 10, terminal devices 20, and a cloud gaming server 30. Wherein:

[0051] Management server 10 is used to manage and allocate cloud gaming server 30 and game disks for storing game resource data. For example, when terminal device 20 submits a game launch command, management server 10 can allocate a cloud gaming server 30 and a game disk for that terminal device 20. Management server 10 can also be used to create a virtual disk (denoted as the first virtual disk) in each game disk using VHD or VHDX technology, using the first virtual disk as the parent virtual disk, and storing the original game resource data in the first virtual disk.

[0052] Terminal device 20 is used to display game screens and game resource data stored in the game disk through a client. Game resource data may include, for example, game folders and game configuration files. Terminal device 20 can also send user commands regarding the game screen or game resource data to the corresponding cloud gaming server 30.

[0053] The cloud gaming server 30 provides the hardware and software environment for game operation. It provides cloud gaming services by mounting a game disk corresponding to the game and running the game resource data stored in the game disk. The cloud gaming server 30 includes a local data disk, primarily used to store operating system-related data. In this embodiment, the cloud gaming server 30 can also create a virtual disk on the local data disk using VHD or VHDX technology. This virtual disk corresponds to the first virtual disk included in the game disk and can be referred to as the second virtual disk. The second virtual disk is used as a differential data virtual disk and is mounted. When a game operation command is received from the terminal device 20, depending on the command type, the operation command can be processed using either the first virtual disk in the game disk or the second virtual disk in the local data disk. This ensures that modifications made to game resource data by the user at the front end do not affect the game disk storing the original game resource data. Therefore, when other users use the game, data recovery of the game disk is not required, and the cloud game can be quickly launched, improving the user's cloud gaming experience.

[0054] The management server 10 and cloud gaming server 30 can be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 20 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, in-vehicle smart terminal, etc., but is not limited to these. The terminal device 20, management server 10, and cloud gaming server 30 can be directly or indirectly connected via wired or wireless communication, and this application does not impose any restrictions.

[0055] Please see Figure 1b This is a schematic diagram of a cloud gaming platform architecture provided in an embodiment of this application. Based on Figure 1a The cloud gaming service system shown and Figure 1b The cloud gaming platform architecture shown can be implemented as follows:

[0056] (1) Players access the cloud gaming SDK through a client such as a browser on their terminal device, then freely select the corresponding game, and then send a request to the cloud gaming platform provider to access it.

[0057] (2) The cloud gaming platform provider will request the scheduling module of the management server 10 to allocate a machine (i.e., a cloud gaming server). The scheduling module will select the appropriate machine type according to the game selected by the player and search for an idle machine. If there is no idle machine, it will enter the queue and be allocated when an idle machine becomes available.

[0058] (3) After the scheduling module of the management server 10 allocates the machine, it requests the game disk (i.e. the cloud disk CBS mentioned above) management module of the management server 10 for the current game. If the CBS cache queue already has a corresponding CBS, it will be allocated directly; otherwise, a new CBS will be created by taking a snapshot of the game resource data of the game and then allocated.

[0059] (4) Provide the assigned game disk to the player's machine, mount the assigned CBS on the machine, and then create a soft link to the game directory on the mounted CBS. The game can then be run by opening the directory.

[0060] (5) Each machine needs to synchronize its heartbeat with the scheduling module of the management server 10, report the machine's information to the scheduling module, and the scheduling module can also understand the machine's status in real time and select a machine to match other players.

[0061] (6) The scheduling module returns the allocated machine information to the cloud gaming platform provider, and the provider then synchronizes this information to the players.

[0062] (7) After a player is assigned to a machine, he can directly connect to the assigned machine through a client such as a browser on the terminal device 20. The player's game operation is transmitted to the cloud machine through a session, and the game screen is transmitted to the cloud gaming SDK through cloud encoding streaming. The cloud gaming SDK decodes and displays the game to the player. Data transmission can be done through WebRTC.

[0063] Please see Figure 2 This application's embodiments are based on Figure 1a The diagram illustrates a data processing method provided by a cloud gaming service system. This method can be applied to cloud gaming servers and specifically includes the following steps:

[0064] 201. In response to a game disk mounting instruction message, mount the game disk of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0065] The game disk mounting instruction message can be sent by the management server to the cloud gaming server after the game disk is determined from the game disk cache pool of the target game. The game disk mounting instruction message can carry the identification information of the game disk of the target game, such as the disk number of the game disk.

[0066] Specifically, the cloud gaming server responds to the game disk mounting instruction message and mounts the target game's game disk according to the identification information. By mounting the target game's game disk, the cloud gaming server gains the ability to provide cloud gaming services for the target game to the user. After mounting the target game's game disk, the cloud gaming server can obtain the first virtual disk included in the game disk. This first virtual disk can be called the parent virtual disk, which stores the original game resource data of the target game, such as the target game's game folder, game configuration files, etc.

[0067] 202. Send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game.

[0068] Specifically, the cloud gaming server can establish a communication connection with the first terminal device and send the first game resource data of the target game stored in the first virtual disk to the first terminal device by calling the web instant messaging interface. This first game resource data can be a portion of the game resource data of the target game stored in the first virtual disk. For example, it can include basic data for launching the target game and can be used to display game screenshots (such as the target game's homepage). It can also include game resource data for running specific levels of the target game (such as the first level). The first terminal device can use the first game resource data to display the target game's homepage and other game screenshots on a browser or other client application interface. In addition, it can also display the first game resource data itself, such as the target game's folder and configuration files.

[0069] 203. Obtain the operation instructions of the first terminal device for the target game.

[0070] Specifically, when using the cloud gaming service for the target game, users can input operation commands for the target game. These operation commands can be, for example, operations on the game screen of the target game displayed on the first terminal device or on folders and configuration files included in the first game resource data. The cloud gaming server receives the user's operation commands for the target game sent by the first terminal device.

[0071] 204. Process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction.

[0072] In this embodiment, a first virtual disk in the game disk and a second virtual disk in the local data disk can be provided for processing user operation commands.

[0073] Specifically, after the cloud gaming server receives the user's operation instructions for the target game, it can first determine the type of the operation instructions. Then, based on the different types of operation instructions, it selects a matching virtual disk from the first virtual disk in the game disk and the second virtual disk in the local data disk, and uses the matching virtual disk to process the operation instructions.

[0074] In this embodiment, the cloud gaming server can respond to a game disk mounting instruction message and mount a game disk for the target game. The game disk includes a first virtual disk storing game resource data of the target game. The server sends this first game resource data to the first terminal device, which is used to display the game screen of the target game. When the cloud gaming server receives an operation command from the first terminal device for the target game, it can process the command using either the first virtual disk or a second virtual disk in the local data disk, depending on the command type. Therefore, depending on the command type of the terminal device's operation command, the server can choose to process either the first virtual disk in the game disk or the second virtual disk in the local data disk. This effectively avoids modifications to the game disk data caused by user changes to game resource data, eliminating the need for data recovery and saving time spent on game disk data recovery, thus improving the user's cloud gaming experience.

[0075] Please see Figure 3 This application's embodiments are based on Figure 1a The diagram illustrates another data processing method provided by the cloud gaming service system. This method can be applied to cloud gaming servers and specifically includes the following steps:

[0076] 301. In response to a game disk mounting instruction message, mount the game disk of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0077] 302. Send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game.

[0078] The specific implementation of steps 301 to 302 can be found in the relevant descriptions of steps 201 to 202 in the aforementioned embodiments, and will not be repeated here.

[0079] 303. Create a second virtual disk corresponding to the first virtual disk in the local data disk. The second virtual disk is used to store the change records of the game resource data of the target game by the first terminal device.

[0080] 304. Mount the second virtual disk in the local data disk.

[0081] Specifically, the cloud gaming server can create a second virtual disk in the local data disk that corresponds to the first virtual disk, and use the second virtual disk as a differential data virtual disk to handle user changes to game resource data, thereby isolating user modifications to game resource data from the target game's game disk.

[0082] 305. Obtain the operation instructions of the first terminal device for the target game.

[0083] The specific implementation of step 305 can be found in the relevant description of step 203 in the aforementioned embodiments, and will not be repeated here.

[0084] 306. Determine the instruction type of the operation instruction based on the operation object of the operation instruction, wherein the operation object includes one or both of the game resource data and game screen of the target game.

[0085] In this embodiment of the application, when a user uses the cloud gaming service of the target game, the object of operation can be divided into two main parts: one part is the game resource data of the target game (such as game folders, configuration files, etc.), such as Figure 4a As shown, the application interface of the client on the first terminal device displays folders A, B, C, D (401) and files a, b, c (402) of the target game. The user can input operation commands for these folders or files, such as adding, deleting, or modifying folders / files; the other part is the game screen of the target game, such as... Figure 4b As shown, the game screen displays the game progress of the target game. For example, after completing the current level (403), the user can enter operation commands to start the next level (404), or choose to replay (405). The user can also quickly select the level of interest in the level list (406) and start the corresponding level directly.

[0086] Specifically, the cloud gaming server can determine the instruction type of the operation instruction based on the object of the operation instruction. For example, the object of operation may include the game resource data and game screen of the target game. When the object of operation is the game resource data of the target game, the cloud gaming server determines the instruction type of the operation instruction to be the operation of the game resource data of the target game; when the object of operation is the game screen of the target game, the cloud gaming server determines the instruction type of the operation instruction to be the operation of the game screen of the target game.

[0087] 307. If the instruction type is to operate on the game resource data of the target game, then the operation instruction is processed using the second virtual disk in the local data disk.

[0088] Specifically, cloud gaming servers can choose different processing strategies for different types of operation commands. If the command type involves manipulating the game resource data of the target game, such as a user attempting to modify the game resource data (folders or files) of the target game, the second virtual disk in the local data disk can be used to process the command. This isolates the user's modification of the game resource data from the target game's game disk, preventing the user's modification of the game resource data from causing changes to the data in the game disk.

[0089] In some feasible implementations, the specific methods by which a cloud gaming server processes operation commands using a second virtual disk on a local data disk may include:

[0090] Cloud gaming servers can generate operation instructions that modify game resource data in the target game, and store these modification records in a second virtual disk within the local data disk. The modification record can include one or more of the following: modification type, modification object, and modification data. Specifically, the modification type can include adding data, deleting data, or modifying data. For example, if the modification type is adding data, the modification record can include the newly added record and the specific newly added data content. Figure 4a For example, assuming the user's operation command is to add file d, the change record can include the newly added file d and the data content of file d; if the change type is to delete or modify data, the change record can include the deleted record or the modified record, respectively. Figure 4a For example, if the user's operation command is to delete folder B, then the change record can include deleting folder B.

[0091] It should be noted that after a user performs an operation command on the game resource data of the target game, the corresponding data change effect will be displayed on the first terminal device. For example, if data is added, the added data will be displayed in the application interface of the client on the first terminal device. Similarly, if data is deleted, the effect of deleting the data will be displayed in the application interface of the client on the first terminal device. In other words, what the user sees is the effect of data change. However, on the cloud gaming server, the data change behavior made by the user will not take effect on the data in the game disk. Instead, the user's change operation is processed using a second virtual disk created in the local data disk.

[0092] 308. If the instruction type is to operate the game screen of the target game, then the first virtual disk is used to process the operation instruction.

[0093] Specifically, if the instruction type is to operate the game screen of the target game, such as the operation instruction being for the user to proceed to the next level or a specific level, the first virtual disk in the game disk can be used to process the operation instruction. For example, the data required for the target game to enter the next level or a specific level can be provided to the first terminal device to ensure the normal operation of the target game's cloud gaming service.

[0094] In some feasible implementations, the specific way in which the cloud gaming server processes the operation instructions using the first virtual disk may include:

[0095] The cloud gaming server determines the second game resource data of the target game corresponding to the user's operation command, then retrieves the second game resource data from the first virtual disk of the game disk, and sends the second game resource data to the first terminal device. This allows the first terminal device to display the game screen triggered by the operation command based on the second game resource data. Figure 4b For example, assuming the user's operation command is to enter the final level of the target game, the cloud gaming server can obtain the game resource data corresponding to the final level (i.e., the second game resource data mentioned above) from the first virtual disk of the game disk. This game resource data may include scene map data, character data, item data, etc. required for the final level. Then, it sends the game resource data corresponding to the final level to the first terminal device. The first terminal device can display the game screen of the final level based on the game resource data for the user to operate.

[0096] In some feasible implementations, when a user exits the target game, the first terminal device can send an exit command for the target game to the cloud gaming server. In response to the exit command from the first terminal device, the cloud gaming server can destroy the second virtual disk in the local data disk. That is, after the user ends the game, the virtual disk used to process the user's changes to game resource data is destroyed. By destroying this virtual disk (i.e., the aforementioned second virtual disk), the records generated by the user's changes can be cleared. Since the data changes made by the user do not take effect on the data in the game disk, the game resource data in the game disk is not modified, which can achieve rapid recovery of the game disk and improve recovery efficiency.

[0097] Furthermore, after destroying the second virtual disk, the cloud gaming server can create a new virtual disk (denoted as the third virtual disk) corresponding to the first virtual disk of the game disk in the local data disk, and mount this third virtual disk. The third virtual disk can be used to process change records corresponding to changes made to the game resource data of the target game by the current user or other users through the second terminal device when they use the target game again. The second terminal device can be the same as or different from the first terminal device mentioned above. It can be seen that by creating a new virtual disk in advance on the local data disk, the speed of the target game when the current user or other users use it again can be improved, thus enhancing the user experience.

[0098] In some feasible implementations, when the cloud gaming server receives an exit command for the target game from the first terminal device, it may choose not to destroy the second virtual disk in the local data disk, but instead format the second virtual disk. This means clearing the current user's changes to the game resource data of the target game and using the formatted second virtual disk to record changes made to the game resource data of the target game by the current user or other users after the next launch of the target game. For example, operation commands for the game resource data of the target game submitted by the current user or other users through the second terminal device. The second terminal device may be the same as or different from the first terminal device mentioned above. This allows for the reuse of the virtual disk by formatting the virtual disk in the local data disk without destroying it, avoiding the repeated destruction of the virtual disk in the local data disk and the creation of new virtual disks.

[0099] In some feasible implementations, before destroying or formatting the second virtual disk in the local data disk, the cloud gaming server can read the change records stored in the second virtual disk and send the read change records and the currently logged-in user account to the management server so that the management server can perform persistent storage and use it for purposes such as traceability.

[0100] In some feasible implementations, after the first terminal device exits the target game, other users can directly use the cloud gaming server and game disk previously allocated for the target game. This is because the game resource data in the target game's game disk has not been modified. After the current user exits the target game, the cloud gaming server does not need to unmount the currently mounted game disk and can maintain its mounted state for a long time, thus saving the time spent unmounting the current game disk and remounting the new game disk. Specifically, after the first terminal device exits the target game, other users can use the cloud gaming server and game disk previously allocated for the target game through a second terminal device. For example, after the management server receives the target game launch command sent by the second terminal device, it can directly notify the second terminal device to establish a communication connection with the cloud gaming server. After establishing a communication connection with the second terminal device, other users can use the target game's cloud gaming service through the second terminal device. The cloud gaming server can also receive operation commands from the second terminal device for the target game and process the operation commands using the first virtual disk in the game disk or the corresponding virtual disk in the local data disk, depending on the command type.

[0101] In this embodiment of the application, the cloud gaming server can respond to the game disk mounting instruction message, mount the game disk of the target game, wherein the game disk includes a first virtual disk, the first virtual disk stores the game resource data of the target game, and send the first game resource data of the target game stored in the first virtual disk to the first terminal device, the first game resource data being used by the first terminal device to display the game screen of the target game. The cloud gaming server creates a second virtual disk corresponding to the first virtual disk in the local data disk and mounts the second virtual disk in the local data disk. When it receives an operation command from the first terminal device for the target game, it determines the command type based on the operation object of the command. If the command type is to operate on the game resource data of the target game, the second virtual disk in the local data disk is used to process the command. If the command type is to operate on the game screen of the target game, the first virtual disk is used to process the command. It can be seen that by creating a virtual disk in the local data disk, the first virtual disk in the game disk or the second virtual disk in the local data disk can be selected for processing according to the different command types of the terminal device's operation command. This effectively avoids the modification of the data in the game disk caused by the user's operation to change the game resource data, eliminating the need for data recovery of the game disk, saving the time spent on game disk data recovery, and improving the user's experience of starting cloud games.

[0102] Please see Figure 5 This application's embodiments are based on Figure 1aThe diagram illustrates another data processing method provided by the cloud gaming service system. This method can be applied to the management server and specifically includes the following steps:

[0103] 501. In response to the launch command of the first terminal device for the target game, determine the cloud game server corresponding to the first terminal device from the set of cloud game servers.

[0104] Specifically, the management server can receive the launch command of the target game sent by the first terminal device, respond to the launch command, and determine the matching cloud game server from the multiple cloud game servers included in the cloud game server set. For example, it can select a cloud game server with matching device performance, specifically, the performance parameters such as processor and memory can match the configuration requirements of the target game.

[0105] 502. Determine the game disk corresponding to the cloud gaming server based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0106] The target game's game disk cache pool can include one or more game disks of the target game that have been created. Each game disk stores the complete game resource data of the target game, which can be stored in a virtual disk (denoted as the first virtual disk) created in each game disk.

[0107] Specifically, the management server can query whether there is a free game disk in the target game's game disk cache pool. If there is a free game disk, it will be used as the game disk to be allocated. If there is no free game disk, it can directly create a new game disk based on the target game's snapshot data, create a first virtual disk in the newly created game disk, and store the target game's game resource data in the first virtual disk.

[0108] In some feasible implementations, each game initially only needs to create one game disk, then create a parent virtual disk for that game disk, and then retrieve the complete game resource data from the game repository, copy it to the parent virtual disk, and create a snapshot based on the content of the parent virtual disk. When the number of game disks for that game becomes insufficient, for example when multiple players simultaneously use the game's cloud gaming service, a new game disk can be created directly based on the snapshot. Specifically, when the target game is launched, the management server can retrieve the target game's game resource data from the game repository, create a game disk for the target game, and then create a first virtual disk within that game disk. The target game's game resource data is then stored in the first virtual disk, and snapshot data for the target game is generated based on the game resource data stored in the first virtual disk. This snapshot data can be used to quickly create a new, usable game disk when there are no available game disks.

[0109] In some feasible implementations, the management server can obtain the amount of game resource data of the target game, create a virtual disk in the game disk with a capacity matching the amount of game resource data, and use the virtual disk as the first virtual disk.

[0110] In some feasible implementations, the management server can also mount the first virtual disk in the system and obtain the identification information of the first virtual disk according to the mounting result, and establish a correspondence between the first virtual disk and the second virtual disk based on the identification information of the first virtual disk; then, the first virtual disk can be initialized and the game resource data of the target game can be stored in the disk partition of the first virtual disk after initialization.

[0111] 503. Send a game disk mounting instruction message to the cloud gaming server. The game disk mounting instruction message is used to instruct the cloud gaming server to mount the game disk and process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction of the first terminal device for the target game.

[0112] Specifically, the management server can send a game disk mounting instruction message to the cloud gaming server. The game disk mounting instruction message includes the identification information of the target game's game disk. The cloud gaming server mounts the game disk according to the identification information, and after mounting the game disk, it processes the operation instructions using the first virtual disk in the game disk or the second virtual disk in the local data disk, according to the instruction type of the operation instructions of the first terminal device for the target game.

[0113] In some feasible implementations, after the first terminal device exits the target game, when the management server receives the launch command for the target game submitted by the second terminal device, it can directly determine the cloud gaming server and the currently mounted game disk, and then send the device information of the cloud gaming server to the second terminal device. The second terminal device can then establish a communication connection with the cloud gaming server based on the device information. It can be seen that after the current user exits the target game, the cloud gaming server does not need to unmount the currently mounted game disk, but can maintain the mounted state with the game disk for a long time, thereby saving the time spent unmounting the current game disk and remounting the new game disk. Furthermore, the game resource data in the currently mounted game disk is not modified, and the stored game resource data is still complete, so the target game can be loaded directly, accurately, and without errors.

[0114] In some feasible implementations, after the management server allocates the cloud gaming server and game disk corresponding to the target game to the first terminal device, it can perform game-related configurations and set symbolic link paths when it confirms that the cloud gaming server has successfully mounted the target game's game disk. This includes adapting the resolution, bitrate, and screen size of the first terminal device, as well as creating the game directory. Once the game disk is mounted and installed, the cloud gaming experience can begin. Specifically, the device information of the allocated cloud gaming server can be notified to the first terminal device. This device information may include the device identifier, network address, and port number. The first terminal device establishes a communication connection (such as a direct connection) with the cloud gaming server based on the device information. The cloud gaming server can call a web instant messaging interface (such as WebRTC) to send the target game's game resource data to the first terminal device. The first terminal device can display the target game's game resource data or game screen through a client (such as a browser). Users can operate on the target game's game resource data or game screen on the first terminal device, such as changing the game resource data or manipulating the game screen to advance to the next level.

[0115] In some feasible implementations, such as Figure 6 The diagram shown is a schematic representation of the overall process of using a game disk based on a virtual disk, according to an embodiment of this application. Specifically, it may include:

[0116] (1) Content Pool 61: Includes game resource data of various games provided by the game repository, and can be managed by the management server, such as adding games, deleting games, etc.

[0117] (2) Snapshot Pool 62: This pool contains snapshots of game resource data for each game. These snapshots can be used to quickly create usable game disks. Specifically, it can be divided by region. For example, the X region game disk snapshot refers to the snapshot data of the game disks provided by region X.

[0118] (3) Cloud disk pool 63: includes game disks for each game. The management server creates a parent virtual disk in each game disk to store game resource data.

[0119] (4) Cloud Instance Pool 64: This includes various cloud game servers that provide cloud game services. Each cloud game server is equivalent to an instance. The cloud game server creates a differential virtual disk (i.e., the second virtual disk) in the local write-back disk (i.e., the local data disk mentioned above) that corresponds to the parent virtual disk of the mounted game disk (i.e., the first virtual disk mentioned above). The differential virtual disk is used to process and record the user's changes to the game resource data.

[0120] In this embodiment, the management server stores game resource data by creating a virtual disk in the game disk and associates the virtual disk created in the game disk with the virtual disk created in the local data disk of the cloud gaming server. This allows the cloud gaming server to process operation commands based on the command type of the terminal device's operation command for the target game using either the virtual disk in the game disk or the virtual disk in the local data disk. This ensures that modifications made to game resource data by the user on the front end will not take effect on the game disk storing the original game resource data, eliminating the need for data recovery of the game disk, improving game startup speed, and enhancing the user's cloud gaming experience.

[0121] Please see Figure 7 This is a flowchart illustrating another data processing method provided in an embodiment of this application. The method specifically includes the following steps:

[0122] 701. The first terminal device sends a start command for the target game to the management server.

[0123] 702. The management server responds to the startup command and determines the cloud gaming server corresponding to the first terminal device and the game disk corresponding to the cloud gaming server, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0124] 703. The management server sends a game disk mounting instruction message to the cloud gaming server.

[0125] 704. The cloud gaming server responds to the game disk mounting instruction message and mounts the game disk.

[0126] 705. The cloud gaming server creates a second virtual disk corresponding to the first virtual disk in the local data disk.

[0127] 706. The cloud gaming server calls the web instant messaging interface to send the first game resource data of the target game stored in the first virtual disk to the first terminal device.

[0128] 707. The first terminal device displays the game screen of the target game through the client based on the first game resource data.

[0129] 708. The first terminal device obtains operation instructions for the target game.

[0130] 709. The first terminal device sends the operation command to the cloud gaming server.

[0131] 710. The cloud gaming server processes the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction.

[0132] 711. The first terminal device sends an exit command for the target game to the cloud gaming server.

[0133] 712. In response to the exit command, the cloud gaming server destroys the second virtual disk in the local data disk and creates a third virtual disk corresponding to the first virtual disk in the local data disk.

[0134] It should be noted that the specific implementation of steps 701 to 712 in the embodiments of this application can be found in [reference needed]. Figure 2 , 3 The implementation methods described in the relevant embodiments of the data processing method provided in 5 are not repeated here.

[0135] Please see Figure 8 This is a schematic diagram of a data processing apparatus according to an embodiment of this application. The apparatus includes:

[0136] The mounting module 801 is used to mount the game disk of the target game in response to the game disk mounting instruction message, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0137] The sending module 802 is used to send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game.

[0138] The acquisition module 803 is used to acquire the operation instructions of the first terminal device for the target game.

[0139] The processing module 804 is used to process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction.

[0140] Optionally, the processing module 804 is specifically used for:

[0141] The instruction type of the operation instruction is determined according to the operation object of the operation instruction. The operation object includes one or both of the game resource data and game screen of the target game.

[0142] If the instruction type is to operate on the game resource data of the target game, then the operation instruction is processed using the second virtual disk in the local data disk.

[0143] Optionally, the processing module 804 is specifically used for:

[0144] Generate a record of changes to the game resource data of the target game based on the operation instructions.

[0145] The change record is stored in a second virtual disk in the local data disk, and the change record includes one or more of the following: change type, change object, and change data.

[0146] Optionally, the processing module 804 is further configured to:

[0147] If the instruction type is to operate the game screen of the target game, then the first virtual disk is used to process the operation instruction.

[0148] Optionally, the processing module 804 is specifically used for:

[0149] Determine the second game resource data of the target game corresponding to the operation instruction.

[0150] The second game resource data is obtained from the first virtual disk and sent to the first terminal device.

[0151] Optionally, the processing module 804 is further configured to:

[0152] A second virtual disk corresponding to the first virtual disk is created in the local data disk. The second virtual disk is used to store the change records of the game resource data of the target game by the first terminal device.

[0153] Mount the second virtual disk in the local data disk.

[0154] Optionally, the processing module 804 is further configured to:

[0155] In response to the exit command from the first terminal device for the target game, the second virtual disk in the local data disk is destroyed.

[0156] A third virtual disk corresponding to the first virtual disk is created in the local data disk. The third virtual disk is used to store the change records of the game resource data of the target game by the second terminal device.

[0157] Optionally, the sending module 802 is specifically used for:

[0158] Establish a communication connection with the first terminal device.

[0159] The first game resource data of the target game stored in the first virtual disk is sent to the first terminal device by calling the web instant messaging interface.

[0160] It should be noted that the functions of each functional module of the data processing device in this application embodiment can be based on the methods described above. Figure 2 , 3 The specific implementation of the data processing method provided in the relevant embodiments can be referred to the relevant description of the above method embodiments, and will not be repeated here.

[0161] Please see Figure 9 This is a schematic diagram of another data processing apparatus according to an embodiment of this application. The apparatus includes:

[0162] The determination module 901 is used to determine the cloud game server corresponding to the first terminal device from the cloud game server set in response to the launch command of the first terminal device for the target game.

[0163] The determining module 901 is further configured to determine the game disk corresponding to the cloud gaming server based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0164] The sending module 902 is used to send a game disk mounting instruction message to the cloud gaming server. The game disk mounting instruction message is used to instruct the cloud gaming server to mount the game disk and process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction of the first terminal device for the target game.

[0165] Optionally, the device further includes:

[0166] Processing module 903 is used for:

[0167] Retrieve game resource data of the target game from the game repository.

[0168] Create the game disk for the target game.

[0169] A first virtual disk is created in the game disk, and the game resource data of the target game is stored in the first virtual disk.

[0170] Snapshot data of the target game is generated based on the game resource data of the target game stored in the first virtual disk.

[0171] Optionally, the determining module 901 is specifically used for:

[0172] If there is no free game disk in the game disk cache pool of the target game, then the game disk corresponding to the cloud game server is created based on the snapshot data of the target game.

[0173] A first virtual disk is created in the game disk, and the game resource data of the target game is stored in the first virtual disk.

[0174] Optionally, the determining module 901 is further configured to determine the cloud gaming server and the game disk currently mounted on the cloud gaming server when the second terminal device receives a start command for the target game after the first terminal device exits the target game.

[0175] The sending module 902 is further configured to send device information of the cloud gaming server to the second terminal device, the device information being used by the second terminal device to establish a communication connection with the cloud gaming server.

[0176] It should be noted that the functions of each functional module of the data processing device in this application embodiment can be based on the methods described above. Figure 5 The specific implementation of the provided data processing method can be found in the description of the above method embodiments, and will not be repeated here.

[0177] Please see Figure 10 This is a schematic diagram of the structure of a computer device according to an embodiment of this application. The computer device according to this embodiment includes a power supply module and other structures, and includes a processor 1001, a storage device 1002, and a network interface 1003. The processor 1001, the storage device 1002, and the network interface 1003 can exchange data.

[0178] The storage device 1002 may include volatile memory, such as random-access memory (RAM); the storage device 1002 may also include non-volatile memory, such as flash memory, solid-state drive (SSD), etc.; the storage device 1002 may also include a combination of the above types of memory.

[0179] The processor 1001 may be a central processing unit (CPU). In one embodiment, the processor 1001 may also be a graphics processing unit (GPU). The processor 1001 may also be a combination of a CPU and a GPU. In one embodiment, the storage device 1002 is used to store program instructions.

[0180] In one embodiment, when the computer device acts as the aforementioned cloud gaming server, the processor 1001 can invoke the program instructions to perform the following operations:

[0181] In response to a game disk mounting instruction message, the game disk of the target game is mounted, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0182] The first game resource data of the target game stored in the first virtual disk is sent to the first terminal device through the network interface 1003. The first game resource data is used to display the game screen of the target game.

[0183] Obtain the operation instructions from the first terminal device for the target game.

[0184] The operation instruction is processed using the first virtual disk or the second virtual disk in the local data disk, depending on the instruction type of the operation instruction.

[0185] Optionally, the processor 1001 is specifically used for:

[0186] The instruction type of the operation instruction is determined according to the operation object of the operation instruction. The operation object includes one or both of the game resource data and game screen of the target game.

[0187] If the instruction type is to operate on the game resource data of the target game, then the operation instruction is processed using the second virtual disk in the local data disk.

[0188] Optionally, the processor 1001 is specifically used for:

[0189] Generate a record of changes to the game resource data of the target game based on the operation instructions.

[0190] The change record is stored in a second virtual disk in the local data disk, and the change record includes one or more of the following: change type, change object, and change data.

[0191] Optionally, the processor 1001 is further configured to:

[0192] If the instruction type is to operate the game screen of the target game, then the first virtual disk is used to process the operation instruction.

[0193] Optionally, the processor 1001 is specifically used for:

[0194] Determine the second game resource data of the target game corresponding to the operation instruction.

[0195] The second game resource data is obtained from the first virtual disk and sent to the first terminal device.

[0196] Optionally, the processor 1001 is further configured to:

[0197] A second virtual disk corresponding to the first virtual disk is created in the local data disk. The second virtual disk is used to store the change records of the game resource data of the target game by the first terminal device.

[0198] Mount the second virtual disk in the local data disk.

[0199] Optionally, the processor 1001 is further configured to:

[0200] In response to the exit command from the first terminal device for the target game, the second virtual disk in the local data disk is destroyed.

[0201] A third virtual disk corresponding to the first virtual disk is created in the local data disk. The third virtual disk is used to store the change records of the game resource data of the target game by the second terminal device.

[0202] Optionally, the processor 1001 is specifically used for:

[0203] A communication connection is established with the first terminal device through network interface 1003.

[0204] The first game resource data of the target game stored in the first virtual disk is sent to the first terminal device by calling the web instant messaging interface.

[0205] In one embodiment, when the computer device acts as the aforementioned management server, the processor 1001 can invoke the program instructions to perform the following operations:

[0206] In response to the launch command of the first terminal device for the target game, the cloud game server corresponding to the first terminal device is determined from the set of cloud game servers.

[0207] The game disk corresponding to the cloud gaming server is determined based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game.

[0208] The first terminal device sends a game disk mounting instruction message to the cloud gaming server via network interface 1003. The game disk mounting instruction message is used to instruct the cloud gaming server to mount the game disk and process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction of the first terminal device for the target game.

[0209] Optionally, the processor 1001 is further configured to:

[0210] Retrieve game resource data of the target game from the game repository.

[0211] Create the game disk for the target game.

[0212] A first virtual disk is created in the game disk, and the game resource data of the target game is stored in the first virtual disk.

[0213] Snapshot data of the target game is generated based on the game resource data of the target game stored in the first virtual disk.

[0214] Optionally, the processor 1001 is specifically used for:

[0215] If there is no free game disk in the game disk cache pool of the target game, then the game disk corresponding to the cloud game server is created based on the snapshot data of the target game.

[0216] A first virtual disk is created in the game disk, and the game resource data of the target game is stored in the first virtual disk.

[0217] Optionally, the processor 1001 is further configured to:

[0218] After the first terminal device exits the target game, when a launch command for the target game is received from the second terminal device, the cloud gaming server and the game disk currently mounted on the cloud gaming server are determined.

[0219] The device information of the cloud gaming server is sent to the second terminal device through network interface 1003. The device information is used by the second terminal device to establish a communication connection with the cloud gaming server.

[0220] In specific implementation, the processor 1001, storage device 1002, and network interface 1003 described in the embodiments of this application can execute the embodiments of this application. Figure 2 , 3 The implementation methods described in the relevant embodiments of the data processing method provided in section 5 can also be used to execute the embodiments of this application. Figure 8 , 9 The implementation methods described in the relevant embodiments of the provided data processing device will not be repeated here.

[0221] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program includes one or more instructions and can be stored in a computer storage medium. When executed, the program can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0222] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps described in the embodiments of the above methods.

[0223] The above-disclosed embodiments are only some of the embodiments of this application, and should not be construed as limiting the scope of this application. Therefore, any equivalent changes made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A data processing method, characterized in that, The method includes: In response to a game disk mounting instruction message, the game disk of the target game is mounted, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game; Send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game. Obtain the operation instructions from the first terminal device for the target game; The operation instruction is processed using the first virtual disk or the second virtual disk in the local data disk, depending on the instruction type of the operation instruction. The step of processing the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction includes: The instruction type of the operation instruction is determined according to the operation object of the operation instruction, and the operation object includes one or both of the game resource data and game screen of the target game; If the instruction type is to operate on the game resource data of the target game, then the operation instruction is processed using the second virtual disk in the local data disk.

2. The method according to claim 1, characterized in that, The process of using a second virtual disk in the local data disk to process the operation command includes: Generate a record of changes to the game resource data of the target game by the operation instructions; The change record is stored in a second virtual disk in the local data disk, and the change record includes one or more of the following: change type, change object, and change data.

3. The method according to claim 1, characterized in that, The method further includes: If the instruction type is to operate the game screen of the target game, then the first virtual disk is used to process the operation instruction.

4. The method according to claim 3, characterized in that, The process of using the first virtual disk to process the operation command includes: Determine the second game resource data of the target game corresponding to the operation instruction; The second game resource data is obtained from the first virtual disk and sent to the first terminal device.

5. The method according to any one of claims 1 to 4, characterized in that, Before processing the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction, the method further includes: Create a second virtual disk corresponding to the first virtual disk in the local data disk. The second virtual disk is used to store the change records of the game resource data of the target game by the first terminal device. Mount the second virtual disk in the local data disk.

6. The method according to claim 1, characterized in that, The method further includes: In response to the exit command from the first terminal device for the target game, the second virtual disk in the local data disk is destroyed; A third virtual disk corresponding to the first virtual disk is created in the local data disk. The third virtual disk is used to store the change records of the game resource data of the target game by the second terminal device.

7. The method according to claim 1, characterized in that, Sending the first game resource data of the target game stored in the first virtual disk to the first terminal device includes: Establish a communication connection with the first terminal device; The first game resource data of the target game stored in the first virtual disk is sent to the first terminal device by calling the web instant messaging interface.

8. A data processing method, characterized in that, The method includes: In response to the launch command of the first terminal device for the target game, the cloud game server corresponding to the first terminal device is determined from the set of cloud game servers; The game disk corresponding to the cloud gaming server is determined based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game; A game disk mounting instruction message is sent to the cloud gaming server. This message instructs the cloud gaming server to mount the game disk. Based on the instruction type of the operation command from the first terminal device for the target game, the operation command is processed using either the first virtual disk or a second virtual disk in the local data disk. The process of processing the operation command using either the first virtual disk or the second virtual disk in the local data disk, based on the instruction type of the operation command from the first terminal device for the target game, includes: determining the instruction type of the operation command based on the operation object of the operation command from the first terminal device for the target game. The operation object includes one or both of the target game's game resource data and game screen. If the instruction type is to operate on the target game's game resource data, then the operation command is processed using the second virtual disk in the local data disk.

9. The method according to claim 8, characterized in that, Before determining the game disk corresponding to the cloud gaming server from the game disk cache pool of the target game, the method further includes: Retrieve game resource data of the target game from the game repository; Create the game disk for the target game; A first virtual disk is created in the game disk, and the game resource data of the target game is stored in the first virtual disk; Snapshot data of the target game is generated based on the game resource data of the target game stored in the first virtual disk.

10. The method according to claim 8 or 9, characterized in that, The step of determining the game disk corresponding to the cloud gaming server based on the game disk cache pool of the target game includes: If there is no free game disk in the game disk cache pool of the target game, then the game disk corresponding to the cloud game server is created based on the snapshot data of the target game; A first virtual disk is created in the game disk, and the game resource data of the target game is stored in the first virtual disk.

11. The method according to claim 8 or 9, characterized in that, After sending the game disk mounting instruction message to the cloud gaming server, the method further includes: After the first terminal device exits the target game, when a launch command for the target game is received from the second terminal device, the cloud gaming server and the game disk currently mounted on the cloud gaming server are determined. The device information of the cloud gaming server is sent to the second terminal device. The device information is used by the second terminal device to establish a communication connection with the cloud gaming server.

12. A data processing apparatus, characterized in that, The device includes: The mounting module is used to mount the game disk of the target game in response to the game disk mounting instruction message, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game; The sending module is used to send the first game resource data of the target game stored in the first virtual disk to the first terminal device. The first game resource data is used to display the game screen of the target game. The acquisition module is used to acquire the operation instructions of the first terminal device for the target game; The processing module is used to process the operation instruction using the first virtual disk or the second virtual disk in the local data disk according to the instruction type of the operation instruction; Specifically, the processing module is used to determine the instruction type of the operation instruction based on the operation object of the operation instruction. The operation object includes one or both of the game resource data and game screen of the target game. If the instruction type is to operate the game resource data of the target game, the operation instruction is processed using the second virtual disk in the local data disk.

13. A data processing apparatus, characterized in that, The device includes: The determination module is used to determine the cloud game server corresponding to the first terminal device from the cloud game server set in response to the launch command of the first terminal device for the target game; The determining module is further configured to determine the game disk corresponding to the cloud gaming server based on the game disk cache pool of the target game, wherein the game disk includes a first virtual disk, and the first virtual disk stores the game resource data of the target game; A sending module is configured to send a game disk mounting instruction message to the cloud gaming server. The game disk mounting instruction message instructs the cloud gaming server to mount the game disk. Based on the instruction type of the operation instruction from the first terminal device for the target game, the module processes the operation instruction using either the first virtual disk or a second virtual disk in the local data disk. Specifically, processing the operation instruction using either the first virtual disk or the second virtual disk in the local data disk based on the instruction type of the operation instruction from the first terminal device for the target game includes: determining the instruction type of the operation instruction based on the operation object of the operation instruction from the first terminal device for the target game. The operation object includes one or both of the target game's game resource data and game screen. If the instruction type is to operate on the target game's game resource data, then the operation instruction is processed using the second virtual disk in the local data disk.

14. A computer-readable storage medium, characterized in that, The computer storage medium stores a computer program, the computer program including program instructions, which are executed by a processor to perform the data processing method as described in any one of claims 1 to 7, or the data processing method as described in any one of claims 8 to 11.

15. A computer program product, characterized in that, The computer program product includes computer instructions that are executed by a processor to implement the data processing method as described in any one of claims 1 to 7, or the data processing method as described in any one of claims 8 to 11.