CN114272600A - Control right switching system, method, device, equipment and storage medium - Google Patents

Control right switching system, method, device, equipment and storage medium Download PDF

Info

Publication number
CN114272600A
CN114272600A CN202111462872.6A CN202111462872A CN114272600A CN 114272600 A CN114272600 A CN 114272600A CN 202111462872 A CN202111462872 A CN 202111462872A CN 114272600 A CN114272600 A CN 114272600A
Authority
CN
China
Prior art keywords
game
live broadcast
control right
parameter information
user account
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
CN202111462872.6A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111462872.6A priority Critical patent/CN114272600A/en
Publication of CN114272600A publication Critical patent/CN114272600A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present disclosure relates to a system, a method, a device and a storage medium for switching control right, wherein the system comprises a live broadcast server, a first device and a second device: the first equipment is used for playing games by a first user account, and the second equipment is used for playing games by a second user account; the method comprises the steps that after a live broadcast server obtains a control right switching request, operation parameter information of a game in a live broadcast room is obtained from first equipment, and the operation parameter information is sent to second equipment, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account; and the second equipment starts and controls a game pre-installed on the second equipment according to the operation parameter information, and pushes the audio and video data generated when the second equipment operates. Therefore, even if the party who gives the control right and the party who receives the control right run the game on different devices, the user does not need to manually log in the account again, the continuity of the game level can be maintained, and the user experience is improved.

Description

Control right switching system, method, device, equipment and storage medium
Technical Field
The present application relates to the field of live video, and in particular, to a system, a method, an apparatus, a device, and a storage medium for switching control rights.
Background
In some live broadcast scenes, a game anchor can give a game control right to a certain audience in a live broadcast room, and the audience replaces the game anchor to continue playing the game so as to enhance the interactivity of watching the live broadcast of the game.
Disclosure of Invention
In order to solve the problems that in the related art, when the control right of a game is switched, a user account possibly needs to log in the account again, the continuity of a game level is difficult to maintain, and the experience of the user account is poor, the invention provides a control right switching system, a control right switching method, a control right switching device, control right switching equipment and a storage medium, and the technical scheme of the invention is as follows:
according to a first aspect of the embodiments of the present disclosure, a system for switching control right is provided, where the system includes a live broadcast server, a first device, and a second device:
the first device is used for playing the game by the first user account; the second device is used for playing the game by the second user account;
the live broadcast server is used for acquiring running parameter information of a game in a live broadcast room from first equipment after acquiring a control right switching request, and sending the running parameter information to second equipment, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account;
the second device is further configured to start and control the game pre-installed in the second device according to the operation parameter information, and push streaming audio and video data generated when the second device operates in the game.
Optionally, the second device is a second client corresponding to the second user account in the live broadcast room;
the second client is specifically used for pushing audio and video data generated when the game runs at the second client to the live broadcast server;
and the live broadcast server is also used for distributing the audio and video data of the game to other clients except the second client in the live broadcast room.
Optionally, the second device is a game server, and the system further includes a second client corresponding to the second user account in the live broadcast room;
the live broadcast server is further used for sending the operation parameter information to the second client;
the second client is further configured to send the operation parameter information to the game server when the game is not installed on the second client.
Optionally, the live broadcast server is specifically configured to obtain, from a first device, operation parameter information of a game in a live broadcast room after receiving a control right switching request sent by a first client, where the first client is a client corresponding to the first user account in the live broadcast room or an anchor client in the live broadcast room.
Optionally, the live broadcast server is further configured to obtain login information and progress information of a game in a live broadcast room from a first device, generate operation parameter information of the game according to the login information and the progress information, and send the operation parameter information to the second device;
the second device is further configured to analyze the operation parameter information, log in the game pre-installed in the second device according to the login information, and control the progress of the game according to the progress information.
Optionally, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
According to a second aspect of the embodiments of the present disclosure, there is provided a control right switching method applied to a live broadcast server, the method including:
after a control right switching request is acquired, acquiring running parameter information of a game in a live broadcast room from first equipment, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account, and the first equipment is used for the first user account to play the game;
and sending the operation parameter information to second equipment so that the second equipment starts and controls the game pre-installed on the second equipment according to the operation parameter information, wherein the second equipment is used for the second user account to play the game.
Optionally, the second device is a second client corresponding to the second user account in the live broadcast room, and the method further includes:
receiving audio and video data generated when the game pushed by the second client runs at the second client;
and distributing the audio and video data of the game to other clients except the second client in the live broadcast room.
Optionally, the second device is a game server, and the sending the operation parameter information to the second device includes:
and sending the operation parameter information to the second client so that the second client sends the operation parameter information to the game server under the condition that the game is not installed on the second client.
Optionally, after the control right switching request is obtained, obtaining, from the first device, operation parameter information of a game in the live broadcast room includes:
after receiving a control right switching request sent by a first client, obtaining operation parameter information of a game in a live broadcast room from first equipment, wherein the first client is a client corresponding to a first user account in the live broadcast room or a main broadcast client in the live broadcast room.
Optionally, the acquiring, from the first device, the operation parameter information of the game in the live broadcast room includes:
obtaining login information and progress information of a game in a live broadcast room from first equipment;
and generating the running parameter information of the game according to the login information and the progress information.
Optionally, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
According to a third aspect of the embodiments of the present disclosure, there is provided a control right switching method applied to a second device, the method including:
receiving operation parameter information of a game in a live broadcast room, which is sent by a live broadcast server;
starting and controlling the game pre-installed on the second equipment according to the running parameter information;
and carrying out plug flow on audio and video data generated when the game runs on the second equipment.
Optionally, the second device is a second client corresponding to the second user account in the live broadcast, and the streaming of the audio and video data generated by the game when the second device runs includes:
and pushing audio and video data generated when the second equipment runs to the live broadcast server so that the live broadcast server distributes the audio and video data of the game to other clients except the second client in the live broadcast room.
Optionally, the starting and controlling the game pre-installed on the second device according to the operation parameter information includes:
analyzing the operation parameter information to obtain login information and progress information;
logging in the game pre-installed on the second device according to the login information;
and controlling the progress of the game according to the progress information.
Optionally, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a control right switching apparatus, applied to a live broadcast server, the apparatus including:
the method comprises the steps that an obtaining unit is configured to obtain running parameter information of a game in a live broadcast room from first equipment after a control right switching request is obtained, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account, and the first equipment is used for playing the game through the first user account;
and the sending unit is configured to execute sending of the operation parameter information to second equipment so that the second equipment starts and controls the game pre-installed on the second equipment according to the operation parameter information, and the second equipment is used for playing the game by the second user account.
Optionally, the second device is a second client corresponding to the second user account in the live broadcast room, and the apparatus further includes:
the distribution unit is configured to execute audio and video data generated when the game pushed by the second client runs; and distributing the audio and video data of the game to other clients except the second client in the live broadcast room.
Optionally, the second device is a game server, and the sending unit is specifically configured to execute:
and sending the operation parameter information to the second client so that the second client sends the operation parameter information to the game server under the condition that the game is not installed on the second client.
Optionally, the obtaining unit is specifically configured to perform:
after receiving a control right switching request sent by a first client, obtaining operation parameter information of a game in a live broadcast room from first equipment, wherein the first client is a client corresponding to a first user account in the live broadcast room or a main broadcast client in the live broadcast room.
Optionally, the obtaining unit is specifically configured to perform:
obtaining login information and progress information of a game in a live broadcast room from first equipment;
and generating the running parameter information of the game according to the login information and the progress information.
Optionally, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a control right switching apparatus applied to a second device, the apparatus including:
the receiving unit is configured to execute receiving of operation parameter information of the game in the live broadcast room sent by the live broadcast server;
a starting unit configured to execute starting and controlling the game pre-installed in the second device according to the operation parameter information;
and the stream pushing unit is configured to execute stream pushing of the audio and video data generated when the second device runs in the game.
Optionally, the second device is a second client corresponding to the second user account in the live broadcast room, and the stream pushing unit is further configured to perform:
and pushing audio and video data generated when the second equipment runs to the live broadcast server so that the live broadcast server distributes the audio and video data of the game to other clients except the second client in the live broadcast room.
Optionally, the starting unit is specifically configured to perform:
analyzing the operation parameter information to obtain login information and progress information;
logging in the game pre-installed on the second device according to the login information;
and controlling the progress of the game according to the progress information.
Optionally, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
According to a sixth aspect of the embodiments of the present disclosure, there is also provided an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of the second or third aspect.
According to a seventh aspect of embodiments of the present disclosure, there is also provided a storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of the second or third aspect.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to carry out the method of the second or third aspect.
In the technical scheme provided by the embodiment of the disclosure, the control right switching system comprises a live broadcast server, first equipment and second equipment, wherein the first equipment is used for playing games by a first user account, and the second equipment is used for playing games by a second user account; the method comprises the steps that after a live broadcast server obtains a control right switching request, operation parameter information of a game in a live broadcast room is obtained from first equipment, and the operation parameter information is sent to second equipment, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account; and then, the second equipment starts and controls a game pre-installed on the second equipment according to the operation parameter information, and pushes the audio and video data generated when the second equipment operates in the game.
Therefore, when the game control right is switched in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, meanwhile, the continuity of the game level can be maintained, and the user experience is improved.
Drawings
FIG. 1 is an interaction diagram illustrating a control right switching system in accordance with an exemplary embodiment;
FIG. 2 is a logic diagram illustrating a control right switching system in accordance with an exemplary embodiment;
fig. 3 is a flowchart illustrating a control right switching method applied to a live server according to an exemplary embodiment;
fig. 4 is a flowchart illustrating a control right switching method applied to a second device according to an exemplary embodiment;
fig. 5 is a block diagram illustrating a control right switching apparatus applied to a live server according to an exemplary embodiment;
fig. 6 is a block diagram illustrating a control right switching apparatus applied to a second device according to an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating a configuration of an electronic device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the problem that a server receives a large number of information acquisition requests at the same time and the load pressure is too high in the related art, embodiments of the present disclosure provide a control right switching system, method, device, apparatus, and storage medium.
In a first aspect, a detailed description will be given of a control right switching system provided in an embodiment of the present disclosure.
As shown in fig. 1, a system interaction diagram of a control right switching system provided in an embodiment of the present disclosure includes a live broadcast server, a first device, and a second device.
The live broadcast server can maintain a plurality of live broadcast rooms, each live broadcast room is internally provided with a plurality of client sides, the live broadcast rooms can carry out live broadcast of games, the games can run at the client sides in the live broadcast rooms and can also run at the game server, the client sides or the game server receive operation instructions of user accounts for the games, corresponding operations are executed in the games, and then audio and video data of the games are pushed to the client sides in the live broadcast rooms.
Under some circumstances, the control right of the game can be switched in the live broadcast room, that is, each user account in the live broadcast room has an opportunity to control the game, so that the interactivity in the live broadcast room is strong, and the user account experience is more favorably improved.
In this disclosure, a first device is used for playing a game with a first user account, the first user account is an account for paying out a game control right, the first device is a device for paying out a game control right and may be a client or a game server in a live broadcast room, a second device is used for playing a game with a second user account, the first user account is an account for receiving the game control right, the second device is a device for receiving the game control right and may also be a client or a game server in the live broadcast room, and specific limitations are not particularly limited.
In this disclosure, an interaction process between the live broadcast server, the first device, and the second device may include the following steps:
in S101, after acquiring a control right switching request, the live broadcast server acquires operation parameter information of a game in a live broadcast room from a first device, where the control right switching request is used to instruct a control right of the game to be switched from a first user account to a second user account.
In this step, the live broadcast server may receive a control right switching request sent by a first client, where the first client is a client corresponding to the first user account in the live broadcast room or a main broadcast client in the live broadcast room. That is to say, the first user account currently playing the game in the live broadcast room or the anchor of the live broadcast room may send a control right switching request to the live broadcast server through the corresponding client, and switch the control right of the game to the second user account.
The second user account may be any user account in the live broadcast room except the first user account, and may be a viewer or a main broadcast. Specifically, the second user account may be specified by the first user account or the anchor itself; or the second user account may also be a user account to which a client satisfying the control right switching condition belongs, and the first user account or the anchor may select the second user account from a plurality of user accounts satisfying the control right switching condition; or, when any client satisfies the control right switching condition, an inquiry request for a user account to which the client belongs may be sent to the first client, and if the first user account or the anchor passes the inquiry request, the control right switching request is returned, and the user account to which the client belongs is taken as the second user account. The present disclosure is not limited thereto.
The live broadcast server can also generate a control right switching request according to a preset control right switching condition and behavior data of a client in the live broadcast room. Specifically, the live broadcast server may collect and store behavior data of each client in the live broadcast room, including data not limited to online duration, consumption amount, interaction times, and the like of each client, and generate a control right switching request for any client when the behavior data of the client meets a preset control right switching condition.
The control right switching condition may be that the online time in the live broadcast room reaches a preset time, or the consumption amount in the live broadcast room reaches a preset amount, or the interaction times reach preset times, and the like, and may be set according to different requirements.
In this disclosure, the game may run on the game server or locally on the client, and correspondingly, the first device may be the game server or the client corresponding to the first user account in the live broadcast room.
The operation parameter information of the game may include login information and progress information, where the login information is used to log in the game, for example, an account number and a password of the game, and the progress information may reflect the progress of the game, for example, a current level of the game or a level of a game character, and the like. The live broadcast server can acquire login information and progress information of a game in a live broadcast room from the first device, and then generates operation parameter information of the game according to the login information and the progress information.
For example, the live server may compress the login information and the progress information to generate the operation parameter information of the game so as to reduce the occupation of the network bandwidth in the data transmission process, or may encrypt the login information and the progress information to generate the operation parameter information of the game so as to improve the security of the data, and the like.
In S102, the live server sends the operation parameter information to the second device.
In this disclosure, the second device may be a client corresponding to the second user account in the live broadcast, or may be a game server. That is to say, in the process of switching the game control right, the client corresponding to the first user account may be switched to the game server, the client corresponding to the first user account may also be switched to the client corresponding to the second user account, or the game server may also be switched to the client corresponding to the second user account.
In one implementation, the live broadcast server may send the operation parameter information to a second client corresponding to a second user account in the live broadcast room, and then, the second client sends the operation parameter information to the game server without installing a game locally.
It can be understood that if the game runs on the game server, the client controlling the game needs to receive the audio and video stream pushed by the game server in real time and render the stream locally, which consumes network bandwidth resources and causes severe stuttering under poor network environment, and if the game runs locally on the client, the client controlling the game does not need to receive the audio and video stream in real time, which has high definition and fluency.
Therefore, after the second client corresponding to the second user account receives the operation parameter information, if the game is installed locally, the game is preferentially started and controlled locally, and under the condition that the game is not installed locally, the operation parameter information is sent to the game server, and the game server starts and controls the game, so that the definition and the fluency of the game are ensured as much as possible, and the user account experience is improved.
In S103, the second device starts and controls a game previously installed in the second device according to the operation parameter information.
In this step, the second device may start and control a game pre-installed locally according to the operation parameter information. Specifically, the operation parameter information may include login information and progress information, and after the second device acquires the operation parameter information, the second device may analyze the operation parameter information, log in a game pre-installed on the second device according to the login information, and control the progress of the game according to the progress information.
In S104, the second device streams the audio/video data generated by the game when the second device is running.
In this step, the second device may push the audio and video data of the game through a CDN (Content Delivery Network).
For example, if the second device is a game server, the second device needs to push and stream the audio and video data of the game to the live broadcast server, and then the live broadcast server distributes the audio and video data of the game to all clients in the live broadcast room.
If the second device is a second client corresponding to the second user account in the live broadcast room, firstly, audio and video data generated when the second client operates in the game can be pushed to the live broadcast server, and then the live broadcast server distributes the audio and video data of the game to other clients except the second client in the live broadcast room.
Therefore, the switching of the game control right does not influence the live game in the live broadcast room, and each client in the live broadcast room can watch the audio and video data of the game in real time.
Fig. 2 is a logic diagram of a control right switching system in one implementation.
In one case, the cloud game is switched to a local game, that is, the first device is a game server, and the second device is a second client corresponding to a second user account, in this case, before the control right is switched, audio and video data of the cloud game operated by the game server is pushed to the CDN until the first client initiates exchange through a live application program, a control right switching request is sent to the live server, after the live server obtains the control right switching request, operation parameter information such as the account and the level of the cloud game is obtained from the game server, then the operation parameter information is sent to the local game installed in the second client, and the local game analyzes the operation parameter information, starts the game, and pushes the audio and video data to the CDN.
In another case, the local game is switched to the cloud game, that is, the first device is a client corresponding to the first user account, the second device is a game server, in this case, before the control right is switched, audio and video data of the local game running at the client corresponding to the first user account is pushed to the CDN until the first client initiates exchange through a live application program, a control right switching request is sent to the live server, after the live server obtains the control right switching request, operation parameter information such as an account and a level of the local game is obtained from the client corresponding to the first user account, then the operation parameter information is sent to a cloud game installed in the game server, the cloud game analyzes the operation parameter information, the game is started, and the audio and video data are pushed to the CDN.
As can be seen from the above, in the technical solution provided in the embodiment of the present disclosure, when switching the game control right in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, and meanwhile, the continuity of the game level can be maintained, thereby improving the user experience.
In a second aspect, a detailed description will be given of a control right switching method applied to a live broadcast server according to an embodiment of the present disclosure.
As shown in fig. 3, a method for switching control right applied to a live broadcast server according to an embodiment of the present disclosure includes the following steps:
in S201, after a control right switching request is obtained, obtaining operation parameter information of a game in a live broadcast room from a first device, where the control right switching request is used to instruct a control right of the game to be switched from a first user account to a second user account, and the first device is used for the first user account to play the game;
in S202, the operation parameter information is sent to the second device, so that the second device starts and controls a game pre-installed in the second device according to the operation parameter information, and the second device is used for playing the game by the second user account.
In an implementation manner, the second device is a second client corresponding to the second user account in the live broadcast room, and the method further includes:
receiving audio and video data generated when the game pushed by the second client runs at the second client;
and distributing the audio and video data of the game to other clients except the second client in the live broadcast room.
In one implementation, the second device is a game server, and the sending the operation parameter information to the second device includes:
and sending the operation parameter information to the second client so that the second client sends the operation parameter information to the game server under the condition that the game is not installed on the second client.
In one implementation manner, after the control right switching request is obtained, obtaining, from a first device, operation parameter information of a game in a live broadcast room includes:
after receiving a control right switching request sent by a first client, obtaining operation parameter information of a game in a live broadcast room from first equipment, wherein the first client is a client corresponding to a first user account in the live broadcast room or a main broadcast client in the live broadcast room.
In one implementation, the obtaining, from the first device, operation parameter information of a game in a live broadcast room includes:
obtaining login information and progress information of a game in a live broadcast room from first equipment;
and generating the running parameter information of the game according to the login information and the progress information.
In one implementation, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
As can be seen from the above, in the technical solution provided in the embodiment of the present disclosure, when switching the game control right in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, and meanwhile, the continuity of the game level can be maintained, thereby improving the user experience.
In a third aspect, a detailed description will be given of a control right switching method applied to a second device according to an embodiment of the present disclosure.
As shown in fig. 4, a method for switching control right applied to a first client according to an embodiment of the present disclosure includes the following steps:
in S301, receiving operation parameter information of a game in a live broadcast room, which is sent by a live broadcast server;
in S302, starting and controlling a game pre-installed on the second device according to the operation parameter information;
in S303, the audio/video data generated when the second device is running in the game is streamed.
In one implementation manner, the streaming of the audio and video data generated when the second device runs is performed by the second device, where the second device is a second client corresponding to the second user account in the live broadcast room, and the streaming includes:
and pushing audio and video data generated when the second equipment runs to the live broadcast server so that the live broadcast server distributes the audio and video data of the game to other clients except the second client in the live broadcast room.
In one implementation, the starting and controlling the game pre-installed on the second device according to the operation parameter information includes:
analyzing the operation parameter information to obtain login information and progress information;
logging in the game pre-installed on the second device according to the login information;
and controlling the progress of the game according to the progress information.
In one implementation, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
As can be seen from the above, in the technical solution provided in the embodiment of the present disclosure, when switching the game control right in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, and meanwhile, the continuity of the game level can be maintained, thereby improving the user experience.
In a fourth aspect, a detailed description will be given of a control right switching apparatus applied to a live broadcast server according to an embodiment of the present disclosure.
As shown in fig. 5, an apparatus for switching control right applied to a live broadcast server according to an embodiment of the present disclosure includes:
an obtaining unit 501, configured to perform, after obtaining a control right switching request, obtaining operation parameter information of a game in a live broadcast room from a first device, where the control right switching request is used to instruct switching of a control right of the game from a first user account to a second user account, and the first device is used for playing the game with the first user account;
a sending unit 502, configured to execute sending the operation parameter information to a second device, so that the second device starts and controls the game pre-installed in the second device according to the operation parameter information, where the second device is used for the second user account to play the game.
In one implementation, the second device is a second client corresponding to the second user account in the live broadcast room, and the apparatus further includes:
the distribution unit is configured to execute audio and video data generated when the game pushed by the second client runs; and distributing the audio and video data of the game to other clients except the second client in the live broadcast room.
In an implementation manner, the second device is a game server, and the sending unit 502 is specifically configured to execute:
and sending the operation parameter information to the second client so that the second client sends the operation parameter information to the game server under the condition that the game is not installed on the second client.
In an implementation manner, the obtaining unit 501 is specifically configured to perform:
after receiving a control right switching request sent by a first client, obtaining operation parameter information of a game in a live broadcast room from first equipment, wherein the first client is a client corresponding to a first user account in the live broadcast room or a main broadcast client in the live broadcast room.
In an implementation manner, the obtaining unit 501 is specifically configured to perform:
obtaining login information and progress information of a game in a live broadcast room from first equipment;
and generating the running parameter information of the game according to the login information and the progress information.
In one implementation, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
As can be seen from the above, in the technical solution provided in the embodiment of the present disclosure, when switching the game control right in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, and meanwhile, the continuity of the game level can be maintained, thereby improving the user experience.
In a fifth aspect, a detailed description will be given of a control right switching device applied to a second device according to an embodiment of the disclosure.
As shown in fig. 6, an apparatus for switching control right applied to a first client according to an embodiment of the present disclosure includes:
a receiving unit 601 configured to execute receiving of operation parameter information of a game in a live broadcast room sent by a live broadcast server;
a starting unit 602 configured to execute starting and controlling the game pre-installed on the second device according to the operation parameter information;
a stream pushing unit 603 configured to perform stream pushing of audio and video data generated by the game when the second device is running.
In an implementation manner, the second device is a second client corresponding to the second user account in the live broadcast room, and the stream pushing unit 603 is further configured to perform:
and pushing audio and video data generated when the second equipment runs to the live broadcast server so that the live broadcast server distributes the audio and video data of the game to other clients except the second client in the live broadcast room.
In one implementation, the starting unit 602 is specifically configured to perform:
analyzing the operation parameter information to obtain login information and progress information;
logging in the game pre-installed on the second device according to the login information;
and controlling the progress of the game according to the progress information.
In one implementation, the first device is a game server or a client corresponding to the first user account in the live broadcast room.
As can be seen from the above, in the technical solution provided in the embodiment of the present disclosure, when switching the game control right in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, and meanwhile, the continuity of the game level can be maintained, thereby improving the user experience.
In a sixth aspect, an electronic device provided by an embodiment of the disclosure will be described in detail.
As shown in fig. 7, a schematic structural diagram of an electronic device according to an embodiment of the present disclosure is provided.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of an electronic device to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product which, when run on a computer, causes the computer to implement the above-described method of controlling right switching.
Fig. 8 is a block diagram illustrating another apparatus 800 according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 807 provide power to the various components of device 800. The power components 807 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing any of the above-described control right switching methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. Alternatively, for example, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to execute any of the above-mentioned control right switching methods.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to implement any of the above-mentioned control right switching methods.
As can be seen from the above, in the technical solution provided in the embodiment of the present disclosure, when switching the game control right in the live broadcast room, the party receiving the control right can start and control the operation of the game according to the operation parameter information, even if the party giving the control right and the party receiving the control right operate the game on different devices, the user does not need to manually log in the account again, and meanwhile, the continuity of the game level can be maintained, thereby improving the user experience.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A control right switching system is characterized by comprising a live broadcast server, a first device and a second device:
the first device is used for playing the game by the first user account; the second device is used for playing the game by the second user account;
the live broadcast server is used for acquiring running parameter information of a game in a live broadcast room from first equipment after acquiring a control right switching request, and sending the running parameter information to second equipment, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account;
the second device is further configured to start and control the game pre-installed in the second device according to the operation parameter information, and push streaming audio and video data generated when the second device operates in the game.
2. The system of claim 1, wherein the second device is a second client corresponding to the second user account in the live broadcast;
the second client is specifically used for pushing audio and video data generated when the game runs at the second client to the live broadcast server;
and the live broadcast server is also used for distributing the audio and video data of the game to other clients except the second client in the live broadcast room.
3. The system of claim 1, wherein the second device is a game server, the system further comprising a second client corresponding to the second user account in the live broadcast;
the live broadcast server is further used for sending the operation parameter information to the second client;
the second client is further configured to send the operation parameter information to the game server when the game is not installed on the second client.
4. The system of claim 1,
the live broadcast server is specifically configured to obtain, from a first device, operation parameter information of a game in a live broadcast room after receiving a control right switching request sent by a first client, where the first client is a client in the live broadcast room corresponding to the first user account or an anchor client in the live broadcast room.
5. The system of claim 1,
the live broadcast server is further used for acquiring login information and progress information of a game in a live broadcast room from the first equipment, generating operation parameter information of the game according to the login information and the progress information, and sending the operation parameter information to the second equipment;
the second device is further configured to analyze the operation parameter information, log in the game pre-installed in the second device according to the login information, and control the progress of the game according to the progress information.
6. The system of claim 1, wherein the first device is a game server or a client corresponding to the first user account in the live broadcast room.
7. A control right switching method is applied to a live broadcast server, and comprises the following steps:
after a control right switching request is acquired, acquiring running parameter information of a game in a live broadcast room from first equipment, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account, and the first equipment is used for the first user account to play the game;
and sending the operation parameter information to second equipment so that the second equipment starts and controls the game pre-installed on the second equipment according to the operation parameter information, wherein the second equipment is used for the second user account to play the game.
8. A control right switching method is applied to a second device, and comprises the following steps:
receiving operation parameter information of a game in a live broadcast room, which is sent by a live broadcast server;
starting and controlling the game pre-installed on the second equipment according to the running parameter information;
and carrying out plug flow on audio and video data generated when the game runs on the second equipment.
9. A control right switching device is applied to a live broadcast server, and comprises:
the method comprises the steps that an obtaining unit is configured to obtain running parameter information of a game in a live broadcast room from first equipment after a control right switching request is obtained, wherein the control right switching request is used for indicating that the control right of the game is switched from a first user account to a second user account, and the first equipment is used for playing the game through the first user account;
and the sending unit is configured to execute sending of the operation parameter information to second equipment so that the second equipment starts and controls the game pre-installed on the second equipment according to the operation parameter information, and the second equipment is used for playing the game by the second user account.
10. An apparatus for switching control right, applied to a second device, the apparatus comprising:
the receiving unit is configured to execute receiving of operation parameter information of the game in the live broadcast room sent by the live broadcast server;
a starting unit configured to execute starting and controlling the game pre-installed in the second device according to the operation parameter information;
and the stream pushing unit is configured to execute stream pushing of the audio and video data generated when the second device runs in the game.
CN202111462872.6A 2021-12-02 2021-12-02 Control right switching system, method, device, equipment and storage medium Pending CN114272600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111462872.6A CN114272600A (en) 2021-12-02 2021-12-02 Control right switching system, method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111462872.6A CN114272600A (en) 2021-12-02 2021-12-02 Control right switching system, method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114272600A true CN114272600A (en) 2022-04-05

Family

ID=80870631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111462872.6A Pending CN114272600A (en) 2021-12-02 2021-12-02 Control right switching system, method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114272600A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979684A (en) * 2022-04-21 2022-08-30 北京达佳互联信息技术有限公司 Interaction method, terminal, device, equipment, medium and product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979684A (en) * 2022-04-21 2022-08-30 北京达佳互联信息技术有限公司 Interaction method, terminal, device, equipment, medium and product

Similar Documents

Publication Publication Date Title
US20120173622A1 (en) Social screen casting
CN106911967B (en) Live broadcast playback method and device
CN106210797B (en) Network live broadcast method and device
CN112468833B (en) Live broadcast interactive information processing method, device, terminal, server and storage medium
CN107197320B (en) Video live broadcast method, device and system
CN110611829A (en) Video preloading method and device, electronic equipment and storage medium
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN110536168B (en) Video uploading method and device, electronic equipment and storage medium
CN110493627B (en) Multimedia content synchronization method and device
CN112104883A (en) Live broadcast room sharing method, device and system and server
CN111246225B (en) Information interaction method and device, electronic equipment and computer readable storage medium
US20210311699A1 (en) Method and device for playing voice, electronic device, and storage medium
CN111182328B (en) Video editing method, device, server, terminal and storage medium
CN111259246A (en) Information pushing method and device, electronic equipment and storage medium
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
CN111385349B (en) Communication processing method, communication processing device, terminal, server and storage medium
CN106792024B (en) Multimedia information sharing method and device
CN110620956A (en) Live broadcast virtual resource notification method and device, electronic equipment and storage medium
CN108521579B (en) Bullet screen information display method and device
CN112616053B (en) Transcoding method and device for live video and electronic equipment
CN108289229B (en) Interaction method and device for multimedia resources
CN114272600A (en) Control right switching system, method, device, equipment and storage medium
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN111355973B (en) Data playing method and device, electronic equipment and storage medium
CN110769275B (en) Method, device and system for processing live data stream

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