CN112999653B - Cloud game processing method, device, equipment and medium - Google Patents
Cloud game processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN112999653B CN112999653B CN202110083873.3A CN202110083873A CN112999653B CN 112999653 B CN112999653 B CN 112999653B CN 202110083873 A CN202110083873 A CN 202110083873A CN 112999653 B CN112999653 B CN 112999653B
- Authority
- CN
- China
- Prior art keywords
- game
- target
- terminal
- cloud
- game data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/33—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
- A63F13/335—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections using Internet
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a cloud game processing method, a cloud game processing device, cloud game processing equipment and a cloud game processing medium. The method comprises the following steps: when a target cloud game in a first terminal starts to run, acquiring first account information of a target user from a cloud game server; sending a game data acquisition request to a storage server based on the first account information; receiving the full amount of game data returned by the storage server, acquiring target game data from the full amount of game data, sending the target game data to the cloud game server, instructing the cloud game server to render according to the target game data to obtain a game picture, and sending the game picture to the first terminal for displaying. By adopting the method and the device, the game pictures matched with the equipment identifications can be displayed, and the game requirements of game players on the different game pictures corresponding to different systems are met.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a cloud game processing method, a cloud game processing apparatus, a cloud game processing device, and a computer-readable storage medium.
Background
The cloud game is a game mode based on cloud computing, and under the running mode of the cloud game, data processing and computing of the cloud game are finished in a cloud game server. For example, the cloud game server can render the game picture and transmit the game picture obtained by rendering processing to the game player, so that the terminal used by the game player does not need any high-end processor and video card, and can participate in the cloud game only by needing basic video decompression capacity.
At present, since all containers used for rendering game pictures in the cloud game server are android containers, game data pulled by a terminal (including a device deploying an android System or an IOS (apple operating System)) through the android containers are game data generated in the android System by a game account of a game player. For example, for a terminal deploying an IOS system, the terminal can only pull and display a game screen corresponding to game data generated by a game account in an android system from an android container. Therefore, the game data generated by the game account in different operating systems cannot be distinguished, so that the terminal can only display the game picture generated by the game account in the android system, and the game requirement of a game player on the game picture which corresponds to different systems to be distinguished can not be met.
Disclosure of Invention
The embodiment of the application provides a cloud game processing method, a cloud game processing device, cloud game equipment and a cloud game medium, which can display a game picture matched with an equipment identifier and meet game requirements of game players on different game pictures corresponding to different systems in a distinguished and displayed mode.
In one aspect, an embodiment of the present application provides a cloud game processing method, where the cloud game processing method includes:
when a target cloud game in a first terminal is started and operated, acquiring first account information of a target user from a cloud game server, wherein the first account information is information of the target user when the target cloud game is operated in the first terminal, the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and is sent to the cloud game server by the cloud game client server, and the first account information comprises a user identifier of the target user and an equipment identifier of the first terminal;
sending a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for indicating the storage server to search and return full game data corresponding to the user identification, and the full game data at least comprises target game data corresponding to the equipment identification of the first terminal;
receiving the full game data returned by the storage server, acquiring target game data corresponding to the equipment identifier of the first terminal from the full game data, and sending the target game data to the cloud game server so as to instruct the cloud game server to render according to the target game data to obtain a game picture, and sending the game picture to the first terminal for displaying.
In the embodiment of the application, the account management device can receive first account information sent by the cloud game server, and acquire full game data of a target user from the storage server based on the first account information; the account management equipment can also screen target game data matched with the equipment identifier of the first terminal from the full game data according to the first account information and issue the target game data to the cloud game server; therefore, even if the cloud game server is an android container, the cloud game server can render a game picture matched with the equipment identifier of the first terminal, so that terminals with different equipment identifiers can display different game data of a target user, and the game requirements of game players are met.
In another aspect, an embodiment of the present application provides a cloud game processing method, where the cloud game processing method includes:
when a target cloud game in a first terminal starts to run, receiving first account information of a target user, which is sent by a cloud game client server; the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and the first account information comprises a user identifier of a target user and a device identifier of the first terminal;
the first account information is forwarded to the account management device to instruct the account management device to send a game data acquisition request to a storage server based on the first account information, the game data acquisition request is used for instructing the storage server to search and return full game data corresponding to a user identifier of a target user, receiving the full game data returned by the storage server, acquiring target game data corresponding to a device identifier of a first terminal from the full game data, and sending the target game data to the cloud game server;
the method comprises the steps of receiving target game data sent by account management equipment, rendering according to the target game data to obtain a game picture of a target cloud game, and transmitting the game picture back to a cloud game client server so that the cloud game client server can indicate a first terminal to display the game picture.
In the embodiment of the application, the cloud game server can render the game picture of the target cloud game according to the target game data, and the target game data is the game data matched with the equipment identifier of the first terminal, so that the game information (such as game level, character and role and the like) contained in the rendered game picture is matched with the equipment identifier of the first terminal; and further, the game pictures of the target cloud game are distinguished and displayed according to the equipment identification of the terminal, and the game requirements of game players are met.
On the other hand, an embodiment of the present application provides a cloud game processing apparatus, including:
the cloud game system comprises an acquisition unit, a first terminal and a second terminal, wherein the acquisition unit is used for acquiring first account information of a target user from a cloud game server when the target cloud game in the first terminal is started and operated, the first account information is information of the target user when the target cloud game is operated in the first terminal, the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and is sent to the cloud game server by the cloud game client server, and the first account information comprises a user identifier of the target user and an equipment identifier of the first terminal;
the processing unit is used for sending a game data acquisition request to the storage server based on the first account information, wherein the game data acquisition request is used for indicating the storage server to search and return full game data corresponding to the user identifier, and the full game data at least comprises target game data corresponding to the equipment identifier of the first terminal;
and the processing unit is also used for receiving the full amount of game data returned by the storage server, acquiring target game data corresponding to the equipment identifier of the first terminal from the full amount of game data, sending the target game data to the cloud game server, indicating the cloud game server to render according to the target game data to obtain a game picture, and sending the game picture to the first terminal for displaying.
In one implementation, the first account information further includes a target game identifier of the target cloud game; the processing unit is specifically configured to, when acquiring the target game data from the full amount of game data:
screening a first candidate game data set matched with the equipment identification of the first terminal from the full amount of game data, wherein the first candidate game data set comprises game data corresponding to at least one game identification;
and screening out the game data matched with the target game identification from the first candidate game data set, and taking the screened out game data as the target game data.
In one implementation, the processing unit is further configured to:
correspondingly storing the full game data and the user identification into a cache space;
and receiving new game data sent by the cloud game server, and updating target game data in the cache space by adopting the new game data, wherein the new game data is acquired by the cloud game server in the running process of the target cloud game.
In one implementation, the processing unit is further configured to:
within a preset time period, if the target cloud game is switched from being started in the first terminal to being started in the second terminal, acquiring second account information of the target user from the cloud game server, wherein the second account information is information of the target user when the target cloud game is run in the second terminal, and the second account information comprises a user identifier of the target user and an equipment identifier of the second terminal;
and acquiring matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier, and sending the matched game data to the cloud game server to instruct the cloud game server to render game pictures according to the matched game data.
In one implementation, when the processing unit is configured to obtain, from the cache space, matching game data that matches the device identifier of the second terminal based on the user identifier, the processing unit is specifically configured to:
acquiring full game data corresponding to the user identification from the buffer space;
if the equipment identifier of the second terminal is the same as that of the first terminal, the updated target game data included in the full game data is used as the matched game data matched with the equipment identifier of the second terminal;
and if the equipment identification of the second terminal is different from the equipment identification of the first terminal, acquiring game data corresponding to the equipment identification of the second terminal from the full amount of game data, and taking the acquired game data as matched game data matched with the equipment identification of the second terminal.
In one implementation manner, if the target cloud game in the first terminal is authorized to log in through the target application program, the user identifier of the target user refers to a login account of the target user in the target application program.
On the other hand, an embodiment of the present application provides a cloud game processing apparatus, including:
the receiving unit is used for receiving first account information of a target user, which is sent by a cloud game client server, when a target cloud game in a first terminal starts to run; the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and the first account information comprises a user identifier of a target user and a device identifier of the first terminal;
the processing unit is used for forwarding the first account information to the account management equipment so as to instruct the account management equipment to send a game data acquisition request to the storage server based on the first account information, wherein the game data acquisition request is used for instructing the storage server to search and return full game data corresponding to the user identifier of the target user, receiving the full game data returned by the storage server, acquiring target game data corresponding to the device identifier of the first terminal from the full game data, and sending the target game data to the cloud game server;
and the processing unit is also used for receiving the target game data sent by the account management equipment, rendering the target game data to obtain a game picture of the target cloud game, and transmitting the game picture back to the cloud game client server so that the cloud game client server indicates the first terminal to display the game picture.
In one implementation mode, after receiving the full amount of game data sent by the storage server, the account management device stores the full amount of game data and the user identification of the target user in a cache space of the account management device correspondingly; a processing unit further to:
and if the new game data are acquired in the running process of the target cloud game, sending the new game data to the account management equipment so as to instruct the account management equipment to update the target game data in the cache space by adopting the new game data.
In one implementation, the processing unit is further configured to:
if the target cloud game is switched from being started in the first terminal to being started in the second terminal, receiving second account information of the target user sent by the cloud game client server,
sending the second account information to an account management system so that the account management system obtains matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier and sends the matched game data to the cloud game server;
and receiving the matched game data sent by the account management system, rendering according to the matched game data to obtain a new game picture of the target cloud game, and transmitting the new game picture back to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture.
In another aspect, an embodiment of the present application provides a cloud game processing apparatus, including:
a processor adapted to implement a computer program; and the number of the first and second groups,
a computer-readable storage medium, in which a computer program is stored, the computer program being adapted to be loaded by a processor and to perform the cloud game processing method described above.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is read and executed by a processor of a computer device, the computer device is caused to execute the cloud game processing method described above.
In another aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the cloud game processing device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the cloud game processing device executes the cloud game processing method.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates an architectural diagram of a data sharing system provided by an exemplary embodiment of the present application;
fig. 2 is a block chain structure diagram according to an exemplary embodiment of the present application;
fig. 3 is a schematic diagram illustrating an architecture of a cloud game processing system according to an exemplary embodiment of the present application;
fig. 4a is a flowchart illustrating a cloud game processing method according to an exemplary embodiment of the present application;
FIG. 4b is a flowchart illustrating another cloud game processing method according to an exemplary embodiment of the present application;
FIG. 5 is a diagram illustrating a filtering of target game data provided by an exemplary embodiment of the present application;
FIG. 6a is a schematic diagram illustrating a filtering of target game data provided by an exemplary embodiment of the present application;
FIG. 6b is a diagram illustrating a selection window provided by an exemplary embodiment of the present application;
FIG. 7 is a flow diagram illustrating another cloud game processing method provided by an exemplary embodiment of the present application;
FIG. 8 is a flow chart illustrating a further cloud game grooming method provided by an exemplary embodiment of the present application;
fig. 9 is a schematic structural diagram illustrating a cloud game processing apparatus according to an exemplary embodiment of the present application;
fig. 10 is a schematic structural diagram of another cloud game processing apparatus provided in an exemplary embodiment of the present application;
fig. 11 is a schematic structural diagram illustrating a cloud game processing device according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application relates to a cloud game processing scheme. Cloud Gaming (Cloud Gaming), also known as game on Demand (Gaming on Demand), is an online Gaming technology based on Cloud computing technology. Cloud gaming technology enables light-end devices (Thin clients) with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud game scene, a game is not operated in a terminal used by a game player, but is operated in a cloud server; the cloud server renders the game scene into a video audio stream, and transmits the video audio stream to the terminal of the game player through the communication network. The terminal of the game player does not need to have strong graphic processing and data computing capacity, and only needs to have basic streaming media playing capacity and the capacity of acquiring the instruction input by the game player and sending the instruction input by the game player to the cloud server.
The cloud game is based on a cloud computing technology, and the cloud computing technology provides strong data computing capability for the cloud game. Cloud Computing (Cloud Computing) is a Computing model that distributes Computing tasks over a resource pool of large numbers of computers, enabling various application systems to obtain Computing power, storage space, and information services as needed. The network that provides the resources is referred to as the "cloud". Resources in the "cloud" appear to the user to be infinitely expandable and to be available at any time, available on demand, expandable at any time, and pay per use. As a basic capability provider of cloud computing, a cloud computing resource pool (cloud platform for short) generally called as an Infrastructure as a Service (IaaS) platform is established, and multiple types of virtual resources are deployed in the cloud computing resource pool and are used by external clients. The cloud computing resource pool mainly comprises: computing devices (which are virtualized machines, including operating systems), storage devices, and network devices. According to the logic function division, a Platform as a Service (PaaS) layer can be deployed on the IaaS layer, a Software as a Service (SaaS) layer is deployed on the PaaS layer, and the SaaS layer can be directly deployed on the IaaS layer. PaaS is a platform on which software (e.g., databases, web containers, etc.) runs. SaaS is a wide variety of business software (e.g., web portal, sms, etc.). Generally speaking, SaaS and PaaS are upper layers relative to IaaS.
Cloud computing refers to a mode of delivery and use of IT (Internet Technology) infrastructure, and refers to obtaining required resources through a network in an on-demand and easily extensible manner; the generalized cloud computing refers to a delivery and use mode of a service, and refers to obtaining a required service in an on-demand and easily-extensible manner through a network. Such services may be IT and software, internet related, or other services. Cloud Computing is a product of development and fusion of traditional computers and Network technologies, such as Grid Computing (Grid Computing), distributed Computing (distributed Computing), Parallel Computing (Parallel Computing), Utility Computing (Utility Computing), Network storage (Network storage technologies), Virtualization (Virtualization), Load balancing (Load Balance), and the like. With the development of diversification of internet, real-time data stream and connecting equipment and the promotion of demands of search service, social network, mobile commerce, open collaboration and the like, cloud computing is rapidly developed. Different from the prior parallel distributed computing, the generation of cloud computing can promote the revolutionary change of the whole internet mode and the enterprise management mode in concept.
Based on the above description, cloud gaming is a cloud computing-based gaming approach. In the running mode of the cloud game, the cloud game server of the cloud game renders game pictures, and the rendered game pictures are compressed and then transmitted to the cloud game through a network for display. The compressed game pictures are generally transmitted in a long connection mode, so that the response time of subsequent transmission can be shortened, the game pictures in units of frames can be displayed to a target user in a video stream mode, and the smoothness of the game is ensured. The long connection may be a connection in which both ends of the connection are continuously connected, and a plurality of data packets may be continuously transmitted in the connection holding period, where the data packets may be data packets carrying valid data (such as compressed game pictures), and the data packets may also be link detection packets for holding the connection when there is no valid data.
Current service architectures supporting cloud games may include The X86(The X86 architecture) architecture and The arm (advanced riscmachine) architecture. The x86 architecture is a set of computer language instructions executed by a microprocessor, referred to as the standard number abbreviation for an intel general computer column, and also identifies a set of general-purpose computer instruction sets. Currently, a mainstream cloud game server is composed of an x86 architecture and a GPU (Graphics Processing Unit), so that the cloud game server can be virtualized into a plurality of android containers through a virtualization technology, each android container is used for running a cloud game, and the storage memory is expanded. The ARM architecture is a 32-bit Reduced Instruction Set (RISC) processor architecture. Because the android application program is naturally compatible with the cloud game server of the ARM architecture, when the cloud game runs in the android container of the cloud game server of the ARM architecture, the cloud game can directly run without instruction translation. Based on the cloud game architecture, whether the cloud game server of the x86 architecture or the ARM architecture is operated as an android container of an android. The android container is a container containing an android operating system; the android operating system is packaged into the container mirror image, the android container can be issued to the cloud game server through the standard container mirror image, and the cloud game server is operated to operate the android container at the moment. In addition, k8s (kubernets, container scheduling engine) can be used for operating and maintaining the containers, so that a large number of cloud game servers can be easily scheduled on the cloud, and operation and maintenance of the cloud game servers are more convenient through k8 s. The android container can render game pictures of the cloud game, and after the rendering of the game pictures in the android container is finished, the game pictures can be compressed and transmitted back to the cloud game client, so that a terminal used by a game player presents continuously played multi-frame game pictures, and the multi-frame game pictures form a video stream of the cloud game; certainly, multiple android containers may run in one cloud game server, which is not limited in the embodiment of the present application.
Based on the description of the cloud game architecture, the embodiment of the application provides a cloud game processing scheme, which can display a game picture matched with a device identifier of a terminal used by a game player, and meet game requirements of the game player on the different game pictures corresponding to different systems. According to the cloud game processing method, the account management device is added on the basis of an original cloud game architecture, target game data matched with a terminal currently used by a game player can be screened out from the full game data of the game player through the account management device, and therefore the cloud game server can render a game picture matched with the terminal currently used by the game player based on the target game data. For example, if the operating system deployed by the device used by the game player is the IOS operating system, the account management device may obtain the IOS area game data under the IOS operating system, and the cloud game server renders the game screen corresponding to the IOS area game data according to the IOS area game data.
The cloud game processing scheme may include: when a target cloud game in a first terminal (i.e. a terminal currently used by a game player) starts running, acquiring first account information of a target user (i.e. the game player) from a cloud game server, wherein the first account information comprises a user identifier (such as a game account number) of the target user and a device identifier (i.e. a device type identifier for indicating the type of an operating system deployed by the terminal) of the first terminal; sending a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for indicating the storage server to search and return full game data corresponding to the user identifier, and the full game data at least comprises target game data corresponding to the equipment identifier of the first terminal; and acquiring target game data from the full game data, sending the target game data to the cloud game server to instruct the cloud game server to render according to the target game data to obtain a game picture, and sending the game picture to the first terminal for displaying.
In the embodiment of the application, the account management device may obtain, from the storage server, the full amount of game data of the target user according to the first account information of the target user sent by the cloud game server, and issue, to the cloud game server, the target game data that is the same as the device identifier (i.e., the device type identifier) of the first terminal held by the target user (i.e., the type of the operating system deployed by the terminal), so that the cloud game server renders a game screen that matches the device identifier of the first terminal; therefore, the game pictures matched with the equipment identifications are displayed according to the equipment identifications of the terminals, and the game requirements of game players for distinguishing and displaying the game pictures corresponding to different operating systems are met.
The cloud game processing scheme provided by the embodiment of the application can be combined with a blockchain and a blockchain system. The Block Chain (Block Chain) is a novel application mode of computer technologies such as distributed data storage, P2P (Peer-to-Peer) transmission, a consensus mechanism, and an encryption algorithm. The blockchain is essentially a decentralized database, which is a string of data blocks associated by using cryptography, each data block contains information of a batch of network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blockchain cryptographically guarantees that the data is not falsifiable and not falsifiable.
Fig. 1 illustrates an architecture diagram of a data sharing system according to an exemplary embodiment of the present application, where the data sharing system 10 (i.e., a blockchain system 10) refers to a system for performing data sharing between nodes, the data sharing system may include a plurality of nodes 101, and the nodes 101 may refer to clients, terminals, cloud game servers, and the like in the data sharing system. Each node 101 may receive input information while operating normally and maintain shared data within the data sharing system based on the received input information. In order to ensure information intercommunication in the data sharing system, information connection can exist between each node in the data sharing system, and information transmission can be carried out between the nodes through the information connection. For example, when an arbitrary node in the data sharing system receives input information, other nodes in the data sharing system acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all the nodes in the data sharing system are consistent.
Each node in the data sharing system has a node identifier corresponding thereto, and each node in the data sharing system may store a node identifier of another node in the data sharing system, so that the generated block is broadcast to the other node in the data sharing system according to the node identifier of the other node in the following. Each node may maintain a node identifier list as shown in table 1 below, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Each node in the data sharing system stores one identical blockchain. Fig. 2 shows a schematic structural diagram of a blockchain provided in an exemplary embodiment of the present application, where the blockchain is composed of a plurality of blocks, a starting block includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp, and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and so on, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
In the embodiment of the application, the game data of the plurality of game players, which is stored in the storage server, includes the game data of the android zone and the game data of the IOS zone, and can be stored in each node of the blockchain system in a form of a block, so that the game data can be stored in a distributed manner. The function codes and the function modules which are arranged in the account management device and have the capacity of screening the target game data from the full amount of game data can be stored in each node of the blockchain system in a blockchain mode, and the function of screening the full amount of game data in the cloud game is shared in the blockchain system. In addition, the block chain guarantees that the functional codes and the functional modules cannot be tampered and forged in a cryptographic mode, and safe storage of the functional codes and the functional modules is achieved.
Based on the above description, fig. 3 is a schematic diagram illustrating an architecture of a cloud game processing system according to an exemplary embodiment of the present application; as shown in fig. 3, the cloud game processing system includes: a first terminal 301, a cloud game client server 302, a cloud game server 303, an account management device 304, and a storage server 305. It is understood that the application embodiment does not limit the naming and number of the devices (such as the server and the terminal) included in the cloud game processing system.
The first terminal 301 may refer to a device deployed with a cloud game; the apparatus may include, but is not limited to: PCs (Personal computers), PDAs (tablet), cell phones, wearable smart devices, and the like. The device is often provided with a display device, which may also be a display, a display screen, a touch screen, etc., and the touch screen may also be a touch screen, a touch panel, etc., and the display device may be used to display a game picture, etc. Any one of the cloud game client server 302, the cloud game server 303, the account management device 304, and the storage server 305 may be an independent physical server, may be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing cloud computing services, which is not limited herein in this embodiment of the present application. The first terminal 301, the cloud game client server 302, the cloud game server 303, the account management device 304, and the storage server 305 may be directly or indirectly connected through wired communication or wireless communication, which is not limited herein.
The following briefly introduces each device included in the cloud game processing system shown in fig. 3, where:
(1) first terminal 301
The first terminal 301 is installed and operated with a cloud game client, where multiple cloud games can be operated, and the target cloud game in the embodiment of the present invention refers to any one of the multiple cloud games operated in the cloud game client. When a target cloud game in the first terminal 301 starts running, the first terminal 301 may send first account information to the cloud game client server 302 through a signaling, where the first account information includes a user identifier of a target user and a device identifier of the first terminal. The user identifier of the target user may include a game account of the target user, for example, the game account is a login account for currently logging in the target cloud game; the device identifier of the first terminal includes a device number and the like, and is used to indicate a type of an operating system deployed in the first terminal, where the type of the operating system may include an android operating system and an IOS operating system.
The first terminal 301 is further configured to send an instruction request generated by the target user in the process of operating the cloud game to the cloud game client server 302, so that the cloud game client server 302 forwards the instruction request to the cloud game server 303, and the cloud game server 303 renders a game screen in response to the instruction request. The first terminal 301 is further configured to pull a video stream in real time from the cloud game client server 302 and output the video stream, where the video stream is composed of a plurality of frames of game pictures in units of frames according to a game line.
(2) Cloud game client server 302
The cloud game client server 302 is a background server of the target cloud game in the first terminal 301, and is configured to interact with the first terminal 301 to provide computing and application server support for the target cloud game in the first terminal 301. After the first terminal 301 establishes a connection with the cloud game client server 302, the cloud game client server 302 may be configured to receive related data (e.g., first account information) sent by the first terminal 301; the relevant data provides basic configuration parameters for subsequent initialization of the cloud game. The cloud game client server 302 is further configured to send the received first account information to the cloud game server 303, so that the cloud game server 303 renders a game screen of the first account information; the cloud game client server 302 also receives the game screen returned by the cloud game server 304, and sends the game screen to the first terminal 301, so that the first terminal 301 can display the game screen.
After the cloud game client server 302 sends the first account information to the cloud game server 303, the cloud game client server 302 may further notify the target cloud game that the initialization process has been started, and may perform a business process, such as processing an animation message. The initialization processing herein may refer to an initialization processing device (e.g., cloud game server 303, cloud game client server 302, account management device 304, etc.); for example, interface types of the cloud game server 303 are configured, as well as device information (e.g., network connection status, sensor characteristics, etc.) of the cloud game client server 302.
In the process of operating the cloud game by the game player, the first terminal 301 continuously sends an operation instruction to the cloud game client server 302 according to the operation of the game player, and accordingly, the cloud game client server 302 and the cloud game server 303 interact with each other, so that the cloud game client server 302 pulls a real-time game picture from the cloud game server 303 according to the operation instruction, and then displays the continuously obtained game picture in front of the game player in a video stream mode.
(3) Cloud game server 303
The cloud game server 303 is further configured to receive, in real time, an operation instruction sent by the cloud game client server 302, where the operation instruction is generated by a game player in a process of operating a game; when the cloud game server 303 receives the new operation instruction, data calculation is performed and the game picture is rendered to obtain a game picture corresponding to the new operation instruction, and the game picture is sent to the cloud game client server 302, so that the cloud game client server 302 sends the game picture back to the first terminal 301 for display. Through the process, the cloud game server 303 can render the game picture in real time, so that the fluency of the game picture of the cloud game is ensured, and the game experience of a game player is improved.
The cloud game server 303 may also be configured to upload new game data of the game player at the end of the cloud game to the account management device 304, so that the account management device 304 synchronizes the new game data to the storage server 305 for storage.
(4) Account management device 304
The account management device 304 plays a crucial role in the cloud game processing scheme referred to herein. The account management device 304 may be configured to receive the first account information sent by the cloud game server 303, and pull, from the storage server 305, full amount game data matching the first account information according to the first account information; screening target game data matched with the equipment identification of the first terminal contained in the first account information from the full amount game data; and issues the target game data to the cloud game server 303, so that the cloud game server 303 renders a game screen based on the target game data. By executing the above process, the game picture matched with the device identification of the first terminal can be obtained. For example, if the device identifier of the first terminal indicates that the operating system deployed in the first terminal is an IOS system, the above process is performed, and a game screen under the IOS account of the game player may be displayed in the first terminal.
The account management device 304 also supports storing new game data of the game player sent by the cloud game server 303 to the cache space. When the same game account of the game player is switched from the first terminal to the second terminal within a preset time period, the cloud game server 303 may directly pull the game data of the game player from the cache space of the account management device 304, which reduces the request time of the game data and improves the data transmission efficiency.
The account management device 304 is also used to synchronize the game player's new game data to the storage server 305, so that the storage server 305 updates the storage of the game player's game data in the history.
(5) Storage server 305
It can be understood that the cloud game processing system described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The cloud game processing scheme provided by the embodiment of the present application is described below with reference to the cloud game processing system shown in fig. 3 and the flow diagram of the cloud game processing method shown in fig. 4 a. In particular, the cloud gaming approach illustrated in fig. 4a may be performed by the account management device 304 in the cloud gaming system illustrated in fig. 3. As shown in fig. 4a, first, the account management device 304 obtains first account information of a target user (i.e. a game player currently logged in the first terminal), where the first account information includes a device identifier of the first terminal (e.g. the device identifier of the first terminal indicates that the IOS system is deployed in the first terminal) and a user identifier of the target user. Secondly, the account management device 304 requests the storage server 305 for game data corresponding to the user identifier according to the first account information, and obtains the game data of the user identifier; the game data here is the total game data, and includes game data corresponding to a plurality of cloud games that the target user has historically operated, and the game data includes the game data in the android zone and the game data in the IOS zone. Second, the account management device 304 supports screening of the full amount of game data to obtain target game data that matches the device identifier of the first terminal and matches the target cloud game. Finally, the account management device 304 issues the target game data to the cloud game server 303, so as to render the game screen of the target cloud game in the cloud game server 303 according to the target game, thereby obtaining the game screen. In addition, after the target user finishes operating the target cloud game, the account management device 304 may receive new game data of the target user and synchronize the new game data to the storage server 305 for storage.
The steps of the cloud game processing scheme executed by the account management device described in FIG. 4a will be described in more detail below in conjunction with FIG. 4 b; referring to fig. 4b, fig. 4b is a flow chart illustrating another cloud game processing scheme provided by an exemplary embodiment of the present application, where the cloud game processing scheme is executable by the account management device 304, and the scheme includes steps S401 to S403, where:
s401, when a target cloud game in a first terminal starts running, first account information of a target user is obtained from a cloud game server.
The first account information acquired by the account management device from the cloud game server is information of the target user when the target cloud game is run in the first terminal, and the information may include a user identifier of the target user and a device identifier of the first terminal. When the first terminal detects that the target cloud game starts to run, the first terminal sends the first account information to the cloud game client server, the cloud game client server sends the first account information to the cloud game server, and the cloud game server sends the first account information to the account management device.
As can be seen from the foregoing description, if the target cloud game is one of a plurality of cloud games included in the cloud game client running in the first terminal, the process of starting running the target cloud game in the first terminal may include: the method comprises the following steps that a target user opens a cloud game client, a plurality of game identifiers of cloud games are displayed in the cloud game client, the game identifiers of the cloud games are used for representing the types of the cloud games, and one game identifier corresponds to one cloud game; and when the target user triggers the target game identifier of the target cloud game, starting and running the target cloud game in the first terminal. The launch run of the target cloud game may include, but is not limited to: when a target user logs in a target cloud game by adopting a user identifier, the target cloud game is started to run; or the user identifier of the target user already logs in the target cloud game, but the target cloud game runs in the background of the first terminal, that is, the current first terminal displays the interfaces of other application programs, and then when the first terminal is switched from the other application programs to the target cloud game, the target cloud game is started to run; and so on.
The method and the device support that only the game identification of the part of the cloud game with the playing permission of the target user is displayed in the page (such as a game recommendation page) of the cloud game client. In one embodiment, whether the target user has the play authority of a cloud game may be determined by determining whether the target user has a remaining game duration in the cloud game, for example, the total game duration that the target user can play the cloud game is 2 hours, it is detected that the target user has run the cloud game for 1 hour and 30 minutes, the remaining game duration of the target user in the cloud game is 30 minutes, the remaining game duration of the target user in the cloud game indicates that the target user still has the remaining game duration of the cloud game, and the game identifier of the cloud game may be displayed in the page of the cloud game client.
It should be noted that, the total game duration described above may be a duration that a target user can play a certain cloud game in total within a preset time (for example, within one day), and then the remaining game duration refers to a game duration of the cloud game remaining within the preset time; for example, the preset time is 2:00-24:00 a day, the total game time for playing a certain cloud game in the preset time is 2 hours, if the target user plays the cloud game twice in the preset time of 8 months and 8 days, the playing time is respectively 30 minutes and 1 hour, then the target user still has the remaining game time of 30 minutes in the preset time, which indicates that the target user still has the playing permission of the cloud game in 8 months and 8 days; on the contrary, if the remaining game duration of the target user within the preset time of 8 months and 8 days is 0, the target user does not have the playing authority of the target cloud game within the preset time of 8 months and 8 days, and the playing authority of the cloud game is opened to the target user at 2:00 of 8 months and 9 days.
Of course, the game duration may also refer to a game duration of playing a cloud game client, where the cloud game client includes a plurality of cloud games. For example, the cloud game clients include cloud game 1, cloud game 2, cloud game 3, and cloud game 4, and assuming that the total play time of the cloud game clients is 3 hours, and the play time taken for playing the cloud game 1, cloud game 2, and cloud game 3 together at the historical time is 2 hours, the remaining play time is 1 hour, meaning that the target user can continue playing the cloud game (including one cloud game or a plurality of cloud games) in the cloud game client for 1 hour.
In other embodiments, whether the target user has the play permission of a certain cloud game may also be to determine whether the relevant information (such as the user age) of the target user meets the play condition of a certain cloud game, and if so, determine that the target user has the play permission of the cloud game; if not, the target user is determined not to have the play right of the cloud game. For example, the age of a game player in a certain cloud game is limited to 18 years or more, and if it is detected that the age of a certain target user is 10 years, the target user does not have the playing authority of the cloud game, so that the game identifier of the cloud game is not displayed on the page of the cloud game client; or displaying the game identifier of the cloud game in the page of the cloud game client, wherein the game identifier of the cloud game is in an unselected state (if the game identifier of the cloud game is gray, the game identifier cannot be triggered); and so on. By means of the method, the cloud game with the playing permission can be recommended to the target user, the intelligence of the recommended cloud game is improved, and the game is prevented from being indulged.
S402, a game data acquisition request is sent to the storage server based on the first account information.
And S403, receiving the full amount of game data returned by the storage server, acquiring target game data from the full amount of game data, and sending the target game data to the cloud game server.
In steps S402-S403, the first account information includes a user identifier of the target user, a device identifier of the first terminal, and a target game identifier of the target cloud game, where the target cloud game identifier of the target cloud game may be a game ID of the target cloud game, and different game IDs represent different cloud games, for example, game ID1 represents cloud game 1, game ID2 represents cloud game 2, and game ID3 represents cloud games 3 and … …. The game data acquisition request sent to the storage server based on the first account information is used for indicating the storage server to search and return full game data corresponding to the user identifier, wherein the full game data corresponding to the user identifier refers to game data (such as game levels, game running platforms and the like) of all cloud games operated by the user identifier in history, and the full game data at least comprises target game data corresponding to the equipment identifier of the first terminal; for example, the full amount of game data includes game data of an android game zone and game data of an IOS game zone that the user identifies in the target cloud game. The process of the account management device acquiring the full amount of game data and screening the target game data from the full amount of game data can be seen in fig. 5, and fig. 5 is a schematic diagram illustrating screening of the target game data according to an exemplary embodiment of the present application; as shown in fig. 5:
in one implementation, the full amount of game data may refer to game data of all cloud games played by a target user in the server in history, and in a specific implementation, the obtaining of the full amount of game data from the storage server based on the first account information may include: and acquiring full game data matched with the user identification of the target user from the storage server based on the user identification of the target user included in the first account information, wherein the full game data includes game data of all cloud games operated by the target user in history under different device identifications. For example, when the target user has operated the cloud game 1, the cloud game 2, and the cloud game 3 in the historical time, and the cloud game 1 includes the game data a corresponding to the device identifier a and the game data B corresponding to the device identifier B, the cloud game 2 includes the game data c corresponding to the device identifier B, and the cloud game 3 includes the game data d corresponding to the device identifier a and the game data e corresponding to the device identifier B, the total amount of game data includes: game data a and game data b included in the cloud game 1, game data c included in the cloud game 2, and game data d and game data e included in the cloud game 3.
In this implementation, the account management device may obtain target game data corresponding to the device identifier of the first terminal from the full amount of game data, where the target game data is: and game data generated when the target user operates the target cloud game through the first terminal or the terminal with the same device identification as the first terminal in the historical time, such as level data in the target cloud game, character use data, friends in the game and the like. The process of the account management device obtaining the target game data from the full amount game data can be seen in fig. 6 a; as shown in fig. 6 a: firstly, screening a first candidate game data set matched with the equipment identifier of the first terminal from the full amount of game data, wherein the first candidate data set comprises game data corresponding to at least one game identifier; secondly, screening out game data matched with the target game identifier from the first candidate game data set, wherein the game data matched with the target game identifier is game data generated when the target cloud game is operated; and finally, taking the game data screened from the first candidate game data set as target game data. The filtering in the above process may be implemented by keywords, for example, the keywords in the target game identifier may include platform data fields such as platform, and the like, and the game data matching the target game identifier may be filtered from the first candidate game data set according to the keywords. In addition to keyword screening, the embodiments of the present application support other screening methods, and the screening methods are not limited herein.
In other embodiments, the full amount of game data may also refer to game data of a specified cloud game that has been played by the target user in the history, and the specified cloud game refers to a cloud game that has a remaining duration at the current time among all cloud games that have been played by the target user in the history. For example, cloud games played by a target user at historical times include: the cloud game 1, the cloud game 2, and the cloud game 3, where the remaining play time of the cloud game 1 is 0, the remaining play time of the cloud game 2 is 1 hour, and the remaining play time of the cloud game 3 is 2 hours, where the cloud game 2 and the cloud game 3 are specified cloud games that have been played by the target user in history, and the full amount of game data at this time includes game data of the cloud game 2 and game data of the cloud game 3. If the designated cloud game comprises the target cloud game, the subsequent operation is continuously executed, otherwise, the target user is prompted to not open the playing permission of the target cloud game, and therefore the game addiction can be avoided.
It should be noted that, according to different operating systems deployed by terminals running the cloud game, the remaining game duration of the same cloud game in terminals of different operating systems may also be different, for example, the remaining game duration of the cloud game 1 in the terminal of the device identifier a may be 1 hour, and the remaining game duration of the cloud game 1 in the terminal of the device identifier B may be 2 hours. In this implementation, the full amount of game data may specifically refer to game data of a specified cloud game that the target user has historically played through the first terminal. At this time, if the target cloud game is not included in the acquired full amount of game data, when the target user is prompted to not open the play right of the target cloud game, the target user may also be prompted to try by another terminal different from the first terminal through the operating system.
In another implementation, the manner of obtaining the full amount of game data from the storage server based on the first account information may include: and acquiring full game data matched with the user identification of the target user from the storage server based on the user identification of the target user and the target game identification of the target cloud game, wherein the user identification of the target user and the target game identification of the target cloud game are included in the first account information, and the full game data comprises game data of the target cloud game under different device identifications. For example, the target user registers a target cloud game, a cloud game 1, a cloud game 2, and a cloud game 3 in a historical time, the target cloud game includes game data a corresponding to the device identifier a and game data B corresponding to the device identifier B, the cloud game 1 includes game data c corresponding to the device identifier a and game data d corresponding to the device identifier B, the cloud game 2 includes game data e corresponding to the device identifier B, and the cloud game 3 includes game data f corresponding to the device identifier a and game data g corresponding to the device identifier B, and in this case, the total game data includes: the target cloud game includes game data a corresponding to the device identifier a and game data B corresponding to the device identifier B. In this implementation, the manner in which the account management device acquires the target game data corresponding to the device identifier of the first terminal from the full-volume game data may include: and screening out game data matched with the equipment identification of the first terminal from the full game data according to the equipment identification of the first terminal included in the first account, and taking the game data as target game data.
It should be noted that, as described in the implementation manner, the game data included in the total amount of game data acquired from the storage server may be different according to the difference of the information carried in the game data acquisition request, and this is not limited in this embodiment of the present application.
After the target game data are screened from the full game data based on the steps, the account management equipment can issue the target game data to the cloud game server in a data stream mode, so that the cloud game server receives the target game data sent by the account management equipment and renders a game picture of a target cloud game according to the target game data to obtain a game picture of the target cloud game; the cloud game server also compresses the game picture and sends the compressed game picture to the cloud game client server so that the cloud game client server can forward the compressed game picture to the first terminal for display.
In summary, the account management device may receive the first account information sent by the cloud game server, and obtain the full amount of game data of the target user from the storage server based on the first account information; the account management equipment can also screen target game data matched with the equipment identifier of the first terminal from the full game data according to the first account information and issue the target game data to the cloud game server; therefore, even if the cloud game server is an android container, the cloud game server can render a game picture matched with the equipment identifier of the first terminal, so that terminals with different equipment identifiers can display different game data of a target user, and the game requirements of game players are met.
In addition to the above functions, the account management device also supports caching of game data of the user identifier, so that the game data is directly pulled from the account management device when the user identifier is logged in for a short time, where the short time logging may be that the user identifier of the target user is switched from one device to another device within a preset time period (e.g., within 2 minutes); compared with the mode of directly acquiring the game data from the account management device from the storage server through the account management device, the mode of directly acquiring the game data from the account management device reduces the time of data request and improves the fluency of the cloud game.
The game data of the target user stored by the account management device may include: the method comprises the steps that full game data of a target user are obtained from a storage server, and new game data of the target user are obtained from a cloud game server; the new game data here includes: the method comprises the steps of obtaining a new game level of a target user (such as the game level is increased from gold 1 to gold 2 and the like), changing data of a role of the target user in a target cloud game (such as the change of clothes of the role, the change of sex of the role and the like), friend data of the target user in the target cloud game (such as friend information of newly added friends and the like), and the like.
During specific implementation, the account management device correspondingly stores the full game data of the target user and the user identification of the target user, which are acquired from the storage server, into the cache space, so that the full game data and the user identification are correspondingly stored, retrieval of the full game data of the target user by taking the user identification of the target user as an index is facilitated, the full game data of the target user can be quickly found, and the data retrieval rate is improved. Similarly, when the account management device receives new game data sent by the cloud game server, the account management device may update the target game data in the cache space with the new game data to keep the latest game data cached in the cache space for the target user. In addition, when receiving the new game data sent by the cloud game server, the account management device synchronizes the new game data to the storage server, so that the storage server can store the new game data.
Based on the above description, the following describes a process of pulling game data of a target user from an account management apparatus. Assuming that a target cloud game of a user identifier of a currently logged-in target user is started to run in a first terminal, and when a preset time period elapses from a current time, the target cloud game of the logged-in user identifier is started to run in a second terminal, then (1) the account management device acquires second account information of the target user from the cloud game server, where the second account information is information of the target user when the target cloud game is run in the second terminal, and the second account information includes the user identifier of the target user and a device identifier of the second terminal. (2) And the account management equipment acquires the full amount of game data of the target user from the cache space according to the second account information. (3) The account management equipment detects whether the equipment identification of the second terminal is the same as the equipment identification of the first terminal; if the device identifier of the second terminal is the same as the device identifier of the first terminal, the last updated target game data is stored in the cache space of the account management device, and the updated target game data included in the full amount of game data is used as the matching game data matched with the device identifier of the second terminal; if the device identifier of the second terminal is different from the device identifier of the first terminal, and if historical game data which are the same as the device identifier of the second terminal are stored in the cache space of the account management device, game data corresponding to the device identifier of the second terminal are obtained from the full amount of game data, and the obtained game data are used as matched game data which are matched with the device identifier of the second terminal. In the process, the account management device can cache game data of game players, and directly screens the game data matched with the device identification from the cache space in response to the game data acquisition request of the cloud game server during short-term login without pulling the game data from the storage server, so that the acquisition request of the game data is reduced, and the smoothness of running of the target cloud game is improved.
In a game scenario, assuming that a device identifier of a first terminal is different from a device identifier of a second terminal, and when it is detected that a target cloud game is switched from being started in the first terminal to being started in the second terminal, after account management equipment acquires second account information of a target user from a cloud game server, the target user can further select to continue playing the target cloud game based on updated target game data generated in the first terminal or play the target cloud game based on game data generated in the second terminal at a historical time through the second terminal; if the target user selects to continue playing the target cloud game based on the updated target game data generated in the first terminal, the second terminal may feed back the selection of the target user to the cloud game server, and the cloud game server acquires the updated target cloud game data from the account management device and renders a game screen based on the updated target cloud game data; if the target user selects to play the target cloud game based on the game data generated in the second terminal at the historical time, the account management device performs a step of acquiring second account information from the cloud game server.
In the specific implementation, when the target cloud game is switched from being started in the first terminal to being started in the second terminal within the preset time, and after the second account information is acquired from the cloud game server, if the device identifier of the second terminal included in the second account information is judged to be different from the device identifier of the first terminal, the account management device detects whether new game data are generated or not when the target cloud game is run in the first terminal last time; if new game data is generated, which may indicate that the switching operation of the target cloud game this time may not be a human cause, which may be a cause of the first terminal such as a shortage of power of the first terminal or a failure of the first terminal to connect to a network, etc., the target user may also want to continue playing the target cloud game based on the game data generated in the first terminal, so the account management apparatus may notify the second terminal to output a prompt message to the target user at this time to ask the target user whether the target user wants to continue playing the target cloud game based on the game data generated in the first terminal or resume playing the target cloud game based on the game data in the second terminal.
If the target user selects to continue playing the target cloud game based on the game data generated in the first terminal through the second terminal, the account management device sends the updated target cloud game data stored in the cache space to the cloud game server, so that the cloud game server performs game picture rendering based on the updated target cloud game, and sends the rendered game picture to the second terminal for display.
And if the target user selects to play the target cloud game based on the game data in the second terminal through the second terminal, the account management system acquires matched game data matched with the equipment identifier of the second terminal from the cache space, and sends the matched game data to the cloud game server so as to enable the cloud game server to render the game picture.
As an optional implementation manner, the manner in which the second terminal outputs the prompt message to the target user may be: displaying a selection window in the screen of the second terminal as shown in fig. 6b, the selection window including a notification message 601 such as "you continue a game not completed in the first terminal"; a confirmation option 602 and a cancel option 603 may also be included in the selection window. If the target user clicks the confirmation option, indicating that the target user wants to continue playing the target cloud game based on the updated target cloud game data in the first terminal; if the target user clicks the cancel option, it indicates that the target user wants to play the target cloud game again based on the game data generated in the second terminal.
As another optional implementation manner, the manner in which the second terminal outputs the prompt message to the target user may also be to notify the target user by a short message or by telephone. In specific implementation, a suitable notification manner may be selected according to actual requirements to notify a target user, and the embodiment of the present invention only exemplifies two possible implementations, and does not limit a specific notification manner.
Referring to fig. 7, fig. 7 is a flowchart illustrating another cloud game processing method according to an exemplary embodiment of the present application, where the cloud game processing method may be executed by the cloud game server 303 in the cloud game processing system shown in fig. 3, and the cloud game processing method may include the following steps S801 to S803, where:
s701, when a target cloud game in the first terminal starts to run, receiving first account information of a target user, which is sent by the cloud game client server.
S702, the first account information is forwarded to the account management device.
And S703, receiving the target game data sent by the account management equipment, and rendering according to the target game data to obtain a game picture of the target cloud game.
The cloud game server mainly comprises an android container, and the rendering of the cloud game server according to the target game data means that the android container in the cloud game server renders game pictures of the target cloud game according to the target game data. Because the android container can directly access the GPU (Graphics Processing Unit, Graphics processor, have high concurrent computing power), consequently, the rendering technology of the android container adopts the technique of rendering in the container, and this kind of directly accomplishes the rendering of game picture in the container, can promote the rendering performance, and the delay that greatly reduced renders and brings realizes the rendering of game picture fast. The process of rendering the game screen of the target cloud game by using the android container may include, but is not limited to: the method comprises the steps of obtaining a game picture to be rendered of a target cloud game, wherein the game picture can be presented in a skeleton screen mode, the skeleton screen of the game picture is similar to a frame of page used for showing a rough structure of the game picture, and the types (such as pictures, texts, videos, buttons and the like) of content which can be displayed at each position in the page can be known clearly on the skeleton screen of the game picture; and filling the game picture to be rendered by adopting the target game data to obtain the rendered game picture.
It should be noted that, when the cloud game server starts to render the game screen of the target cloud game, the cloud game server may send a notification message to the cloud game client server, where the notification message is used to notify the cloud game client server that the background has started to render, so as to indicate that the cloud game client server may start to record and process relevant data, for example, to indicate that the cloud game client server starts to record the game duration of the user and the remaining game duration of the user, and so on, and record the game duration of the user may be used to subsequently detect whether the user has a play permission of the target cloud game, and when the game duration of the user is equal to the total game duration allowed to play, the user does not have the game duration of the target cloud game. Therefore, the time length of the user playing the target cloud game can be better controlled, and the game is prevented from being indulged.
S704, the game picture is transmitted back to the cloud game client server, so that the cloud game client server indicates the first terminal to display the game picture.
The cloud game server also supports the compression of game pictures and transmits the compressed game pictures to the cloud game client server, and correspondingly, the cloud game client server sends the compressed game pictures to the first terminal, so that the first terminal can play video streams (including multi-frame game pictures) with frames as a unit as long as the streaming media player with the decompression function is provided.
Based on the steps S701 to S704, the cloud game server may render the game screen of the target cloud game, and send the rendered game screen to the first terminal for displaying.
In addition, the cloud game server can also acquire new game data of the target user in the process of operating the target cloud game by the game player, and send the new game data to the account management device to instruct the account management device to update the target game data in the cache space by adopting the new game data, so that the cache space can keep the new game data. In this case, if it is detected that the target cloud game is switched from being started in the first terminal to being started in the second terminal, the cloud game server receives second account information of the target user, which is sent by the cloud game client server; the cloud game server sends the second account information to the account management system, so that the account management system obtains matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier and sends the matched game data to the cloud game server; and the cloud game server receives the matched game data sent by the account management system, renders according to the matched game data to obtain a new game picture of the target cloud game, and transmits the new game picture back to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture.
It can be understood that a game player generates a plurality of operation instructions in the process of operating the target cloud game, and the operation instructions carry execution information to be executed by the cloud game server; for example, in a game of sports cloud, if a current game player shoots at an enemy, execution information of shooting of a bullet at the enemy is carried in an operation instruction generated according to a shooting operation of the game player. The cloud game server renders the next frame of game picture of the current frame of game picture according to the execution information; and transmitting the rendered game picture back to the first terminal for displaying, so that a continuous and smooth video stream is displayed in the first terminal. When the game player finishes operating the target cloud game, the cloud game server uploads new game data of the game player in the game to the account management device, so that the account management device stores the new game data and the account management device synchronizes the new game data to the storage server for storage.
In summary, the cloud game server may render the game screen of the target cloud game according to the target game data, where the target game data is game data matched with the device identifier of the first terminal, and thus the game information (such as game level, character and character) included in the rendered game screen is matched with the device identifier of the first terminal; and further, the game pictures of the target cloud game are distinguished and displayed according to the equipment identification of the terminal, and the game requirements of game players are met.
The cloud game processing scheme mentioned in the embodiment of the present application is generally described below with reference to fig. 8, and is mainly described in an order from a user identifier of a login target user in a first terminal to a game screen displayed in the first terminal. Referring to fig. 8, the cloud game processing scheme is performed by interaction among the first terminal 301, the cloud game client server 302, the cloud game server 303, the account management device 304, and the storage server 305, and includes, but is not limited to, steps S801-S816, in which:
s801, the first terminal sends an authorized login request to the storage server.
S802, the storage server authorizes to log in the first terminal.
And S803, the first terminal starts to run the target cloud game.
In steps S801 to S803, if the target cloud game in the first terminal is authorized to log in through the target application, the user identifier of the target user refers to a login account of the target user in the target application. By authorized login, a process of authorizing login of a logged-in target application to a target cloud game is referred, and in the authorized login process, the target application provides various information (including information for proving user identity (such as a unique identifier-user ID), login credential information of a user in the target application, and the like) required for login to the target cloud game. For example, when a target user wishes to log in a target cloud game by using a currently logged account in a target application program (such as a QQ, a WeChat, a microblog, and the like) to obtain richer functions of the target cloud game, the target user may trigger an authorized login option in the target application program to perform login authorization on the target cloud game after logging in the target application program; after the target application program successfully authorizes the target cloud game to log in, the target cloud game can acquire various information required for logging in from the target application program, such as nicknames, head portraits and the like of users, and after the target user successfully logs in the target cloud game, the target user can use richer functions provided by the target cloud game. The authorized login mode enables the user to realize the login of the target cloud game without executing complex registration operation or login operation, so that the mode of logging in the application program is more convenient.
It should be noted that, in order to enable the target application to authorize to log in the target cloud game, a Software Development Kit (SDK) provided by the target application needs to be integrated in the target cloud game; the SDK is a set of development tools used for establishing application software for a specific software package, a software framework, a hardware platform, an operating system, and the like, and the set includes related documents, paradigms, and tools for assisting in developing a certain type of software; the SDK includes an Application Programming Interface (API), which is a function defined in advance for performing data communication. After the target cloud game is integrated with the SDK, the target cloud game and the target application program can realize cross-process communication through an API (application programming interface) provided by the SDK.
In addition, in addition to logging in the target cloud game by using the above-described authorized login method, a login account may also be used to log in the target cloud game, where the login may be a registration request submitted by a user to the target cloud game, where the registration request carries registration information (including a user name and a password) of the user, and a cloud game client server performs a registration operation, where the registration operation includes: and verifying whether the user name conflicts, whether the password meets the requirement, whether key information (such as a mobile phone number, real-name authentication information and the like) is true and the like, storing the registration information of the user by the cloud game client server after the registration is successful, allocating an identity which can uniquely determine the identity of the user to the user, and enabling the user to become a registered user of the target cloud game. When the user inputs a login account in the target cloud game for identity authentication by adopting the identity (namely, the user identity) obtained by registration, and after the login account passes the authentication (namely, the user successfully logs in), the user can use the corresponding function provided by the target cloud game. The login account may be a character string including a series of symbols, for example, CX23jb, and the form and length of the login account are confirmed by the target cloud game, which is not limited in the embodiment of the present application. And when the target user successfully logs in the target cloud game, starting and running the target cloud game.
S804, the first terminal sends the first account information to the cloud game client server.
S805, the cloud game client server sends the first account information to the cloud game server.
S806, the cloud game server forwards the first account information to the account management device.
S807, the account management device sends a game data acquisition request to the storage server based on the first account information.
S808, the storage server responds to the game data acquisition request and searches for the full amount of game data matched with the user identification contained in the first account information.
And S809, the storage server returns the full amount of game data to the account management device.
S810, the account management device acquires target game data from the full amount game data.
S811, the account management device transmits the target game data to the cloud game server.
And S812, rendering by the cloud game server according to the target game data to obtain a game picture.
And S813, compressing the rendered game picture by the cloud game server.
And S814, the cloud game server sends the compressed game picture to the cloud game client server.
And S815, the cloud game client server forwards the compressed game picture to the first terminal.
S816, the first terminal decompresses the compressed game screen and displays the decompressed game screen.
It should be noted that, for a specific implementation process of steps 804 to S816, reference may be made to the related description of the specific implementation process in the embodiment shown in fig. 4b or fig. 8, which is not described herein again.
In the embodiment of the application, through interaction among the first terminal, the cloud game client server, the cloud game server, the account management device and the storage server, the account management device can receive first account information sent by the cloud game server, the account management device obtains full game data of a target user from the storage server based on the first account information, screens out target game data matched with a device identifier of the first terminal from the full game data according to the first account information, and issues the target game data to the cloud game server. And the cloud game server renders the target game data to obtain a game picture matched with the equipment identifier of the first terminal. Therefore, the terminal with different equipment identifiers can display different game data of the target user, and the game requirements of game players are met.
Fig. 9 is a schematic structural diagram illustrating a cloud game processing apparatus according to an exemplary embodiment of the present application; the cloud gaming processing apparatus may be a computer program (including program code) running in an account management device; the cloud game processing apparatus may be used to perform some or all of the steps in the method embodiment shown in fig. 4 b. Referring to fig. 9, the cloud game processing apparatus includes the following units:
an obtaining unit 901, configured to obtain, when a target cloud game in a first terminal is started and run, first account information of a target user from a cloud game server, where the first account information is information of the target user when the target cloud game is run in the first terminal, and the first account information is sent to a cloud game client server by the first terminal when the first terminal detects that the target cloud game is started and run, and is sent to the cloud game server by the cloud game client server, and the first account information includes a user identifier of the target user and an equipment identifier of the first terminal;
a processing unit 902, configured to send a game data obtaining request to a storage server based on the first account information, where the game data obtaining request is used to instruct the storage server to search for and return full amount of game data corresponding to the user identifier, where the full amount of game data at least includes target game data corresponding to the device identifier of the first terminal;
the processing unit 902 is further configured to receive the full amount of game data returned by the storage server, obtain target game data corresponding to the device identifier of the first terminal from the full amount of game data, send the target game data to the cloud game server, instruct the cloud game server to render according to the target game data to obtain a game screen, and send the game screen to the first terminal for display.
In one implementation, the first account information further includes a target game identifier of the target cloud game; the processing unit 902 is specifically configured to, when obtaining the target game data from the full amount of game data:
screening a first candidate game data set matched with the equipment identification of the first terminal from the full amount of game data, wherein the first candidate game data set comprises game data corresponding to at least one game identification;
and screening out the game data matched with the target game identification from the first candidate game data set, and taking the screened out game data as the target game data.
In one implementation, the processing unit 902 is further configured to:
correspondingly storing the full game data and the user identification into a cache space;
and receiving new game data sent by the cloud game server, and updating target game data in the cache space by adopting the new game data, wherein the new game data is acquired by the cloud game server in the running process of the target cloud game.
In one implementation, the processing unit 902 is further configured to:
within a preset time period, if the target cloud game is switched from being started in the first terminal to being started in the second terminal, acquiring second account information of the target user from the cloud game server, wherein the second account information is information of the target user when the target cloud game is run in the second terminal, and the second account information comprises a user identifier of the target user and an equipment identifier of the second terminal;
and acquiring matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier, and sending the matched game data to the cloud game server to instruct the cloud game server to render game pictures according to the matched game data.
In one implementation, when the processing unit 902 obtains the matching game data matching the device identifier of the second terminal from the cache space based on the user identifier, the processing unit is specifically configured to:
acquiring full game data corresponding to the user identification from the buffer space;
if the equipment identifier of the second terminal is the same as that of the first terminal, the updated target game data included in the full game data is used as the matched game data matched with the equipment identifier of the second terminal;
and if the equipment identification of the second terminal is different from the equipment identification of the first terminal, acquiring game data corresponding to the equipment identification of the second terminal from the full amount of game data, and taking the acquired game data as matched game data matched with the equipment identification of the second terminal.
In one implementation manner, if the target cloud game in the first terminal is authorized to log in through the target application program, the user identifier of the target user refers to a login account of the target user in the target application program.
According to an embodiment of the present application, the units in the cloud game processing apparatus shown in fig. 9 may be respectively or entirely combined into one or several additional units to form the cloud game processing apparatus, or some unit(s) may be further split into multiple functionally smaller units to form the cloud game processing apparatus, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the cloud game processing apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units. According to another embodiment of the present application, the cloud game processing apparatus shown in fig. 9 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 4b on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like as well as a storage element, and the cloud game processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In this embodiment of the application, the obtaining unit 901 may receive first account information sent by the cloud game server; the processing unit 902 acquires the full amount of game data of the target user from the storage server based on the first account information; the processing unit 902 may further screen out target game data matched with the device identifier of the first terminal from the full-size game data according to the first account information, and issue the target game data to the cloud game server; therefore, even if the cloud game server is an android container, the cloud game server can render a game picture matched with the equipment identifier of the first terminal, so that terminals with different equipment identifiers can display different game data of a target user, and the game requirements of game players are met.
Fig. 10 is a schematic structural diagram of another cloud game processing apparatus provided in an exemplary embodiment of the present application; the cloud gaming processing apparatus may be a computer program (including program code) running in a cloud gaming server; the cloud game processing apparatus may be used to perform some or all of the steps in the method embodiment shown in fig. 7. Referring to fig. 10, the cloud game processing apparatus includes the following units:
a receiving unit 1001, configured to receive first account information of a target user sent by a cloud game client server when a target cloud game in a first terminal starts running; the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and the first account information comprises a user identifier of a target user and a device identifier of the first terminal;
the processing unit 1002 is configured to forward the first account information to the account management device, to instruct the account management device to send a game data obtaining request to the storage server based on the first account information, where the game data obtaining request is used to instruct the storage server to search and return full amount of game data corresponding to a user identifier of a target user, receive the full amount of game data returned by the storage server, obtain target game data corresponding to a device identifier of the first terminal from the full amount of game data, and send the target game data to the cloud game server;
the processing unit 1002 is further configured to receive target game data sent by the account management device, perform rendering according to the target game data to obtain a game screen of the target cloud game, and return the game screen to the cloud game client server, so that the cloud game client server instructs the first terminal to display the game screen.
In one implementation mode, after receiving the full amount of game data sent by the storage server, the account management device stores the full amount of game data and the user identification of the target user in a cache space of the account management device correspondingly; the processing unit 1002 is further configured to:
and if the new game data are acquired in the running process of the target cloud game, sending the new game data to the account management equipment so as to instruct the account management equipment to update the target game data in the cache space by adopting the new game data.
In one implementation, the processing unit 1002 is further configured to:
if the target cloud game is switched from being started in the first terminal to being started in the second terminal, receiving second account information of the target user sent by the cloud game client server,
sending the second account information to an account management system so that the account management system obtains matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier and sends the matched game data to the cloud game server;
and receiving the matched game data sent by the account management system, rendering according to the matched game data to obtain a new game picture of the target cloud game, and transmitting the new game picture back to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture.
According to an embodiment of the present application, the units in the cloud game processing apparatus shown in fig. 10 may be respectively or entirely combined into one or several additional units to form the cloud game processing apparatus, or some unit(s) may be further split into multiple functionally smaller units to form the cloud game processing apparatus, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the cloud game processing apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units. According to another embodiment of the present application, the cloud game processing apparatus shown in fig. 10 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 7 on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like as well as a storage element, and the cloud game processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In this embodiment, the processing unit 1002 may render the game screen of the target cloud game according to target game data, where the target game data is game data matched with the device identifier of the first terminal, and thus game information (such as a game level, a character and a character) included in the rendered game screen is matched with the device identifier of the first terminal; and further, the game pictures of the target cloud game are distinguished and displayed according to the equipment identification of the terminal, and the game requirements of game players are met.
Fig. 11 is a schematic structural diagram illustrating a cloud game processing device according to an exemplary embodiment of the present application. Referring to fig. 11, the cloud game processing device includes a processor 1101, a communication interface 1102, and a computer-readable storage medium 1103. The processor 1101, the communication interface 1102, and the computer-readable storage medium 1103 may be connected by a bus or other means. The communication interface 1102 is used for receiving and transmitting data, among other things. A computer-readable storage medium 1103 may be stored in the memory of the cloud gaming device, the computer-readable storage medium 1103 being configured to store a computer program comprising program instructions, the processor 1101 being configured to execute the program instructions stored by the computer-readable storage medium 1103. The processor 1101 (or CPU) is a computing core and a control core of the cloud game Processing device, and is adapted to implement one or more instructions, and specifically, adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function.
Embodiments of the present application further provide a computer-readable storage medium (Memory), which is a Memory device in a cloud game processing device and is used for storing programs and data. It is understood that the computer readable storage medium herein may include a built-in storage medium in the cloud game processing device, and may also include an extended storage medium supported by the cloud game processing device. The computer readable storage medium provides a memory space that stores a processing system of the cloud gaming processing device. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 1101. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, at least one computer readable storage medium located remotely from the aforementioned processor is also possible.
In one embodiment, the cloud gaming processing device may be the computer device mentioned in the previous embodiment; the computer-readable storage medium has one or more instructions stored therein; one or more instructions stored in the computer-readable storage medium are loaded and executed by the processor 1101 to implement the corresponding steps in the cloud game processing method embodiments described above; in particular implementations, one or more instructions in the computer-readable storage medium are loaded by processor 1101 and perform the following steps:
when a target cloud game in a first terminal is started and operated, acquiring first account information of a target user from a cloud game server, wherein the first account information is information of the target user when the target cloud game is operated in the first terminal, the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and is sent to the cloud game server by the cloud game client server, and the first account information comprises a user identifier of the target user and an equipment identifier of the first terminal;
sending a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for indicating the storage server to search and return full game data corresponding to the user identifier, and the full game data at least comprises target game data corresponding to the equipment identifier of the first terminal;
receiving the full game data returned by the storage server, acquiring target game data corresponding to the equipment identifier of the first terminal from the full game data, and sending the target game data to the cloud game server so as to instruct the cloud game server to render according to the target game data to obtain a game picture, and sending the game picture to the first terminal for displaying.
In one implementation, the first account information further includes a target game identifier of the target cloud game; one or more instructions in the computer-readable storage medium are loaded by the processor 1101 and when executing the step of obtaining the target game data corresponding to the device identifier of the first terminal from the full amount of game data, the following steps are specifically executed:
screening a first candidate game data set matched with the equipment identification of the first terminal from the full amount of game data, wherein the first candidate game data set comprises game data corresponding to at least one game identification;
and screening out the game data matched with the target game identification from the first candidate game data set, and taking the screened out game data as the target game data.
In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1101 and perform the following steps:
correspondingly storing the full game data and the user identification into a cache space;
and receiving new game data sent by the cloud game server, and updating target game data in the cache space by adopting the new game data, wherein the new game data is acquired by the cloud game server in the running process of the target cloud game.
In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1101 and perform the following steps:
within a preset time period, if the target cloud game is switched from being started in the first terminal to being started in the second terminal, acquiring second account information of the target user from the cloud game server, wherein the second account information is information of the target user when the target cloud game is run in the second terminal, and the second account information comprises a user identifier of the target user and an equipment identifier of the second terminal;
and acquiring matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier, and sending the matched game data to the cloud game server to instruct the cloud game server to render game pictures according to the matched game data.
In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1101 and when executing the step of obtaining matching game data matching the device identifier of the second terminal from the buffer space based on the user identifier, the following steps are specifically executed:
acquiring full game data corresponding to the user identification from the buffer space;
if the equipment identifier of the second terminal is the same as that of the first terminal, the updated target game data included in the full game data is used as the matched game data matched with the equipment identifier of the second terminal;
and if the equipment identification of the second terminal is different from the equipment identification of the first terminal, acquiring game data corresponding to the equipment identification of the second terminal from the full amount of game data, and taking the acquired game data as matched game data matched with the equipment identification of the second terminal.
In one implementation manner, if the target cloud game in the first terminal is authorized to log in through the target application program, the user identifier of the target user refers to a login account of the target user in the target application program.
In another embodiment, the cloud gaming processing device may be the computer device mentioned in the previous embodiment; the computer-readable storage medium has one or more instructions stored therein; one or more instructions stored in the computer-readable storage medium are loaded and executed by the processor 1101 to implement the corresponding steps in the cloud game processing method embodiments described above; in particular implementations, one or more instructions in the computer-readable storage medium are loaded by processor 1101 and perform the following steps:
when a target cloud game in a first terminal starts to run, receiving first account information of a target user, which is sent by a cloud game client server; the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated, and the first account information comprises a user identifier of a target user and a device identifier of the first terminal;
the first account information is forwarded to the account management device to instruct the account management device to send a game data acquisition request to a storage server based on the first account information, the game data acquisition request is used for instructing the storage server to search and return full game data corresponding to a user identifier of a target user, receiving the full game data returned by the storage server, acquiring target game data corresponding to a device identifier of a first terminal from the full game data, and sending the target game data to the cloud game server;
the method comprises the steps of receiving target game data sent by account management equipment, rendering according to the target game data to obtain a game picture of a target cloud game, and transmitting the game picture back to a cloud game client server so that the cloud game client server can indicate a first terminal to display the game picture.
In one implementation mode, after receiving the full amount of game data sent by the storage server, the account management device stores the full amount of game data and the user identification of the target user in a cache space of the account management device correspondingly; one or more instructions in the computer readable storage medium are loaded by processor 1101 and further perform the steps of:
and if the new game data are acquired in the running process of the target cloud game, sending the new game data to the account management equipment so as to instruct the account management equipment to update the target game data in the cache space by adopting the new game data.
In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1101 and further perform the steps of:
if the target cloud game is switched from being started in the first terminal to being started in the second terminal, receiving second account information of the target user sent by the cloud game client server,
sending the second account information to an account management system so that the account management system obtains matched game data matched with the equipment identifier of the second terminal from the cache space based on the user identifier and sends the matched game data to the cloud game server;
and receiving the matched game data sent by the account management system, rendering according to the matched game data to obtain a new game picture of the target cloud game, and transmitting the new game picture back to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture.
In the embodiment of the application, through interaction among the first terminal, the cloud game client server, the cloud game server, the account management device and the storage server, the account management device can receive first account information sent by the cloud game server, the account management device obtains full game data of a target user from the storage server based on the first account information, screens out target game data matched with a device identifier of the first terminal from the full game data according to the first account information, and issues the target game data to the cloud game server. And the cloud game server renders the target game data to obtain a game picture matched with the equipment identifier of the first terminal. Therefore, the terminal with different equipment identifiers can display different game data of the target user, and the game requirements of game players are met.
Embodiments of the present application also provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the cloud game processing device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the cloud game processing device executes the cloud game processing method.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are all or partially generated upon loading and execution of computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., Solid State Disks (SSDs)), among others.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A cloud game processing method is characterized by comprising the following steps:
when a target cloud game in a first terminal is started and operated, account management equipment acquires first account information of a target user from a cloud game server, wherein the first account information is information of the target user when the target user operates the target cloud game in the first terminal, the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated and is sent to the cloud game server by the cloud game client server, and the first account information comprises a user identifier of the target user and an equipment identifier of the first terminal;
the account management device sends a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for indicating the storage server to search and return full amount game data corresponding to the user identifier, and the full amount game data at least comprises target game data corresponding to the device identifier of the first terminal;
the account management equipment receives the full amount of game data returned by the storage server, acquires the target game data from the full amount of game data, and sends the target game data to the cloud game server so as to instruct the cloud game server to render according to the target game data to obtain a game picture, and sends the game picture to the first terminal for displaying;
when the target cloud game is switched from being started and operated in the first terminal to being started and operated in a second terminal, the account management device acquires second account information of the target user from the cloud game server, wherein the second account information is information of the target user when the target user runs the target cloud game in the second terminal, and the second account information is sent to a cloud game client server by the second terminal when the target cloud game is detected to be started and operated, and is sent to the cloud game server by the cloud game client server, and the second account information comprises a user identifier of the target user and a device identifier of the second terminal;
if the device identifier of the first terminal is different from the device identifier of the second terminal, and the target user selects to continue playing the target cloud game based on the updated game data generated by the first terminal, the account management device acquires the updated target game data from the cache space and sends the updated target game data to the cloud game server to instruct the cloud game server to render according to the updated target game data to obtain a new game picture, and sends the new game picture to the second terminal for displaying;
if the device identification of the second terminal is different from the device identification of the first terminal, and the target user selects game data generated in the second terminal based on historical time to play the target cloud game, the account management device acquires the game data generated in the second terminal at the historical time; and sending the game data generated in the second terminal by the historical time to the cloud game server to instruct the cloud game server to render the game data generated in the second terminal according to the historical time to obtain a new game picture, and sending the new game picture to the second terminal for displaying.
2. The method of claim 1, wherein the first account information further comprises a target game identification for the target cloud game; the obtaining the target game data from the full amount of game data comprises:
screening out a first candidate game data set matched with the equipment identification of the first terminal from the full amount game data, wherein the first candidate game data set comprises game data corresponding to at least one game identification;
and screening out the game data matched with the target game identification from the first candidate game data set, and taking the screened out game data as target game data.
3. The method of claim 1, wherein upon receiving the full amount of game data returned by the storage server, the method further comprises:
correspondingly storing the full game data and the user identification into a cache space;
and receiving new game data sent by the cloud game server, and updating the target game data in the cache space by adopting the new game data, wherein the new game data is acquired by the cloud game server in the running process of the target cloud game.
4. The method of claim 3, wherein the method further comprises:
if the equipment identification of the second terminal is the same as that of the first terminal, the account management equipment acquires updated target game data from the full game data stored in the cache space; and sending the updated target game data to the cloud game server to instruct the cloud game server to render according to the updated target game data to obtain a new game picture, and sending the new game picture to the second terminal for displaying.
5. The method of claim 1, wherein if the target cloud game in the first terminal is authorized to be logged in through a target application program, the user identifier of the target user is a login account of the target user in the target application program.
6. A cloud game processing method is characterized by comprising the following steps:
when a target cloud game in a first terminal is started to run, receiving first account information of a target user sent by a cloud game client server; the first account information is sent to the cloud game client server when the first terminal detects that the target cloud game is started, and the first account information comprises a user identifier of the target user and a device identifier of the first terminal;
forwarding the first account information to account management equipment to instruct the account management equipment to send a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for instructing the storage server to search and return full amount of game data corresponding to the user identifier of the target user, receive the full amount of game data returned by the storage server, acquire target game data corresponding to the device identifier of the first terminal from the full amount of game data, and send the target game data to a cloud game server;
receiving the target game data sent by the account management equipment, rendering according to the target game data to obtain a game picture of the target cloud game, and transmitting the game picture back to the cloud game client server so that the cloud game client server indicates the first terminal to display the game picture;
when the target cloud game is started and operated in the first terminal and is switched to be started and operated in the second terminal, receiving second account information of the target user, which is sent by the cloud game client server; the second account information is sent to the cloud game client server when the second terminal detects that the target cloud game is started and operated, and the second account information comprises a user identifier of the target user and a device identifier of the second terminal;
sending the second account information to the account management device, so that when the account management device detects that the device identifier of the second terminal is different from the device identifier of the first terminal and the target user selects to continue playing the target cloud game based on the updated game data generated by the first terminal, the updated target game data is obtained from a cache space; receiving the updated target game data returned by the account management equipment, rendering according to the updated target game data to obtain a new game picture, and transmitting the new game picture back to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture;
sending the second account information to the account management device, so that the account management device can acquire game data generated in the second terminal at historical time when detecting that the device identification of the second terminal is different from the device identification of the first terminal and the target user selects game data generated in the second terminal based on historical time to play the target cloud game; and receiving game data generated in the second terminal at the historical time returned by the account management equipment, rendering the game data to obtain a new game picture according to the game data generated in the second terminal at the historical time, and returning the new game picture to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture.
7. The method of claim 6, wherein after receiving the full amount of game data sent by the storage server, the account management device stores the full amount of game data in a cache space of the account management device in correspondence with the user identifier of the target user; the method further comprises the following steps:
if new game data are acquired in the running process of the target cloud game, the new game data are sent to the account management equipment so as to instruct the account management equipment to update the target game data in the cache space by adopting the new game data.
8. A cloud game processing apparatus, comprising:
the cloud game processing method includes the steps that an obtaining unit is used for obtaining first account information of a target user from a cloud game server when a target cloud game in a first terminal is started and operated, the first account information is information of the target user when the target cloud game is operated in the first terminal, the first account information is sent to a cloud game client server when the first terminal detects that the target cloud game is started and operated and is sent to the cloud game server by the cloud game client server, and the first account information comprises a user identification of the target user and an equipment identification of the first terminal;
the processing unit is used for sending a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for indicating the storage server to search and return full amount game data corresponding to the user identifier, and the full amount game data at least comprises target game data corresponding to the equipment identifier of the first terminal;
the processing unit is further configured to receive the full amount of game data returned by the storage server, acquire the target game data corresponding to the device identifier of the first terminal from the full amount of game data, and send the target game data to the cloud game server, so as to instruct the cloud game server to render according to the target game data to obtain a game picture, and send the game picture to the first terminal for display;
the processing unit is further configured to acquire second account information of the target user from the cloud game server when the target cloud game is switched from being started and run in the first terminal to being started and run in a second terminal, where the second account information is information of the target user when the target cloud game is run in the second terminal, and the second account information is sent to a cloud game client server by the second terminal when the target cloud game is detected to be started and run, and is sent to the cloud game server by the cloud game client server, and the second account information includes a user identifier of the target user and a device identifier of the second terminal;
the processing unit is further configured to, if the device identifier of the first terminal is different from the device identifier of the second terminal, and the target user selects to continue playing the target cloud game based on the updated game data generated by the first terminal, obtain updated target game data from a buffer space, and send the updated target game data to the cloud game server, so as to instruct the cloud game server to render according to the updated target game data to obtain a new game picture, and send the new game picture to the second terminal for display;
the processing unit is further configured to, if the device identifier of the second terminal is different from the device identifier of the first terminal, and the target user selects game data generated in the second terminal based on the historical time to play the target cloud game, the account management device acquires the game data generated in the second terminal at the historical time; and sending the game data generated in the second terminal by the historical time to the cloud game server to instruct the cloud game server to render the game data generated in the second terminal according to the historical time to obtain a new game picture, and sending the new game picture to the second terminal for displaying.
9. A cloud game processing apparatus, comprising:
the receiving unit is used for receiving first account information of a target user, which is sent by a cloud game client server, when a target cloud game in a first terminal starts to run; the first account information is sent to the cloud game client server when the first terminal detects that the target cloud game is started, and the first account information comprises a user identifier of the target user and a device identifier of the first terminal;
the processing unit is used for forwarding the first account information to the account management device so as to instruct the account management device to send a game data acquisition request to a storage server based on the first account information, wherein the game data acquisition request is used for instructing the storage server to search and return full amount game data corresponding to the user identifier of the target user, receive the full amount game data returned by the storage server, acquire target game data corresponding to the device identifier of the first terminal from the full amount game data, and send the target game data to a cloud game server;
the processing unit is further configured to receive the target game data sent by the account management device, perform rendering according to the target game data to obtain a game picture of the target cloud game, and return the game picture to the cloud game client server, so that the cloud game client server instructs the first terminal to display the game picture;
the processing unit is further configured to receive second account information of the target user sent by the cloud game client server when the target cloud game is switched from being started and run in the first terminal to being started and run in a second terminal; the second account information is sent to the cloud game client server when the second terminal detects that the target cloud game is started and operated, and the second account information comprises a user identifier of the target user and a device identifier of the second terminal;
the processing unit is further configured to send the second account information to the account management device, so that when the account management device detects that the device identifier of the second terminal is different from the device identifier of the first terminal and the target user selects to continue playing the target cloud game based on the updated game data generated by the first terminal, the updated target game data is obtained from a cache space; receiving the updated target game data returned by the account management equipment, rendering according to the updated target game data to obtain a new game picture, and transmitting the new game picture back to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture;
the processing unit is further configured to send the second account information to the account management device, so that when the account management device detects that the device identifier of the second terminal is different from the device identifier of the first terminal and the target user selects to play the target cloud game based on game data generated in the second terminal at a historical time, the account management device obtains the game data generated in the second terminal at the historical time; and receiving game data generated in the second terminal at the historical time returned by the account management equipment, rendering the game data to obtain a new game picture according to the game data generated in the second terminal at the historical time, and returning the new game picture to the cloud game client server so that the cloud game client server indicates the second terminal to display the new game picture.
10. A cloud gaming device, comprising:
a processor adapted to implement a computer program; and the number of the first and second groups,
a computer readable storage medium storing a computer program adapted to be loaded by the processor and to perform the cloud game processing method according to any one of claims 1 to 5, or the cloud game processing method according to any one of claims 6 to 7.
11. A computer readable storage medium comprising a computer program adapted to be loaded by a processor and to perform the cloud game processing method of any of claims 1 to 5, or the cloud game processing method of any of claims 6 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110083873.3A CN112999653B (en) | 2021-01-21 | 2021-01-21 | Cloud game processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110083873.3A CN112999653B (en) | 2021-01-21 | 2021-01-21 | Cloud game processing method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112999653A CN112999653A (en) | 2021-06-22 |
CN112999653B true CN112999653B (en) | 2022-08-02 |
Family
ID=76384499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110083873.3A Active CN112999653B (en) | 2021-01-21 | 2021-01-21 | Cloud game processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112999653B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113413590B (en) * | 2021-06-23 | 2024-08-13 | 网易(杭州)网络有限公司 | Information verification method, device, computer equipment and storage medium |
CN113710339B (en) * | 2021-08-25 | 2024-07-16 | 商汤国际私人有限公司 | Application configuration method, device, equipment and computer storage medium |
CN113805966A (en) * | 2021-09-15 | 2021-12-17 | 上海得帆信息技术有限公司 | Multi-terminal device dynamic view rendering implementation method and system |
CN114205351A (en) * | 2021-11-01 | 2022-03-18 | 北京中合谷投资有限公司 | Cloud game service system and method for family customers |
CN114489540B (en) * | 2022-01-12 | 2022-09-23 | 广州三七极耀网络科技有限公司 | Method, system, device and medium for cooperatively displaying game pictures |
CN114745271B (en) * | 2022-04-22 | 2023-09-08 | 苏州浪潮智能科技有限公司 | Cloud game server optimization method, server and storage medium |
CN115643449B (en) * | 2022-09-16 | 2024-06-14 | 阿里巴巴(中国)有限公司 | Video display method, device, equipment, storage medium and system for cloud service |
CN115543535B (en) * | 2022-09-30 | 2024-04-09 | 摩尔线程智能科技(北京)有限责任公司 | Android container system, android container construction method and device and electronic equipment |
CN117032939B (en) * | 2023-10-08 | 2024-02-02 | 腾讯科技(深圳)有限公司 | Cloud service control method, related device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407121A (en) * | 2016-10-08 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Cross-platform data intercommunication consistency test method and application test server |
CN108200572A (en) * | 2018-01-09 | 2018-06-22 | 西安万像电子科技有限公司 | Switching method, the apparatus and system of terminal |
CN112165482A (en) * | 2020-09-24 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Data processing method, data processing device, computer equipment and medium |
-
2021
- 2021-01-21 CN CN202110083873.3A patent/CN112999653B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407121A (en) * | 2016-10-08 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Cross-platform data intercommunication consistency test method and application test server |
CN108200572A (en) * | 2018-01-09 | 2018-06-22 | 西安万像电子科技有限公司 | Switching method, the apparatus and system of terminal |
CN112165482A (en) * | 2020-09-24 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Data processing method, data processing device, computer equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN112999653A (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112999653B (en) | Cloud game processing method, device, equipment and medium | |
KR101536047B1 (en) | Utilizing a social network account to provide additional functionality to a gaming network account | |
US11759707B2 (en) | Methods and systems for scheduling game play of a video game | |
JP6310073B2 (en) | Drawing system, control method, and storage medium | |
EP4029582A1 (en) | Information processing method, system and apparatus, and device and storage medium | |
JP5313372B2 (en) | Application system, application installation method, application server, program | |
EP3134813B1 (en) | Game progression using retrieved partial user data | |
JP7397094B2 (en) | Resource configuration method, resource configuration device, computer equipment, and computer program | |
TW201442769A (en) | Unified game preview | |
WO2012166649A1 (en) | System and method for implementing turn-based online games | |
JP2012075883A (en) | Online game system and method of data resource handling for online game | |
US20230362115A1 (en) | Image display method and apparatus, storage medium, and electronic device | |
JP2022099259A (en) | Game live program method, game live program device and computer storage medium | |
US20170214956A1 (en) | Video transmission device, terminal, video transmission system, control method, program, and information storage medium | |
US20160184705A1 (en) | Method for sending webgame message and browser thereof and webgame service server | |
CN111880845A (en) | Method, system and device for controlling target application | |
WO2014001862A2 (en) | Methods and systems for bandwidth-efficient remote procedure calls | |
CN114100145B (en) | Cloud game interaction method, device, equipment and medium | |
KR20130099430A (en) | Apparatus and method of managing game screenshot based on exif meta-data | |
CN112075064A (en) | Scalable real-time duplex communication service | |
KR20140061340A (en) | Apparatus and method of managing game screenshot based on exif meta-data | |
CN114765700A (en) | Information interaction method and device, storage medium and electronic equipment | |
CN117224933A (en) | Game data processing and game starting method, device, equipment and storage medium | |
JP2020089722A (en) | Game provision method based on past game data, and system therefor | |
CN118838670A (en) | Application control method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40047825 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |