CN111643889A - Game control method, device, storage medium and electronic equipment - Google Patents

Game control method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111643889A
CN111643889A CN202010372263.0A CN202010372263A CN111643889A CN 111643889 A CN111643889 A CN 111643889A CN 202010372263 A CN202010372263 A CN 202010372263A CN 111643889 A CN111643889 A CN 111643889A
Authority
CN
China
Prior art keywords
game
server
target
terminal
game control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010372263.0A
Other languages
Chinese (zh)
Inventor
刘华忠
荆彦青
方亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010372263.0A priority Critical patent/CN111643889A/en
Publication of CN111643889A publication Critical patent/CN111643889A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/25Output arrangements for video game devices
    • A63F13/26Output arrangements for video game devices having at least one additional display device, e.g. on the game controller or outside a game booth
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1037Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted for converting control signals received from the game device into a haptic signal, e.g. using force feedback
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/301Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device using an additional display connected to the game console, e.g. on the controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a game control method, a game control device, a storage medium and electronic equipment, wherein the method comprises the following steps: receiving a game starting request, running a target game on a target game server, synchronizing a real-time game picture to an intelligent playing terminal, connecting the game control terminal to the target game server when receiving the game control request, receiving game operation information sent by the game control terminal, updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal. The scheme can distribute the game servers at the network cloud end through scheduling so as to distribute proper target game servers for users, so that the target game servers can be utilized to complete interaction between the intelligent playing terminal and the game control terminal, and the operation instruction delay in the game control process is reduced.

Description

Game control method, device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a game control method, a game control device, a game control storage medium and electronic equipment.
Background
For example, because there is a highly overlapped usage scene between the mobile phone and the television and both are devices frequently used by the user, the user can control the picture in the television screen through the mobile phone, for example, the user can control the game object, the game state, the game trend, and the like in the television screen through the key operation or the touch screen operation on the mobile phone. However, in the related art, a TV box needs to be connected between a mobile phone and a television, and a command of a mobile phone end is transmitted to a TV application client by using the TV box, so that not only a plurality of public sequences such as network transmission and box transcoding are required, but also the performance of the TV box is poor, so that the operation command delay is high, and the high operation delay is definitely not acceptable by game users.
Disclosure of Invention
The embodiment of the application provides a game control method, a game control device, a storage medium and electronic equipment, and the scheme can reduce the operation instruction delay in the game control process.
The embodiment of the application provides a game control method, which comprises the following steps:
receiving a game starting request of a target game sent by an intelligent playing terminal;
running the target game on a target game server based on the game starting request, and synchronizing a real-time game picture of the target game to the intelligent playing terminal;
when a game control request sent by a game control terminal is received, connecting the game control terminal to the target game server;
receiving game operation information sent by the game control terminal based on the target game server;
and updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal.
Correspondingly, the embodiment of the present application further provides a game control device, including:
the request receiving module is used for receiving a game starting request of a target game sent by the intelligent playing terminal;
the picture synchronization module is used for running the target game on a target game server based on the game starting request and synchronizing a real-time game picture of the target game to the intelligent playing terminal;
the connection module is used for connecting the game control terminal to the target game server when receiving a game control request sent by the game control terminal;
the information receiving module is used for receiving game operation information sent by the game control terminal based on the target game server;
and the updating module is used for updating the real-time game picture of the target game according to the game operation information and synchronizing the updated real-time game picture to the intelligent playing terminal.
Optionally, in some embodiments, the picture synchronization module may include a first assignment sub-module and a synchronization sub-module, as follows:
the first allocating submodule is used for allocating a target game server for running the target game to the intelligent playing terminal from a game server set based on the game starting request;
and the picture synchronization submodule is used for running the target game on the target game server and synchronizing the real-time game picture of the target game to the intelligent playing terminal.
Optionally, in some embodiments, the first allocation submodule may include a state determination submodule and a second allocation submodule, as follows:
the state determining submodule is used for determining the game instance state of each game server in the game server set when the game authentication identification in the game starting request is valid;
and the second distribution submodule is used for distributing a target game server for running the target game to the intelligent playing terminal from a game server set based on the game instance state.
Optionally, in some embodiments, the second allocating submodule may include a server determining submodule and a third allocating submodule, as follows:
the server determining submodule is used for determining an idle game server of which the game instance state is an idle state from the game server set;
and the third distributing submodule is used for distributing a target game server for the intelligent playing terminal from a plurality of idle game servers.
At this time, the third distributing submodule may be specifically configured to obtain a network delay of each idle game server for the smart play terminal, and allocate a target game server to the smart play terminal from a plurality of idle game servers based on the network delay.
At this time, the first allocating submodule may be specifically configured to acquire a server identifier of the target game server and a server address of the target game server, and connect the smart player terminal to the target game server based on the server identifier and the server address.
Optionally, in some embodiments, the connection module may include a generation sub-module, a synchronization sub-module, and a connection sub-module, as follows:
the generation submodule is used for generating a game control identification code based on the account information corresponding to the intelligent playing terminal and the server identification of the target game server;
the synchronization submodule is used for synchronizing the game control identification code to the intelligent playing terminal;
and the connection submodule is used for connecting the game control terminal to the target game server based on a game control request sent by the game control terminal through identifying the game control identification code.
At this time, the connection sub-module may be specifically configured to detect, based on a game control request sent by a game control terminal by recognizing the game control identification code, validity of a game authentication identifier in the game control request to obtain a detection result, and return the detection result and the server address of the target game server to the game control terminal, so that the game control terminal is connected to the target game server.
In addition, a computer storage medium is provided in an embodiment of the present application, where a plurality of instructions are stored in the computer storage medium, and the instructions are suitable for being loaded by a processor to perform steps in any game control method provided in an embodiment of the present application.
In addition, an electronic device is further provided in an embodiment of the present application, and includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the steps in any one of the game control methods provided in the embodiments of the present application.
The method and the device for playing the target game can receive a game starting request of the target game sent by the intelligent playing terminal, run the target game on the target game server based on the game starting request, synchronize a real-time game picture of the target game to the intelligent playing terminal, connect the game control terminal to the target game server when receiving the game control request sent by the game control terminal, receive game operation information sent by the game control terminal based on the target game server, update the real-time game picture of the target game according to the game operation information, and synchronize the updated real-time game picture to the intelligent playing terminal. The scheme can reduce the operation instruction delay in the game control process.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic view of a game control system provided in an embodiment of the present application;
FIG. 2 is a first flowchart of a game control method provided by an embodiment of the present application;
FIG. 3 is a second flowchart of a game control method provided by an embodiment of the present application;
FIG. 4 is a third flowchart of a game control method provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a dual-screen interaction provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a game control ID provided in an embodiment of the present application;
FIG. 7 is a block diagram of a game control system provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of a dual-screen interaction for a touch screen game provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a native support pad game dual-screen interaction provided by an embodiment of the present application;
FIG. 10 is a schematic structural diagram of a game control device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
FIG. 12 is a block chain system structure diagram of a distributed system according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram of a block structure according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a game control method, a game control device, a storage medium and electronic equipment. Specifically, the game control method according to the embodiment of the present application may be executed by an electronic device, where the electronic device may be a terminal or a server, and the terminal may be a mobile phone, a tablet Computer, a notebook Computer, a smart television, a wearable smart device, a Personal Computer (PC), and the like. The terminal can comprise a client, the client can be a video client or a browser client and the like, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and the terminal can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network) and a big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
For example, referring to fig. 1, in an example where the game control method is executed by a server, the server may receive a game start request of a target game sent by a smart player terminal, run the target game on the target game server based on the game start request, and synchronize a real-time game screen of the target game with the smart player terminal, connect the game controller terminal to the target game server when receiving the game control request sent by the game controller terminal, receive game operation information sent by the game controller terminal based on the target game server, update the real-time game screen of the target game according to the game operation information, and synchronize the updated real-time game screen with the smart player terminal.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the application provides a game control method, which can be executed by a terminal or a server, or can be executed by the terminal and the server together; in the embodiment of the present application, a game control method is described as an example executed by a server, and as shown in fig. 2, a specific flow of the game control method may be as follows:
201. and receiving a game starting request of the target game sent by the intelligent playing terminal.
The Cloud technology (Cloud technology) is a hosting technology for unifying series resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Among them, Cloud gaming (Cloud gaming) may also be called game on demand (gaming), which is an online game technology based on Cloud computing technology. Cloud gaming technology enables light-end devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high-quality games as well. In a cloud game scene, a game is not run in a player game terminal, but runs in a game server at the cloud end, the game server renders the game scene into a video and audio stream, and the video and audio stream is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capacity, and only needs to have basic streaming media playing capacity and capacity of acquiring player input instructions and sending the instructions to the cloud server.
For example, because a highly-overlapped usage scene exists between the mobile phone and the television and both are devices frequently used by the user, the user can control a picture in the television screen through the mobile phone, for example, the user can control a game object, a game state, a game trend and the like in the television screen through key operation or touch screen operation on the mobile phone.
In practical application, the cloud game technology can be applied to double-screen interaction, and the purpose of double-screen interaction is achieved by utilizing the characteristics of a cloud game and an operation instruction migration mode, so that the hardware limitation of a terminal is completely bypassed, a cloud game is directly connected, and the operation instruction delay is greatly reduced. For example, as shown in fig. 7, the game control system may include a smart player terminal, a game control terminal, a cloud game background service, and a management platform.
The intelligent playing terminal is used for playing a game picture sent by the game server in real time, has an audio and video decoding function, and can decode a real-time audio and video stream generated by the game server aiming at the game picture, or the game picture sent by the game server does not need to be decoded and can be directly played on a screen of the intelligent playing terminal. The intelligent playing terminal also has the account registration and login functions, and when a user logs in the intelligent playing terminal, the user can see a real-time game picture on a screen of the intelligent playing terminal. The smart player terminal includes a device having a display screen, such as a television, a notebook computer, a tablet computer, a desktop computer, a smart phone, and the like.
The game control terminal is used for obtaining the operation in the game of the user, the game control terminal comprises a video player and a controller, the video player can play a corresponding game picture or a virtual handle picture, and the controller can capture the game operation from the user. The user can adjust the game progress, set game parameters, control virtual objects and the like through the game control terminal. For example, the game control terminal may be a virtual handle, a smart phone, a remote controller, a mouse, a keyboard, and the like. When it is detected that the user performs a game operation, such as a key operation or a touch screen operation, on the game control terminal, the game control terminal may input corresponding game operation information to the game server.
The cloud game background service comprises a control center and a plurality of game server modules.
The control center is mainly responsible for distributing game servers for the intelligent playing terminals and comprises an account authentication module, a queuing module, an equipment scheduling module, a game mirror image management module and a pre-pull module. The account number authentication module is responsible for authenticating game account numbers and the like, so that the security of a game process is guaranteed; the queuing module is responsible for managing the game queuing of the game users when the game server is insufficient; the equipment scheduling module is responsible for distributing an optimal game server for the intelligent playing terminal; the pre-pull module is responsible for pre-starting and re-distributing the cloud games to the user.
The game server is mainly a server for providing basic service for cloud games, and comprises an android instance cluster, an instance management module, an audio and video stream processing module and a communication module. The instance management module is responsible for managing the life cycle of each instance and is responsible for communication with the control center; the audio and video stream processing module is responsible for encoding audio and video and transmitting audio and video streams; the communication module is responsible for passing instructions and data to the android instance.
The management platform is mainly responsible for uploading game installation packages, making game images, managing game servers and the like.
In practical application, the intelligent playing terminal can send a game starting request of a target game to the control center, so that the control center can perform subsequent processes according to the game starting request. For example, a user may start a cloud game at a TV end or a PC end, and if the user starts the cloud game, it is equivalent to the smart play terminal sending a game start request of a target game, and then the cloud game system may detect the start event, which is equivalent to the control center receiving the game start request of the target game.
In an embodiment, when a new game server joins the cloud game background service, a corresponding initialization process is performed. For example, when a new game server joins in a cloud game background service, the IP information and the service status of the game server are reported to the control center, so that the control center can schedule the game server. The game server establishes a communication link with the control center so as to mutually transmit data and instructions, wherein the game server transmits the running state of the equipment, such as the information of equipment abnormity, the current load of the equipment and the like, to the control center; the control center transmits instructions such as installing a certain game image, starting a certain game instance, releasing a certain android instance and the like to the game server.
In an embodiment, the administrator may upload game related information on the management platform so that the control center runs the game according to the information, for example, the administrator may upload a game installation package, make a game image, configure parameters when starting a game instance, such as CPU core number, memory, and instance geographical distribution, and the like on the management platform, and the management platform may transmit the information to the control center so that the control center runs the corresponding game.
202. And running the target game on the target game server based on the game starting request, and synchronizing a real-time game picture of the target game to the intelligent playing terminal.
In practical applications, for example, after the control center obtains the game start request, the control center may run the target game according to the game start request, determine the target game server, and synchronize each frame of real-time game picture of the target game running in the target game server to the intelligent playing device, that is, the target game server provides a game picture stream to the intelligent playing terminal, where the game picture stream is a picture stream of a user in a cloud game process, and the picture stream may also be referred to as a video stream, so that the user may view the real-time game picture of the target game on a television.
In one embodiment, the control center may perform the step of allocating a target game server to the smart player terminal from the game server set, so as to allocate the smart player terminal to the most appropriate target game server, so as to reduce the operation instruction delay in the game control process. Specifically, the step "running the target game on a target game server based on the game start request and synchronizing the real-time game screen of the target game to the smart player terminal" may include:
distributing a target game server for running the target game to the intelligent playing terminal from a game server set based on the game starting request;
and running the target game on the target game server, and synchronizing a real-time game picture of the target game to the intelligent playing terminal.
In practical applications, for example, after the control center obtains the game start request, the control center may run the target game according to the game start request, and allocate the target game server to the smart player terminal from the game server set. For example, a user may start a cloud game client of a TV or a PC, log in a game account, and obtain a token for authentication after the login is successful, where the authentication is a step of verifying whether the user account has a right to access the cloud game, and an illegal user may be identified through the authentication, so as to ensure information security of a legal user in a game process. Therefore, the user can obtain a token for authentication after the login is successful, the token can also be called a game authentication identifier, and the game authentication identifier needs to be taken when the user subsequently interacts with the control center, so that the control center can detect whether the game authentication identifier is correct or not and whether the game authentication identifier is within the validity period of the system. When a user clicks to enter a target game, the cloud game client requests the control center to distribute a playable game server, the control center authenticates a game account number of the TV or PC end user, and selects a target game server from the game server set to distribute to the user.
In an embodiment, the target game server allocated by the control center for the smart playing terminal needs to be a game server with an idle game instance, so that the target game can be guaranteed to run smoothly on the target game server. Specifically, the step "allocating a target game server for running the target game to the smart player terminal from a game server set based on the game start request" may include:
when the game authentication identification in the game starting request is valid, determining the game instance state of each game server in the game server set;
and allocating a target game server for running the target game to the intelligent playing terminal from a game server set based on the game instance state.
The game instance is data management software, any operation is performed on data in the game database, such as data definition, data query, data maintenance, database operation control and the like, is performed under the game instance, and the application program can only make a pass with the game database through the game instance. The game instance state is a state indicating whether the game instance in the game server is idle, and in the embodiment of the application, only the game server in the idle state can be allocated to the intelligent playing terminal and run the corresponding target game.
In practical application, for example, the control center may run a target game according to a game start request, authenticate a game authentication identifier token obtained by a user, determine that the game authentication identifier is valid when it is detected that the game authentication identifier is correct and within a system validity period, at this time, determine a game instance state of each game server in the game server set, and allocate a target game server to the intelligent play terminal according to the game instance state of each game server.
The system comprises a server, a control center, a token, a server and a server, wherein the server is used for carrying out authentication for more than one time in the whole game control process, if authentication information such as passwords is inquired in each authentication, whether the authentication information is correct or not is judged, and corresponding prompt is made, so that the efficiency is undoubtedly greatly reduced, the token can be directly returned to the client, the client only needs to take the token in the later interaction process with the control center, the user name, the passwords and other information are not required to be taken again, the authentication step can be completed, the pressure of the server can be relieved by using the token for authentication, and the times of inquiring a database are reduced.
In an embodiment, the authentication method for determining whether the user has the right to access the control center is not limited to the token authentication method described above, and it may also be determined whether the client user has the right to access the control center by inputting a user name and a password. Or the control center can generate different random character strings for different users, when the user sends a request to the control center, the random character strings can be carried in the request, and the control center can distinguish the users according to the random character strings so as to achieve the purpose of judging whether the client user has the right to access the control center, and the like.
In an embodiment, specifically, the step "allocating a target game server for running the target game to the smart player terminal from a game server set based on the game instance state" may include:
determining an idle game server from the set of game servers that the game instance state is an idle state;
and distributing a target game server for the intelligent playing terminal from a plurality of idle game servers.
In practical applications, for example, when a game server in which a game instance state is an idle state exists in a game server set, it is described that at this time, a distributable game server exists in the game server set, and then a target game server can be distributed to an intelligent player terminal from the idle game servers in which the game instance state is the idle state, so that it can be ensured that a target game can be run on the game server distributed to a user, on one hand, the possibility of incorrect distribution is reduced, and on the other hand, the efficiency of server distribution can be improved.
In an embodiment, for a strong interaction service such as a game, a user wants to have a smaller delay as better, so that a game server can be allocated to an intelligent playing terminal according to the network delay of each game server for the intelligent playing terminal. Specifically, the step "allocating a target game server to the smart player terminal from a plurality of idle game servers" may include:
acquiring network delay of each idle game server for the intelligent playing terminal;
and distributing a target game server for the intelligent playing terminal from a plurality of idle game servers based on the network delay.
In practical applications, for example, after a user starts a cloud game client of a TV or a PC, the user may log in an account, and after the login is successful, a game authentication identifier token for authentication is obtained. When the user clicks to enter the target game, the client requests the control center to distribute the playable game server. At this time, the control center can authenticate the game account number of the TV or PC end user, and after the authentication is passed, an idle game server with the minimum delay can be selected as a target game server according to the network delay between the user and each game server, and the idle game server is distributed to the intelligent playing terminal.
In an embodiment, the method for allocating the target game server to the smart player terminal from the plurality of game servers is not limited to the above-mentioned method for allocating according to the network delay. The parameters according to which the game server is allocated can be adjusted according to actual conditions, and scheduling can be performed according to the IP address of the user, for example, the scheduling can be performed to the Shenzhen node if the IP address of the user is retrieved to Guangdong mobile ITPV, the scheduling can be performed to Guangzhou computer room of Guangdong mobile IPTV if the IP address of the user is retrieved to Guangdong mobile ITPV, and the like.
In one embodiment, after the target game server to be allocated to the smart player terminal is selected, information related to the target game server may be returned to the smart player terminal so that the smart player terminal can connect to the target game server. Specifically, after the step "based on the game starting request, allocating a target game server for running the target game to the smart player terminal from a game server set", the method may further include:
acquiring a server identifier of the target game server and a server address of the target game server;
and connecting the intelligent playing terminal to the target game server based on the server identification and the server address.
In practical applications, for example, if there is an idle game server with a valid game authentication identifier, an optimal target game server may be determined from the idle game servers, and information such as a server ID of the target game server and a server address of the target game server is returned to the smart player terminal, where the server ID is the server identifier of the target game server. Accordingly, after the intelligent playing terminal acquires the server ID of the target game server and the server address of the target game server, the intelligent playing terminal establishes connection with the target game server and plays a real-time game picture.
In an embodiment, if the game server cannot be allocated to the smart player terminal, the game queuing information may be returned to remind the user of the current game queuing condition. Specifically, the game control method may further include:
and when the game server with the game instance state being the idle state does not exist in the game server set, returning game queuing information to the intelligent playing terminal.
With the development of network technology, the game industry is developing at a high speed, and high-quality games attract a large number of game players. However, since the server has a limited carrying capacity and can only carry a certain number of game users, if too many users log in the game at the same time, the game server may be congested or crashed, which seriously affects the game experience. Therefore, when the number of the users carried by the server reaches a limit value, other users are limited to log in, other users are forced to queue, and if the users in the game are disconnected with the server, the users in the queue can enter the game.
In practical applications, for example, if the game instance states of all the game servers are not idle states, it indicates that all the game servers are not suitable for being allocated to the smart player terminal at this time, and then the current game queuing information may be returned to the smart player terminal. Accordingly, after the intelligent playing terminal receives the current game queuing information, the information related to the game queuing can be displayed, such as "you are in the xxx position, the expected waiting time xxx minutes" and the like, and the user can decide whether to queue according to the displayed game queuing information. Therefore, when no game server suitable for distribution exists, the information related to game queuing can be timely transmitted to the user, so that the user can determine whether to queue according to the current requirement.
203. When receiving a game control request sent by the game control terminal, connecting the game control terminal to the target game server.
In practical applications, the dual-screen interaction is a game control method implemented by a user controlling a game played on an intelligent playing terminal such as a television through a game control terminal such as a mobile phone, and therefore, not only the intelligent playing terminal needs to be connected to a target game server, but also the game control terminal needs to be connected to the target game server.
In one embodiment, an identification code associated with the device connection may be displayed on the smart player terminal, and when the game control terminal scans and recognizes the identification code, the game control terminal may be connected to the target game server. Specifically, the step of connecting the game control terminal to the target game server when receiving a game control request sent by the game control terminal may include:
generating a game control identification code based on the account information corresponding to the intelligent playing terminal and the server identification of the target game server;
synchronizing the game control identification code to the intelligent playing terminal;
and connecting the game control terminal to the target game server based on a game control request sent by the game control terminal by identifying the game control identification code.
In practical application, for example, when a user wants to use a virtual handle, the user can click a button of the virtual handle on the TV or PC side, and accordingly, the system generates an internet link according to the click operation of the user by using a game account corresponding to the smart playing terminal, a game authentication identifier token, and a server identifier of the target game server, where the internet link is a game control link, and the game account corresponding to the smart playing terminal is account information corresponding to the smart playing terminal. Then, a game control identification code in the form of a two-dimensional code is generated according to the game control link, and the game control identification code is synchronized to the TV or PC side so that the game control identification code is displayed in a screen of the TV or PC side as shown in fig. 6.
The user can utilize the game control terminal to scan the game control identification code in the two-dimensional code form so as to request the game control link, and at the moment, the game control terminal can use the browser to open the virtual handle page corresponding to the game control link. The virtual handle page integrates functions of a video player that can play a real-time game screen, and an operation controller that can capture a touch event, a click event, and the like of a user on the virtual handle page. The game control terminal opens the virtual handle page by scanning the game control identification code, which is equivalent to a game control request sent by the game control terminal by identifying the game control identification code, and at this time, the game control terminal can be connected to the target game server.
In one embodiment, there are various methods for triggering the game control identification code to be displayed in the screen of the TV or PC, for example, the game control identification code may be displayed in the screen of the TV or PC when the user is detected to click the virtual handle button on the TV or PC side; the method can also be used for judging whether a virtual handle is inserted into the TV end or the PC end after a user starts a target game based on the TV end or the PC end and the control center detects a starting event, and if the virtual handle is not inserted, a game control identification code can be directly displayed in a picture of the TV end or the PC end so as to prompt the user to connect a game control terminal through code scanning.
In an embodiment, in order to improve security and accuracy of terminal access, the control center may perform authentication according to the game authentication identifier. Specifically, the step of "connecting the game control terminal to the target game server based on a game control request transmitted by the game control terminal by recognizing the game control identification code" may include:
detecting the validity of a game authentication identifier in the game control request based on the game control request sent by the game control terminal by identifying the game control identification code to obtain a detection result;
and returning the detection result and the server address of the target game server to the game control terminal so that the game control terminal can be connected to the target game server.
In practical applications, for example, when a user scans a game control identification code in a two-dimensional code form by using a game control terminal and opens a virtual handle page corresponding to a game control link by using a browser, the control center may perform an authentication step, that is, detect the validity of the game authentication identifier token, where the detection of the validity of the game authentication identifier token is also the detection of the validity of the game authentication identifier in the game control link. The detection result obtained by the detection and the server address of the target game server can be returned to the virtual handle page of the game control terminal, so that the game control terminal can be connected to the target game server.
Because the game control terminal can realize being connected with the target game server by scanning the game control two-dimensional code displayed on the intelligent playing terminal, the game control terminal does not need to install extra APP, and does not need to be connected to the same wifi through the game control terminal and the intelligent playing terminal, and the game picture played in the intelligent playing terminal can be controlled through the game control terminal.
204. And receiving the game operation information sent by the game control terminal based on the target game server.
The game operation information is the operation of the user on the game control terminal, and the user can send an operation instruction to the target game server by using the game operation information, wherein the operation instruction can include a touch screen instruction, a key instruction and other modes. The operation instruction may correspond to a command received by the cloud game, that is, the operation instruction may be used to perform a control operation on the virtual object in the cloud game or a control operation on the process of the cloud game, for example, the operation instruction may be used to control the moving position of the virtual object in the cloud game, the skill release of the virtual object, and the like.
In practical applications, for example, after receiving the server address of the target game server, the virtual handle page may connect to the server address, and play the real-time game picture corresponding to the target game running in the target game server, so that the user may view the real-time game picture of the target game on the smart play terminal and may view the real-time game picture of the target game on the game control terminal, so as to guide the operation position in the game through the synchronized game picture. Meanwhile, the game control terminal establishes an instruction stream channel with the target game server and transmits the game operation information of the user to the target game server through the instruction stream channel.
205. And updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal.
In practical applications, for example, after receiving game operation information sent by the game control terminal B, the target game server may transmit the game operation information to a corresponding android instance, and a target game running in the android instance can obtain a click event, a touch event, and the like corresponding to the game operation information, so that the game control terminal B is used to control a target game running at a cloud end as shown in fig. 5, and meanwhile, the target game server synchronizes a real-time game picture updated in real time according to the game operation information to the intelligent play terminal a, thereby implementing dual-screen interaction.
According to the embodiment of the application, the target game server can be used for processing the game operation information from the game control terminal and synchronously playing the updated real-time game picture to the intelligent playing terminal, so that a TV box is not required to be arranged between the game control terminal and the intelligent playing terminal, a special mobile phone screen projection line is not required to be used, the image on the mobile phone is displayed to the TV terminal in a screen projection mode, and meanwhile, the target game is run on the target game server, and the game is not required to be run locally on the mobile phone.
Among them, since there are various kinds of games and various methods of controlling games, games can be classified into games that support native joysticks and games that do not support native joysticks according to the method of controlling games. The game of the native support handle is a game which can control the game by using a specific virtual handle; instead of the native gamepad-supported game, refers to a game in which the game can be controlled using other control methods such as a touch screen.
In an embodiment, for example, when the user successfully scans the game control identification code displayed on the smart player terminal through the game control terminal, the smart player terminal may automatically retrieve the game control identification code and display the real-time game screen. As shown in fig. 8, if the target game is not a game with a native support handle, the game control terminal B may be connected to the target game server, the game operation information detected by the game control terminal B is transmitted to the target game server, and the target game server may synchronize the updated real-time game screen to the smart playing terminal a, meanwhile, the target game server acquires a frame of real-time game screen per second and synchronizes to the game control terminal B, and the game control terminal B may perform a position response on the game operation information of the user while displaying the real-time game screen, that is, the position of the finger of the user is displayed, that is, the white area in fig. 8 is a position response area, so that the user may guide the operation position in the game through the synchronized real-time game screen, that is, the user may see the position of the finger of the user, whether the operation is proper or not is convenient to confirm, so that the condition that the game result is influenced by misoperation is avoided.
As shown in fig. 9, if the target game at this time is a game of native support handle, an interface including a virtual handle image may be displayed on the game control terminal B, and the game control terminal B at this time may replace the real virtual handle. Then, the game control terminal B may be connected to the target game server, the game operation information detected by the game control terminal B is transmitted to the target game server, and the target game server may synchronize the updated real-time game screen to the smart play terminal a.
In one embodiment, since the user needs to pay attention to the real-time game screen of the smart player terminal while performing operations on the game control terminal, in order to prevent misoperation, when the user performs operations such as pressing or clicking on the game control terminal, a slight vibration may be performed accordingly in response to the pressing or clicking operations of the user. The slight vibration can also be set according to the actual requirements of the user, for example, the vibration effect generated by different keys can be different, some special keys can not vibrate, and the like.
The embodiment of the application adopts the scheme of direct cloud game, so long as the mobile phone networking as the game control terminal can be operated, the game control terminal does not need to be in the same local area network with the intelligent playing terminal, extra APP does not need to be installed, the direct H5 mode of the game control identification code is scanned to complete control, the support of extra hardware is not needed, and if the intelligent playing terminal is connected without purchasing a special cable. In addition, the game control method can completely bypass the TV hardware to be directly connected with the cloud game, and the intelligent playing terminal only exists as the play stream of the game picture without the support of a hardware manufacturer, so that the universality of the scheme can be improved. Meanwhile, the game control method can adopt a mode of directly connecting a public network with a cloud end, the delay of the operation instruction is controlled within 20ms, the delay of the whole decoding of the added picture can be controlled within 100ms, and the operation instruction delay can meet the operation requirement of the game service. In addition, because the game control terminal is used for controlling the game, the game control method not only can run the game with the native support handle, but also can run some games which are not native support handles on the touch screen.
In an embodiment, the game control method provided in the embodiment of the present application may be further applied to a game control system, where the system may include a plurality of nodes, and the plurality of nodes are connected in a network communication manner and form a distributed system, where the nodes may be any form of electronic devices accessing a network, such as servers, terminals, and the like. Taking a distributed system as a blockchain system as an example, referring To fig. 12, fig. 12 is an optional structural schematic diagram of the distributed system 100 applied To the blockchain system provided in the embodiment of the present application, where the distributed system is formed by a plurality of nodes 200 and clients 300, and the nodes form a Peer-To-Peer (P2P, Peer To Peer) network, where a P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any electronic device, such as a server or a terminal, can join to become a node, and the node includes a hardware layer, an intermediate layer, an operating system layer, and an application layer.
In an embodiment of the application, the game control system includes an intelligent playing terminal, a game control terminal, a cloud game background service, and a management platform, where the intelligent playing terminal, the game control terminal, the cloud game background service, and the management platform are all one node of a blockchain system. The intelligent playing terminal is used for playing real-time game pictures, decoding audio and video, registering and logging in an account; the game control terminal is used for transmitting the game operation information to the target game server; the cloud game background service comprises a control center and a game server set, wherein the control center is mainly used for distributing game servers for users, and the game server set is mainly used for providing cloud game basic service; management platform user game installation package uploading, game image making, device management and the like.
Referring to fig. 13, fig. 13 is a schematic diagram of a Block Structure (Block Structure) provided in this embodiment, each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain) is essentially a decentralized database, which is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
As can be seen from the above, in the embodiments of the present application, a game start request of a target game sent by a smart player terminal may be received, the target game may be run on a target game server based on the game start request, and a real-time game screen of the target game may be synchronized with the smart player terminal. This scheme can be through the mode that directly links high in the clouds recreation, has thoroughly walked around the hardware restriction of TV end or PC end, and intelligent play terminal only exists as the broadcast stream of recreation picture, need not the support of hardware manufacturer to the compatibility and the commonality of game control method have been promoted, and as long as the cell-phone networking as game control terminal just can operate, need not be in same LAN with intelligent play terminal, also need not to install extra APP, and the control is just can be accomplished in the scanning game control identification code. Meanwhile, due to the adoption of a mode that the public network is directly connected with the cloud, the delay of the operation instruction is greatly reduced.
According to the method described in the foregoing embodiment, the game control device is specifically integrated in a game control system, which includes a smart player terminal, a game control terminal, a control center, a game server set, and a management platform.
Referring to fig. 3, a specific flow of the game control method according to the embodiment of the present application may be as follows:
301. and the control center receives a game starting request sent by the intelligent playing terminal.
In practical application, for example, a user may start a target game through a cloud game client of a TV, perform account login by using a game account of the user, obtain a token for authentication after the login is successful, and need to bring the token in a subsequent interaction process with a control center. When a user clicks to enter a target game, the client requests the control center to distribute a playable game server, and at the moment, the control center receives a game starting request sent by the intelligent playing terminal.
In one embodiment, for example, when a new game server joins a cloud game background service, the device status such as the IP information of the local game server, whether the service is normal, and the like is reported to the control center, so that the control center schedules the game server. The game server establishes a communication link with the control center so as to mutually transmit data and instructions, wherein the game server transmits the running state of the equipment, such as the information of equipment abnormity, the current load of the equipment and the like, to the control center; the control center transmits instructions such as installing a certain game image, starting a certain game instance, releasing a certain android instance and the like to the game server.
In one embodiment, for example, an administrator may upload a game installation package, make a game image, configure parameters for starting a game instance, such as CPU core number, memory, and instance geographic distribution, and the like on the management platform, and the management platform may transmit these information to the control center, so that the control center runs a corresponding game.
302. And when the game server set has idle game servers, the control center allocates target game servers for the intelligent playing terminals from the game server set.
In practical applications, for example, when a client requests the control center to allocate a playable game server, the control center authenticates an account of a TV end user, so as to determine whether a token obtained after the user logs in successfully is correct and within a validity period of the system. When the control center determines that the token is correct and within the validity period of the system, a server with the minimum network delay and an idle game instance can be selected as a target game server according to the network delay of the user and the game server, and the target game server is distributed to the client.
303. And the control center returns the server ID and the server address of the target game server to the intelligent playing terminal.
In practical application, for example, after the control center determines a target game server to be allocated to the client, the server ID and the server address of the target game server may be returned to the client, and the client may establish a connection with the target game server according to the acquired information.
304. And when no idle game server exists in the game server set, the control center returns the game queuing information to the intelligent playing terminal.
In practical applications, for example, if there is no idle game server in the game server set, which indicates that there is no playable game server, then it is not possible to allocate a suitable game server to the client, and at this time, the control center may return the game queuing information to the client. The client can display "you are listed at the xxx th position and expect the waiting time xxx minutes" on the TV screen according to the returned game queuing information, and the user can decide whether to queue according to the display information of the TV screen.
305. And running the target game on the target game server, and synchronizing the real-time game picture of the target game to the intelligent playing terminal.
In practical applications, for example, after the client establishes a connection with the target game server, the target game server may run a corresponding target game, and synchronize the real-time game screen of the target game to the TV terminal, so as to display the real-time game screen of the target game on the TV screen.
306. And the control center generates a game control two-dimensional code based on the game account number, the authentication token and the server ID of the target game server.
In practical applications, for example, when the user wants to use the virtual handle, the virtual handle button on the TV side can be clicked. When the control center detects the click operation of the virtual handle button, the game control link can be generated by using the game account number, the game authentication identifier token and the server ID of the target game server corresponding to the client. And then generating a game control two-dimensional code according to the game control link, and displaying the game control two-dimensional code in a picture of the TV end.
In an embodiment, whether a virtual handle is inserted into the TV end can be further determined, if the control center detects that the virtual handle is not inserted into the TV end, the step of generating the game control two-dimensional code can be directly performed, and the game control two-dimensional code is displayed in a picture of the TV end, so that a user can directly scan the code to connect with the mobile end without clicking a button of the virtual handle.
307. The control center verifies the validity of the token to obtain a detection result, and returns the detection result and the server address of the target game server to the game control terminal.
In practical applications, for example, a user may scan the game control two-dimensional code by using the mobile terminal to request a game control link corresponding to the game control two-dimensional code, at this time, the game control terminal may open a virtual handle page corresponding to the game control link by using a browser, where the virtual handle page integrates functions of a video player and an operation controller, where the video player may play a real-time game screen, and the operation controller may capture a touch event, a click event, and the like of the user on the virtual handle page.
In practical applications, for example, when a user scans a game control two-dimensional code by using a mobile terminal and opens a virtual handle page corresponding to a game control link by using a browser, the control center may perform an authentication step, that is, detect the validity of the game authentication identifier token. And then returning the detection result obtained by the detection and the server address of the target game server to the virtual handle page of the mobile terminal so that the mobile terminal can be connected to the target game server.
308. The target game server receives the game operation information sent by the game control terminal.
In practical applications, for example, after receiving the server address of the target game server, the virtual handle page may connect to the server address and play a real-time game screen corresponding to the target game running in the target game server. Meanwhile, the game control terminal establishes an instruction stream channel with the target game server and transmits the game operation information of the user to the target game server through the instruction stream channel.
309. And the target game server updates the real-time game picture of the target game according to the game operation information and synchronizes the updated real-time game picture to the intelligent playing terminal.
In practical application, for example, after receiving game operation information sent by a game control terminal, a target game server can transmit the game operation information to a corresponding android instance, a target game running in the android instance can acquire a click event, a touch event and the like corresponding to the game operation information, and a real-time game picture updated in real time according to the game operation information is synchronized to an intelligent play terminal, so that double-screen interaction is realized.
As can be seen from the above, in the embodiments of the present application, a game start request sent by a smart player terminal may be received by a control center, when there is an idle game server in a game server set, a target game server is allocated to the smart player terminal from the game server set, a server ID and a server address of the target game server are returned to the smart player terminal, when there is no idle game server in the game server set, game queuing information is returned to the smart player terminal, a target game is run on the target game server, a real-time game screen of the target game is synchronized to the smart player terminal, a game control two-dimensional code is generated by the control center based on a game account number, an authentication token, and the server ID of the target game server, validity of the control center is verified, a detection result is obtained, and the detection result and the server address of the target game server are returned to the game control terminal, and receiving the game operation information sent by the game control terminal through the target game server, updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal. This scheme can be through the mode that directly links high in the clouds recreation, has thoroughly walked around the hardware restriction of TV end or PC end, and intelligent play terminal only exists as the broadcast stream of recreation picture, need not the support of hardware manufacturer to the compatibility and the commonality of game control method have been promoted, and as long as the cell-phone networking as game control terminal just can operate, need not be in same LAN with intelligent play terminal, also need not to install extra APP, and the control is just can be accomplished in the scanning game control identification code. Meanwhile, due to the adoption of a mode that the public network is directly connected with the cloud, the delay of the operation instruction is greatly reduced.
The method described in the foregoing embodiment will be described in further detail below by way of example with the game control apparatus being integrated in an electronic device.
Referring to fig. 4, a specific flow of the game control method according to the embodiment of the present application may be as follows:
401. the electronic equipment receives a game starting request sent by the intelligent playing terminal.
In practical applications, for example, when a user starts a cloud game at a TV end or a PC end, it is equivalent to that the smart player terminal sends a game start request to the control center, and when the cloud game system detects a start event, it is equivalent to that the control center receives the game start request sent by the smart player terminal.
402. When detecting that the intelligent playing terminal is not inserted into the virtual handle, the electronic equipment generates a game control identification code and displays the game control identification code on the intelligent playing terminal.
In practical applications, for example, after the control center receives a game start request sent by the smart player terminal, it can be determined whether a virtual handle is inserted into the TV terminal or the PC terminal. If the virtual handle is not inserted, the control center can generate a game control link according to the game account number of the user, the token and the server ID of the target game server, and generate a game control identification code in a two-dimensional code form according to the game control link. Then, the game control identification code is synchronously sent to the intelligent playing terminal, so that the intelligent playing terminal can display the game control identification code and prompt a user to use the game control terminal to scan the code.
403. And when the game control terminal successfully identifies the game control identification code, displaying a real-time game picture on the intelligent playing terminal.
In practical applications, for example, after the user successfully scans the game control identification code by using the game control terminal, the smart play terminal may automatically retrieve the displayed game control identification code and display a real-time game picture.
404. And if the target game is not the game of the native support handle, displaying a real-time game picture on the game control terminal.
In practical applications, for example, if the target game is not a native gamepad-supported game, if the target game is a touch-screen game, the target game server may acquire one frame of real-time game screen synchronization per second to the game control terminal, so as to display the real-time game screen on the game control terminal, and then the user may direct the operation position in the game through the synchronized real-time game screen.
405. And if the target game is the game of the native support handle, displaying an interface of the virtual handle on the game control terminal.
In practical applications, for example, if the target game is a game of native support handle, an interface including a virtual handle image is displayed on the game control terminal, so that the user can control the target game through key operations, wherein, in order to prevent misoperation, a slight vibration response can be made to the key operations of the user.
406. And transmitting the game operation information of the game control terminal to a game server at the cloud end.
In practical applications, for example, if the target game is not a game that supports a handle natively, all game operation information at the game control terminal side may be transmitted to the game server at the cloud, so that the game server performs a corresponding game logic according to the obtained game operation information. If the target game is a game with a native support handle, the game operation information of the user aiming at the virtual handle at the game control terminal side can be transmitted to the game server at the cloud end, so that the game server can carry out corresponding game logic according to the obtained game operation information.
407. The game server updates the real-time game picture and synchronizes the updated game picture to the intelligent playing terminal.
In practical applications, for example, after the game server receives the game operation information, the game server may update the real-time game picture according to the game operation information, and synchronize the updated game picture to the smart play terminal, so that the smart play terminal plays the real-time game picture. If the target game is not a game with a native support handle, the updated game picture can be synchronized to the game control terminal if the picture of the game control terminal is not a fixed virtual handle picture, so that the game control terminal can play the corresponding updated game picture, and the user can operate accurately. If the target game is a game of a native support handle, the picture of the game control terminal is a fixed virtual handle picture, and the updated game picture does not need to be synchronized to the game control terminal.
408. And the intelligent playing terminal plays the updated game picture.
As can be seen from the above, in the embodiment of the present application, the electronic device may receive the game starting request sent by the smart play terminal, when detecting that the intelligent playing terminal is not inserted into the virtual handle, generating a game control identification code, displaying the game control identification code on the intelligent playing terminal, when the game control identification code is successfully identified by the game control terminal, displaying a real-time game picture on the intelligent playing terminal, if the target game is not the game of the native support handle, displaying a real-time game picture on the game control terminal, if the target game is a game of a native support handle, displaying an interface of a virtual handle on the game control terminal, transmitting game operation information of the game control terminal to a game server at the cloud end, updating a real-time game picture by the game server, and the updated game picture is synchronously sent to the intelligent playing terminal, and the intelligent playing terminal plays the updated game picture. This scheme can be through the mode that directly links high in the clouds recreation, has thoroughly walked around the hardware restriction of TV end or PC end, and intelligent play terminal only exists as the broadcast stream of recreation picture, need not the support of hardware manufacturer to the compatibility and the commonality of game control method have been promoted, and as long as the cell-phone networking as game control terminal just can operate, need not be in same LAN with intelligent play terminal, also need not to install extra APP, and the control is just can be accomplished in the scanning game control identification code. Meanwhile, due to the adoption of a mode that the public network is directly connected with the cloud, the delay of the operation instruction is greatly reduced.
In order to better implement the above method, accordingly, the present embodiment also provides a game control apparatus, which may be integrated in an electronic device, and referring to fig. 10, the game control apparatus includes a request receiving module 101, a screen synchronization module 102, a connection module 103, an information receiving module 104, and an update module 105, as follows:
a request receiving module 101, configured to receive a game starting request of a target game sent by an intelligent playing terminal;
the picture synchronization module 102 is configured to run the target game on a target game server based on the game start request, and synchronize a real-time game picture of the target game to the smart play terminal;
a connection module 103, configured to connect a game control terminal to the target game server when receiving a game control request sent by the game control terminal;
an information receiving module 104, configured to receive, based on the target game server, game operation information sent by the game control terminal;
and the updating module 105 is configured to update the real-time game picture of the target game according to the game operation information, and synchronize the updated real-time game picture to the intelligent playing terminal.
In an embodiment, the picture synchronization module 102 may include a first assignment sub-module and a synchronization sub-module, as follows:
the first allocating submodule is used for allocating a target game server for running the target game to the intelligent playing terminal from a game server set based on the game starting request;
and the picture synchronization submodule is used for running the target game on the target game server and synchronizing the real-time game picture of the target game to the intelligent playing terminal.
In an embodiment, the first allocation submodule may include a state determination submodule and a second allocation submodule as follows:
the state determining submodule is used for determining the game instance state of each game server in the game server set when the game authentication identification in the game starting request is valid;
and the second distribution submodule is used for distributing a target game server for running the target game to the intelligent playing terminal from a game server set based on the game instance state.
In an embodiment, the second allocating submodule may include a server determining submodule and a third allocating submodule as follows:
the server determining submodule is used for determining an idle game server of which the game instance state is an idle state from the game server set;
and the third distributing submodule is used for distributing a target game server for the intelligent playing terminal from a plurality of idle game servers.
In an embodiment, the third distribution sub-module may specifically be configured to:
acquiring network delay of each idle game server for the intelligent playing terminal;
and distributing a target game server for the intelligent playing terminal from a plurality of idle game servers based on the network delay.
In an embodiment, the first allocating sub-module may specifically be configured to:
acquiring a server identifier of the target game server and a server address of the target game server;
and connecting the intelligent playing terminal to the target game server based on the server identification and the server address.
In one embodiment, the connection module 103 may include a generation sub-module, a synchronization sub-module, and a connection sub-module, as follows:
the generation submodule is used for generating a game control identification code based on the account information corresponding to the intelligent playing terminal and the server identification of the target game server;
the synchronization submodule is used for synchronizing the game control identification code to the intelligent playing terminal;
and the connection submodule is used for connecting the game control terminal to the target game server based on a game control request sent by the game control terminal through identifying the game control identification code.
In an embodiment, the connection sub-module may be specifically configured to:
detecting the validity of a game authentication identifier in the game control request based on the game control request sent by the game control terminal by identifying the game control identification code to obtain a detection result;
and returning the detection result and the server address of the target game server to the game control terminal so that the game control terminal can be connected to the target game server.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in the embodiments of the present application, a game start request of a target game sent by a smart player terminal may be received, the target game may be run on a target game server based on the game start request, and a real-time game screen of the target game may be synchronized with the smart player terminal. This scheme can be through the mode that directly links high in the clouds recreation, has thoroughly walked around the hardware restriction of TV end or PC end, and intelligent play terminal only exists as the broadcast stream of recreation picture, need not the support of hardware manufacturer to the compatibility and the commonality of game control method have been promoted, and as long as the cell-phone networking as game control terminal just can operate, need not be in same LAN with intelligent play terminal, also need not to install extra APP, and the control is just can be accomplished in the scanning game control identification code. Meanwhile, due to the adoption of a mode that the public network is directly connected with the cloud, the delay of the operation instruction is greatly reduced.
The embodiment of the application also provides electronic equipment which can be integrated with any game control device provided by the embodiment of the application.
For example, as shown in fig. 11, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, specifically:
the electronic device may include components such as a processor 111 of one or more processing cores, memory 112 of one or more computer-readable storage media, a power supply 113, and an input unit 114. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 111 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 112 and calling data stored in the memory 112, thereby performing overall monitoring of the electronic device. Optionally, processor 111 may include one or more processing cores; preferably, the processor 111 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 111.
The memory 112 may be used to store software programs and modules, and the processor 111 executes various functional applications and data processing by operating the software programs and modules stored in the memory 112. The memory 112 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 112 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 112 may also include a memory controller to provide the processor 111 access to the memory 112.
The electronic device further comprises a power source 113 for supplying power to each component, and preferably, the power source 113 is logically connected to the processor 111 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system. The power source 113 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 114, and the input unit 114 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 111 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 112 according to the following instructions, and the processor 111 runs the application programs stored in the memory 112, so as to implement various functions as follows:
the method comprises the steps of receiving a game starting request of a target game sent by an intelligent playing terminal, running the target game on a target game server based on the game starting request, synchronizing a real-time game picture of the target game to the intelligent playing terminal, connecting the game control terminal to the target game server when receiving the game control request sent by the game control terminal, receiving game operation information sent by the game control terminal based on the target game server, updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, in the embodiments of the present application, a game start request of a target game sent by a smart player terminal may be received, the target game may be run on a target game server based on the game start request, and a real-time game screen of the target game may be synchronized with the smart player terminal. This scheme can be through the mode that directly links high in the clouds recreation, has thoroughly walked around the hardware restriction of TV end or PC end, and intelligent play terminal only exists as the broadcast stream of recreation picture, need not the support of hardware manufacturer to the compatibility and the commonality of game control method have been promoted, and as long as the cell-phone networking as game control terminal just can operate, need not be in same LAN with intelligent play terminal, also need not to install extra APP, and the control is just can be accomplished in the scanning game control identification code. Meanwhile, due to the adoption of a mode that the public network is directly connected with the cloud, the delay of the operation instruction is greatly reduced.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides an electronic device, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the game control methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
the method comprises the steps of receiving a game starting request of a target game sent by an intelligent playing terminal, running the target game on a target game server based on the game starting request, synchronizing a real-time game picture of the target game to the intelligent playing terminal, connecting the game control terminal to the target game server when receiving the game control request sent by the game control terminal, receiving game operation information sent by the game control terminal based on the target game server, updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any game control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any game control method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The foregoing describes in detail a game control method, device, storage medium, and electronic device provided in the embodiments of the present application, and specific examples are applied herein to explain the principles and implementations of the present application, and the description of the foregoing embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A game control method, comprising:
receiving a game starting request of a target game sent by an intelligent playing terminal;
running the target game on a target game server based on the game starting request, and synchronizing a real-time game picture of the target game to the intelligent playing terminal;
when a game control request sent by a game control terminal is received, connecting the game control terminal to the target game server;
receiving game operation information sent by the game control terminal based on the target game server;
and updating the real-time game picture of the target game according to the game operation information, and synchronizing the updated real-time game picture to the intelligent playing terminal.
2. The game control method according to claim 1, wherein the running of the target game on a target game server based on the game start request and the synchronization of a real-time game screen of the target game to the smart player terminal include:
distributing a target game server for running the target game to the intelligent playing terminal from a game server set based on the game starting request;
and running the target game on the target game server, and synchronizing a real-time game picture of the target game to the intelligent playing terminal.
3. The game control method according to claim 2, wherein allocating a target game server for running the target game to the smart player terminal from a game server set based on the game start request comprises:
when the game authentication identification in the game starting request is valid, determining the game instance state of each game server in the game server set;
and allocating a target game server for running the target game to the intelligent playing terminal from a game server set based on the game instance state.
4. The game control method according to claim 3, wherein allocating a target game server for running the target game to the smart player terminal from a game server set based on the game instance status comprises:
determining an idle game server from the set of game servers that the game instance state is an idle state;
and distributing a target game server for the intelligent playing terminal from a plurality of idle game servers.
5. The game control method according to claim 4, wherein allocating a target game server to the smart player terminal from among a plurality of idle game servers comprises:
acquiring network delay of each idle game server for the intelligent playing terminal;
and distributing a target game server for the intelligent playing terminal from a plurality of idle game servers based on the network delay.
6. The game control method according to claim 2, wherein after allocating a target game server for running the target game to the smart player terminal from a set of game servers based on the game start request, the method further comprises:
acquiring a server identifier of the target game server and a server address of the target game server;
and connecting the intelligent playing terminal to the target game server based on the server identification and the server address.
7. The game control method according to claim 1, wherein connecting the game control terminal to the target game server when receiving a game control request transmitted from the game control terminal, comprises:
generating a game control identification code based on the account information corresponding to the intelligent playing terminal and the server identification of the target game server;
synchronizing the game control identification code to the intelligent playing terminal;
and connecting the game control terminal to the target game server based on a game control request sent by the game control terminal by identifying the game control identification code.
8. The game control method according to claim 7, wherein connecting the game control terminal to the target game server based on a game control request transmitted from the game control terminal by recognizing the game control identification code comprises:
detecting the validity of a game authentication identifier in the game control request based on the game control request sent by the game control terminal by identifying the game control identification code to obtain a detection result;
and returning the detection result and the server address of the target game server to the game control terminal so that the game control terminal can be connected to the target game server.
9. A game control apparatus, comprising:
the request receiving module is used for receiving a game starting request of a target game sent by the intelligent playing terminal;
the picture synchronization module is used for running the target game on a target game server based on the game starting request and synchronizing a real-time game picture of the target game to the intelligent playing terminal;
the connection module is used for connecting the game control terminal to the target game server when receiving a game control request sent by the game control terminal;
the information receiving module is used for receiving game operation information sent by the game control terminal based on the target game server;
and the updating module is used for updating the real-time game picture of the target game according to the game operation information and synchronizing the updated real-time game picture to the intelligent playing terminal.
10. A computer storage medium having a computer program stored thereon, which, when run on a computer, causes the computer to execute a game control method according to any one of claims 1 to 8.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to any of claims 1 to 8 are implemented when the program is executed by the processor.
CN202010372263.0A 2020-05-06 2020-05-06 Game control method, device, storage medium and electronic equipment Pending CN111643889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010372263.0A CN111643889A (en) 2020-05-06 2020-05-06 Game control method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010372263.0A CN111643889A (en) 2020-05-06 2020-05-06 Game control method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111643889A true CN111643889A (en) 2020-09-11

Family

ID=72340703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010372263.0A Pending CN111643889A (en) 2020-05-06 2020-05-06 Game control method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111643889A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112044079A (en) * 2020-10-14 2020-12-08 腾讯科技(深圳)有限公司 Game running method and device, storage medium and electronic equipment
CN112073754A (en) * 2020-11-11 2020-12-11 深圳乐播科技有限公司 Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN112121421A (en) * 2020-09-29 2020-12-25 网易(杭州)网络有限公司 Game data processing system, method, device, storage medium and electronic equipment
CN112169312A (en) * 2020-09-27 2021-01-05 厦门雅基软件有限公司 Queuing scheduling method, device, equipment and storage medium for cloud game service
CN112770159A (en) * 2020-12-30 2021-05-07 北京字节跳动网络技术有限公司 Multi-screen interaction system, method, device, equipment and storage medium
CN113206843A (en) * 2021-04-28 2021-08-03 招商局金融科技有限公司 Network conference control method and device, electronic equipment and storage medium
CN113476829A (en) * 2020-11-28 2021-10-08 青岛海信电子产业控股股份有限公司 Game method, home server, device and storage medium
CN113521733A (en) * 2021-07-27 2021-10-22 咪咕互动娱乐有限公司 Game control method, device and storage medium
CN114189542A (en) * 2021-11-23 2022-03-15 阿里巴巴(中国)有限公司 Interaction control method and device
WO2022247540A1 (en) * 2021-05-28 2022-12-01 腾讯科技(深圳)有限公司 Device control method and apparatus, and computer device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491407A (en) * 2013-09-02 2014-01-01 中山大学 Method for online game controller based on Android television
US20150194136A1 (en) * 2012-11-28 2015-07-09 Nvidia Corporation Method and system for keyframe detection when executing an application in a cloud based system providing virtualized graphics processing to remote servers
US20160023109A1 (en) * 2014-07-22 2016-01-28 Sony Computer Entertainment America Llc Save Game Load Time Reduction for Cloud Gaming
CN105854295A (en) * 2016-03-25 2016-08-17 腾讯科技(深圳)有限公司 Method, device and system for realizing multiplayer game by utilizing portable digital device
CN108090225A (en) * 2018-01-05 2018-05-29 腾讯科技(深圳)有限公司 Operation method, device, system and the computer readable storage medium of database instance
CN108499100A (en) * 2018-03-30 2018-09-07 南京工业大学 A kind of cloud game error recovery method and system based on edge calculations
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN110673948A (en) * 2019-08-16 2020-01-10 咪咕互动娱乐有限公司 Cloud game resource scheduling method, server and storage medium
CN110917614A (en) * 2019-09-11 2020-03-27 腾讯科技(深圳)有限公司 Cloud game system based on block chain system and cloud game control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150194136A1 (en) * 2012-11-28 2015-07-09 Nvidia Corporation Method and system for keyframe detection when executing an application in a cloud based system providing virtualized graphics processing to remote servers
CN103491407A (en) * 2013-09-02 2014-01-01 中山大学 Method for online game controller based on Android television
US20160023109A1 (en) * 2014-07-22 2016-01-28 Sony Computer Entertainment America Llc Save Game Load Time Reduction for Cloud Gaming
CN105854295A (en) * 2016-03-25 2016-08-17 腾讯科技(深圳)有限公司 Method, device and system for realizing multiplayer game by utilizing portable digital device
CN108090225A (en) * 2018-01-05 2018-05-29 腾讯科技(深圳)有限公司 Operation method, device, system and the computer readable storage medium of database instance
CN108499100A (en) * 2018-03-30 2018-09-07 南京工业大学 A kind of cloud game error recovery method and system based on edge calculations
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN110673948A (en) * 2019-08-16 2020-01-10 咪咕互动娱乐有限公司 Cloud game resource scheduling method, server and storage medium
CN110917614A (en) * 2019-09-11 2020-03-27 腾讯科技(深圳)有限公司 Cloud game system based on block chain system and cloud game control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹华: "《游戏引擎原理与应用》", 31 August 2016 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112169312A (en) * 2020-09-27 2021-01-05 厦门雅基软件有限公司 Queuing scheduling method, device, equipment and storage medium for cloud game service
CN112121421A (en) * 2020-09-29 2020-12-25 网易(杭州)网络有限公司 Game data processing system, method, device, storage medium and electronic equipment
CN112044079A (en) * 2020-10-14 2020-12-08 腾讯科技(深圳)有限公司 Game running method and device, storage medium and electronic equipment
CN112073754A (en) * 2020-11-11 2020-12-11 深圳乐播科技有限公司 Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN112073754B (en) * 2020-11-11 2021-02-05 深圳乐播科技有限公司 Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN113476829A (en) * 2020-11-28 2021-10-08 青岛海信电子产业控股股份有限公司 Game method, home server, device and storage medium
CN112770159A (en) * 2020-12-30 2021-05-07 北京字节跳动网络技术有限公司 Multi-screen interaction system, method, device, equipment and storage medium
CN113206843A (en) * 2021-04-28 2021-08-03 招商局金融科技有限公司 Network conference control method and device, electronic equipment and storage medium
WO2022247540A1 (en) * 2021-05-28 2022-12-01 腾讯科技(深圳)有限公司 Device control method and apparatus, and computer device and storage medium
CN113521733A (en) * 2021-07-27 2021-10-22 咪咕互动娱乐有限公司 Game control method, device and storage medium
CN114189542A (en) * 2021-11-23 2022-03-15 阿里巴巴(中国)有限公司 Interaction control method and device

Similar Documents

Publication Publication Date Title
CN111643889A (en) Game control method, device, storage medium and electronic equipment
US20220184494A1 (en) Cloud Gaming Device Handover
JP6982684B2 (en) How and system to schedule gameplay for video games
JP6490654B2 (en) Method and system for providing a time machine function in live broadcasting
CN111803921B (en) Game interaction method based on cloud mobile phone system, electronic equipment and storage medium
US20130137511A1 (en) Distributed server system and method for streaming game service
CN113209632B (en) Cloud game processing method, device, equipment and storage medium
WO2016202200A1 (en) Data verification method and apparatus, and smart television system
CN112494934A (en) Cloud game data processing method, device, equipment and storage medium
JP2009273105A (en) Audio/video streaming signal provision method and sharing system
CN111803923B (en) Game sharing method based on cloud mobile phone system, electronic equipment and storage medium
US20140243083A1 (en) Apparatus and method of providing cloud service using game platform based on streaming
CN111478930B (en) STB cloud method, system, thin STB, virtual STB, platform and storage medium
WO2017189324A1 (en) User save data migration based on location information
CN106569737A (en) Dynamic network storage for cloud console server
CN112235594A (en) Live broadcast and microphone connecting method and device, computer readable medium and electronic equipment
CN112354176A (en) Cloud game implementation method, cloud game implementation device, storage medium and electronic equipment
CN114844663A (en) Desktop sharing method, system, storage medium and equipment
CN113996065A (en) Control method, device and system of cloud game and electronic equipment
US20230372811A1 (en) Information system, service server, management server, information processing method, and recording medium
CN112217910B (en) Video service access method, device, network equipment and storage medium
US10843072B2 (en) Information processing apparatus, server system, and status management method
WO2016202202A1 (en) Device connection method and apparatus, and smart television system
CN115364477A (en) Cloud game control method and device, electronic equipment and storage medium
CN113332710A (en) Game account login method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40028597

Country of ref document: HK