CN108568109B - Game control method, device and storage medium - Google Patents

Game control method, device and storage medium Download PDF

Info

Publication number
CN108568109B
CN108568109B CN201810379998.9A CN201810379998A CN108568109B CN 108568109 B CN108568109 B CN 108568109B CN 201810379998 A CN201810379998 A CN 201810379998A CN 108568109 B CN108568109 B CN 108568109B
Authority
CN
China
Prior art keywords
game
server
role
servers
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810379998.9A
Other languages
Chinese (zh)
Other versions
CN108568109A (en
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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment 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 China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810379998.9A priority Critical patent/CN108568109B/en
Publication of CN108568109A publication Critical patent/CN108568109A/en
Application granted granted Critical
Publication of CN108568109B publication Critical patent/CN108568109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/55Controlling game characters or game objects based on the game progress
    • 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/45Controlling the progress of the video game
    • 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/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories

Abstract

The invention discloses a game control method, which comprises the following steps: receiving a multi-role game request sent by a game terminal; responding to the multi-role game request, and distributing at least two first servers for the game terminal; respectively creating game instances corresponding to game characters on the first servers; and sending the address of the first server where the game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server. The invention also discloses a device and a storage medium.

Description

Game control method, device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a game control method, device, and storage medium.
Background
With the rapid development of the game industry, terminal technology and network bandwidth in recent years, online games have become an indispensable internet application in people's lives. On the other hand, the growing maturity of cloud computing technology has brought a 'thin terminal-cloud' service mode, in which the terminal equipment of the user is interconnected with the high-performance computing resources at the cloud end and enjoys high-quality service, and applying the mode to an online game environment has bred a novel cloud computing service, namely cloud game.
However, when a user uses an existing cloud game server to perform a cloud game, the user may only operate one character in the cloud game, but cannot operate a plurality of characters in the same game, for the same game. In the prior art, when a user needs to try to operate other characters in the same game, the user is often required to terminate the current ongoing game progress and restart a new game progress for the game so as to select a new game character to operate in the newly started game progress, and in this case, when the user starts playing a new game character, the user starts the game from the beginning and cannot continue the game progress of the old game character, which greatly affects the normal game experience of the user.
Disclosure of Invention
In view of the above, embodiments of the present invention are directed to a game control method, device and storage medium, which can control at least two game characters in a same game.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a game control method, which comprises the following steps:
receiving a multi-role game request sent by a game terminal;
responding to the multi-role game request, and distributing at least two first servers for the game terminal;
respectively creating game instances corresponding to game characters on the first servers;
and sending the address of the first server where the game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server.
The embodiment of the invention also provides a game control method, which comprises the following steps:
sending a multi-role game request;
receiving the address of a first server where a game instance corresponding to each game role is located;
accessing a corresponding first server based on the address;
controlling at least two game characters based on the first server.
An embodiment of the present invention further provides a game control device, where the device includes: the system comprises a receiving module, a distribution module, a creation module and a sending module; wherein the content of the first and second substances,
the receiving module is used for receiving a multi-role game request sent by the game terminal;
the distribution module is used for responding to the multi-role game request and distributing at least two first servers to the game terminal;
the creating module is used for creating game instances corresponding to game roles on the first server respectively;
the sending module is configured to send, to the game terminal, an address of a first server where a game instance corresponding to each game role is located, so that the game terminal accesses the corresponding first server through the address, and control of at least two game roles is achieved through the first server.
An embodiment of the present invention further provides a game control device, where the device includes: the device comprises a sending module, a receiving module, an access module and a control module; wherein the content of the first and second substances,
the sending module is used for sending a multi-role game request;
the receiving module is used for receiving the address of a first server where a game instance corresponding to each game role is located;
the access module is used for accessing the corresponding first server based on the address;
the control module is used for controlling at least two game roles based on the first server.
An embodiment of the present invention further provides a storage medium, on which an executable program is stored, where the executable program, when executed by a processor, implements any one of the game control methods described above.
The embodiment of the invention also provides a game control device, which comprises a memory, a processor and an executable program which is stored on the memory and can be run by the processor, wherein the processor executes any one of the game control methods when running the executable program.
In the game control method, the device and the storage medium provided by the embodiment of the invention, at least two first servers are allocated to the game terminal in response to the multi-role game request, the game instances corresponding to the game roles are respectively created on the first servers, and then the addresses of the first servers where the game instances corresponding to the game roles are located are returned to the game terminal, so that the game terminal accesses the corresponding first servers through the addresses, and the control of at least two game roles in the same game can be realized through the first servers.
Further, when a user desires to operate which game role, only the first server where the game instance corresponding to the game role is located needs to be connected, and the first server is accessed to the game server to play the game, and after the user selects to establish connection with one of the first servers, the other unconnected first servers still keep the state of being accessed to the game server, so that the game progress of the unselected game role is ensured to be uniform with the game progress of the game role operated by the current user, therefore, when the user switches the game role in the game process, the game progress is not influenced, the playability of the game is increased, and a brand new game experience is brought to the user.
Drawings
FIG. 1 is a schematic diagram illustrating a flow chart of a game control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a game mode selection interface provided by an embodiment of the invention;
fig. 3 is a basic architecture diagram of a cloud game platform according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a flow chart of another implementation of a game control method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of interaction among devices according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a game control system according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a structure of a game control device according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a hardware structure of a game control apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another game control device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of another game control device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
In the embodiment of the present invention, the game terminal may include, but is not limited to: mobile phone, tablet, palm computer and other electronic equipment.
Fig. 1 is a game control method applied to a server according to an embodiment of the present invention; as shown in fig. 1, an implementation flow of the game control method in the embodiment of the present invention may include the following steps:
step 101: a request for a multi-character game transmitted from a game terminal is received.
In some embodiments, the game terminal detects a designated operation input by the user at the cloud game client, and triggers the game terminal to send a multi-role game request to the server, where the server may be a cloud game control server, which is described below.
After the user starts the cloud game client on the game terminal and selects the cloud game to be started, the cloud game control server asks the user what game mode (single role game mode or multi-role game mode) to select, and then the game mode selection interface shown in fig. 2 is displayed for the user on the game terminal.
For example, when the game terminal detects that the game mode is a single character game mode selected by the user, referring to the basic architecture diagram of the cloud game platform described in fig. 3, in the cloud game platform architecture, the user may register and log in the cloud game system through the cloud game control server, the cloud game control server provides the user with a list of games that currently support running, and the user selects a suitable game according to needs and interests and requests to start running the corresponding game. The cloud game control server allocates a special game server corresponding to the cloud game selected by the user according to the user request characteristics (such as the user geographical area, the user level, the configuration requirement and the like), forwards the user request to the server, runs and appropriately configures the corresponding game, and returns the corresponding game to the address of the new game server of the user. Then, the user can directly communicate with the special game server to start running and experiencing the game.
Through the cloud game technology, the game terminal can enjoy different games only through the thin client terminal without being installed on the game terminal, actual game operation is stored in the cloud server, a user can access the games at any place and at any time through any terminal equipment (a personal computer, a tablet, a mobile phone and the like), and the threshold of playing games by the user is reduced. In addition, the game terminal only needs to detect basic data (mouse click and keyboard click) of user operation, transmits a user operation signal to the cloud server through high-speed broadband connection, and the game server receives the user operation signal, replays the user operation and renders a game effect. The game terminal only needs to be capable of receiving and decoding the video code stream, and the requirements of the game terminal on high-end machine configuration (CPU and high-end display card) are greatly reduced.
For example, when the game terminal detects that the user selects the multi-role game mode, the game terminal is triggered to send a multi-role game request to the cloud game control server, and after receiving the request, the cloud game control server executes step 102.
Step 102: at least two first servers are allocated to the game terminal in response to the multi-character game request.
In some embodiments, the cloud game control server obtains a number of game characters in the multi-persona game request; allocating at least two first servers for the game terminal, wherein the number of the first servers is the same as that of the game roles in the multi-role game request, and the first servers and the game roles are in one-to-one correspondence; the first server may be referred to as a cloud game instance server, and the first server may be a physical server or a virtual machine.
Specifically, after a user selects a cloud game through the game terminal and selects a multi-role game mode, the game terminal sends a multi-role game request carrying a cloud game identifier selected by the user and the user-selected game mode (including the game modes of several people selected by the user) to the cloud game control server, and the cloud game control server responds to the multi-role game request, allocates first servers corresponding to the number of game roles desired to be operated by the user to the user according to the game roles selected by the user, and runs the cloud game selected by the user through the first servers.
It should be noted that, a general cloud game developer often determines whether a user has a cheating behavior according to the difference between the IP addresses or device numbers logged in by the user, and since the user often only can play one cloud game through the same game terminal in the prior art, the game server often determines whether the user has the cheating behavior according to the difference, and when the game server monitors that the same IP address or the same device number is playing multiple cloud games, the user can be determined to have the cheating behavior. Therefore, in some embodiments, when the cloud game control server allocates the first servers to the game terminals, different internet protocol addresses or different identification information may be allocated to the first servers, so as to avoid determining that the game servers determine cheating.
Step 103: game instances corresponding to the game characters are respectively created on the first servers.
For example, when the user selects the cloud game X and selects the dual role game mode by performing step 101, and simultaneously selects the game roles to be operated as the game role a and the game role B, respectively, the cloud game control server allocates two first servers for running the cloud game X to the user by performing step 102, and creates game instances corresponding to the game role a and the game role B on the allocated two first servers, respectively.
Step 104: and sending the address of the first server where the game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server.
In some embodiments, sending, to the game terminal, an address of a first server where a game instance corresponding to each game character is located includes: receiving a game video stream address and a control channel address of a first server where a game instance corresponding to each game role is located; and sending the game video stream address and the control channel address corresponding to each game role to the game terminal.
For example, after the user selects a game role to be controlled, the game terminal may establish a connection with a first server where a game instance corresponding to the game role is located, obtain a game video stream through a game video stream address corresponding to the game role, and upload game operation data to the first server through a control channel corresponding to the game role.
Here, the rendered game screen sent by the game server to the game terminal by the user in the process of the cloud game may be referred to as a game video stream; the game operation data is: in the process of cloud game, various game operations (such as mouse click, movement and the like) input by a user on a game terminal are recorded by the game terminal and uploaded to a game server through a first server connected with the game terminal, and user operation data collected by the game terminals are called game operation data.
The cloud game is a game mode based on cloud computing, all games run at a game server end in a running mode of the cloud game, operation input by a user on a game terminal is uploaded to the game server through a first server, the operation is executed through the calculation of the game server, a game picture after rendering according to an operation result is compressed and then is transmitted to the user through a network, and the compressed game picture serves as a response of the user to the game operation.
When a user needs to switch game roles, the first server connected before is disconnected, and the first servers corresponding to other game roles are connected.
In some embodiments, the cloud game control server receives a clear game instance request sent by the game terminal; in response to the game instance clearing request, the game instances corresponding to the game characters created on the first server are respectively cleared.
In the game control method provided by the embodiment of the invention, at least two first servers are allocated to the game terminal in response to the request of the multi-role game, the game instances corresponding to the game roles are respectively created on the first servers, and the addresses of the first servers where the game instances corresponding to the game roles are located are returned to the game terminal, so that the game terminal accesses the corresponding first servers through the addresses, and the control of at least two game roles in the same game can be realized through the first servers.
Further, when a user desires to operate which game role, only the first server where the game instance corresponding to the game role is located needs to be connected, and the first server is accessed to the game server to play the game, and after the user selects to establish connection with one of the first servers, the other unconnected first servers still keep the state of being accessed to the game server, so that the game progress of the unselected game role is ensured to be uniform with the game progress of the game role operated by the current user, therefore, when the user switches the game role in the game process, the game progress is not influenced, the playability of the game is increased, and a brand new game experience is brought to the user.
FIG. 4 is a diagram of a game control method applied to a game terminal according to an embodiment of the present invention; as shown in fig. 4, an implementation flow of the game control method in the embodiment of the present invention may include the following steps:
step 401: a multi-persona game request is sent.
In some embodiments, after the user starts the cloud game client on the game terminal and selects the cloud game to be started, the cloud game control server queries the user for which game mode (single-role game mode or multi-role game mode) to select, and when the game terminal detects that the game mode selected by the user is the multi-role game mode, the cloud game control server sends a multi-role game request to the server, where the server may be a cloud game control server, and all of the following descriptions are provided with the cloud game control server.
Step 402: and receiving the address of the first server where the game instance corresponding to each game role is located.
In some embodiments, after a user selects a cloud game through a game terminal and selects a multi-role game mode, the game terminal sends a multi-role game request carrying a cloud game identifier selected by the user and the user-selected game mode (including the game modes of several people selected by the user) to a cloud game control server, and the cloud game control server responds to the multi-role game request, allocates first servers corresponding to the number of game roles desired to be operated by the user to the user according to the game roles selected by the user, and runs the cloud game selected by the user through the first servers; when the cloud game control server allocates the first servers to the game terminals, different internet protocol addresses or different identification information can be allocated to the first servers, so that cheating behaviors are avoided being judged by the game servers.
In some embodiments, the receiving, by the game terminal, an address of a first server where a game instance corresponding to each game character is located includes: and receiving the game video stream address and the control channel address of the first server where the game instance corresponding to each game role is located.
Step 403: the corresponding first server is accessed based on the address.
In some embodiments, accessing a corresponding first server based on an address comprises: acquiring a starting instruction of a first game role; uploading game operation data to a first server based on the address of the first server where the game instance corresponding to the first game role is located; and receiving a game video stream corresponding to the game operation data.
Here, the rendered game screen sent by the game server to the game terminal by the user in the process of the cloud game may be referred to as a game video stream; the game operation data is: in the process of cloud game, various game operations (such as mouse click, movement and the like) input by a user on a game terminal are recorded by the game terminal and uploaded to a game server through a first server connected with the game terminal, and user operation data collected by the game terminals are called game operation data.
For example, after the user selects a game role to be controlled, the game terminal may establish a connection with a first server where a game instance corresponding to the game role is located, obtain a game video stream through a game video stream address corresponding to the game role, and upload game operation data to the first server through a control channel corresponding to the game role.
Step 404: at least two game characters are controlled based on the first server.
In some embodiments, controlling at least two game characters based on a first server includes: acquiring a switching instruction of a game role, wherein the switching instruction comprises switching a first game role into a second game role; disconnecting the first server where the game instance corresponding to the first game role is located, and establishing the connection of the first server where the game instance corresponding to the second game role is located; and interacting with the game server based on the first server where the game instance corresponding to the second game role is located.
For example, when a user selects a cloud game X through a game terminal, selects a dual role game mode, and simultaneously selects a game role to be operated as a game role a and a game role B, respectively, the cloud game control server allocates a first server a and a first server B for running the cloud game X to the user. When a user selects to operate a game role A, the game terminal establishes connection with a first server A corresponding to the game role A and interacts with a game server through the first server A; when the user selects to switch to the game role B, the game terminal disconnects with the first server A and establishes connection with the first server B, and then interacts with the game server through the first server B.
The game control method provided by the embodiment of the invention receives the address of the first server where the game instance corresponding to each game role is located, accesses the corresponding first server based on the address, and then controls at least two game roles through the first server, thereby realizing the control of at least two game roles in the same game.
Further, when a user desires to operate which game role, only the first server where the game instance corresponding to the game role is located needs to be connected, and the first server is accessed to the game server to play the game, and after the user selects to establish connection with one of the first servers, the other unconnected first servers still keep the state of being accessed to the game server, so that the game progress of the unselected game role is ensured to be uniform with the game progress of the game role operated by the current user, therefore, when the user switches the game role in the game process, the game progress is not influenced, the playability of the game is increased, and a brand new game experience is brought to the user.
Taking the selection of a multi-role game mode (two game roles) by a user as an example, as shown in fig. 5, the interaction diagram of each device in the embodiment of the present invention may include the following steps:
step 501: the game terminal sends a multi-role game request to the cloud game control server.
Specifically, when the game terminal detects that the game mode selected by the user is the multi-role game mode (two game characters, game character a and game character B respectively), the multi-role game request carrying the cloud game identifier selected by the user and the game mode selected by the user (including the game mode selected by the user by several persons) is sent to the cloud game control server.
Step 502: in response to the multi-character game request, the cloud game control server allocates a first server a corresponding to the game character a and a first server B corresponding to the game character B to the game terminal.
Step 503: the cloud game control server receives the game video stream address and the control channel address returned by the first server A and the game video stream address and the control channel address returned by the first server B.
Step 504: and the cloud game control server sends the game video stream address and the control channel address returned by the first server A and the first server B to the game terminal.
Step 505: when the game terminal detects that the game role A is selected by the user, connection is established with a first server A corresponding to the game role A, and interaction is carried out with the game server through the first server A.
Step 506: when the game terminal detects that the user selects to switch to the game role B, the connection of the first server A corresponding to the game role A is disconnected, the connection of the first server A corresponding to the game role B is established, and interaction is carried out with the game server through the first server B.
Step 507: when the game terminal detects that the user selects to finish the game, the first server B corresponding to the game role B is disconnected.
Step 508: the game terminal sends a game instance clearing request to the cloud game control server.
Step 509: and the cloud game control server responds to the game instance clearing request, and clears the game instances corresponding to the game role A and the game role B which are created on the first server A and the first server B respectively.
Step 510: and the cloud game control server receives the results returned by the first server A and the first server B, and returns the results to the game terminal, so that the process is finished.
Fig. 6 is a schematic structural diagram of a game control system according to an embodiment of the present invention, and as shown in fig. 6, the game control system includes:
cloud game control server: the multi-role game system is used for receiving a multi-role game request sent by a game terminal; responding to the multi-role game request, and allocating at least two first servers for the game terminal; respectively creating game instances corresponding to game characters on a first server; receiving a game video stream address and a control channel address of a first server where a game instance corresponding to each game role is located; and sending the game video stream address and the control channel address corresponding to each game role to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server.
A first server: the cloud game instance server can be called as a physical server or a virtual machine. The cloud game client is used for simulating a cloud game terminal and sending a game video stream address and a control channel address corresponding to each game role to a cloud game control server; and receiving game operation data acquired by the game terminal, and interacting with the game server.
The game terminal: for sending a multi-persona game request; receiving the address of a first server where a game instance corresponding to each game role is located; accessing the corresponding first server based on the address, uploading game operation data to the first server, and receiving a game video stream corresponding to the game operation data; at least two game characters are controlled based on the first server.
The game server: the game developer provides and interacts with the first server to run the game selected by the user.
In order to implement the method shown in fig. 1, an embodiment of the present invention further provides a game control apparatus, as shown in fig. 7, where the apparatus is applied to a server, and includes: a receiving module 701, an allocating module 702, a creating module 703 and a sending module 704; wherein the content of the first and second substances,
a receiving module 701, configured to receive a multi-role game request sent by a game terminal.
An allocating module 702 is configured to allocate at least two first servers to the game terminal in response to the multi-role game request.
An allocation module 702, specifically configured to obtain the number of game characters in the multi-role game request; at least two first servers are distributed to the game terminal, the number of the first servers is the same as that of the game characters in the multi-role game request, and the first servers and the game characters are in one-to-one correspondence.
The allocating module 702 is specifically configured to allocate different internet protocol addresses or different identification information to each first server.
A creating module 703 is configured to create game instances corresponding to the game characters on the first servers respectively.
The sending module 704 is configured to send, to the game terminal, an address of a first server where the game instance corresponding to each game character is located, so that the game terminal accesses the corresponding first server through the address, and the first server controls at least two game characters.
A sending module 704, specifically configured to receive a game video stream address and a control channel address of a first server where a game instance corresponding to each game character is located; and sending the game video stream address and the control channel address corresponding to each game role to the game terminal.
The game control device further comprises a second receiving module 705 and a clearing module 706; wherein the content of the first and second substances,
the second receiving module 705 is configured to receive a game instance clearing request sent by the game terminal.
A clearing module 706, configured to respond to the game instance clearing request, and respectively clear the game instances corresponding to the game characters created on the first servers.
In practical applications, the receiving module 701, the allocating module 702, the creating module 703, the sending module 704, the second receiving module 705 and the clearing module 706 may be implemented by a Central Processing Unit (CPU), a Micro Processing Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like on a server.
It should be noted that: in the game control device provided in the above embodiment, only the division of the program modules is exemplified when performing game control, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the game control device and the game control method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
In order to implement the foregoing method, an embodiment of the present invention further provides another game control apparatus, which is applied to a server side, and includes a memory, a processor, and an executable program that is stored in the memory and can be executed by the processor, where when the processor executes the executable program, the following operations are performed:
receiving a multi-role game request sent by a game terminal; responding to the multi-role game request, and allocating at least two first servers for the game terminal; respectively creating game instances corresponding to game characters on a first server; and sending the address of the first server where the game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server.
The processor is further configured to, when executing the executable program, perform the following:
acquiring the number of game roles in the multi-role game request; at least two first servers are distributed to the game terminal, the number of the first servers is the same as that of the game characters in the multi-role game request, and the first servers and the game characters are in one-to-one correspondence.
The processor is further configured to, when executing the executable program, perform the following:
different internet protocol addresses or different identification information are assigned to the first servers.
The processor is further configured to, when executing the executable program, perform the following:
receiving a game video stream address and a control channel address of a first server where a game instance corresponding to each game role is located; and sending the game video stream address and the control channel address corresponding to each game role to the game terminal.
The processor is further configured to, when executing the executable program, perform the following:
receiving a game instance clearing request sent by a game terminal; in response to the game instance clearing request, the game instances corresponding to the game characters created on the first server are respectively cleared.
The hardware configuration of the game control device will be further described below by taking an example in which the game control device is implemented as a server for game control.
Fig. 8 is a schematic diagram of a hardware configuration of a game control apparatus according to an embodiment of the present invention, which is applied to a server side, and the game control apparatus 800 shown in fig. 8 includes: at least one processor 801, memory 802, and at least one network interface 803. The various components in the game control device 800 are coupled together by a bus system 804. It is understood that the bus system 804 is used to enable communications among the components. The bus system 804 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 804 in FIG. 8.
It will be appreciated that the memory 802 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory.
The memory 802 in embodiments of the present invention is used to store various types of data to support the operation of the game control apparatus 800. Examples of such data include: any computer program for operating on game control device 800, such as executable program 8021, programs implementing methods of embodiments of the present invention may be included in executable program 8021.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The processor 801 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 901 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in the memory 802, and the processor 801 reads the information in the memory 802 to perform the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, an embodiment of the present invention further provides a storage medium applied to the server side, where the storage medium stores an executable program, and when the executable program is executed by the processor 801 of the game control apparatus 800, the storage medium performs the following operations:
receiving a multi-role game request sent by a game terminal; responding to the multi-role game request, and allocating at least two first servers for the game terminal; respectively creating game instances corresponding to game characters on a first server; and sending the address of the first server where the game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server.
The executable program, when executed by the processor 801 of the game control apparatus 800, further performs the following operations:
acquiring the number of game roles in the multi-role game request; at least two first servers are distributed to the game terminal, the number of the first servers is the same as that of the game characters in the multi-role game request, and the first servers and the game characters are in one-to-one correspondence.
The executable program, when executed by the processor 801 of the game control apparatus 800, further performs the following operations:
different internet protocol addresses or different identification information are assigned to the first servers.
The executable program, when executed by the processor 801 of the game control apparatus 800, further performs the following operations:
receiving a game video stream address and a control channel address of a first server where a game instance corresponding to each game role is located; and sending the game video stream address and the control channel address corresponding to each game role to the game terminal.
The executable program, when executed by the processor 801 of the game control apparatus 800, further performs the following operations:
receiving a game instance clearing request sent by a game terminal; in response to the game instance clearing request, the game instances corresponding to the game characters created on the first server are respectively cleared.
In order to implement the method shown in fig. 4, an embodiment of the present invention further provides a game control apparatus, as shown in fig. 9, where the apparatus is applied to a game terminal, and includes: a sending module 901, a receiving module 902, an access module 903 and a control module 904; wherein the content of the first and second substances,
a sending module 901, configured to send a multi-role game request.
A receiving module 902, configured to receive an address of a first server where a game instance corresponding to each game character is located.
And an accessing module 903, configured to access the corresponding first server based on the address.
An access module 903, specifically configured to obtain an opening instruction of a first game role; uploading game operation data to a first server based on the address of the first server where the game instance corresponding to the first game role is located; and receiving a game video stream corresponding to the game operation data.
A control module 904 for controlling at least two game characters based on the first server.
The control module 904 is specifically configured to obtain a switching instruction of a game role, where the switching instruction includes switching a first game role to a second game role; disconnecting the first server where the game instance corresponding to the first game role is located, and establishing the connection of the first server where the game instance corresponding to the second game role is located; and interacting with the game server based on the first server where the game instance corresponding to the second game role is located.
In practical applications, the sending module 901, the receiving module 902, the accessing module 903 and the controlling module 904 can be implemented by a CPU, an MPU, a DSP, or an FPGA located on the terminal.
It should be noted that: in the game control device provided in the above embodiment, only the division of the program modules is exemplified when performing game control, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the game control device and the game control method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
In order to implement the foregoing method, an embodiment of the present invention further provides another game control apparatus, which is applied to a terminal side, and includes a memory, a processor, and an executable program stored on the memory and capable of being executed by the processor, where when the processor executes the executable program, the following operations are performed:
sending a multi-role game request; receiving the address of a first server where a game instance corresponding to each game role is located; accessing a corresponding first server based on the address; at least two game characters are controlled based on the first server.
The processor is further configured to, when executing the executable program, perform the following:
acquiring a starting instruction of a first game role; uploading game operation data to a first server based on the address of the first server where the game instance corresponding to the first game role is located; and receiving a game video stream corresponding to the game operation data.
The processor is further configured to, when executing the executable program, perform the following:
acquiring a switching instruction of a game role, wherein the switching instruction comprises switching a first game role into a second game role; disconnecting the first server where the game instance corresponding to the first game role is located, and establishing the connection of the first server where the game instance corresponding to the second game role is located; and interacting with the game server based on the first server where the game instance corresponding to the second game role is located.
The hardware configuration of the game control device will be further described below by taking as an example a case where the game control device is implemented as a terminal for game control.
Fig. 10 is a schematic diagram of a hardware configuration of a game control apparatus according to an embodiment of the present invention, which is applied to a terminal side, and the game control apparatus 1000 shown in fig. 10 includes: at least one processor 1001, memory 1002, a user interface 1003 and at least one network interface 1004. The various components in the game control device 1000 are coupled together by a bus system 1005. It is understood that bus system 1005 is used to enable communications among the components connected. The bus system 1005 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. But for the sake of clarity the various busses are labeled in figure 10 as the bus system 1005.
The user interface 1003 may include a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, a touch screen, or the like, among others.
It will be appreciated that the memory 1002 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory.
The memory 1002 in the present embodiment is used to store various types of data to support the operation of the game control apparatus 1000. Examples of such data include: any computer program for operating on the game control device 1000, such as executable program 10021, a program implementing a method of an embodiment of the present invention may be included in the executable program 10021.
The method disclosed by the embodiment of the invention can be applied to the processor 1001 or can be implemented by the processor 1001. The processor 1001 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 1001. The processor 1001 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 1001 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 1002 and the processor 1001 reads the information from the memory 1002 and performs the steps of the method described above in conjunction with its hardware.
In an exemplary embodiment, an embodiment of the present invention further provides a storage medium applied to a terminal side, the storage medium having stored thereon an executable program, which, when executed by the processor 1001 of the game control apparatus 1000, performs the following operations:
sending a multi-role game request; receiving the address of a first server where a game instance corresponding to each game role is located; accessing a corresponding first server based on the address; at least two game characters are controlled based on the first server.
When the executable program is executed by the processor 1001 of the game control apparatus 1000, the following operations are also executed:
acquiring a starting instruction of a first game role; uploading game operation data to a first server based on the address of the first server where the game instance corresponding to the first game role is located; and receiving a game video stream corresponding to the game operation data.
When the executable program is executed by the processor 1001 of the game control apparatus 1000, the following operations are also executed:
acquiring a switching instruction of a game role, wherein the switching instruction comprises switching a first game role into a second game role; disconnecting the first server where the game instance corresponding to the first game role is located, and establishing the connection of the first server where the game instance corresponding to the second game role is located; and interacting with the game server based on the first server where the game instance corresponding to the second game role is located.
In the game control method, the device and the storage medium provided by the embodiment of the invention, at least two first servers are allocated to the game terminal in response to the multi-role game request, the game instances corresponding to the game roles are respectively created on the first servers, and then the addresses of the first servers where the game instances corresponding to the game roles are located are returned to the game terminal, so that the game terminal accesses the corresponding first servers through the addresses, and the control of at least two game roles in the same game can be realized through the first servers.
Further, when a user desires to operate which game role, only the first server where the game instance corresponding to the game role is located needs to be connected, and the first server is accessed to the game server to play the game, and after the user selects to establish connection with one of the first servers, the other unconnected first servers still keep the state of being accessed to the game server, so that the game progress of the unselected game role is ensured to be uniform with the game progress of the game role operated by the current user, therefore, when the user switches the game role in the game process, the game progress is not influenced, the playability of the game is increased, and a brand new game experience is brought to the user.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or executable program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of an executable program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and executable program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by executable program instructions. These executable program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor with reference to a programmable data processing apparatus to produce a machine, such that the instructions, which execute via the computer or processor with reference to the programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These executable program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These executable program instructions may also be loaded onto a computer or reference programmable data processing apparatus to cause a series of operational steps to be performed on the computer or reference programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or reference programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (14)

1. A game control method, the method comprising:
receiving a multi-role game request sent by a game terminal;
responding to the multi-role game request, and distributing at least two first servers for the game terminal;
respectively creating game instances corresponding to game characters on the first servers;
sending the address of a first server where a game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server;
when the game terminal selects one of the at least two first servers to establish connection, the other unconnected first servers still keep the state of accessing the game server, so that the game progress of the unselected game role is consistent with the game progress of the game role corresponding to the selected first server.
2. The method of claim 1, wherein said assigning at least two first servers to the game terminal comprises:
acquiring the number of game characters in the multi-role game request;
and allocating at least two first servers to the game terminal, wherein the number of the first servers is the same as that of the game characters in the multi-role game request, and the first servers and the game characters are in one-to-one correspondence.
3. The method of claim 1, wherein said assigning at least two first servers to the game terminal comprises:
different internet protocol addresses or different identification information are assigned to the first servers.
4. The method of claim 1, wherein the sending, to the game terminal, an address of a first server on which a game instance corresponding to each game character is located comprises:
receiving a game video stream address and a control channel address of a first server where a game instance corresponding to each game role is located;
and sending the game video stream address and the control channel address corresponding to each game role to the game terminal.
5. The method of claim 1, further comprising:
receiving a game instance clearing request sent by the game terminal;
in response to the game instance clearing request, respectively clearing the game instances corresponding to the game characters created on the first server.
6. A game control method, the method comprising:
sending a multi-role game request;
receiving the address of a first server where a game instance corresponding to each game role is located;
accessing a corresponding first server based on the address;
controlling at least two game characters based on the first server; when the connection with one first server of the at least two first servers is selected, the other unconnected first servers still keep the state of accessing the game server, so that the game progress of the unselected game role is consistent with the game progress of the game role corresponding to the selected first server.
7. The method of claim 6, wherein accessing the corresponding first server based on the address comprises:
acquiring a starting instruction of a first game role;
uploading game operation data to a first server based on the address of the first server where the game instance corresponding to the first game role is located;
and receiving a game video stream corresponding to the game operation data.
8. The method of claim 7, wherein the controlling at least two game characters based on the first server comprises:
acquiring a switching instruction of a game role, wherein the switching instruction comprises switching the first game role into a second game role;
disconnecting the first server where the game instance corresponding to the first game role is located, and establishing the connection of the first server where the game instance corresponding to the second game role is located;
and interacting with the game server based on the first server where the game instance corresponding to the second game role is located.
9. A game control apparatus, characterized in that the apparatus comprises: the system comprises a receiving module, a distribution module, a creation module and a sending module; wherein the content of the first and second substances,
the receiving module is used for receiving a multi-role game request sent by the game terminal;
the distribution module is used for responding to the multi-role game request and distributing at least two first servers to the game terminal;
the creating module is used for creating game instances corresponding to game roles on the first server respectively;
the sending module is used for sending the address of a first server where a game instance corresponding to each game role is located to the game terminal, so that the game terminal accesses the corresponding first server through the address, and the control of at least two game roles is realized through the first server; the game terminal selects one of the at least two first servers to establish connection, and the other unconnected first servers still keep the state of accessing the game server, so that the game progress of the unselected game role is consistent with the game progress of the game role corresponding to the selected first server.
10. A game control apparatus, characterized in that the apparatus comprises: the device comprises a sending module, a receiving module, an access module and a control module; wherein the content of the first and second substances,
the sending module is used for sending a multi-role game request;
the receiving module is used for receiving the address of a first server where a game instance corresponding to each game role is located;
the access module is used for accessing the corresponding first server based on the address;
the control module is used for controlling at least two game characters based on the first server;
when the connection with one first server of the at least two first servers is selected, the other unconnected first servers still keep the state of accessing the game server, so that the game progress of the unselected game role is consistent with the game progress of the game role corresponding to the selected first server.
11. A storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the game control method of any one of claims 1 to 5.
12. A game control apparatus comprising a memory, a processor and an executable program stored on the memory and executable by the processor, wherein the processor executes the executable program to perform the game control method of any one of claims 1 to 5.
13. A storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the game control method of any one of claims 6 to 8.
14. A game control apparatus comprising a memory, a processor and an executable program stored on the memory and executable by the processor, wherein the processor executes the executable program to perform the game control method of any one of claims 6 to 8.
CN201810379998.9A 2018-04-25 2018-04-25 Game control method, device and storage medium Active CN108568109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810379998.9A CN108568109B (en) 2018-04-25 2018-04-25 Game control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810379998.9A CN108568109B (en) 2018-04-25 2018-04-25 Game control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108568109A CN108568109A (en) 2018-09-25
CN108568109B true CN108568109B (en) 2021-08-06

Family

ID=63575246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810379998.9A Active CN108568109B (en) 2018-04-25 2018-04-25 Game control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108568109B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918238A (en) * 2019-01-24 2019-06-21 孙久恒 A kind of terminal operation method and system
CN110368686A (en) * 2019-07-03 2019-10-25 上海闻泰信息技术有限公司 Cloud game implementation method, device, cloud server, terminal and medium
CN111790159B (en) * 2019-12-20 2022-12-23 厦门雅基软件有限公司 Data processing method, device, equipment and computer readable storage medium
CN111611079A (en) * 2020-05-22 2020-09-01 西安万像电子科技有限公司 Method and device for scheduling server
CN111803929A (en) * 2020-05-26 2020-10-23 厦门雅基软件有限公司 Control object switching method and device, electronic equipment and computer storage medium
CN111803926B (en) * 2020-06-05 2023-03-24 厦门雅基软件有限公司 Matching method and device of control object in cloud application and electronic equipment
CN111773691A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 Cloud game service system, cloud client and data processing method
CN112044079B (en) * 2020-10-14 2023-02-07 腾讯科技(深圳)有限公司 Game running method and device, storage medium and electronic equipment
CN112999662A (en) * 2021-02-26 2021-06-22 上海硬通网络科技有限公司 Game role switching method and device and electronic equipment
CN113440844B (en) * 2021-08-27 2021-11-16 网易(杭州)网络有限公司 Information processing method and device suitable for game and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9710968B2 (en) * 2012-12-26 2017-07-18 Help Lightning, Inc. System and method for role-switching in multi-reality environments
CN103908778A (en) * 2014-04-04 2014-07-09 深圳市同洲电子股份有限公司 Game control method and related terminals
CN105641934B (en) * 2015-12-25 2019-05-14 北京像素软件科技股份有限公司 The method and device that player role switches in real time in a kind of same account

Also Published As

Publication number Publication date
CN108568109A (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN108568109B (en) Game control method, device and storage medium
US10814227B2 (en) Game state save, transfer and resume for cloud gaming
CN109562296B (en) Cloud gaming device handover
CA2814420C (en) Load balancing between general purpose processors and graphics processors
CN108499100B (en) Cloud game error recovery method and system based on edge calculation
CN110333947B (en) Method, device, equipment and medium for loading subcontracting resources of game application
US9349201B1 (en) Command sentinel
US20220226736A1 (en) Selection of virtual server for smart cloud gaming application from multiple cloud providers based on user parameters
US9908047B2 (en) User save data migration based on location information
WO2004056428A2 (en) System and method for a gaming console offering multiple services
JPWO2013128709A1 (en) Information processing system, information processing method, information processing program, computer-readable recording medium recording the information processing program, and information processing apparatus
CN111803923A (en) Game sharing method based on cloud mobile phone system, electronic equipment and storage medium
JP2023548708A (en) Screen display methods, devices, terminal equipment and computer programs
CN115445194A (en) Rendering method, device and equipment of game and storage medium
CN108635862B (en) Operation control method, device and storage medium
CN115364477A (en) Cloud game control method and device, electronic equipment and storage medium
CN114090085A (en) Object control method and related device
US8972479B2 (en) Methods and apparatus for online program application execution between servers
CN113329104A (en) Multi-node server, interaction method, device, exchange chip and medium
CN112494931A (en) Cloud game control method, system, server and computer-readable storage medium
CN111930724A (en) Data migration method and device, storage medium and electronic equipment
US11167212B1 (en) Maintaining session state using redundant servers
US11465045B1 (en) Maintaining session state using redundant servers

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
GR01 Patent grant
GR01 Patent grant