A cloud game processing method, cloud game local area network, device and storage medium
By sending broadcast information and establishing data transmission channels within the LAN, the problem of cloud games being unable to run when terminal devices cannot connect to the Internet is solved, and the availability and stability of cloud games being achieved when the network is disconnected is achieved.
Patent Information
- Application Number
- CN202210885664.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2042-07-26
AI Technical Summary
Existing cloud gaming technology requires terminal devices to maintain stable connection with the Internet. If the terminal devices cannot connect to the Internet, cloud gaming cannot be run.
When the terminal device is disconnected from the Internet, broadcast information is sent in the local area network through the local cloud game server, supported cloud game resources are instructed, and data transmission channels are established with the terminal device to realize the local area network operation of cloud games.
It realizes that the terminal device can continue to run cloud games when it cannot connect to the Internet, improving the availability and stability of cloud games.
Smart Images

Figure CN117482498B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, in particular to the field of cloud gaming technology, and specifically to a cloud gaming processing method, a cloud gaming local area network, a device, and a storage medium. Background Art
[0002] With the rapid development of computer technology, cloud gaming has become increasingly important in the gaming market. Cloud gaming refers to games whose game logic runs on the game server. Users only need to have a basic client, which only needs to receive and play the game audio and video streams and send the user's operation data to the game server, to experience high-quality games on low-configuration devices.
[0003] Based on the above description, it can be seen that during the operation of cloud games, terminal devices need to be connected to remote servers deployed in fixed computer rooms to achieve real-time cloud game transmission. Therefore, the terminal devices are required to have a normal and stable Internet connection. For example, through a cellular network or through home broadband. If the terminal device cannot be stably connected to the Internet, the existing cloud gaming method cannot run. Summary of the invention
[0004] The embodiments of the present application provide a cloud game processing method, a cloud game local area network, a device and a storage medium, which are used to continue running the cloud game when the terminal device is disconnected from the Internet.
[0005] In view of this, on the one hand, the present application provides a method for processing cloud games, including: a local cloud game server sends broadcast information in a local area network, the broadcast information is used to indicate the cloud game resources supported by the local cloud game server, the local area network includes the local cloud game server, a switch and N terminal devices, wherein the local cloud game server and the N terminal devices are connected to the switch, so that the local cloud game server and the N terminal devices can realize local area network communication, the N terminal devices cannot connect to the Internet, and N is an integer greater than or equal to 1; the N terminal devices receive the broadcast information and determine the cloud game resources supported by the local area network according to the broadcast information; the N terminal devices send an access request to the local cloud game server to access a first cloud game, and the first cloud game is a cloud game in the cloud game resources; the local cloud game server establishes a data transmission channel between the N terminal devices and the local cloud game server in response to the access request; the local cloud game server and the N terminal devices realize game data transmission of the first cloud game through the data transmission channel.
[0006] On the other hand, the present application provides a cloud gaming local area network, including: a local cloud gaming server, a switch and N terminal devices, where N is an integer greater than or equal to 1; the local cloud gaming server and the N terminal devices are connected to the switch, so that the local cloud gaming server and the N terminal devices can realize local area network communication; the local cloud gaming server is used to send broadcast information in the cloud gaming local area network, and the broadcast information is used to indicate the cloud gaming resources supported by the local cloud gaming server; the N terminal devices are used to receive the broadcast information and determine the cloud gaming resources supported by the local area network according to the broadcast information; send an access request to the local cloud gaming server to access a first cloud game, and the first cloud game is one of the cloud gaming resources; the local cloud gaming server is also used to establish a data transmission channel between the N terminal devices and the local cloud gaming server in response to the access request; and realize game data transmission of the first cloud game with the N terminal devices through the data transmission channel.
[0007] In one possible design, in another implementation of another aspect of the embodiment of the present application, when the first cloud game is a stand-alone game, the local cloud game server is used to establish N game processes for the N terminal devices, wherein one game process among the N game processes establishes a data transmission channel with one terminal device among the N terminal devices;
[0008] When the first cloud game is a multiplayer game, the local cloud game server is used to establish a multiplayer game process for the N terminal devices, wherein the multiplayer game process establishes a data transmission channel with each of the N terminal devices.
[0009] In one possible design, in another implementation of another aspect of the embodiment of the present application, the N terminal devices are used to obtain a control instruction for the first cloud game, and send the control instruction to the local cloud game server through the data transmission channel;
[0010] The local cloud game server is used to send game data to the N terminal devices through the data transmission channel in response to the control instruction;
[0011] The N terminal devices are used to parse the game data and display the video information or audio information indicated by the game data.
[0012] In a possible design, in another implementation of another aspect of the embodiment of the present application, the N terminal devices send a login request for logging into the first cloud game to the local cloud game server;
[0013] When the local cloud game server is in network communication with the remote cloud game server of the first cloud game, the local cloud game server is used to send a login request to the remote cloud game server, wherein the login request includes the login request;
[0014] After the local cloud game server receives the feedback result of successful login, the local cloud game server is used to store the login information of the N terminal devices and send a notification message to the N terminal devices, where the notification message is used to indicate that the login of the N terminal devices is successful.
[0015] In one possible design, in another implementation of another aspect of an embodiment of the present application, the local cloud game server is used to store the archive files of the N terminal devices running the first cloud game; asynchronously send a storage request to the remote cloud game server so that the remote cloud game server synchronizes the archive files; and when receiving a remote archive success message, forward the remote archive success message to the N terminal devices.
[0016] In one possible design, in another implementation of another aspect of the embodiment of the present application, the local cloud game server is used to store the archive files of the N terminal devices running the first cloud game; when there is network communication between the local cloud game server and the remote cloud game server, the archive files are sent to the remote cloud game server so that the remote cloud game server synchronizes the archive files; when a remote archive success message is received, the remote archive success message is forwarded to the N terminal devices.
[0017] In one possible design, in another implementation of another aspect of the embodiment of the present application, the N terminal devices are directly connected to the switch via wired or wireless means; the local cloud game server is connected to the switch via a local network card.
[0018] Another aspect of the present application provides a computer device, including: a memory, a processor, and a bus system;
[0019] Wherein, the memory is used to store programs;
[0020] The processor is used to execute the program in the memory, and the processor is used to execute the above-mentioned methods according to the instructions in the program code;
[0021] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0022] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.
[0023] Another aspect of the present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.
[0024] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: when the terminal device is disconnected from the Internet, the terminal device and the local cloud game server deployed locally form a local area network through a switch. In this local area network, the local cloud game server has the function of supporting the terminal device to run cloud games. After the terminal device establishes a data transmission channel with the local cloud game server, it exchanges data with the local cloud game server through the data transmission channel. Here, the data is necessary data for running cloud games, thereby realizing the function of the terminal device to run cloud games in real time when the network is disconnected. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a schematic diagram of the network architecture for cloud gaming.
[0026] Figure 2 A schematic diagram of a local area network architecture for running cloud games in an embodiment of the present application;
[0027] Figure 3 This is another schematic diagram of a local area network architecture for running cloud games in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of an embodiment of a method for processing a cloud game in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of a flow chart of establishing a data transmission channel between the local cloud game server and the terminal device in an embodiment of the present application;
[0030] Figure 6 A schematic diagram of an interface for displaying cloud gaming resources on the terminal device in an embodiment of the present application;
[0031] Figure 7 This is another flowchart of establishing a data transmission channel between the local cloud game server and the terminal device in an embodiment of the present application;
[0032] Figure 8 This is another schematic diagram of an interface for displaying cloud gaming resources on the terminal device in an embodiment of the present application;
[0033] Fig. 9 A schematic diagram of the corresponding relationship between the game process and the terminal device in the embodiment of the present application;
[0034] Fig.10 Another schematic diagram of the corresponding relationship between the game process and the terminal device in the embodiment of the present application;
[0035] Fig.11 A schematic diagram of a flow chart of data interaction between a terminal device and the local cloud game server in an embodiment of the present application;
[0036] Fig.12 This is another schematic diagram of a local area network architecture for running cloud games in an embodiment of the present application;
[0037] Fig.13 This is another schematic diagram of an embodiment of a method for processing a cloud game in an embodiment of the present application;
[0038] Fig.13a This is a flow chart of a terminal device logging in through a local cloud game server in an embodiment of the present application;
[0039] Fig.13b This is another flowchart of a terminal device logging in through a local cloud game server in an embodiment of the present application;
[0040] Fig.14 This is another schematic diagram of an embodiment of a method for processing a cloud game in an embodiment of the present application;
[0041] Fig.14a A schematic diagram of a process for synchronizing archive files between a local cloud game server and a remote cloud game server in an embodiment of the present application;
[0042] Fig.15 This is another schematic diagram of an embodiment of a method for processing a cloud game in an embodiment of the present application;
[0043] Fig.15a A schematic diagram of a process for synchronizing archive files between a local cloud game server and a remote cloud game server in an embodiment of the present application;
[0044] Fig.16 This is a schematic diagram of an embodiment of a local cloud game server in an embodiment of the present application;
[0045] Fig.17 This is a schematic diagram of an embodiment of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The embodiments of the present application provide a cloud game processing method, a cloud game local area network, a device and a storage medium, which are used to continue running the cloud game when the terminal device is disconnected from the Internet.
[0047] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0048] In order to more clearly understand the technical solutions provided by the embodiments of the present application, the technical terms involved in the embodiments of the present application are introduced below:
[0049] Cloud Gaming: Cloud gaming, also known as gaming on demand, is a gaming method based on cloud computing technology. Cloud gaming enables thin clients with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud gaming scenario, all game processes are not run in the client of the user's terminal, but in the game server; the game server compresses and encodes the game screen and game audio in the game process into a media stream, and then transmits the media stream to the user's client through the network. The media stream may include game video stream and game audio stream. The client used by the user does not need to have powerful graphics processing and data computing capabilities, but only needs to have basic streaming media playback capabilities, and the ability to obtain user input operation instructions and send the user input operation instructions to the game server.
[0050] Among them, cloud computing technology provides game servers with graphics processing capabilities and data computing capabilities to support the smooth operation of cloud games. Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, so that various application systems can obtain computing power, storage space and information services as needed. The network that provides resources is called a "cloud". The resources in the "cloud" are infinitely expandable in the eyes of users, and can be obtained at any time, used on demand, expanded at any time, and paid for by use. As a basic capability provider for cloud computing, a cloud computing resource pool (referred to as a cloud platform) will be established, generally referred to as an Infrastructure as a Service (Iaas) platform, and various types of virtual resources will be deployed in the cloud computing resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices. According to the logical function division, the Platform as a Service (PaaS) layer can be deployed on the IaaS layer, and the Software as a Service (SaaS) layer can be deployed on the PaaS layer. SaaS can also be deployed directly on IaaS. PaaS is a platform for software (such as databases, web containers, etc.) to run. SaaS is a variety of business software (such as web portals, SMS mass senders, etc.). Generally speaking, SaaS and PaaS are upper layers relative to IaaS.
[0051] Cloud computing can refer to the delivery and use model of Internet technology (IT) infrastructure, which means obtaining required resources through the network in an on-demand and easily scalable manner; in a broad sense, cloud computing refers to the delivery and use model of services, which means obtaining required services through the network in an on-demand and easily scalable manner. This service can be related to IT and software, the Internet, or other services. Cloud computing is the product of the development and integration of traditional computer and network technologies such as grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balancing. With the development of the Internet, real-time data streams, and the diversification of connected devices, as well as the promotion of search services, social networks, mobile commerce, and open collaboration, cloud computing has developed rapidly. Different from the previous parallel and distributed computing, the emergence of cloud computing will promote revolutionary changes in the entire Internet model and enterprise management model from a conceptual perspective.
[0052] Game process: A game process can also be understood as a cloud game instance. A game process is a cloud game instance. Cloud games are deployed and run on cloud game instances. Cloud game instances represent virtual computing resources. Virtual computer resources may include: a collection of basic computing components such as the central processing unit (CPU), operating system, network, disk, and graphics processing unit (GPU). In other words, a game process is a cloud game that has been successfully started and can be actually operated.
[0053] The implementation principle of cloud gaming can be roughly as follows Figure 1As shown: 1. The terminal device (such as a mobile phone, PC (personal computer), etc.) may include a cloud game client, and the user can enter the cloud game through the client to play. 2. The game server starts the game process of the cloud game for the client participating in the cloud game; for example, a user uses a client to enter the cloud game to play, and the game server will start and run a game process in the cloud. Then the game process corresponds to the client used by the user, and this game process provides the client with the game screen of the cloud game. 3. The client displays the game screen returned by its corresponding game process; when the user performs various operations in the game screen (such as touch screen operations, mouse and keyboard operations), the client will report the operation data generated by these operations to the game server, and the game server will refresh the game screen of the cloud game according to the operation data in the corresponding game process, and then return the refreshed game screen to the client for display. Among them, the operations performed by the user in the game screen may include moving operations, selecting operations, etc.; for example, the user moves the game character in the game screen from the first position in the game screen to the second position in the game screen; for example, the user selects (such as single click, double click, long press, etc.) a game control in the game screen. Based on the above description, it can be seen that during the operation of cloud games, terminal devices need to be connected to remote servers deployed in fixed computer rooms to achieve real-time cloud game transmission. Therefore, the terminal devices are required to have a normal and stable Internet connection. For example, through a cellular network or through home broadband. If the terminal device cannot be stably connected to the Internet, the existing cloud gaming method cannot run.
[0054] In order to solve the above problems, the present application provides the following technical solutions: a local cloud game server sends broadcast information in a local area network, and the broadcast information is used to indicate the cloud game resources supported by the local cloud game server. The local area network includes the local cloud game server, a switch and N terminal devices, wherein the local cloud game server and the N terminal devices are connected to the switch, so that the local cloud game server and the N terminal devices can realize local area network communication, and the N terminal devices cannot connect to the Internet, and N is an integer greater than or equal to 1; the N terminal devices receive the broadcast information and determine the cloud game resources supported by the local area network according to the broadcast information; the N terminal devices send an access request to the local cloud game server to access a first cloud game, and the first cloud game is a cloud game in the cloud game resources; the local cloud game server establishes a data transmission channel between the N terminal devices and the local cloud game server in response to the access request; the local cloud game server and the N terminal devices realize game data transmission of the first cloud game through the data transmission channel.
[0055] Based on the above description, the cloud game processing method provided in this application can be applied to Figure 2 or Figure 3The network architecture shown in Figure 1 is as follows. Figure 2 As shown, the network architecture includes a local cloud game server 101, N terminal devices 102 and a switch 103, where N is an integer greater than or equal to 1. Figure 1 The network architecture shown takes N=3 as an example, that is, the network architecture includes three terminal devices 102 as an example for explanation. It can be understood that the client corresponding to the cloud game is deployed on the terminal device, wherein the client can be run on the terminal device 102 in the form of a browser, or can be run on the terminal device 102 in the form of an independent application (application, APP), etc. The specific presentation form of the client is not limited here. The local cloud game server 101 involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms, or a server in a blockchain. The local cloud game server 101 can be used to run the game process of the cloud game for users to access and play. Any of the N terminal devices can be a smart phone, a tablet computer, a laptop computer, a PDA, a desktop computer, a smart TV, a smart watch, a vehicle-mounted device, a wearable device, etc., but is not limited thereto. The terminal device 102 and the local cloud game server 101 can be connected to the switch 103 by wired or wireless communication, so as to realize the LAN communication between the terminal device 102 and the local cloud game server 101, and this application is not limited here. The number of servers and terminal devices is also not limited. The solution provided in this application can be completed independently by the terminal device, or by the server, or by the terminal device and the server. This application does not make specific limitations on this. It can be understood that the communication between the server and the terminal device belongs to the LAN communication.
[0056] In a cloud game network architecture consisting of a local cloud game server and N terminal devices, N users can access the same game process of the cloud game through N clients running in the N terminal devices respectively. The game process may include N processing resources, and one client corresponds to one processing resource. The local cloud game server can obtain the game resource data adapted to each client in the game process by calling the processing resources corresponding to each of the N clients, and transmit the corresponding game resource data to each client to achieve isolation between the game resource data of the N clients, that is, the N users. Among them, the game resource data adapted to each client may include the game video stream of each client in the game process and the game audio stream of each client in the game process. In addition, when an input event of any of the N clients is captured, the input event can be responded to by calling the processing resources corresponding to the client that generated the input event, so as to achieve isolation between the input events of the N users.
[0057] Figure 3 FIG. 2 shows a schematic diagram of a network architecture provided by another exemplary embodiment of the present application. Figure 3 As shown, the terminal may include hardware and a software development kit (SDK); wherein the hardware may include a display screen, an operating system, etc. SDK may refer to a client, which may be used to authenticate the account of a user who logs into the client, such as comparing the account password entered by the user with the account password stored in the client; and may also be used to play game resource data such as game video streams and game audio streams sent by a local cloud game server.
[0058] The local cloud game server can be a server cluster composed of multiple physical servers, and the server cluster can include a login server, a matching server, a process server, a database server, and a media streaming server. The local cloud game server exchanges data with the terminal device through a switch. Among them, the login server can be used to manage the access of the game process or cloud game. The matching server can be used to match between the user and the cloud game, for example, the matching server can be used to connect the user to the cloud game that the user requests to access; or the matching server can be used to match between the user and the game process, for example, the matching server can be used to connect the user to the game process that the user requests to access. The process server can be used to run the game process and manage the game process it runs; for example, when the user requests to start the game process, the process server can determine whether the number of game processes started in the process server has reached a threshold, and if the threshold has been reached, the new game process is refused to be started, and if the threshold has not been reached, the new game process is allowed to be started; for example, the process server can release the game process immediately when the game process ends to reduce the memory usage of the process server, so as to start a new game process. Database services can be used to provide data storage services. For example, game resources such as scene resources and character skin resources can be stored in the database server. When the process server starts the game process, these game resources can be loaded from the database server. The media stream server can be used to encode the game video to obtain the game video stream, and can encode the game audio to obtain the game audio stream, and can transmit the game video stream and game audio stream adapted to each user to each user. In short, the database can be regarded as an electronic filing cabinet - a place to store electronic files, and users can add, query, update, delete and other operations on the data in the file. The so-called "database" is a collection of data that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application. The database management system (DBMS) is a computer software system designed for managing databases, generally with basic functions such as storage, interception, security, and backup. Database management systems can be classified according to the database model they support, such as relational, Extensible Markup Language (XML); or according to the type of computer they support, such as server clusters, mobile phones; or according to the query language used, such as Structured Query Language (SQL), XQuery; or according to performance focus, such as maximum scale, maximum operating speed; or other classification methods.Regardless of which classification is used, some DBMSs are able to cross categories, for example, supporting multiple query languages simultaneously.
[0059] In the embodiment of the present application, the terminal device and the local cloud game server communicate with each other through a switch in a local area network, and the switching rules of the switch may include a variety of styles, which are not specifically limited here.
[0060] It is understandable that in the specific implementation of the present application, when it involves game video or game audio and other related data, when the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0061] Combined with the above introduction, the following will introduce the processing method of cloud games in this application, please refer to Figure 4 , an embodiment of the cloud game processing method in the embodiment of the present application includes:
[0062] 401. The local cloud game server sends broadcast information in the local area network, where the broadcast information is used to indicate the cloud game resources supported by the local cloud game server.
[0063] In such Figure 2 In the local area network shown, the local cloud game server and the N terminal devices are all connected to the local area network. At this time, the local cloud game server can broadcast its own server address and identification information of the cloud game resources supported by the local cloud game server in the local area network in a multicast manner.
[0064] It is understandable that the identification information of the cloud game resource may be the name of the cloud game or the storage address of the cloud game, which is not limited here.
[0065] 402. The N terminal devices receive the broadcast information and determine the cloud gaming resources supported by the local area network based on the broadcast information.
[0066] After the N terminal devices access the local area network, the N terminal devices can periodically or in real time obtain the broadcast information in the local area network. After receiving the broadcast information, the N terminal devices parse the broadcast information to obtain the address of the local cloud game server and the cloud game resources supported by the local cloud game server.
[0067] In this embodiment, the terminal device can display the cloud game resources through its display screen, which can be in the form of a pop-up window, voice playback, or barrage, and the specifics are not limited here.
[0068] 403. The N terminal devices send access requests to the local cloud game server to access a first cloud game, where the first cloud game is a cloud game in the cloud game resources.
[0069] In this embodiment, after the N terminal devices obtain the cloud game resources supported by the local area network, they can obtain the control instructions through the user's operation on the terminal devices, thereby generating the access request according to the control instructions, and sending the access request to the local cloud game server according to the address of the local cloud game server. The access request will carry identification information for indicating the first cloud game.
[0070] 404. The local cloud game server establishes a data transmission channel between the N terminal devices and the local cloud game server in response to the access request.
[0071] When receiving the access request, the local cloud game server parses the access request to obtain the identification information of the first cloud game, and confirms whether it supports the first cloud game according to the identification information of the cloud game. If the local cloud game server supports the first cloud game, it responds to the access request to establish a transmission channel between the N terminal devices and the local cloud game server for transmitting the game data of the first cloud game, and runs the game process of the first cloud game.
[0072] The following is an explanation of the process of establishing a data transmission channel between the local cloud gaming server and the terminal device in this application using a specific application scenario.
[0073] like Figure 5 As shown, in this embodiment, the number of the terminal devices is 3 and the number of the local cloud game servers is 1. The specific process can be as follows:
[0074] 1. The local cloud game server continuously sends broadcast information, which carries the address of the local cloud game server in the local area network and the cloud game resources supported by the local cloud game server. It is understandable that the local cloud game server can send the broadcast information periodically or randomly, and the specific method is not limited here. At the same time, the cloud game resource can only indicate the name of the cloud game, such as the name of game A, game B and game C in the broadcast information.
[0075] 2. After the terminal device is connected to the switch, it is connected to the local area network. Then the terminal device can periodically obtain the broadcast information in the local area network. After receiving the broadcast information, the terminal device parses the broadcast information to obtain the address of the local cloud game server in the local area network and the cloud game resources, and then the terminal device can display the cloud game resources through its display screen. Figure 6As shown, after receiving the broadcast information, the terminal device can directly pop up a window to display the cloud game resources supported by the local cloud game server in the local area network. In an exemplary solution, the display screen of the terminal device will display icon A indicating cloud game A, icon B indicating cloud game B, and icon C indicating cloud game C". At this time, the user using the terminal device can operate the above icons (for example, the user clicks on icon C) so that the terminal device receives the control instruction and sends an access request to the local cloud game server according to the control instruction.
[0076] 3. After receiving the access request, the local cloud server responds to the access request, so that the terminal device establishes a data transmission channel with the local cloud server.
[0077] It is understandable that in the local area network, the number of the local cloud game servers may be multiple, and the cloud game resources supported by each local cloud game server may be different. In this case, the process of establishing a data transmission channel between the local cloud game server and the terminal device in this application is described below with a specific application scenario.
[0078] like Figure 7 As shown, in this embodiment, the number of the terminal devices is 3 and the number of the local cloud game servers is 2. The specific process can be as follows:
[0079] 1. The local cloud game server 1 and the local cloud game server 2 continuously send broadcast information. Among them, the broadcast information 1 sent by the local cloud game server 1 will carry the address of the local cloud game server 1 in the local area network and the cloud game resource 1 supported by the local cloud game server 1; the broadcast information 2 sent by the local cloud game server 2 will carry the address of the local cloud game server 2 in the local area network and the cloud game resource 2 supported by the local cloud game server 2. It can be understood that the local cloud game server can send the broadcast information periodically or randomly, and the specific method is not limited here. In an exemplary scheme, the address of the local cloud game server 1 indicated in the broadcast message 1 is address A, and the cloud game resources are "Game A, Game B and Game C"; the address of the local cloud game server 2 indicated in the broadcast message 2 is address B, and the cloud game resources are "Game D, Game E and Game F".
[0080] 2. After the terminal device is connected to the switch, it is connected to the local area network. The terminal device can then periodically obtain broadcast information in the local area network. After receiving the broadcast information, the terminal device parses the broadcast information to obtain the address of the local cloud game server in the local area network and the cloud game resources, and then the terminal device can display the cloud game resources through its display screen. It can be understood that in a scenario involving multiple local cloud game servers, the terminal device can cumulatively display the cloud game resources in the broadcast information. That is, when broadcast information 1 is received at the first moment, cloud game resource 1 indicated by broadcast information 1 is displayed; when broadcast information 2 is received at the second moment, the terminal device integrates cloud game resource 2 indicated by the broadcast information with cloud game resource 1, and then displays them. An exemplary scheme, such as Figure 8 As shown, at the first moment, the terminal device receives the broadcast information 1, and at this time, a pop-up window can be directly displayed to display the cloud game resources 1 supported by the local cloud game server 1 in the local area network. Figure 8 As shown in (a), the display screen of the terminal device will display icon A indicating cloud game A, icon B indicating cloud game B, and icon C indicating cloud game C. At the second moment, the terminal device receives the broadcast information 2. At this time, the terminal device can integrate the cloud game resource 2 with the cloud game resource 1, and then add the cloud game resource 2 supported by the local cloud game server 2 to the pop-up window at the first moment. Figure 8 As shown in (b), the display screen of the terminal device will display icon A indicating cloud game A, icon B indicating cloud game B, icon C indicating cloud game C, icon D indicating cloud game D, icon E indicating cloud game E, and icon F indicating cloud game F. At this time, the user using the terminal device can operate the above icons (for example, the user clicks the icon C), so that the terminal device receives the control instruction and sends an access request to the local cloud game server 1 at the address A of the local cloud game server 1 according to the control instruction.
[0081] 3. After receiving the access request, the local cloud server responds to the access request, so that the terminal device establishes a data transmission channel with the local cloud server.
[0082] It is understandable that when the terminal device sends an access request to the local cloud game server, the terminal device may also send the access request in a broadcasting manner, that is, the terminal device may send the access request to all local cloud game servers in the local area network. In this solution, since the access request carries the identification information of the cloud game, the local cloud game server may confirm whether to respond to the access request based on the identification information of the cloud game and establish a data transmission channel.
[0083] It is understandable that the correspondence between the game process and the terminal device may be different depending on the type of game. Specifically, it may be as follows:
[0084] like Fig. 9 As shown, the network architecture of three terminal devices and a local cloud game server is used for explanation. If the first cloud game is a stand-alone game, the terminal device A sends an access request to the local cloud game server, then the local cloud game server will run the game process 1 of the first cloud game, and the game process 1 only serves the terminal device A. In this solution, if the terminal device B also sends an access request carrying the first cloud game to the local cloud game server, then the local cloud game server will run the game process 2 of the first cloud game, and the game process 2 only serves the terminal device B.
[0085] like Fig.10 As shown, the network architecture of three terminal devices and one local cloud game server is used for explanation. If the first cloud game is a multiplayer game, the terminal device A, the terminal device B and the terminal device C all send access requests to the local cloud game server, then the local cloud game server will run the multiplayer game process of the first cloud game, and the game process 1 will serve the terminal device A, the terminal device B and the terminal device C.
[0086] By the above Fig. 9 or Fig.10 It can be seen that a local cloud game server can run multiple game instances simultaneously according to its load capacity and serve multiple terminal devices at the same time.
[0087] 405. The local cloud game server and the N terminal devices implement game data transmission of the first cloud game through the data transmission channel.
[0088] In this embodiment, after the local cloud game server establishes a data transmission channel with the N terminal devices, the local cloud game server can receive control instructions for the first cloud game sent by the N terminal devices, and then the local cloud game server responds to the control instructions and sends game data to the N terminal devices through the data transmission channel; the N terminal devices parse the game data and display the video information or audio information indicated by the game data.
[0089] In an exemplary embodiment, Fig.11As shown, the terminal generates a control instruction in response to the user's clicking operation on the "Friend" control in the game interface, wherein the control instruction is used to obtain the "Friend's Detailed Interface" from the local cloud game server, and then the terminal device sends the control instruction to the local cloud game server; the local cloud game server will call the game screen indicating the "Friend's Detailed Interface" from the database according to the control instruction, and then encode the game screen to obtain a corresponding data packet, and then send the data packet to the terminal device through the data transmission channel; the terminal device parses the data packet to obtain the game screen, and displays the game screen.
[0090] The above scheme describes the scheme of data transmission channel and data interaction in this embodiment when the local area network is not connected to the external network. In actual application, the local cloud game server in the local area network can also communicate with the remote cloud game server. The specific network architecture can be as follows: Fig.12 As shown. Fig.12 As shown, in the network architecture, the local cloud game server is connected to the remote cloud game server through the Internet via a remote network card, and is connected to the switch in the local area network through a local network card. In this network architecture, the terminal device can exchange data with the remote cloud game server through the local cloud game server, so the present application can also provide the following technical solutions.
[0091] Please refer to Fig.13 As shown, the cloud game processing method in the embodiment of the present application also includes:
[0092] Steps 1301 to 1304 are the same as steps 401 to 404, and the details are not repeated here.
[0093] 1305. The N terminal devices send a login request to the local cloud game server to log in to the first cloud game.
[0094] In this embodiment, if the first cloud game is a game that the user has played repeatedly, the user needs to obtain his / her own archived data during the game, and the user needs to log in to the first cloud game through the terminal device.
[0095] 1306. When there is network communication between the local cloud game server and the remote cloud game server of the first cloud game, the local cloud game server sends the login request to the remote cloud game server.
[0096] The local cloud game server forwards the login request after obtaining the login request. It can be understood that the local cloud game server can send the login request when there is network communication between it and the remote cloud game server of the first cloud game, or it can periodically send the login request to the remote cloud game server.
[0097] Specifically, if the network communication between the local cloud game server and the remote cloud game server of the first cloud game is an unstable connection (for example, the local cloud game server is deployed in a high-speed rail or other network-unstable scenario), the local cloud game server can periodically send login requests. The specific network architecture can be as follows: Fig.13a If the network communication between the local cloud game server and the remote cloud game server of the first cloud game is intermittent (for example, the local cloud game server is deployed in a scenario where the network is disconnected during takeoff of an airplane), the local cloud game server can send the login request when there is stable network communication. The specific network architecture can be as follows: Fig.13b shown.
[0098] In this embodiment, if the first cloud game is a game that the user has not played or the first cloud game is a game that the user has played, but the user does not want to obtain the archived data of the game, in the above case, the user can directly register and play the game through the local cloud game server. At this time, the local cloud game server does not need to exchange data with the remote cloud game server.
[0099] 1307. After the local cloud game server receives the feedback result of successful login, it stores the login information of the N terminal devices and sends a notification message to the N terminal devices, where the notification message is used to indicate that the N terminal devices have successfully logged in.
[0100] After the local cloud game server receives the feedback result sent by the remote cloud game server indicating successful login, the local cloud game server can store the login information sent by the terminal device for use at the next login, further ensuring that the terminal device can continue to run the cloud game when the network is disconnected. At the same time, a message is sent to the terminal device indicating that the N terminal devices have successfully logged in, thereby obtaining the archived data of the cloud game and finally realizing the operation of the cloud game.
[0101] Step 1308 is the same as step 405 and will not be described in detail here.
[0102] It can be understood that based on the above Fig.12 In this network architecture, the local cloud game server can also synchronize archive files with the remote cloud game server. The specific process can be as follows: Fig.14 As shown:
[0103] Step 1401 to step 1408 are the same as the above-mentioned steps 1301 to step 1308, and the details are not repeated here.
[0104] 1409. The local cloud game server stores archive files of the N terminal devices running the first cloud game.
[0105] During the first cloud game, the local cloud game server will store the game data of the N terminal devices to generate archive files corresponding to the N terminal devices. It is understandable that the archive file can be used to indicate the game progress of the user during this period, such as whether the game level is upgraded, whether the game equipment is updated, game copy information, and the advancement of the game main line or the game situation, etc.
[0106] 1410. The local cloud game server asynchronously sends a storage request to the remote cloud game server so that the remote cloud game server synchronizes the archive file.
[0107] After generating the archive file, the local cloud game server sends a storage request to the remote cloud game server, so that the remote cloud game server can synchronize the archive file generated by the terminal device in the local area network.
[0108] It is understandable that the above scheme can be applied to Fig.14a In the network architecture shown, that is, when the network communication between the local cloud game server and the remote cloud game server of the first cloud game is an unstable connection (for example, the local cloud game server is deployed in a scenario with unstable network such as a high-speed rail), the local cloud game server sends an archive request to the remote cloud game server in an asynchronous manner, so that the local cloud game server does not need to wait for the remote cloud game server to feedback that the request is successful, but only needs to resend the storage request after a period of time, which can reduce the demand for a stable Internet connection.
[0109] 1411. When the local cloud game server receives a remote archive success message, the local cloud game server forwards the remote archive success message to the N terminal devices.
[0110] After the remote cloud game server synchronizes the archive file, it sends a remote archive success message to the local cloud game server, and then the local cloud game server forwards the remote archive success message to the terminal device.
[0111] It is understandable that, based on different network conditions, the local cloud game server can also synchronize archive files with the remote cloud game server. The specific process can be as follows: Fig.15 As shown:
[0112] Step 1501 to step 1508 are the same as the above-mentioned steps 1301 to step 1308, and the details are not repeated here.
[0113] 1509. The local cloud game server stores archive files of the N terminal devices running the first cloud game.
[0114] During the first cloud game, the local cloud game server will store the game data of the N terminal devices to generate archive files corresponding to the N terminal devices. It is understandable that the archive file can be used to indicate the game progress of the user during this period, such as whether the game level is upgraded, whether the game equipment is updated, game copy information, and the advancement of the game main line or the game situation, etc.
[0115] 1510. When there is network communication between the local cloud game server and the remote cloud game server, the local cloud game server sends the archive file to the remote cloud game server so that the remote cloud game server synchronizes the archive file.
[0116] After generating the archive file, the local cloud game server sends a storage request to the remote cloud game server, so that the remote cloud game server can synchronize the archive file generated by the terminal device in the local area network.
[0117] It is understandable that the above scheme can be applied to Fig.15a In the network architecture shown, that is, when the network communication between the local cloud game server and the remote cloud game server of the first cloud game is intermittent (for example, when the local cloud game server is deployed in a scenario where the network is disconnected during takeoff of an airplane), the local cloud game server can also save the archive files generated during the terminal device running the cloud game, and directly send the archive files to the remote cloud game server when the network communication is stable, so that the remote cloud game server can synchronize the archive files generated by the terminal device in the local area network. This can reduce the number of archive requests initiated by the local cloud game server to the remote cloud game server.
[0118] 1511. When the local cloud game server receives a remote archive success message, the local cloud game server forwards the remote archive success message to the N terminal devices.
[0119] After the remote cloud game server synchronizes the archive file, it sends a remote archive success message to the local cloud game server, and then the local cloud game server forwards the remote archive success message to the terminal device.
[0120] The cloud gaming LAN in this application can be found at Figure 2 or Figure 3 As shown, the details are not repeated here, wherein the local cloud game server has all the functions of the local cloud game server in the above embodiment, and the terminal device can have all the functions of the terminal device in the above embodiment.
[0121] For details about the local cloud game server provided by this application, please refer to Fig.16 shown. Fig.16 : is a schematic diagram of a server structure provided in an embodiment of the present application. The server 300 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 322 (for example, one or more processors) and memory 332, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 342 or data 344. Among them, the memory 332 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 322 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.
[0122] The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input and output interfaces 358, and / or one or more operating systems 341, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0123] The steps performed by the local cloud game server in the above embodiment can be based on the Fig.16 The server structure shown.
[0124] The specific structure of the terminal device provided in this application can be found in Fig.17 See Fig.17 For the sake of convenience, only the parts related to the embodiments of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiments of the present application. In the embodiments of the present application, the terminal device is a smart phone as an example for explanation:
[0125] Fig.17 The block diagram shows a partial structure of a smart phone related to the terminal device provided in the embodiment of the present application. Fig.17The smart phone includes: a radio frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and a power supply 490. Those skilled in the art will appreciate that Fig.17 The structure of the smartphone shown in the figure does not constitute a limitation of the smartphone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0126] Combine the following Fig.17 A detailed introduction to the various components of a smartphone:
[0127] The RF circuit 410 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 480 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 410 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 410 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
[0128] The memory 420 can be used to store software programs and modules. The processor 480 executes various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 420. The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the smartphone (such as audio data, a phone book, etc.), etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0129] The input unit 430 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the smart phone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 431 or near the touch panel 431 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 431 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 480, and can receive and execute commands sent by the processor 480. In addition, the touch panel 431 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 431, the input unit 430 may also include other input devices 432. Specifically, other input devices 432 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0130] The display unit 440 can be used to display information input by the user or information provided to the user and various menus of the smartphone. The display unit 440 may include a display panel 441. Optionally, the display panel 441 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 431 may cover the display panel 441. When the touch panel 431 detects a touch operation on or near it, it is transmitted to the processor 480 to determine the type of touch event. Subsequently, the processor 480 provides a corresponding visual output on the display panel 441 according to the type of touch event. Although in Fig.17 In the embodiment, the touch panel 431 and the display panel 441 are used as two independent components to implement the input and output functions of the smartphone, but in some embodiments, the touch panel 431 and the display panel 441 can be integrated to implement the input and output functions of the smartphone.
[0131] The smartphone may also include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 441 and / or the backlight when the smartphone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the smartphone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in smartphones, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0132] The audio circuit 460, the speaker 461, and the microphone 462 can provide an audio interface between the user and the smartphone. The audio circuit 460 can transmit the received audio data to the speaker 461 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which is received by the audio circuit 460 and converted into audio data, and then the audio data is output to the processor 480 for processing, and then sent to another smartphone through the RF circuit 410, or the audio data is output to the memory 420 for further processing.
[0133] WiFi is a short-range wireless transmission technology. Smartphones can help users send and receive emails, browse web pages, and access streaming media through WiFi module 470, which provides users with wireless broadband Internet access. Fig.17 A WiFi module 470 is shown, but it is understandable that it is not an essential component of the smartphone and can be omitted as needed without changing the essence of the invention.
[0134] Processor 480 is the control center of the smartphone, which uses various interfaces and lines to connect various parts of the entire smartphone, and executes various functions of the smartphone and processes data by running or executing software programs and / or modules stored in memory 420, and calling data stored in memory 420, thereby monitoring the smartphone as a whole. Optionally, processor 480 may include one or more processing units; optionally, processor 480 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into processor 480.
[0135] The smart phone also includes a power source 490 (such as a battery) for supplying power to various components. Optionally, the power source can be logically connected to the processor 480 through a power management system, thereby managing functions such as charging, discharging, and power consumption management through the power management system.
[0136] Although not shown, the smartphone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0137] The steps performed by the terminal device in the above embodiment can be based on the Fig.17 The terminal device structure shown.
[0138] Another aspect of the present application provides a computer device, including: a memory, a processor, and a bus system;
[0139] Wherein, the memory is used to store programs;
[0140] The processor is used to execute the program in the memory, and the processor is used to execute the above-mentioned methods according to the instructions in the program code;
[0141] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0142] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.
[0143] Another aspect of the present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.
[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0145] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0147] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0148] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0149] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for processing cloud games, characterized in that: include: The local cloud game server sends broadcast information in a local area network, where the broadcast information is used to indicate cloud game resources supported by the local cloud game server, and the local area network includes the local cloud game server, a switch, and N terminal devices, wherein the local cloud game server and the N terminal devices are connected to the switch, so that the local cloud game server and the N terminal devices can realize local area network communication, and the N terminal devices cannot connect to the Internet, where N is an integer greater than or equal to 1; The N terminal devices receive the broadcast information, and determine the cloud game resources supported by the local area network according to the broadcast information; The N terminal devices send access requests to the local cloud game server to access a first cloud game, where the first cloud game is a cloud game in the cloud game resources; The local cloud game server establishes a data transmission channel between the N terminal devices and the local cloud game server in response to the access request; The local cloud game server and the N terminal devices implement game data transmission of the first cloud game through the data transmission channel; The data transmission method between the local cloud game server and the remote cloud game server of the first cloud game includes: The local cloud game server stores archive files of the terminal device running the first cloud game; In the case where the network communication between the local cloud game server and the remote cloud game server is an unstable connection, the local cloud game server asynchronously sends a storage request to the remote cloud game server, so that the remote cloud game server synchronizes the archive file; In the case where the network communication between the local cloud game server and the remote cloud game server is intermittently connected, when there is network communication between the local cloud game server and the remote cloud game server, the local cloud game server sends the archive file to the remote cloud game server, so that the remote cloud game server synchronizes the archive file; When the local cloud game server receives the remote archive success message, the local cloud game server forwards the remote archive success message to the terminal device.
2. The method according to claim 1, characterized in that The local cloud game server responding to the access request to establish a data transmission channel between the N terminal devices and the local cloud game server includes: When the first cloud game is a stand-alone game, the local cloud game server establishes N game processes for the N terminal devices, wherein one game process among the N game processes establishes a data transmission channel with one terminal device among the N terminal devices; When the first cloud game is a multiplayer game, the local cloud game server establishes a multiplayer game process for the N terminal devices, wherein the multiplayer game process establishes a data transmission channel with each of the N terminal devices.
3. The method according to claim 1, characterized in that The local cloud game server and the N terminal devices implement game data transmission of the first cloud game through the data transmission channel, including: The N terminal devices obtain control instructions for the first cloud game, and send the control instructions to the local cloud game server through the data transmission channel; The local cloud game server sends the game data to the N terminal devices through the data transmission channel in response to the control instruction; The N terminal devices parse the game data and display the video information or audio information indicated by the game data.
4. The method according to any one of claims 1 to 3, characterized in that After the local cloud game server establishes a data transmission channel between the N terminal devices and the local cloud game server in response to the access request, and before the local cloud game server and the N terminal devices implement game data transmission of the first cloud game through the data transmission channel, the method further includes: The N terminal devices send a login request for logging into the first cloud game to the local cloud game server; When the local cloud game server is in network communication with the remote cloud game server of the first cloud game, the local cloud game server sends a login request to the remote cloud game server; After the local cloud game server receives the feedback result of successful login, it stores the login information in the login request and sends a notification message to the N terminal devices, where the notification message is used to indicate that the login of the N terminal devices is successful.
5. The method according to any one of claims 1 to 3, characterized in that: The local cloud game server and the N terminal devices are connected to the switch including: The N terminal devices are directly connected to the switch via wired or wireless means; The local cloud game server is connected to the switch via a local network card.
6. A cloud gaming local area network, characterized in that: include: A local cloud game server, a switch, and N terminal devices, where N is an integer greater than or equal to 1; The local cloud game server and the N terminal devices are connected to the switch, so that the local cloud game server and the N terminal devices can realize local area network communication; The local cloud game server is used to send broadcast information in the cloud game local area network, where the broadcast information is used to indicate the cloud game resources supported by the local cloud game server; The N terminal devices are used to receive the broadcast information and determine the cloud game resources supported by the local area network according to the broadcast information; Sending an access request to the local cloud game server to access a first cloud game, where the first cloud game is a cloud game in the cloud game resources; The local cloud game server is further configured to establish a data transmission channel between the N terminal devices and the local cloud game server in response to the access request; and implement game data transmission of the first cloud game with the N terminal devices through the data transmission channel; The data transmission method between the local cloud game server and the remote cloud game server of the first cloud game includes: The local cloud game server stores archive files of the terminal device running the first cloud game; In the case where the network communication between the local cloud game server and the remote cloud game server is an unstable connection, the local cloud game server asynchronously sends a storage request to the remote cloud game server, so that the remote cloud game server synchronizes the archive file; In the case where the network communication between the local cloud game server and the remote cloud game server is intermittently connected, when there is network communication between the local cloud game server and the remote cloud game server, the local cloud game server sends the archive file to the remote cloud game server, so that the remote cloud game server synchronizes the archive file; When the local cloud game server receives the remote archive success message, the local cloud game server forwards the remote archive success message to the terminal device.
7. A computer device, characterized in that: include: Memory, processor, and bus system; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, and the processor is used to execute the method according to any one of claims 1 to 5 according to the instructions in the program code; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
8. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Cloud game input method and device, equipment and medium
CN111787054A