A cloud gaming online method, device, storage medium and server

By receiving the client's connection request, obtaining online information and selecting the target cloud game host, the problem of users who are far apart in physical addresses cannot be connected, realizing online games across local area networks, and broadening the applicable scenarios of online games.

CN113952713BActive Publication Date: 2025-09-05NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111206107.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2025-09-05
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

In the prior art, users with physical addresses far apart cannot play online games, resulting in a narrower applicable scenario for online games.

Method used

By receiving the client's connection request, obtaining online information, determining the online cloud game host, and selecting the target cloud game host based on the usage status of the candidate cloud game host, controlling it to connect with the online cloud game host, and realizing online games across the local area network.

Benefits of technology

It broadens the applicable scenarios of online games, so that users with physical addresses can also play online games, improving the flexibility and universality of online games.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113952713B_ABST
    Figure CN113952713B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a cloud game online method, device, storage medium and server. The method includes: receiving a connection request sent by a client, the connection request is used to request to start a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, obtaining the first online information carried in the connection request; determining the first online cloud game host corresponding to the first online information, and obtaining multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host; determining the first target cloud game host based on the usage status of each first candidate cloud game host in the multiple first candidate cloud game hosts; controlling the first target cloud game host to start the specified game and connect to the first online cloud game host. By connecting the game in the cloud game host, the problem of being unable to play online games due to the physical address is solved, and the applicable scenarios of online games are broadened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and specifically to a cloud gaming online method, device, computer-readable storage medium, and server. Background Art

[0002] In recent years, gaming has become a popular form of entertainment and an essential part of our lives. To provide a platform for users to play against each other, online gaming has emerged.

[0003] In the prior art, when playing online, it is necessary to ensure that the physical addresses of multiple users playing the game are close to each other, and the game consoles corresponding to the multiple users are in the same local area network, and the connection between the multiple game consoles is established through the local area network.

[0004] During the research and practice of the existing technology, the inventors of this application found that in the existing technology, for users with far-flung physical addresses, since the hosts corresponding to the users cannot be in the same local area network, users with far-flung physical addresses cannot play online games, and the applicable scenarios of online games are relatively narrow. Summary of the Invention

[0005] The embodiments of the present application provide a cloud gaming online method and device, which can solve the problem that users with far-flung physical addresses cannot play online games, thereby broadening the applicable scenarios of online games.

[0006] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0007] A cloud game online method, comprising:

[0008] Receive a connection request sent by a client, wherein the connection request is used to request to start a specified game mode of a specified game in the cloud game host;

[0009] If the designated game mode is an online game mode, obtaining first online information carried in the connection request, where the first online information is used to instruct the cloud game host corresponding to the online first user to connect online;

[0010] Determine a first online cloud game host corresponding to the first online information, and obtain multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host;

[0011] Determining a first target cloud game host based on a usage status of each first candidate cloud game host among the plurality of first candidate cloud game hosts;

[0012] Control the first target cloud game host to start the specified game and connect to the first online cloud game host.

[0013] A cloud gaming online device, comprising:

[0014] A first receiving module is configured to receive a connection request sent by a client, wherein the connection request is used to request to start a specified game mode of a specified game in the cloud game host;

[0015] a first acquisition module configured to acquire first connection information carried in the connection request if the designated game mode is an online game mode, wherein the first connection information is used to instruct the cloud game host corresponding to the online first user to connect online;

[0016] A first determining module is configured to determine a first online cloud game host corresponding to the first online information, and obtain a plurality of first candidate cloud game hosts that establish a first communication connection with the first online cloud game host;

[0017] A second determination module is configured to determine a first target cloud game host based on a usage status of each of the plurality of first candidate cloud game hosts;

[0018] The first control module is used to control the first target cloud game host to start the specified game and connect to the first online cloud game host.

[0019] In some embodiments, the second determining module includes:

[0020] A first acquisition submodule is used to obtain the usage status of each first candidate cloud game host among multiple first candidate cloud game hosts;

[0021] A judgment submodule, configured to judge whether there is a first candidate cloud game host in an idle state among the plurality of first candidate cloud game hosts;

[0022] The first determination submodule is used to determine any first candidate cloud game host with an idle status as the first target cloud game host if there is a first candidate cloud game host with an idle status among multiple first candidate cloud game hosts.

[0023] In some embodiments, the first control module includes:

[0024] The first control submodule is used to control the first target cloud game host to start the specified game and connect to the first online cloud game host through the first communication connection.

[0025] In some embodiments, the apparatus further comprises:

[0026] A second acquisition module is configured to acquire a second candidate cloud game host for which the first communication connection is not established if the designated game mode is a stand-alone game mode;

[0027] A third determination module is configured to determine any second candidate cloud game host whose usage status is an idle state as a second target cloud game host;

[0028] The second control module is used to control the second target cloud game host to start the designated game.

[0029] In some embodiments, the apparatus further comprises:

[0030] a third acquisition module configured to, upon receiving a connection request sent by the second target cloud game host, acquire second connection information carried in the connection request, wherein the second connection information is used to instruct the cloud game host corresponding to the second user who is already online to connect online;

[0031] The third control module is used to determine the second online cloud game host corresponding to the second online information, and control the second target cloud game host to connect to the second online cloud game host through a second communication connection.

[0032] In some embodiments, the third control module includes:

[0033] A second control submodule, configured to control the second online cloud game host and the second target cloud game host to send online data to a designated server;

[0034] The sending submodule is used to trigger the designated server to determine the source cloud game host of the online data when receiving the online data, and send the online data to other cloud game hosts, wherein the other cloud game hosts are the second online cloud game host and each cloud game host connected to the second online cloud game host, except the source cloud game host.

[0035] In some embodiments, the second control submodule is configured to:

[0036] Controlling the second online cloud game host and the second target cloud game host to start an online program;

[0037] The online data is obtained through the online program and sent to a designated server.

[0038] In some embodiments, the first connection information includes any one of a user ID to be connected, a game room ID to be connected, and an ID of a cloud game console to be connected.

[0039] A computer-readable storage medium stores a plurality of instructions suitable for loading by a processor to execute the steps in the above-mentioned cloud gaming online method.

[0040] A server includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the online method for cloud gaming as described above are implemented.

[0041] The embodiment of the present application receives a connection request sent by a client, wherein the connection request is used to request the start of a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, the first online information carried in the connection request is obtained, and the first online information is used to instruct the cloud game host corresponding to the first online user to go online; the first online cloud game host corresponding to the first online information is determined, and a plurality of first candidate cloud game hosts that establish a first communication connection with the first online cloud game host are obtained; based on the usage status of each first candidate cloud game host in the plurality of first candidate cloud game hosts, the first target cloud game host is determined; the first target cloud game host is controlled to start the specified game and go online with the first online cloud game host. In this way, by connecting the user to the cloud game host and playing the game online in the cloud game host, it can be unaffected by the distance of the physical address, thereby solving the problem that users with far-apart physical addresses cannot play online games and broadening the applicable scenarios of online games. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1a A schematic diagram of a scenario of a cloud gaming online method provided in an embodiment of the present application.

[0044] Figure 1b A flowchart of the cloud gaming online method provided in an embodiment of the present application.

[0045] Figure 1c A schematic diagram of the display in a browser provided in an embodiment of the present application.

[0046] Figure 1d A schematic diagram of displaying a prompt interface in a browser provided in an embodiment of the present application.

[0047] Figure 1e A schematic diagram of an online information input interface displayed in a browser provided in an embodiment of the present application.

[0048] Figure 2Schematic diagram of the online framework of cloud gaming provided in an embodiment of the present application.

[0049] Figure 3 A schematic diagram of the structure of the online device for cloud gaming provided in an embodiment of the present application.

[0050] Figure 4 A schematic diagram of the structure of the server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0052] Embodiments of the present application provide a cloud gaming online method, device, and computer-readable storage medium.

[0053] See also Figure 1a , Figure 1a A system diagram of an online system for cloud gaming provided in an embodiment of the present application, the system may include at least one client 1000, at least one server 2000, at least one database 3000, and a network 4000. The client 1000 may be a terminal device such as a mobile phone, a computer, or a personal digital assistant, and the client 1000 may be connected to the server 2000, or multiple servers 2000, via the network 4000. The network 4000 may be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different clients 1000 may also use their own Bluetooth network or a hotspot network to connect to the server 2000, etc. In addition, the system may include a database 3000, which may be used to store user information of users.

[0054] The embodiment of the present application provides a method for connecting to a cloud game, which can be executed by a server. Figure 1aAs shown, the server 2000 receives a connection request sent by a user through the client 1000, and the connection request is used to request to start a specified game mode of a specified game in the cloud game host; if the specified game mode is an online game mode, the first online information carried in the connection request is obtained, and the first online information is used to instruct the cloud game host corresponding to the first online user to go online; the first online cloud game host corresponding to the first online information is determined, and multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host are obtained; based on the usage status of each first candidate cloud game host in the multiple first candidate cloud game hosts, the first target cloud game host is determined; the first target cloud game host is controlled to start the specified game and go online with the first online cloud game host. Based on this, by connecting the user to the cloud game host, the online game in the cloud game host can be unaffected by the distance of the physical address, solving the problem that users with far-apart physical addresses cannot play online games, and broadening the applicable scenarios of online games.

[0055] It should be noted that Figure 1a The scenario diagram of the online system of the cloud game shown is only an example. The online system and scenario of the cloud game described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the online system of cloud games and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.

[0056] In this embodiment, the description will be made from the perspective of an online device for cloud gaming, which can be specifically integrated into a server that has a storage unit and is equipped with a microprocessor and has computing power.

[0057] See also Figure 1b , Figure 1b A flowchart of a cloud gaming online method provided in an embodiment of the present application. The cloud gaming online method includes:

[0058] In step 101, a connection request sent by a client is received, where the connection request is used to request to start a specified game mode of a specified game in a cloud game host.

[0059] The connection request is a connection request formed when the user clicks to start a specified game in the client or browser according to the prompt information. Figure 1c As shown, Figure 1c This is a schematic diagram of the display in the browser provided in the embodiment of the present application. Figure 1cThe browser interface shown has multiple games built in, such as Game A, Game B, Game C, Game D, Game E, and Game F. A start game button is provided under each game for receiving a user's start operation for a different game.

[0060] Specifically, such as Figure 1d As shown, Figure 1d A schematic diagram of a prompt interface displayed in a browser according to an embodiment of the present application. A prompt interface may also be provided for a game mode, for receiving a game mode selected by the user within the prompt interface. A connection request is generated based on the specified game and the specified game mode selected by the user. This connection request is used to launch the specified game and run the specified game mode in the cloud.

[0061] Specifically, cloud gaming, also known as cloud gaming, is a new way to play games based on cloud computing. In cloud gaming, the game screen is rendered on the server, encoded, and streamed to the player's terminal via the network. On the client side, users no longer need high-end gaming equipment; they only need basic video decoding capabilities to play.

[0062] In step 102, if the designated game mode is an online game mode, first online information carried in the connection request is obtained, where the first online information is used to instruct the cloud game host corresponding to the online first user to connect online.

[0063] If the user wants to play the online game mode, Figure 1d Select the online game mode in the prompt interface, and the following will be displayed on the client or browser: Figure 1e The online information input interface shown is Figure 1e A schematic diagram of an online information input interface displayed in a browser provided for an embodiment of the present application. An online interface for player input is provided in the online interface. The interface includes a game room input interface, which is used to provide the user with input of the game room number (game room ID to be connected) (Identity document, ID) of the online user with whom the user wants to connect; a user ID input interface, which is used to provide the user with input of the user ID of the online user with whom the user wants to connect (user ID to be connected); a cloud game host ID input interface, which is used to provide the user with input of the cloud game host ID (cloud game host ID to be connected) corresponding to the online user with whom the user wants to connect. When the user enters the corresponding first online information in a certain interface, the first online information carried in the connection request will be enabled, and the first online information is used to instruct the cloud game host corresponding to the first online user to connect online.

[0064] In step 103, the first online cloud game host corresponding to the first online information is determined, and a plurality of first candidate cloud game hosts that establish a first communication connection with the first online cloud game host are obtained.

[0065] The cloud gaming host corresponding to the user the user wishes to connect to can be determined based on the first connection information carried in the connection request. When the first connection information is the ID of the game room to be connected, the first cloud gaming host corresponding to the game room ID can be searched for. When the connection information is the ID of the user to be connected, the first cloud gaming host corresponding to the user ID can be searched for. When the connection information is the ID of the cloud gaming host to be connected, the cloud gaming host corresponding to the host ID can be directly determined as the first cloud gaming host to be connected.

[0066] Specifically, in order to determine whether an online connection is required for gaming, multiple cloud gaming hosts can be divided in advance into a first cloud gaming host set for online gaming and a second cloud gaming host set for offline gaming. Each cloud gaming host in the first cloud gaming host set is in the same local area network (a first communication connection is established) as at least one other cloud gaming host in the first cloud gaming host set. Different online games can be in different local area networks. For example, cloud gaming hosts running game A are all in local area network A, and cloud gaming hosts running game B are all in local area network B. When a user establishes a connection with a cloud gaming host, cloud gaming hosts in different local area networks can be assigned to the user based on the type of game selected by the user.

[0067] Among them, the cloud game hosts in the first cloud game host set and the cloud game hosts in the second cloud game host set can be in the same physical area. The only difference is that the cloud game hosts in the first cloud game host set are connected through a local area network, while the cloud game hosts in the second cloud game host set are not connected through a local area network.

[0068] Among them, since the connection request carries the first online information, it can be known that the first online cloud game host is in the first cloud game host set, and there are also multiple first candidate cloud game hosts in the first cloud game host set that are in the same local area network as the first online cloud game host.

[0069] For example, according to the first online information, the corresponding first online cloud game host is determined to be a, and the first candidate cloud game hosts in the first cloud game host set that are in the same local area network as the first online cloud game host are b, c and d.

[0070] In step 104, a first target cloud game host is determined based on the usage status of each first candidate cloud game host among the multiple first candidate cloud game hosts.

[0071] When a user establishes a connection with a cloud gaming host, the cloud gaming host's usage status changes from idle to busy. After the connection is disconnected, the cloud gaming host's usage status changes from busy to idle. Therefore, the target cloud gaming host can be determined based on the usage status of each first candidate cloud gaming host.

[0072] In some embodiments, the step of determining the first target cloud gaming host based on the usage status of each of the plurality of first candidate cloud gaming hosts includes:

[0073] (1) Obtaining the usage status of each first candidate cloud game host among multiple first candidate cloud game hosts;

[0074] (2) determining whether there is a first candidate cloud game host in an idle state among the plurality of first candidate cloud game hosts;

[0075] (3) If there is a first candidate cloud game host in an idle state among the multiple first candidate cloud game hosts, any first candidate cloud game host in an idle state is determined as the first target cloud game host.

[0076] The usage status of each first candidate cloud game host is obtained, and it is determined whether there is a first candidate cloud game host in an idle state among the multiple first candidate cloud game hosts. If so, any idle first candidate cloud game host is determined as the first target cloud game host.

[0077] For example, the first online cloud game host is a, and the first candidate cloud game hosts in the first cloud game host set that are in the same local area network as the first online cloud game host are b, c and d, and the usage status of the first candidate cloud game host b is busy, while the usage status of the first candidate cloud game hosts c and d are idle, so the first candidate cloud game host c or d can be used as the first target cloud game host.

[0078] In step 105, the first target cloud game host is controlled to start the designated game and connect to the first online cloud game host.

[0079] Among them, after determining the first target cloud game host, the specified game in the connection request can be started in the first target cloud game host, and the first online cloud game host can be connected online through the first target cloud game host.

[0080] In some embodiments, the step of controlling the first target cloud game host to launch the designated game and connect to the first online cloud game host includes:

[0081] Control the first target cloud game host to start the designated game, and connect to the first online cloud game host through the first communication connection.

[0082] Among them, in the case where there is a first candidate cloud game host in an idle state among multiple first candidate cloud game hosts, after the first target cloud game host is determined in the set of first candidate cloud game hosts, since the first candidate cloud game host is connected to the first online cloud game host through a first communication connection (local area network connection), after the online game is started on the first target cloud game host, the connection between the first target cloud game host and the first online cloud game host can be directly established through the local area network.

[0083] For example, the first online cloud game host is a, and the first target cloud game host determined in the first cloud game host set to be in the same local area network as the online cloud game host is b, then a and b are directly connected online through the local area network.

[0084] In some embodiments, the method further comprises:

[0085] (1) If the designated game mode is a stand-alone game mode, obtaining a second candidate cloud game host for which the first communication connection is not established;

[0086] (2) determining any second candidate cloud game host whose usage status is idle as the second target cloud game host;

[0087] (3) Control the second target cloud game host to start the designated game.

[0088] Among them, if the user Figure 1d If the stand-alone game mode is selected in the game mode selection, it means that the user does not need to connect with other users at the moment. In this case, a second target cloud game host can be determined from the second candidate cloud game hosts in the second cloud game host set. The determination method is similarly to finding the second candidate cloud game hosts that are idle, and then determining any idle second candidate cloud game host as the second target cloud game host, and then launching the specified game on the second target cloud game host.

[0089] Specifically, the allocation priority can also be set according to the operating status of the second candidate cloud game host. When the operating status of the second candidate cloud game hosts is busy (there is no idle second candidate cloud game host), the cloud game hosts in the first cloud game host set can be allocated to the user, avoiding the problem of users having to wait for an idle second candidate cloud game host in the second cloud game host set before they can connect.

[0090] In some embodiments, after the step of controlling the second target cloud game host to start the designated game, the method further includes:

[0091] (1) upon receiving a connection request sent by the second target cloud game host, obtaining second connection information carried in the connection request, where the second connection information is used to instruct the cloud game host corresponding to the second user who is already online to connect online;

[0092] (2) Determine the second online cloud game host corresponding to the second online information, and control the second target cloud game host to connect to the second online cloud game host through a second communication connection.

[0093] Among them, if a user plays a stand-alone game mode on a cloud game host and then performs an online operation in the online interface provided within the game or the online interface provided on the cloud game host, an online request can be sent through the second target cloud game host connected by the user. Figure 1e The online interface shown is similar and will not be described in detail here. After the user enters the second online information in the online interface, a connection request carrying the second online information can be sent through the second target cloud game host. After receiving the connection request, the second online cloud game host corresponding to the second online information can be determined based on the connection information, and the second target cloud game host can be controlled to connect to the second online cloud game host through the second communication connection. The second user and the first user can be the same user or different users.

[0094] Specifically, since the second target cloud game host is in the second cloud game host set, it is not in the first communication connection with the second online cloud game host in the first cloud game host set. Therefore, the second communication connection needs to be adopted to control the second target cloud game host to connect with the second online cloud game host.

[0095] In some embodiments, the step of controlling the second target cloud game host to connect to the second online cloud game host through the second communication connection includes:

[0096] (1.1) Controlling the second online cloud game host and the second target cloud game host to send online data to a designated server;

[0097] (1.2) When the designated server receives the online data, it is triggered to determine the source cloud game host of the online data and send the online data to other cloud game hosts, where the other cloud game hosts are the second online cloud game host and each cloud game host connected to the second online cloud game host, except the source cloud game host.

[0098] Among them, since the second target cloud game host and the second online cloud game host cannot be connected through a local area network, an online server (designated server) is required to receive the online data of the second target cloud game host and the second online cloud game host when they are playing in the same game, and send the online data to each cloud game host in the same game.

[0099] For example, the second online cloud game host is a, the second target cloud game host is b, and the cloud game host that is in the same game (online) with the second online cloud game host a is c, then the second target cloud game host b can send the online data to the designated server. After receiving the online data, the designated server determines that the source cloud game host of the online data is b, and then sends the online data to the second online cloud game host a, and other cloud game hosts c that are online with the second online cloud game host a, thereby realizing the same game.

[0100] In some embodiments, the step of controlling the second online cloud game host and the second target cloud game host to send online data to a designated server includes:

[0101] (1.1) Controlling the second online cloud game host and the second target cloud game host to start the online program;

[0102] (1.2) Acquire online data through the online program and send the online data to a designated server.

[0103] Among them, the method of controlling the second online cloud game host, the cloud game host connected to the second online cloud game host, and the second target cloud game host to send online data to the designated server can be: starting the online program pre-stored in the second online cloud game host and the second target cloud game host, the online program hooks the network function (such as the socket function) locally on the cloud game host, thereby simulating the establishment of a TCP connection, the online program receives the TCP data packet and converts it into UDP data and sends it to the designated server, and the network between each cloud game host realizes the mutual forwarding and reception of data during the hook process.

[0104] As can be seen from the above, the embodiment of the present application receives a connection request sent by a client, and the connection request is used to request to start a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, the first online information carried in the connection request is obtained, and the first online information is used to instruct the cloud game host corresponding to the first online user to go online; the first online cloud game host corresponding to the first online information is determined, and a plurality of first candidate cloud game hosts that establish a first communication connection with the first online cloud game host are obtained; based on the usage status of each first candidate cloud game host in the plurality of first candidate cloud game hosts, the first target cloud game host is determined; the first target cloud game host is controlled to start the specified game and go online with the first online cloud game host. In this way, by connecting the user to the cloud game host, the online game in the cloud game host can be unaffected by the distance of the physical address, solving the problem that users with far-apart physical addresses cannot play online games, and broadening the applicable scenarios of online games.

[0105] In combination with the method described in the above embodiment, the following examples are given to further illustrate the method in detail.

[0106] See also Figure 2 , Figure 2 An online framework diagram of a cloud game provided in an embodiment of the present application. Among them, a cloud computer management program is applied to the server, and cloud game hosts in the first cloud game host set or the second cloud game host set can be assigned to the user according to the user's game mode. Cloud game hosts A, B and C are in the same local area network, cloud game hosts D and E are in another local area network, and cloud game hosts F, G and H are in a non-local area network. When the user wants to run the online mode of the game, cloud game hosts A, B, C, D and E can be assigned to the user. When the user wants to run the stand-alone mode of the game, cloud game hosts F, G and H can be assigned to the user. When the user wants to connect to the cloud game host A in the local area network, or the user corresponding to the cloud game host F wants to switch from stand-alone mode to online mode and play against the user corresponding to the cloud game host A in the same game, the usage status of the cloud game hosts B and C can be determined; if the usage status of B and C are both busy, the idle cloud game host G or H is assigned to the user. If cloud game hosts F, G, and H are all assigned to users for connecting to cloud game host A, cloud game hosts A, B, C, F, G, and H are controlled to send connection data to the connection server, and the connection server is triggered to determine the source cloud game host after receiving the connection data, and send the connection data to other cloud game hosts, thereby realizing the same game.

[0107] To facilitate better implementation of the cloud gaming connection method provided in the embodiments of the present application, the embodiments of the present application also provide a device based on the above cloud gaming connection method. The meanings of the terms herein are the same as those in the above cloud gaming connection method. For specific implementation details, please refer to the description in the method embodiment.

[0108] See also Figure 3 , Figure 3 Schematic diagram of the structure of the online device of the cloud game provided in an embodiment of the present application. The online device of the cloud game may include a first receiving module 301, a first obtaining module 302, a first determining module 303, a second determining module 304 and a first control module 305, etc.

[0109] The first receiving module 301 is used to receive a connection request sent by a client, where the connection request is used to request to start a specified game mode of a specified game in the cloud game host;

[0110] A first acquisition module 302 is configured to acquire first connection information carried in the connection request if the designated game mode is an online game mode, wherein the first connection information is used to instruct the cloud game host corresponding to the online first user to connect online;

[0111] A first determining module 303 is configured to determine a first online cloud game host corresponding to the first online information, and obtain a plurality of first candidate cloud game hosts that establish a first communication connection with the first online cloud game host;

[0112] A second determination module 304 is configured to determine a first target cloud game host based on a usage status of each of the plurality of first candidate cloud game hosts;

[0113] The first control module 305 is used to control the first target cloud game host to start the designated game and connect to the first online cloud game host.

[0114] In some implementations, the second determining module 304 includes:

[0115] A first acquisition submodule is used to obtain the usage status of each first candidate cloud game host among multiple first candidate cloud game hosts;

[0116] A judgment submodule, configured to judge whether there is a first candidate cloud game host in an idle state among the plurality of first candidate cloud game hosts;

[0117] The first determination submodule is used to determine any first candidate cloud game host with an idle status as the first target cloud game host if there is a first candidate cloud game host with an idle status among multiple first candidate cloud game hosts.

[0118] In some embodiments, the first control module 305 includes:

[0119] The first control submodule is used to control the first target cloud game host to start the specified game and connect to the first online cloud game host through the first communication connection.

[0120] In some embodiments, the device further comprises:

[0121] A second acquisition module is configured to acquire a second candidate cloud game host for which the first communication connection is not established if the designated game mode is a stand-alone game mode;

[0122] A third determination module is configured to determine any second candidate cloud game host whose usage status is an idle state as a second target cloud game host;

[0123] The second control module is used to control the second target cloud game host to start the designated game.

[0124] In some embodiments, the device further comprises:

[0125] a third acquisition module configured to, upon receiving a connection request sent by the second target cloud game host, acquire second connection information carried in the connection request, wherein the second connection information is used to instruct the cloud game host corresponding to the second user who is already online to connect online;

[0126] The third control module is used to determine the second online cloud game host corresponding to the second online information, and control the second target cloud game host to connect to the second online cloud game host through a second communication connection.

[0127] In some embodiments, the third control module includes:

[0128] A second control submodule, configured to control the second online cloud game host and the second target cloud game host to send online data to a designated server;

[0129] The sending submodule is used to trigger the designated server to determine the source cloud game host of the online data when receiving the online data, and send the online data to other cloud game hosts, wherein the other cloud game hosts are the second online cloud game host and each cloud game host connected to the second online cloud game host, except the source cloud game host.

[0130] In some embodiments, the second control submodule is configured to:

[0131] Controlling the second online cloud game host and the second target cloud game host to start an online program;

[0132] The online data is obtained through the online program and sent to a designated server.

[0133] In some embodiments, the first connection information includes any one of a user ID to be connected, a game room ID to be connected, and an ID of a cloud game console to be connected.

[0134] As can be seen from the above, the embodiment of the present application receives a connection request sent by a client through a first receiving module 301, and the connection request is used to request to start a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, the first acquisition module 302 obtains the first online information carried in the connection request, and the first online information is used to instruct the cloud game host corresponding to the first online user to go online; the first determination module 303 determines the first online cloud game host corresponding to the first online information, and obtains multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host; the second determination module 304 determines the first target cloud game host based on the usage status of each first candidate cloud game host in the multiple first candidate cloud game hosts; the first control module 305 controls the first target cloud game host to start the specified game and go online with the first online cloud game host. In this way, by connecting the user to the cloud game host, the online game in the cloud game host can be unaffected by the distance of the physical address, solving the problem that users with far-flung physical addresses cannot play online games, and broadening the applicable scenarios of online games.

[0135] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0136] Accordingly, the embodiment of the present application also provides a server, such as Figure 4 As shown, Figure 4 A schematic diagram of the structure of a server provided in an embodiment of the present application. The server 2000 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the server structure shown in the figure does not constitute a limitation of the server, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0137] Processor 401 is the control center of server 2000. It uses various interfaces and lines to connect various parts of the entire server 2000. By running or loading software programs and / or modules stored in memory 402, and calling data stored in memory 402, it executes various functions of server 2000 and processes data, thereby monitoring server 2000 as a whole.

[0138] In the embodiment of the present application, the processor 401 in the server 2000 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs the application stored in the memory 402 to implement various functions:

[0139] Receive a connection request sent by a client, where the connection request is used to request the launch of a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, obtain the first online information carried in the connection request, where the first online information is used to instruct the cloud game host corresponding to the first online user to go online; determine the first online cloud game host corresponding to the first online information, and obtain multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host; determine a first target cloud game host based on the usage status of each first candidate cloud game host among the multiple first candidate cloud game hosts; control the first target cloud game host to launch the specified game and go online with the first online cloud game host.

[0140] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0141] Optional, such as Figure 4 As shown, the server 2000 further includes: an input unit 403 and a power supply 404. The processor 401 is electrically connected to the input unit 403 and the power supply 404 respectively. Those skilled in the art will understand that Figure 4 The server structure shown in the figure does not constitute a limitation to the server, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0142] The input unit 403 may be used to receive input numbers, character information, or user feature information (such as fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0143] Power supply 404 is used to supply power to various components of server 2000. Optionally, power supply 404 can be logically connected to processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. Power supply 404 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0144] although Figure 4 Not shown in the figure, the server 2000 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0145] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0146] As can be seen from the above, the server provided in this embodiment can receive a connection request sent by a client, and the connection request is used to request to start a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, the first online information carried in the connection request is obtained, and the first online information is used to instruct the cloud game host corresponding to the first online user to go online; the first online cloud game host corresponding to the first online information is determined, and multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host are obtained; based on the usage status of each first candidate cloud game host in the multiple first candidate cloud game hosts, the first target cloud game host is determined; the first target cloud game host is controlled to start the specified game and go online with the first online cloud game host. In this way, by connecting the user to the cloud game host, the online game in the cloud game host can be unaffected by the distance of the physical address, solving the problem that users with far-apart physical addresses cannot play online games, and broadening the applicable scenarios of online games.

[0147] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0148] To this end, an embodiment of the present application provides a computer-readable storage medium storing a plurality of computer programs, which can be loaded by a processor to execute the steps of any of the cloud game online methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:

[0149] Receive a connection request sent by a client, where the connection request is used to request the launch of a specified game mode of a specified game in a cloud game host; if the specified game mode is an online game mode, obtain the first online information carried in the connection request, where the first online information is used to instruct the cloud game host corresponding to the first online user to go online; determine the first online cloud game host corresponding to the first online information, and obtain multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host; determine a first target cloud game host based on the usage status of each first candidate cloud game host among the multiple first candidate cloud game hosts; control the first target cloud game host to launch the specified game and go online with the first online cloud game host.

[0150] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0151] The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0152] Since the computer program stored in the storage medium can execute the steps in any one of the cloud game online methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the cloud game online methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0153] The above is a detailed introduction to the online method, device, computer-readable storage medium and server for cloud gaming provided by the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A cloud game online method, characterized in that: include: receiving a connection request sent by a client, the connection request being used to request launching a specified game mode of a specified game in a cloud gaming host, where the cloud gaming hosts are divided into cloud gaming hosts for online gaming and cloud gaming hosts for offline gaming, wherein the cloud gaming hosts for online gaming establish a first communication connection via at least one local area network, while the cloud gaming hosts for offline gaming do not establish a first communication connection; If the designated game mode is an online game mode, obtaining first online information carried in the connection request, where the first online information is used to instruct the cloud game host corresponding to the online first user to connect online; Determine a first online cloud game host corresponding to the first online information, and obtain multiple first candidate cloud game hosts that establish a first communication connection with the first online cloud game host; Determining a first target cloud game host based on a usage status of each first candidate cloud game host among the plurality of first candidate cloud game hosts; Controlling the first target cloud game host to start the designated game and connect to the first online cloud game host; If the designated game mode is a stand-alone game mode, the designated game is started based on a cloud game host for non-online games.

2. The cloud game connection method according to claim 1, characterized in that: The step of determining the first target cloud game host based on the usage status of each first candidate cloud game host among the plurality of first candidate cloud game hosts includes: Obtaining a usage status of each first candidate cloud gaming host among a plurality of first candidate cloud gaming hosts; Determine whether there is a first candidate cloud game host in an idle state among the multiple first candidate cloud game hosts; If there is a first candidate cloud game host with an idle usage status among multiple first candidate cloud game hosts, any first candidate cloud game host with an idle usage status will be determined as the first target cloud game host.

3. The cloud gaming connection method according to claim 2, wherein: The step of controlling the first target cloud game host to start the designated game and connect to the first online cloud game host includes: Control the first target cloud game host to start the designated game, and connect to the first online cloud game host through the first communication connection.

4. The cloud gaming connection method according to claim 1, wherein: The method further comprises: If the designated game mode is a stand-alone game mode, obtaining a second candidate cloud game host to which the first communication connection is not established; Determine any second candidate cloud game host whose usage status is idle as the second target cloud game host; Control the second target cloud game host to start the specified game.

5. The cloud game connection method according to claim 4, characterized in that: After the step of controlling the second target cloud game host to start the designated game, the method further includes: If a connection request is received from the second target cloud game host, obtaining second connection information carried in the connection request, where the second connection information is used to instruct the cloud game host corresponding to the second user who is already online to connect online; Determine the second online cloud game host corresponding to the second online information, and control the second target cloud game host to connect to the second online cloud game host through a second communication connection.

6. The cloud game connection method according to claim 5, characterized in that: The step of controlling the second target cloud game host to connect to the second online cloud game host through the second communication connection includes: Controlling the second online cloud game host and the second target cloud game host to send online data to a designated server; The designated server is triggered to determine the source cloud game host of the online data when receiving the online data, and send the online data to other cloud game hosts, wherein the other cloud game hosts are the second online cloud game host and each cloud game host connected to the second online cloud game host, except the source cloud game host.

7. The cloud game connection method according to claim 6, characterized in that: The step of controlling the second online cloud game host and the second target cloud game host to send online data to the designated server includes: Controlling the second online cloud game host and the second target cloud game host to start an online program; The online data is obtained through the online program and sent to a designated server.

8. The cloud game connection method according to claim 1, characterized in that: The first connection information includes any one of the user ID to be connected, the game room ID to be connected, and the cloud game host ID to be connected.

9. A cloud gaming online device, characterized in that: include: a first receiving module, configured to receive a connection request sent by a client, the connection request being used to request the initiation of a specified game mode of a specified game in a cloud gaming host, wherein cloud gaming hosts are divided into cloud gaming hosts for online gaming and cloud gaming hosts for offline gaming, wherein the cloud gaming hosts for online gaming establish a first communication connection via at least one local area network, while the cloud gaming hosts for offline gaming do not establish a first communication connection; a first acquisition module configured to acquire first connection information carried in the connection request if the designated game mode is an online game mode, wherein the first connection information is used to instruct the cloud game host corresponding to the online first user to connect online; A first determining module is configured to determine a first online cloud game host corresponding to the first online information, and obtain a plurality of first candidate cloud game hosts that establish a first communication connection with the first online cloud game host; A second determination module is configured to determine a first target cloud game host based on a usage status of each of the plurality of first candidate cloud game hosts; A first control module is used to control the first target cloud game host to start the specified game and connect to the first online cloud game host; The online device of the cloud game is also used to: if the designated game mode is a stand-alone game mode, start the designated game based on the cloud game host for non-online games.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, which are suitable for loading by a processor to execute the steps in the online method for cloud gaming described in any one of claims 1 to 8.

11. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the online method for cloud gaming as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Cloud game-based online method and device

    CN110448894A