CN112569592A - Game sharing method and device and computer equipment - Google Patents

Game sharing method and device and computer equipment Download PDF

Info

Publication number
CN112569592A
CN112569592A CN201910935263.4A CN201910935263A CN112569592A CN 112569592 A CN112569592 A CN 112569592A CN 201910935263 A CN201910935263 A CN 201910935263A CN 112569592 A CN112569592 A CN 112569592A
Authority
CN
China
Prior art keywords
game
user terminal
game control
control right
data interaction
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
CN201910935263.4A
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.)
Shanghai Hode Information Technology Co Ltd
Original Assignee
Shanghai Hode Information Technology 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 Shanghai Hode Information Technology Co Ltd filed Critical Shanghai Hode Information Technology Co Ltd
Priority to CN201910935263.4A priority Critical patent/CN112569592A/en
Publication of CN112569592A publication Critical patent/CN112569592A/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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • 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 sharing method, which comprises the following steps: receiving a game control request corresponding to a target game sent by a first user terminal, forwarding the game control request to a second user terminal and reminding the second user terminal to confirm; and receiving confirmation information of the second user terminal, and transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset for the user terminal to perform game data interaction with a game server corresponding to the target game. The invention also provides a game sharing device, computer equipment and a computer readable storage medium. The invention realizes the online transfer of the operation authority of the game role from one user terminal to another user terminal in the game process through the online transfer of the game control authority.

Description

Game sharing method and device and computer equipment
Technical Field
The present invention relates to the field of computer internet technologies, and in particular, to a game sharing method and apparatus, a computer device, and a computer-readable storage medium.
Background
At present, a player is connected to a game server through a user terminal in a wired or wireless manner, then logs in an established game role in the game server through an account, and further performs game data interaction with the game server, and meanwhile, the game server sends audio and video data related to the game role to the user terminal differently. However, each game character is operated and controlled by a user terminal corresponding to a registered game account, and the game account cannot be simultaneously registered in a plurality of user terminals, so that the conventional game method cannot transfer the operation authority of the game character from one user terminal to another user terminal on line.
Disclosure of Invention
In view of the above, the present invention provides a game sharing method, device, computer device and computer readable storage medium, which can solve the problem that the operation authority of a game character cannot be transferred from one user terminal to another user terminal online in the game process.
First, to achieve the above object, the present invention provides a game sharing method, including:
receiving a game control request corresponding to a target game transmitted by a first user terminal; forwarding the game control request to a second user terminal, and reminding the second user terminal to confirm the game control request; receiving confirmation information of the second user terminal; and when the confirmation information of the second user terminal is agreement, transferring the game control right of the target game from the second user terminal to the first user terminal, wherein the game control right is preset for the user terminal to perform game data interaction with a game server corresponding to the target game.
Preferably, the method further comprises: acquiring game audio and video data from a game server in real time; and synchronously distributing the game audio and video data to all user terminals.
Preferably, the method further comprises: monitoring a data interaction state of the first user terminal and the game server, wherein the data interaction state comprises a connection non-interaction data state, a connection interaction data state and a disconnection state; and when the data interaction state is a disconnection state and the duration time exceeds a first time threshold value, or the data interaction state is a connection non-interaction state and the duration time exceeds a second time threshold value, transferring the game control right of the target game from the first user terminal to a third user terminal according to a preset game control right automatic transfer principle.
Preferably, the game control automatic transfer principle includes: and selecting the user terminal with the highest user authority level or the longest continuous connection time of the user terminal as the transferred user terminal.
Preferably, the method further comprises: receiving a game control transfer request corresponding to a target game transmitted by a first user terminal; acquiring fourth user terminal information in the transfer object information included in the game control transfer request; and transferring the game control right of the target game to a fourth user terminal from the first user terminal.
Preferably, when the game control right includes a game data interaction right for game data interaction, the transfer of the game control right includes: forbidding the game data interaction authority of the user terminal of the transfer party; and opening the game data interaction authority of the transferred party user side.
Preferably, when the game control right comprises a game data interface for game data interaction, the transfer of the game control right comprises: closing a game data interface special for game data interaction distributed to the user terminal of the transfer party; and distributing a game data interface special for game data interaction for the client side of the transferred party.
Further, to achieve the above object, the present invention provides a game sharing apparatus, comprising:
the game control system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a game control request which is sent by a first user terminal and corresponds to a target game; the forwarding module is used for forwarding the game control request to a second user terminal and reminding the second user terminal to confirm the game control request; the receiving module is further configured to receive confirmation information of the second user terminal; and the transfer module is used for transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset and is used for game data interaction between the user terminal and a game server corresponding to the target game.
Further, the present invention also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the computer program implements the steps of the game sharing method as described above when executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing a computer program, which is executable by at least one processor to cause the at least one processor to execute the steps of the game sharing method as described above.
Compared with the prior art, the game sharing method, the game sharing device, the computer equipment and the computer readable storage medium provided by the invention can receive the game control request corresponding to the target game sent by the first user terminal, and then forward the game control request to the second user terminal and remind the second user terminal to confirm; and then receiving confirmation information of the second user terminal, and transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset for game data interaction between the user terminal and a game server corresponding to the target game. In summary, the online transfer of the game control right is realized, so that the operation right of the game role is transferred from one user terminal to another user terminal online in the game process.
Drawings
FIG. 1 is a schematic diagram of an application environment of an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a game sharing method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart based on the first embodiment of FIG. 2;
FIG. 4 is a schematic flow chart based on the second embodiment of FIG. 2;
FIG. 5 is a schematic flow chart based on the third embodiment of FIG. 2;
FIG. 6 is a flowchart illustrating an embodiment of transferring game control when the game control in step S206 of FIG. 2 includes game data interaction rights for game data interaction;
FIG. 7 is a flow diagram illustrating another embodiment of transferring game control when the game control in step S206 of FIG. 2 includes a game data interface for game data interaction;
FIG. 8 is a diagram of an alternative hardware architecture for the computer device of the present invention;
FIG. 9 is a block diagram of a game sharing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. 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.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an application environment according to an embodiment of the present invention. Referring to fig. 1, the computer device 1 is connected to a game server 2, and obtains audio/video data related to a game from the game server 2; meanwhile, the computer device 1 is also connected with a plurality of user terminals, and distributes the audio and video data related to the game acquired from the game server to all the user terminals; then, receiving a game data operation instruction sent by the user terminal 1 having the game control right, and sending the game data operation instruction to the game server 2, thereby implementing game data interaction between the user terminal 1 and the game server 2.
FIG. 2 is a flowchart illustrating a game sharing method according to an embodiment of the present invention. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed. The following description is made by taking a computer device as an execution subject.
As shown in fig. 2, the game sharing method may include steps S200 to S206, in which:
step S200, receiving a game control request corresponding to a target game transmitted by a first user terminal.
Step S202, the game control request is forwarded to a second user terminal, and the second user terminal is reminded to confirm the game control request.
Specifically, the computer device is connected to a game data server and simultaneously connected to a plurality of user terminals. In this embodiment, for example, the computer device establishes a live room (or party room) according to a request of a user terminal, and then other user terminals may apply for or be invited to join the live room. The live broadcast room is interactive platform software, wherein an interactive interface is provided for the user terminal to carry out function operations including inviting new users, applying or transferring game operation rights and the like. After the user terminals are connected to the computer device and join the live room, the interactive interface of the live room can be shared with each user terminal.
In this embodiment, for example, if a second user terminal first starts a game through the live broadcast room, the computer device will issue the game control right of the game to the second user terminal by default. In this embodiment, the game control right is preset for the user terminal to perform game data interaction with the game server corresponding to the target game, and in addition, the game control right of one game character can only be held by one user terminal.
Therefore, when the first user terminal wants the game control right of a certain target game, it first needs to send a game control request corresponding to the target game to the computer device. In this embodiment, the first user terminal directly triggers the application through a click mode, a touch mode, a voice input mode, or the like through an interactive interface of the live broadcast room. Then, the computer device receives the game control request, forwards the game control request to a second user terminal, and prompts the second user terminal to confirm the game control request, for example, prompts the second user terminal through an interactive interface of the live broadcast room.
Step S204, receiving the confirmation information of the second user terminal.
Step S206, when the confirmation information of the second user terminal is agreement, transferring the game control right of the target game from the second user terminal to the first user terminal.
Specifically, the second user terminal receives the game control request corresponding to the target game forwarded by the computer device from the first user terminal, and then confirms the game control request. Then, the computer device further receives confirmation information of the second user terminal; and when the confirmation information of the second user terminal is the agreement, transferring the game control right of the target game to the first user terminal from the second user terminal. In the process of transferring the game control right, the computer device can maintain a connection relationship with the game server, and then after transferring the game control right to the first user terminal, the first user terminal can directly enter a game character state at the last moment when the second user terminal operates the game character, and then continue to perform game operation with the first user terminal.
Of course, if the computer device does not receive the confirmation information of the second user terminal within the preset time period or receives that the confirmation information of the second user terminal is not an agreement, the computer device performs feedback reminding to the first user terminal, for example, a message of "do not succeed in applying for your application, please apply for again or wait".
Referring to fig. 3, in an exemplary embodiment, the game sharing method provided by the present invention may further include steps S300 to S302, in addition to the steps S200 to S206 described above:
and step S300, acquiring game audio and video data from the game server in real time.
Step S302, the game audio and video data are synchronously distributed to all the user terminals.
Specifically, the computer device further provides a display interface through the live broadcast room, and a user of the display interface displays a game picture or other video pictures. In this embodiment, the computer device may further obtain game audio/video data from the game server in real time, and then display the data through a display interface of the live broadcast room. Of course, after each user terminal is connected with the computer device, the computer device can also synchronously distribute the content of the display interface of the live broadcast room, namely the game audio and video data to all the user terminals. Therefore, each user terminal can watch the game picture of the user terminal with the game control right during game operation in real time and acquire the corresponding game audio data.
In a specific embodiment, the computer device performs game picture rendering and playing through a high-performance operating environment, then the rendered image is compressed through an h.264/h.265 algorithm, and then an RTSP protocol is used to transmit audio and video stream to the user terminal, the user terminal sends a game operation data instruction to the computer device through a UDP or other protocol during a game operation process, and then the computer device forwards the game server, the game server performs game operation after receiving the operation instruction, re-renders, and transmits the game image to the computer device, and the computer device forwards the game control data instruction to the user terminal with game control right and mirrors the game image to other user terminals, so that integration of cloud game, live broadcast and online social contact is achieved.
Referring to fig. 4, in an exemplary embodiment, the game sharing method provided by the present invention may further include steps S400 to S402, in addition to the steps S200 to S206 described above:
step S400, monitoring the data interaction state of the first user terminal and the game server, wherein the data interaction state comprises a connection non-interaction data state, a connection interaction data state and a disconnection state.
Step S402, when the data interaction state is a disconnection state and the duration time exceeds a first time threshold value, or a connection non-interaction data state and the duration time exceeds a second time threshold value, transferring the game control right of the target game from the first user terminal to a third user terminal according to a preset game control right automatic transfer principle.
Specifically, after the computer device transfers the game control right of the target game from the second user terminal to the first user terminal, the data interaction state of the first user terminal and the game server can be monitored. In this embodiment, the first user terminal has a game control right, and thus may connect to the game server through the computer device and transmit a game data manipulation instruction to the game server. The computer device may then monitor data interaction states of the first user terminal and the game server, for example, the data interaction states include a connection non-interaction data state, a connection interaction data state, and a disconnection state. Wherein the connection interaction data state represents a normal game state; the connection non-interactive data state represents that the first user terminal is connected with the game server but does not execute game operation; the disconnected state indicates that the first user terminal is disconnected from the game server.
When the computer device monitors that the data interaction state of the first user terminal and the game server is a disconnection state and the duration time exceeds a first time threshold value, such as 1min, or monitors that the data interaction state of the first user terminal and the game server is a connection non-interaction data state and the duration time exceeds a second time threshold value, such as 5min, the game control right of the target game is transferred from the first user terminal to a third user terminal according to a preset game control right automatic transfer principle, so that the problem that the game control right can be automatically shared to other user terminals when the user terminal with the game control right cannot normally execute game operation is solved.
In this embodiment, the game control authority automatic transfer principle includes: and selecting the user terminal with the highest user authority level or the longest continuous connection time of the user terminal as the transferred user terminal. For example, the computer device obtains the continuous connection duration of all user terminals joining the live broadcast room in the live broadcast activity, then selects the user terminal with the longest continuous connection duration as the transferred party user terminal, and then transfers the game control right to the transferred party user terminal; or selecting a user terminal with the highest authority level from all user terminals added into the live broadcast room in the live broadcast as a transferred party user terminal, and then transferring the game control authority to the transferred party user terminal, wherein the authority level can be the platform account number level of the live broadcast room platform.
Referring to fig. 5, in an exemplary embodiment, the game sharing method provided in the present invention may further include steps S500 to S504, in addition to the steps S200 to S206 described above:
step S500, receiving a game control transfer request corresponding to a target game transmitted by a first user terminal.
Step S502, obtaining the fourth user terminal information in the transfer target information included in the game control transfer request.
Step S504, the game control right of the target game is transferred from the first user terminal to a fourth user terminal.
Specifically, after the computer device transfers the game control right of the target game from the second user terminal to the first user terminal, the first user terminal may perform a game operation on the target game. When the first user terminal wants to directly transfer the game control right to other user terminals, such as a fourth user terminal, the first user terminal can directly select the transferred user terminal to transfer the game control right through the interactive interface of the live broadcast room, and then send a transfer request of the game control right corresponding to the target game to the computer device.
The computer device receives a game control transfer request corresponding to a target game sent by a first user terminal, then acquires fourth user terminal information in transfer object information included in the game control right transfer request, and finally transfers the game control right of the target game to the fourth user terminal by the first user terminal. Thus, a user terminal that owns game control can share game control to other online user terminals.
Referring to fig. 6, in an exemplary embodiment, when the game control right in step S206 of fig. 2 includes a game data interaction right for game data interaction, the transferring of the game control right may further include steps S600 to S602:
step S604, forbidding the game data interaction authority of the user terminal of the transfer party.
Step S604, the user of the transferred party starts the game data interaction right.
Specifically, the computer device sets a game control right having a game data interaction right as a target game through the established live broadcast room platform, and the user terminal to which the game data interaction right is assigned can control a target game role in the game server to perform game operation.
Therefore, when the second user terminal agrees to transfer the game control right to the first user terminal, the second user terminal generates a game control right transfer request and sends the game control right transfer request to the computer device. Then, the computer device forbids the game data interaction authority of the user terminal of the transfer party according to the game control authority transfer request, and then opens the game data interaction authority of the user terminal of the transferred party.
Referring to fig. 7, in an exemplary embodiment, when the game control right includes a game data interface for game data interaction in step S206 of fig. 2, the transferring of the game control right may further include steps S700 to S702:
step S700, closing the game data interface special for game data interaction distributed to the user terminal of the transfer party.
Step S702, distributing game data interface special for game data interaction for the transferred user terminal.
Specifically, the computer device sets a game data interface dedicated for game data interaction as the game control right, and the game data interface is used for transmitting a game data operation instruction alone, so that the computer device only distributes the game data interface dedicated for game data interaction to the user terminal having the game control right, and then the user terminal having the game control right sends the game data operation instruction to the game server through the game data interface to control the corresponding target game role.
Therefore, when the second user terminal agrees to transfer the game control right to the first user terminal, the second user terminal generates a game control right transfer request and sends the game control right transfer request to the computer device. Then, the computer device closes the game data interface special for game data interaction distributed to the user terminal of the transfer party according to the game control right transfer request, and then distributes the game data interface special for game data interaction for the user terminal of the transferred party.
As can be seen from the foregoing, the game sharing method provided in this embodiment can receive a game control request corresponding to a target game sent by a first user terminal, and then forward the game control request to a second user terminal and remind the second user terminal to confirm; and then receiving confirmation information of the second user terminal, and transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset for game data interaction between the user terminal and a game server corresponding to the target game. In summary, the online transfer of the game control right is realized, so that the operation right of the game role is transferred from one user terminal to another user terminal online in the game process.
In addition, the present invention also provides a computer device, which is shown in fig. 8 and is a schematic diagram of an optional hardware architecture of the computer device of the present invention.
In this embodiment, the computer device 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13, which may be communicatively connected to each other through a system bus. The computer device 1 is connected to a network (not shown in fig. 8) through a network interface 13, and is connected to a User Terminal such as a Mobile Terminal (Mobile Terminal), a User Equipment (UE), a Mobile phone (handset), a portable device (portable Equipment), a PC Terminal, a game server, and the like (not shown in fig. 8) through the network for data interaction. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, or a communication network.
It is noted that fig. 8 only shows a computer device 1 with components 11-13, but it is to be understood that not all shown components are required to be implemented, and that more or less components may be implemented instead.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the computer device 1, such as a hard disk or a memory of the computer device 1. In other embodiments, the memory 11 may also be an external storage device of the computer device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided in the computer device 1. Of course, the memory 11 may also comprise both an internal storage unit of the computer device 1 and an external storage device thereof. In this embodiment, the memory 11 is generally used for storing an operating system installed in the computer device 1 and various types of application software, such as program codes of the barrier application, program codes of the game sharing apparatus 200, and the like. Furthermore, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 12 is generally used for controlling the overall operation of the computer device 1, such as performing data interaction or communication related control and processing. In this embodiment, the processor 12 is configured to run the program code stored in the memory 11 or process data, for example, run an application program of the game sharing apparatus 200, which is not limited herein.
The network interface 13 may comprise a wireless network interface or a wired network interface, and the network interface 13 is generally used for establishing communication connection between the computer device 1 and user terminals such as mobile terminals, user equipment, mobile phones and portable devices, PC terminals, game servers and the like.
In this embodiment, when the game sharing device 200 is installed and operated in the computer device 1, when the game sharing device 200 is operated, the game control request corresponding to the target game sent by the first user terminal can be received, and then forwarded to the second user terminal, and the second user terminal is prompted to confirm; and then receiving confirmation information of the second user terminal, and transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset for game data interaction between the user terminal and a game server corresponding to the target game. In summary, the online transfer of the game control right is realized, so that the operation right of the game role is transferred from one user terminal to another user terminal online in the game process.
The hardware structure and functions of the computer apparatus of the present invention have been described in detail so far. Hereinafter, various embodiments of the present invention will be proposed based on the above-described computer apparatus.
Referring to fig. 9, a block diagram of a game sharing device 200 according to an embodiment of the present invention is shown.
In this embodiment, the game sharing apparatus 200 includes a series of computer program instructions stored on the memory 11, which when executed by the processor 12, can implement the game sharing functions of the embodiments of the present invention. In some embodiments, the game sharing apparatus 200 may be divided into one or more modules based on the particular operations implemented by the portions of the computer program instructions. For example, in fig. 6, the game sharing apparatus 200 may be divided into a receiving module 201, a forwarding module 202, a transferring module 203, an obtaining module 204, a distributing module 205, and a monitoring module 206. Wherein:
the receiving module 201 is configured to receive a game control request corresponding to a target game sent by a first user terminal.
The forwarding module 202 is configured to forward the game control request to a second user terminal, and prompt the second user terminal to confirm the game control request.
Specifically, the computer device 1 is connected to a game data server, and simultaneously connected to a plurality of user terminals. In this embodiment, for example, the computer device 1 establishes a live room (or party room) according to a request of a user terminal, and then other user terminals may apply for or be invited to join the live room. The live broadcast room is interactive platform software, wherein an interactive interface is provided for the user terminal to carry out function operations including inviting new users, applying or transferring game operation rights and the like. After a user terminal is connected to the computer device 1 and joined to the live room, the interactive interface of the live room can be shared to each user terminal.
In this embodiment, for example, if a second user terminal first starts a game through the live broadcast room, the computer device 1 will issue the game control right of the game to the second user terminal by default. In this embodiment, the game control right is preset for the user terminal to perform game data interaction with the game server corresponding to the target game, and in addition, the game control right of one game character can only be held by one user terminal.
Therefore, when the first user terminal wants the game control right of a certain target game, it first needs to transmit a game control request corresponding to the target game to the computer device 1. In this embodiment, the first user terminal directly triggers the application through a click mode, a touch mode, a voice input mode, or the like through an interactive interface of the live broadcast room. Then, the receiving module 201 receives the game control request, and the forwarding module 202 forwards the game control request to a second user terminal, and prompts the second user terminal to confirm the game control request, for example, prompts the second user terminal through an interactive interface of the live broadcast room.
The receiving module 201 is further configured to receive the confirmation information of the second user terminal.
The transferring module 203 is configured to transfer the game control right of the target game from the second user terminal to the first user terminal when the confirmation information of the second user terminal is an agreement.
Specifically, the second user terminal receives the game control request corresponding to the target game forwarded by the computer device from the first user terminal, and then confirms the game control request. Then, the receiving module 201 further receives the confirmation information of the second user terminal. When the confirmation information of the second user terminal is an agreement, the transfer module 203 transfers the game control right of the target game from the second user terminal to the first user terminal. In the process of transferring the game control right, the computer device 1 may maintain a connection relationship with the game server, and then after transferring the game control right to the first user terminal, the first user terminal may directly enter a game character state at the last moment when the second user terminal operates the game character, and then continue the game operation with the first user terminal.
In a specific embodiment, when the game control right includes a game data interaction right for game data interaction, the transferring process of the game control right by the transferring module 203 includes: forbidding the game data interaction authority of the user terminal of the transfer party, and opening the game data interaction authority of the user terminal of the transferred party.
Specifically, the computer device 1 sets a game control right having a game data interaction right as a target game through the established live broadcast room platform, and the user terminal to which the game data interaction right is assigned may control a target game character in the game server to perform a game operation.
Therefore, when the second user terminal agrees to transfer the game control right to the first user terminal, the second user terminal generates a game control right transfer request and transmits the game control right transfer request to the computer device 1. Then, the receiving module 201 receives the game control right transfer request, and then the transferring module 203 prohibits the game data interaction authority of the user terminal of the transferring party according to the game control right transfer request, and then opens the game data interaction authority opened by the user side of the transferred party.
In another embodiment, when the game control right includes a game data interface for game data interaction, the transferring process of the game control right by the transferring module 203 includes: and closing the game data interface special for game data interaction distributed to the user terminal of the transfer party, and distributing the game data interface special for game data interaction for the user terminal of the transferred party.
Specifically, the computer device 1 sets a game data interface dedicated for game data interaction as the game control right, and the game data interface is used for transmitting a game data operation instruction alone, so that the computer device 1 only distributes the game data interface dedicated for game data interaction to the user terminal having the game control right, and then the user terminal having the game control right sends the game data operation instruction to the game server through the game data interface to control the corresponding target game character.
Therefore, when the second user terminal agrees to transfer the game control right to the first user terminal, the second user terminal generates a game control right transfer request and transmits the game control right transfer request to the computer device 1. Then, the receiving module 201 receives the game control right transfer request, and then, the transferring module 203 closes the game data interface dedicated for game data interaction distributed to the user terminal of the transferring party according to the game control right transfer request, and then distributes the game data interface dedicated for game data interaction for the user terminal of the transferred party.
Of course, if the receiving module 201 does not receive the confirmation information of the second user terminal within the preset time period, or if the confirmation information of the second user terminal is not received, it sends a feedback prompt to the first user terminal, such as a message of "do not apply for you successfully, please apply for again or wait".
The obtaining module 204 is configured to obtain the game audio and video data from the game server in real time.
The distribution module 205 is configured to synchronously distribute the game audio and video data to all user terminals.
Specifically, the computer device 1 further provides a display interface through the live broadcast room, and a user of the display interface displays a game picture or other video pictures. In this embodiment, the obtaining module 204 can obtain the game audio and video data from the game server in real time, and then display the data through the display interface of the live broadcast room. Of course, after each user terminal is connected to the computer device 1, the distribution module 205 also synchronously distributes the content of the display interface of the live broadcast room, that is, the game audio/video data to all the user terminals. Therefore, each user terminal can watch the game picture of the user terminal with the game control right during game operation in real time and acquire the corresponding game audio data.
In a specific embodiment, the distribution module 205 performs game screen rendering and playing through a high performance operating environment, then the rendered image is compressed through h.264/h.265 algorithm, and then the audio/video stream is transmitted to the user terminal through RTSP protocol, the user terminal sends a game operation data command to the computer device 1 through UDP or other protocols in the game operation process, then the computer device 1 forwards the game server, the game server performs game operation after receiving the operation command, re-renders, and then transmits the game image to the computer device 1, and the distribution module 205 forwards the game operation data command to the user terminal with game control right and mirrors the game operation data command to other user terminals, thereby realizing integration of cloud game, live broadcast, and online social contact.
The monitoring module 206 is configured to monitor a data interaction state between the first user terminal and the game server, where the data interaction state includes a connection non-interaction data state, a connection interaction data state, and a disconnection state.
The transfer module 203 is further configured to transfer the game control right of the target game from the first user terminal to a third user terminal according to a preset automatic transfer principle of the game control right when it is monitored that the data interaction state is a disconnected state and the duration time exceeds a first time threshold, or when the data interaction state is a connected non-interactive state and the duration time exceeds a second time threshold.
Specifically, after the transfer module 203 transfers the game control right of the target game from the second user terminal to the first user terminal, the monitoring module 206 continues to monitor the data interaction state between the first user terminal and the game server. In this embodiment, the first user terminal has a game control right, and thus can connect to the game server through the computer device 1 and transmit a game data manipulation instruction to the game server. Accordingly, the monitoring module 206 may monitor the data interaction status of the first user terminal with the game server, for example, the data interaction status includes a connection non-interaction data status, a connection interaction data status, and a disconnection status. Wherein the connection interaction data state represents a normal game state; the connection non-interactive data state represents that the first user terminal is connected with the game server but does not execute game operation; the disconnected state indicates that the first user terminal is disconnected from the game server.
When the monitoring module 206 monitors that the data interaction state of the first user terminal and the game server is a disconnection state and the duration time exceeds a first time threshold, for example, 1min, or monitors that the data interaction state of the first user terminal and the game server is a connection non-interaction data state and the duration time exceeds a second time threshold, for example, 5min, then the transferring module 203 transfers the game control right of the target game from the first user terminal to a third user terminal according to a preset game control right automatic transfer principle, thereby solving the problem that when a user terminal with the game control right cannot normally execute game operation, the game control right can be automatically shared to other user terminals.
In this embodiment, the game control authority automatic transfer principle includes: and selecting the user terminal with the highest user authority level or the longest continuous connection time of the user terminal as the transferred user terminal. For example, the transferring module 203 obtains the continuous connection duration of all the user terminals joining the live broadcast room in the live broadcast activity, then selects the user terminal with the longest continuous connection duration as the transferred party user terminal, and then transfers the game control right to the transferred party user terminal; or selecting a user terminal with the highest authority level from all user terminals added into the live broadcast room in the live broadcast as a transferred party user terminal, and then transferring the game control authority to the transferred party user terminal, wherein the authority level can be the platform account number level of the live broadcast room platform.
In addition, in a specific embodiment, the receiving module 201 is further configured to receive a game control transfer request corresponding to the target game, which is sent by the first user terminal; the obtaining module 204 is further configured to obtain fourth user terminal information in the transfer object information included in the game control transfer request; the transferring module 203 is further configured to transfer the game control right of the target game from the first user terminal to a fourth user terminal.
Specifically, after the transfer module 203 transfers the game control right of the target game from the second user terminal to the first user terminal, the first user terminal may perform a game operation on the target game. When the first user terminal wants to directly transfer the game control right to another user terminal, such as a fourth user terminal, the transferred user terminal can be directly selected through the interactive interface of the live broadcast room to transfer the game control right, and then a transfer request of the game control right corresponding to the target game is sent to the computer device 1.
The receiving module 201 receives a game control transfer request corresponding to a target game sent by a first user terminal, then the obtaining module 204 obtains fourth user terminal information in transfer object information included in the game control right transfer request, and finally the transferring module 203 transfers the game control right of the target game to the fourth user terminal by the first user terminal. Thus, a user terminal that owns game control can share game control to other online user terminals.
As can be seen from the above, the computer device 1 is capable of receiving a game control request corresponding to a target game sent by a first user terminal, and then forwarding the game control request to a second user terminal and prompting the second user terminal to confirm; and then receiving confirmation information of the second user terminal, and transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset for game data interaction between the user terminal and a game server corresponding to the target game. In summary, the online transfer of the game control right is realized, so that the operation right of the game role is transferred from one user terminal to another user terminal online in the game process.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A game sharing method, the method comprising:
receiving a game control request corresponding to a target game transmitted by a first user terminal;
forwarding the game control request to a second user terminal, and reminding the second user terminal to confirm the game control request;
receiving confirmation information of the second user terminal;
and when the confirmation information of the second user terminal is agreement, transferring the game control right of the target game from the second user terminal to the first user terminal, wherein the game control right is preset for the user terminal to perform game data interaction with a game server corresponding to the target game.
2. The game sharing method of claim 1, wherein the method further comprises:
acquiring game audio and video data from a game server in real time;
and synchronously distributing the game audio and video data to all user terminals.
3. The game sharing method of claim 1, wherein the method further comprises:
monitoring a data interaction state of the first user terminal and the game server, wherein the data interaction state comprises a connection non-interaction data state, a connection interaction data state and a disconnection state;
and when the data interaction state is a disconnection state and the duration time exceeds a first time threshold value, or the data interaction state is a connection non-interaction state and the duration time exceeds a second time threshold value, transferring the game control right of the target game from the first user terminal to a third user terminal according to a preset game control right automatic transfer principle.
4. A game sharing method according to claim 3, wherein the game control automatic transfer principle includes: and selecting the user terminal with the highest user authority level or the longest continuous connection time of the user terminal as the transferred user terminal.
5. The method of claim 1, wherein the method further comprises:
receiving a game control transfer request corresponding to a target game transmitted by a first user terminal;
acquiring fourth user terminal information in the transfer object information included in the game control transfer request;
and transferring the game control right of the target game to a fourth user terminal from the first user terminal.
6. The game sharing method of claim 1, wherein when the game control right includes a game data interaction right for game data interaction, the transfer of the game control right includes:
forbidding the game data interaction authority of the user terminal of the transfer party;
and opening the game data interaction authority of the transferred party user side.
7. The game sharing method of claim 1, wherein when the game control right includes a game data interface for game data interaction, the transferring of the game control right includes:
closing a game data interface special for game data interaction distributed to the user terminal of the transfer party;
and distributing a game data interface special for game data interaction for the client side of the transferred party.
8. A game sharing apparatus, the apparatus comprising:
the game control system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a game control request which is sent by a first user terminal and corresponds to a target game;
the forwarding module is used for forwarding the game control request to a second user terminal and reminding the second user terminal to confirm the game control request;
the receiving module is further configured to receive confirmation information of the second user terminal;
and the transfer module is used for transferring the game control right of the target game to the first user terminal from the second user terminal when the confirmation information of the second user terminal is agreement, wherein the game control right is preset and is used for game data interaction between the user terminal and a game server corresponding to the target game.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory, a processor, the memory having stored thereon a computer program being executable on the processor, the computer program, when executed by the processor, realizing the steps of the game sharing method as claimed in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executable by at least one processor to cause the at least one processor to perform the steps of the game sharing method according to any one of claims 1-7.
CN201910935263.4A 2019-09-29 2019-09-29 Game sharing method and device and computer equipment Pending CN112569592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935263.4A CN112569592A (en) 2019-09-29 2019-09-29 Game sharing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935263.4A CN112569592A (en) 2019-09-29 2019-09-29 Game sharing method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN112569592A true CN112569592A (en) 2021-03-30

Family

ID=75111270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935263.4A Pending CN112569592A (en) 2019-09-29 2019-09-29 Game sharing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN112569592A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113230647A (en) * 2021-06-02 2021-08-10 北京字节跳动网络技术有限公司 Interaction method, interaction device and computer storage medium
CN113505354A (en) * 2021-09-10 2021-10-15 腾讯科技(深圳)有限公司 Data processing method, device and storage medium
CN113521730A (en) * 2021-07-23 2021-10-22 咪咕互动娱乐有限公司 Game control method, system, game control device and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099986A (en) * 2014-04-23 2015-11-25 深圳市快播科技有限公司 Network game data sharing method and server
CN108144303A (en) * 2017-12-01 2018-06-12 腾讯科技(深圳)有限公司 Exchange method and device, storage medium and electronic device between account number of playing
CN108717372A (en) * 2018-05-24 2018-10-30 网易(杭州)网络有限公司 Virtual object control method and device in a kind of scene of game
CN109107167A (en) * 2018-06-22 2019-01-01 网易(杭州)网络有限公司 Interaction control method, electronic equipment and storage medium in game
CN109395376A (en) * 2018-11-06 2019-03-01 网易(杭州)网络有限公司 Exchange method, device and system based on game live streaming
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN110120931A (en) * 2018-02-06 2019-08-13 腾讯科技(深圳)有限公司 A kind of information interacting method, device and storage medium
CN110213601A (en) * 2019-04-30 2019-09-06 大鱼互联科技(深圳)有限公司 A kind of live broadcast system and live broadcasting method based on cloud game, living broadcast interactive method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099986A (en) * 2014-04-23 2015-11-25 深圳市快播科技有限公司 Network game data sharing method and server
CN108144303A (en) * 2017-12-01 2018-06-12 腾讯科技(深圳)有限公司 Exchange method and device, storage medium and electronic device between account number of playing
CN110120931A (en) * 2018-02-06 2019-08-13 腾讯科技(深圳)有限公司 A kind of information interacting method, device and storage medium
CN108717372A (en) * 2018-05-24 2018-10-30 网易(杭州)网络有限公司 Virtual object control method and device in a kind of scene of game
CN109107167A (en) * 2018-06-22 2019-01-01 网易(杭州)网络有限公司 Interaction control method, electronic equipment and storage medium in game
CN109395376A (en) * 2018-11-06 2019-03-01 网易(杭州)网络有限公司 Exchange method, device and system based on game live streaming
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN110213601A (en) * 2019-04-30 2019-09-06 大鱼互联科技(深圳)有限公司 A kind of live broadcast system and live broadcasting method based on cloud game, living broadcast interactive method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113230647A (en) * 2021-06-02 2021-08-10 北京字节跳动网络技术有限公司 Interaction method, interaction device and computer storage medium
CN113521730A (en) * 2021-07-23 2021-10-22 咪咕互动娱乐有限公司 Game control method, system, game control device and medium
CN113521730B (en) * 2021-07-23 2023-10-20 咪咕互动娱乐有限公司 Game control method, game control system, game control device and medium
CN113505354A (en) * 2021-09-10 2021-10-15 腾讯科技(深圳)有限公司 Data processing method, device and storage medium

Similar Documents

Publication Publication Date Title
EP2652912B1 (en) Content sharing between a universal plug and play device and a wide area network device
CN107770761B (en) Bluetooth device sharing request and control method and device, and computer storage medium
CN112569592A (en) Game sharing method and device and computer equipment
US8068866B2 (en) Group communication server
US9100200B2 (en) Video augmented text chatting
CN102754387B (en) The system and method for multimedia conferencing is carried out between the telephone plant allowing UPnP and WAN equipment
US7433344B2 (en) Mobile communication system and method for providing real time messenger service among mobile communication terminals
KR20160144479A (en) Displaying video call data
US20130013709A1 (en) Method and apparatus for providing idle mode service
EP3185545A1 (en) Video conference control method and system
CN112738575A (en) Screen projection implementation method, device and system
CN111629240A (en) Multi-screen interactive display method and device
US10164784B2 (en) Communication terminal, communication system, and data transmission method
CN108540500B (en) Data transmission method, device, equipment and storage medium for multi-person conversation
WO2021155702A1 (en) Communication processing method and device, terminal, server, and storage medium
CN112738011A (en) Screen projection implementation method, device and system
CN113434105A (en) Screen projection control method and device, storage medium and electronic equipment
CN113179208B (en) Interaction method, interaction device and storage medium
EP2770757A1 (en) Method and terminal for information processing based on rcs-e system
KR101840752B1 (en) Terminal and operation method of terminal
US10205686B2 (en) Communication terminal, communication system, and output method
CN109104774B (en) Data transmission method and system
KR101921275B1 (en) Method and system of file transfer using device-to-device communication technique in messenger
CN109889758B (en) Video switching method, electronic device, computer equipment and readable storage medium
CN115002101B (en) File sharing method and related device for cloud conference

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